Skip to content

docs(changelog): add missing 0.86.0 items (in-process transport, lazy import, ValueKey fix)#6600

Closed
FeodorFitsner wants to merge 1 commit into
dart-bridgefrom
changelog-0-86-completeness
Closed

docs(changelog): add missing 0.86.0 items (in-process transport, lazy import, ValueKey fix)#6600
FeodorFitsner wants to merge 1 commit into
dart-bridgefrom
changelog-0-86-completeness

Conversation

@FeodorFitsner

@FeodorFitsner FeodorFitsner commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Audited the 0.86.0 CHANGELOG against the 43 commits on dart-bridge (since the 0.85.3 baseline). Three user-facing changes had no entry; this adds them.

New features

  • In-process Python transport (dart_bridge FFI). The branch's headline architectural change was only referenced obliquely (via the DataChannel / protocol-framing entries) but never announced. Added an entry covering: the third protocol transport alongside UDS/TCP sockets, the FletApp(channelBuilder:) seam serious_python uses to embed Python in-process (no localhost socket), the build template's migration off sockets, and the Android session-restart rebinding (process kept alive, Dart VM restarted, Python state preserved). Commits 7c380074f, 99434e5de, 33b3b9723, 53bd7ddfc, 1c3537b46, 70a96e72c.

Improvements

  • Lazy import flet (PEP 562 __getattr__) — ~2.0s → ~0.15s on a mid-range Android device (#6597).

Bug fixes

  • ValueKey value-type preservation so find.byKey(Key('foo')) / find_by_key('foo') locate controls by user-assigned key (was finding 0 widgets). Fixed on both the Dart side (7367050f2) and the Python tester (25c96c8bf).

Judged not to need entries (consistent with the existing changelog style)

Dependency bumps (screen_brightness, screen_brightness_macos pin, flutter_secure_storage), CI changes (runner pins, Node 24, Docusaurus), the flet-charts matplotlib backpressure refinement (belongs to the flet-charts package changelog), and internal build/web refactors (TeeWriter line-buffering, Pyodide worker module type, native-runtime stub getter). Happy to surface any of these if you'd like them listed.

Summary by Sourcery

Document additional user-facing changes included in the 0.86.0 release that were previously missing from the changelog.

New Features:

  • Add changelog entry for the new in-process Python protocol transport over dart_bridge FFI alongside existing socket-based transports.

Bug Fixes:

  • Add changelog entry for fixing control lookup by user-assigned key in tests by preserving the concrete ValueKey value type across Dart and Python.

Enhancements:

  • Add changelog entry describing lazy import flet to improve cold-start performance, especially on mobile.

Three user-facing changes done in the dart-bridge branch had no CHANGELOG
entry. Add them:

- New feature: in-process Python transport (dart_bridge FFI) — the third
  protocol transport alongside UDS/TCP sockets, the FletApp(channelBuilder:)
  seam serious_python uses to embed Python in-process, the build template's
  migration off sockets, and the Android session-restart rebinding.
- Improvement: lazy `import flet` (PEP 562 __getattr__), ~2.0s -> ~0.15s on
  a mid-range Android device (#6597).
- Bug fix: ValueKey value-type preservation so find.byKey / find_by_key locate
  controls by user-assigned key (Dart + Python tester).
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying flet-website-v2 with  Cloudflare Pages  Cloudflare Pages

Latest commit: 04cbd33
Status: ✅  Deploy successful!
Preview URL: https://c0247ccf.flet-website-v2.pages.dev
Branch Preview URL: https://changelog-0-86-completeness.flet-website-v2.pages.dev

View logs

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've reviewed this pull request using the Sourcery rules engine

@FeodorFitsner

Copy link
Copy Markdown
Contributor Author

Superseded — committed directly to dart-bridge (8fe6b5ae5) per request; no separate branch for the changelog updates.

@FeodorFitsner FeodorFitsner deleted the changelog-0-86-completeness branch June 18, 2026 02:29
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