Releases: fzyzcjy/flutter_rust_bridge
Releases · fzyzcjy/flutter_rust_bridge
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)
v2.4.0
- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Adds dart fix when generating files #2182 (thanks @AlexV525)
- Fix segfault when passing DartOpaque through ffi boundaries #2259 (thanks @alexlapa)
- Use generated in files to follow rustfmt #2263 (thanks @atezet)
- Fix dart fix command line arg #2288
- Allow pubspec.lock be missing #2289
- Support Clone+Debug+Default for RustAutoOpaque #2293
- Allow RustAutoOpaque inner value to be non-Clone #2293
- Fix struct field does not handle custom serializers #2294
- Remove importing dart:js_util and generalize SSE codec type handling #2295
v2.3.0
- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Support default logging in MacOS #2235 (thanks @wxitcode)
- Support Dart runtime to run mock mode without Rust binaries #2248 #2250 (thanks @Tienisto)
- Make log crate feature enabled by default #2245
v2.2.0
- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Fix geneartion of async functions when default_dart_async: false ; Update frb_example/integrate_third_party #2190 (thanks @Larpoux)
- Don't try to cleanup folders that don't exist #2210 (thanks @Markus43)
- Allow users to override the automatic function rename #2227
- Export more objects to allow custom thread pool without using flutter_rust_bridge::for_generated namespace #2228
v2.1.0
- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Add the ability to generate plugins from the CLI tool #2144 (thanks @mcmah309)
- Fix codegen halt when having boxed trait objects #2180
- Add attribute
#[frb(dart_async)]
#2181 - Fix Dart closures cannot be encoded when using the new Dart JS interop #2191
- Expose Rust executor's async runtime for customization #2151
- Generate methods of Default trait #2150
- Automatically rename function names to avoid keyword conflict #2150
- Improve parsing trait impl in third party crates #2150
- Support more attributes #2140
- Fix generated use statement pointing to self #2140
- Fix linter warning avoid_return_types_on_setters #2140
- Reduce number of generated files #2140
- Add default_dart_async configuration option #2139
- Handle root module scenario in pub use transformer #2124
- Improve hints when fails to parse a struct or enum #2124
v2.0.0
- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
v2.0.0-dev.42
- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Support brackets and nesting in pub use (such as pub use
a::{b, x::{y,z}}
) #2120 - Support providing configuration both by command line and by config file at the same time #2119
- Tell user reasons when skipping traits #2121
- Update default template comments #2118
- Allow using arbitrary frb attribute as an indicator to include an item #2121
- Improve hints when user specify custom wasm-pack-rustflags but does not contain default one #2122