Skip to content

Dev#12

Merged
Fabien83560 merged 6 commits into
mainfrom
dev
Jul 8, 2026
Merged

Dev#12
Fabien83560 merged 6 commits into
mainfrom
dev

Conversation

@Fabien83560

Copy link
Copy Markdown
Member

Summary

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation
  • CI / tooling

Related issue

Closes #

Changes

Testing

  • Existing tests pass
  • New tests added (if applicable)
  • Tested manually — steps described below

Checklist

  • My code follows the project's style and conventions
  • I have updated the documentation if needed
  • I have updated CHANGELOG.md
  • No sensitive data is exposed (no tokens, no real user data, no private URLs)

No linter was configured in this repo. Added ruff as a dev dependency
with a project ruleset (E, F, W, I) and a dedicated lint job in
ci.yml. dashboard.py is excluded from line-length checks since it
embeds the dashboard-ui HTML/JS as a Python string (auto-synced, not
hand-written).
Import ordering (unsorted-imports), a couple of unused
imports/variables in tests, an unaligned if/elif chain in
aggregator.py, and several lines over 100 chars wrapped without
behavior changes. 83/83 tests still pass.
Matches the saas-api header rename (CDC section 8.4.1). Breaking
change for cloud mode users — must ship together with the saas-api
and other SDKs' companion renames.

Verified end-to-end: CloudTransport.write_routes() against a local
saas-api test instance registers the route correctly with the new
header. 83/83 tests still pass.
…Delivr

The local dashboard downloaded its React/Babel runtime from a CDN on
first launch, breaking the local- and privacy-first promise. Bundle the
minified UMD builds inside the package (react 18.3.1, react-dom 18.3.1,
@babel/standalone 7.29.7 — matching the Node SDK) and serve them locally.
No third-party request is made; the dashboard works fully offline.
The internal `_flush_interval` kwarg was reachable through the public
middleware constructor. Clamp it to a 60s floor so no caller can shorten
the send cadence below the intended cadence. The kwarg stays internal
for the test suite, which passes larger values.
Ship the breaking cloud header rename (X-API-Key -> X-APIForge-Key) and
the vendored dashboard assets. Registry versions 3.x send the old header
and are rejected with 401 by the current API; 4.0.0 is required for
cloud mode.
@Fabien83560 Fabien83560 merged commit 99d2d8c into main Jul 8, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant