Releases: fzyzcjy/flutter_rust_bridge
Releases · fzyzcjy/flutter_rust_bridge
v2.11.1
v2.11.0
- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Fix codegen installation error caused by breaking change in dependency #2794
- Uses the output path of Dart when executing formats #2743 (thanks @AlexV525)
- Allow bypassing codegen version check and produce log when enabled assertion #2737 (thanks @AlexV525)
- Fix Dart_PostCObject double free after application is closed #2653 (thanks @alexlapa)
- Fixes CI windows image #2784 (thanks @patmuk)
- Upgrade Cargokit #2752
- Bump logging dependencies to help dependency resolution for regex crate #2744 (thanks @alexthe2)
- Use flutter-actions/setup-flutter instead #2741, Add melos #2738 (thanks @AlexV525)
v2.10.0
- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Implement
#[frb(ignore)]
for struct fields #2721 #2726 (thanks @kyrias) - Fix folder not created #2707 (thanks @ski0090)
- Fix for strict-casts lint #2639 #2676 (thanks @PaulGrandperrin)
- Support configuring whether to execute Dart format, Rust format, Dart fix #2673
- Upgrade calls to wasm-bindgen #2672
- Allow configuring default rust opaque implementation #2664 #2671 (thanks @aran)
- Enable BoxedWireDartCodecCstGenerator branch #2670
- Fix Dart_PostCObject double free #2653
v2.9.0
- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Add support for the optional hasher argument on HashMap and HashSet #2567 #2603 (thanks @anlumo)
- Support worker_js_preamble in web workers #2609
- Add parse_const config #2604
- Disable parsing constants by default #2604
- Add auto_upgrade_dependency option #2602
- Fix generated dart code #2557 (thanks @iazel)
- Add support for rust edition 2024 #2554 (thanks @xuwaters)
v2.8.0
- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Support unignoring a struct or enum #2542
- Support JSON serialization on Dart side #2488 (thanks @satvikpendem) and #2538
- Support converting constants into getters #2539
- Update no_mangle code generation #2537
- Fix compiler error when using HashSet with u64 and type_64bit_int is false #2536
- Do not strip raw identifiers for Rust enum value fields #2496 (thanks @jippeholwerda) and #2535
- Update versions in CI #2495 (thanks @satvikpendem) and #2534
v2.7.1
- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Replace format! with concat! for string literals #2454 (thanks @Integral-Tech)
- chore: fix cargo clippy warnings #2457 (thanks @Integral-Tech)
- chore: downgrade rust version in frb_codegen (thanks @Integral-Tech)
- Do not warn when fvm not found or for unexpected condition name #2478
v2.7.0
- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Remove default case in enums #2439 (thanks @Tienisto)
- Switch from dart-sys-fork to dart-sys #2438 (thanks @evdokimovs)
- Fix call build-web with fvm support #2429 (thanks @SirKrlos)
- Replaced WASM header exception with warning #2423 (thanks @CJBuchel)
- Fix Option Box compilation error in DCO codec #2398
- Fix call toolchain version with fvm support #2395 (thanks @SirKrlos)
- Doc update and linting: #2423 (thanks @CJBuchel), #2422, #2421, #2349 (thanks @ernstvanderlinden), #2394
v2.6.0
- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Update syn as a transitive dependency to version 2.0 #2371 (thanks @anlumo)
- Auto detect and use fvm #2390
- More full support of raw identifiers #2391
- Clear up symbols #2392
- Allow ui_state attribute to be used with arbitrary associated struct name #2393
v2.5.1
v2.5.0
- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Add commandline option for passing features to cargo expand during codegen #2284 (thanks @fmeef)
- Support providing relative paths to configuration file #2320 (thanks @patmuk)
- Use portable-atomic in frb_rust #2323 (thanks @kyrias)
- Upgrade serde yaml #2333 (thanks @atezet)
- Replace atty by std::io::IsTerminal #2332 (thanks @atezet)
- Fixes cfg wasm warnings #2329 (thanks @patmuk)
- Add docs and warning if user provides absolute rust_crate_dir #2335 (thanks @Vollbrecht)
- Use dart_output when possible for the dart fix #2340 (thanks @AlexV525)