Releases: fzyzcjy/flutter_rust_bridge
Releases · fzyzcjy/flutter_rust_bridge
v2.0.0-dev.30
- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Fix class is not generated when having only static methods #1851
- Fix passing non-existent variable to getter causing compilation error #1851
- Fix missing code generation when using enum and methods #1851
- Fix sh permission #1842 (thanks @canxin121)
v2.0.0-dev.29
- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- StreamSink recursive intodart_type #1843 (thanks @SilverMira)
v2.0.0-dev.28
- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Fix error when using build.rs instead of standard way to trigger code generation #1809
v2.0.0-dev.27
- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Improve procedure macros #1800 #1676 (thanks @Desdaemon)
- Add support for ffigen upgrades #1799 #1757 (thanks @aran)
- Improve hints when structs are in lib.rs #1802 #1579 (thanks @h3x4d3c1m4l)
- Improve scenarios when opaque-by-default is more natural #1805
- Improve behavior of constructor #1804
- Fix when using non-opaque struct + option + opaque inner type #1803
v2.0.0-dev.26
- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Allow specifying pubspec.yaml location in build.rs #1797 (thanks @HalidOdat)
- Hint how to only run build.rs if api directory changes #1794 (thanks @HalidOdat)
v2.0.0-dev.25
- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Generate decl of
store_dart_post_cobject
when full_dep enabled #1773 (thanks @Berrysoft) - Support type Self (originally needs to specify the concrete type, now can use this shortcut) #160
- Provide hints when struct/enum is never used #1763
- Improve hints when types are exported but not used #1779
- Auto understand when user structs have name conflict with builtin types #1782
- Fix when non-enum + specify default value + dart_enums_style being true #1780
- Fix
Vec<Uuid>
error when using CST codec (the SSE codec does not have this bug) #1762 - Fix build-web cannot find Dart program in some platforms #1758
v2.0.0-dev.24
- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Support ignoring all methods of a struct #1730
- Allow Rust structs to become Dart callable objects #1728
- Improve hints when using non-meaningful
&mut
#1739 - Allow Dart GC to collect when a Stream is created but not closed #1737
- Make rust_builder has unique name to avoid conflicts #1738
- Inform users when both config file and command line arguments are used #1731
v2.0.0-dev.23
- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- More friendly error message for Unit Struct #1718 (thanks @alanlzhang)
v2.0.0-dev.22
- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Automatically upgrade flutter_rust_bridge Dart/Rust runtime versions when running generate #1704
- Fix failure of formatting Dart code when path is too long #1702
- Add checks when build_runner needs to be a dependency #1695
- Fix generated code is breaking cargo test because of its doc-test contains a moved import #1706
- Add uuid and chrono for SSE codec (the CST/DCO codec already supports it) #169
- Add example using build.rs #1696
- Add doc about movement of things like StreamSink #1703
- Add tests and doc about multiple Dart Isolates #1699
v2.0.0-dev.21
- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Support more fine-grained rust-auto-opaque #1680
- Add RustAutoOpaque as an extra alternative approach to fully automatic arbitrary types #1679
- Fix when primitive enums + has custom discriminator values + using SSE codec #1677
- Fix when StreamSink + rust-auto-opaque types #1682
- Fix when using types in external crate and use HashMap to contain it (continue from @aran's PR) #1684
- Add doc to explain how to configure ios build system to avoid "linker undefined symbols" #1678
- Improve comments for generated code #1685