Bump to 4.3.6: Windows UTF-8 startup fix (dart_bridge 1.5.1, python-build 20260720)#238
Merged
Conversation
…uild 20260720) Re-pin the bundled python-build snapshot to 20260720, which bumps dart_bridge 1.5.0 -> 1.5.1. 1.5.1 fixes Windows startup when app paths or environment values contain non-ASCII characters: Dart FFI strings (UTF-8) are now converted to UTF-16 before hitting the Windows CRT (_wputenv_s / _wfopen_s), Python UTF-8 mode is enabled before Py_Initialize(), and embedded env-setup failures are fatal. Closes flet-dev/flet#6641. Windows-only change; iOS/macOS/Android/Linux runtimes are functionally unchanged from 20260719. Python versions (3.12.13 / 3.13.14 / 3.14.6) unchanged.
… pulled) 4.3.5 was published to pub.dev by mistake before this PR merged and has been retracted, so the version number is burned. Bump all packages and CHANGELOG sections to 4.3.6. Content is identical: python-build 20260720 / dart_bridge 1.5.1 Windows UTF-8 startup fix (flet #6641).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Cuts 4.3.6, re-pinning the bundled python-build snapshot to 20260720, which bumps
dart_bridge1.5.0 → 1.5.1.What 1.5.1 fixes
Windows startup when app paths or environment values contain non-ASCII characters (dart-bridge#10, closes flet-dev/flet#6641). Dart FFI strings arrive as UTF-8 but were passed straight to the ANSI Windows CRT, corrupting paths/env through the process code page. Now:
_wputenv_s/_wfopen_sinstead of the ANSI variants.Py_Initialize();PYTHONUTF8=1for multiprocessing helpers.Scope
Windows-only change. Manifest diff vs 20260719 is exactly
dart_bridge_version+releasedate — iOS/macOS/Android/Linux runtimes are functionally unchanged. Python versions (3.12.13 / 3.13.14 / 3.14.6) unchanged.Version tables regenerated from the new manifest (verified idempotent). All six packages bumped to 4.3.6 with CHANGELOG entries.