flutter_miniprogram 0.3.6
flutter_miniprogram: ^0.3.6 copied to clipboard
Compile an existing Flutter project to a WeChat Mini Program without touching its source.
Changelog #
0.3.6 — 2026-11-07 #
- Fix Flutter 3.47.9 font patch failure after the version allowlist was relaxed in 0.3.5. Detect generated JS structure instead of selecting the font patch by an exact Flutter version.
- Keep legacy font patching and reject missing, duplicate or mixed detection paths. Add Flutter 3.47.9 to CI.
0.3.5 — 2026-11-07 #
- Allow unverified Flutter versions to build with a warning instead of enforcing an exact version allowlist. Keep transform matching and artifact checks.
- The support matrix records verified versions; Flutter 3.47.9 has a user success report but has not completed the project regression suite.
0.3.4 — 2026-11-07 #
- Add
navigation_bar_text_style/--navigation-bar-text-style(blackorwhite, defaultblack) to configure status bar text and icons in generated app.json. Dark pages should explicitly selectwhite; the previous implicit WeChat default was white.
See the repository's root CHANGELOG for the full, detailed history (in Chinese) across all three packages.
0.3.3 — 2026-11-03 #
- Add Flutter 3.47.4 build support and adapt CJK font fallback to CanvasKit's unresolved code point detection. Keep the existing 3.41.9 and OHOS paths.
- Support image metadata load/error events and preserve proxy identity during decoding. Implement autofill input replacement and ignore static form offsets when positioning the native text input.
- Add both stable versions to CI. All five Mini Program E2E suites and the platform view semantics variant pass on 3.47.4; device validation is pending.
0.3.2 — 2026-10-01 #
- pub.dev score:
README.mdis now English-primary (install/usage/config/ limitations), with the existing Chinese content moved toREADME.zh.md. - Added
example/README.md(this is a build-time CLI tool, not a library, so the example is a pubspec snippet + command +mp_flutter.yamlsample rather than a runnable Dart program). - Static analysis: added
analysis_options.yaml(package:lints/core.yaml) and fixed all analyzer findings, including an "Angle brackets will be interpreted as HTML" dartdoc warning inlib/src/transform/canvaskit_js.dart(the regex example in that doc comment is now fenced as a code block). - Reformatted
lib/andbin/withdart format(no behavior change).
0.3.1 — 2026-10-01 #
- The WeChat DevTools E2E driver script (
drive.js) is now shipped inside this package attool/e2e/drive.js, with its ownpackage.json(declaring theminiprogram-automatordependency) andREADME.md. New CLI subcommanddart run flutter_miniprogram e2e-driverprints the absolute path to that directory. See the root CHANGELOG andpackages/mp_flutter/tool/e2e/README.mdfor usage.
0.3.0 — 2026-10-01 #
- Breaking: the package published to pub.dev is renamed from
mp_fluttertoflutter_miniprogram(the namemp_flutterwas already taken on pub.dev by another package). The repository name, the package's directory inside the repo (packages/mp_flutter), and the config file name (mp_flutter.yaml) are all unchanged — only the pubspecname, thepackage:import prefix, and thedart run <name>executable name changed (dart run mp_flutter→dart run flutter_miniprogram). - pub.dev readiness: added
homepage/repository/issue_tracker/topics,LICENSE(Apache-2.0),NOTICE(bundled Noto Sans SC fonts under OFL-1.1 and acorn under MIT), and thisCHANGELOG.md. - Android: native input box moved off-screen by default
(
--android-input=offscreen) to avoid double cursors; input state now diffs per field instead of sending all fields on every keystroke; keyboard-re-pop fallback;--input-timingdiagnostics flag. Fixed backspace/empty-value handling after IME composition on Android. See the root CHANGELOG for full detail.
0.1.0 — 2026-09-28 #
Initial public release. Compiles an existing Flutter project into a WeChat Mini Program with zero Dart code changes in the host project.