flutter_rust_bridge
Flutter/Dart <-> Rust binding generator, feature-rich, but seamless and simple
2.13.0
1000K downloads/mo
#100 most downloaded on pub.dev
fzyzcjy/flutter_rust_bridge
What this package is like to depend on
Last release today
23 Aug 2026
Ships unpredictably
gaps range from 2 weeks to 9 months
Nearly every release is documented
notes for 151 of 152 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
201 releases · first in 2021
8 releases in the last 12 months
see the full history below
Release timeline
201 releases · Oct 2021 to Aug 2026
2022
2023
2024
2025
2026
Releases
latest 60 of 201-
2.13.023 Aug 2026Release notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Generate regular Dart package documentation files #3359
- Refresh vendored Dart API headers #3336
- Fix ffigen 21 struct removal #3357
- Limit automatic build runner outputs #3344
- Add HAP validation and real-device smoke testing #3352 (thanks @lqjdm)
- Document panic abort behavior of generated code #3330 (thanks @stepangfil)
- Document the CargoKit to Native Assets migration #3285
- Sync Flutter integration lockfiles #3373
- Require general review in the FRB PR gate #3363
- Add FRB PR chain split tooling #3387
- Improve stable release preparation and publishing safeguards #3389 #3388 #3375 #3372 #3333
- Improve CI workflow precision and validation #3386 #3381 #3365 #3364 #3358 #3339 #3338 #3337
- 2.13.0-beta.6
- 2.13.0-beta.5
- Clarify the uninitialized RustStreamSink stream error #3280 (thanks @ShuttleSpace)
- Support fallback iOS simulator runtimes and update the iOS CI simulator #3284 #3283
- Improve CI stability and release submodule checks #3282 #3275 #3262
- Improve native assets quickstart documentation and Cargo configuration #3278 #3276
- 2.13.0-beta.4
- Fix CargoKit integration template packaging in the codegen crate
- 2.13.0-beta.3
- 2.13.0-beta.2
- Improve OHOS and HarmonyOS docs and tooling #3246 #3236 (thanks @star4277)
- Support native assets integration backend #3181
- Sync frb_hooks release version #3256
- Improve native assets, Apple scaffold, and integration template tooling #3240 #3237 #3208 #3206 #3205
- Improve Tart, VMware, and local development environment tooling #3245 #3244 #3243 #3190
- Improve release publishing, changelog, and contributor workflow #3255 #3254 #3235 #3232 #3228 #3231 #3230
- Improve CI and coverage handling #3238 #3212
- 2.13.0-beta.1
- Update git clone URL for flutter-ohos setup #3157 (thanks @star4277)
- Add Rust-to-Dart logging bridge #3114 #3111 #3079 #2766 (thanks @patmuk)
- Rename
ObjectIdtoMoiObjectIdinfrb_generated_moi_arc_def!#3106 (thanks @ganeshrvel) - Support HarmonyOS #3065 (thanks @star4277)
- Support serde_json Value #3077 (thanks @rlch)
- Introduce conversion between chrono::NaiveDate and DateTime avoiding RustOpaque #2968 (thanks @TrackerSB)
- Fix Map/List/Set equality in generated Dart structs #2956 (thanks @nightscape)
- Fix web worker wasm initialization #3171
- Bump CargoKit to latest and update it for Android 16KB pages #3170
- Pass platforms through create and integrate commands #3129
- Support skipping FVM installation #3126
- Fix macOS xcconfig drift #3118
- Upgrade Flutter to 3.44 #3112
- Fix Dart native test hangs after logging bridge #3103
- Fix generated fixed array equality #3093
- Fix DCO boxed record decoding #3092
- Fix concurrent cargo-expand auto install #3090
- Add generic Dart initializer hook #3083
- Allow frb_internal clean checks without git metadata #3082
- Support multi-arch Docker development on Apple Silicon #3070
- Remove outdated Dockerfile in favor of devcontainer up-to-date Dockerfile #3069
- Fix threaded WASM build-web defaults for the website demo #3052
- Improve release publishing and post-release validation tooling #3221 #3220 #3219 #3218 #3217 #3216 #3215 #3214 #3211 #3210
- Improve CI, workflow dispatch, and precommit automation #3195 #3193 #3189 #3178 #3175 #3174 #3172 #3166 #3160 #3143 #3137 #3135 #3134 #3132 #3131 #3115 #3099 #3096 #3076 #3072 #3051 #2990
- Improve local dev, Docker, Tart, Android, and manual-test tooling #3197 #3196 #3192 #3191 #3188 #3187 #3186 #3185 #3184 #3183 #3180 #3179 #3176 #3150 #3149 #3147 #3146 #3144 #3142 #3113
- Update agent development skills and internal workflow documentation #3201 #3159 #3138 #3116 #3110 #3109 #3102 #3100 #3095 #3094 #3091 #3089 #3087
- Exclude CargoKit from generated analyzer options and improve Flutter integration test timeouts #3168 #3167
- Add coverage tests for existing helpers #3130
- Bump website dependencies #3047 #3046
Release notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Generate regular Dart package documentation files #3359
- Refresh vendored Dart API headers #3336
- Fix ffigen 21 struct removal #3357
- Limit automatic build runner outputs #3344
- Add HAP validation and real-device smoke testing #3352 (thanks @lqjdm)
- Document panic abort behavior of generated code #3330 (thanks @stepangfil)
- Document the CargoKit to Native Assets migration #3285
- Sync Flutter integration lockfiles #3373
- Require general review in the FRB PR gate #3363
- Add FRB PR chain split tooling #3387
- Improve stable release preparation and publishing safeguards #3389 #3388 #3375 #3372 #3333
- Improve CI workflow precision and validation #3386 #3381 #3365 #3364 #3358 #3339 #3338 #3337
- 2.13.0-beta.6
- Support generic type aliases and qualify generated
Result#3242 (thanks @dbsxdbsx) - Require release contributor description coverage #3332
- Preserve web
StreamSinkmessage ordering #3233 - Fail fast for locked Rust opaque sync calls on web #3271
- Support generic type aliases and qualify generated
- 2.13.0-beta.5
- Clarify the uninitialized RustStreamSink stream error #3280 (thanks @ShuttleSpace)
- Support fallback iOS simulator runtimes and update the iOS CI simulator #3284 #3283
- Improve CI stability and release submodule checks #3282 #3275 #3262
- Improve native assets quickstart documentation and Cargo configuration #3278 #3276
- 2.13.0-beta.4
- Fix CargoKit integration template packaging in the codegen crate
- 2.13.0-beta.3
- Fix Dart prerelease caret dependency checks #3249
- Improve frb_hooks pub score checks #3259
- Improve native assets post-release validation #3260 #3258
- Improve release changelog and development environment guidance #3261 #3257
- 2.13.0-beta.2
- Improve OHOS and HarmonyOS docs and tooling #3246 #3236 (thanks @star4277)
- Support native assets integration backend #3181
- Sync frb_hooks release version #3256
- Improve native assets, Apple scaffold, and integration template tooling #3240 #3237 #3208 #3206 #3205
- Improve Tart, VMware, and local development environment tooling #3245 #3244 #3243 #3190
- Improve release publishing, changelog, and contributor workflow #3255 #3254 #3235 #3232 #3228 #3231 #3230
- Improve CI and coverage handling #3238 #3212
- 2.13.0-beta.1
- Update git clone URL for flutter-ohos setup #3157 (thanks @star4277)
- Add Rust-to-Dart logging bridge #3114 #3111 #3079 #2766 (thanks @patmuk)
- Rename
ObjectIdtoMoiObjectIdinfrb_generated_moi_arc_def!#3106 (thanks @ganeshrvel) - Support HarmonyOS #3065 (thanks @star4277)
- Support serde_json Value #3077 (thanks @rlch)
- Introduce conversion between chrono::NaiveDate and DateTime avoiding RustOpaque #2968 (thanks @TrackerSB)
- Fix Map/List/Set equality in generated Dart structs #2956 (thanks @nightscape)
- Fix web worker wasm initialization #3171
- Bump CargoKit to latest and update it for Android 16KB pages #3170
- Pass platforms through create and integrate commands #3129
- Support skipping FVM installation #3126
- Fix macOS xcconfig drift #3118
- Upgrade Flutter to 3.44 #3112
- Fix Dart native test hangs after logging bridge #3103
- Fix generated fixed array equality #3093
- Fix DCO boxed record decoding #3092
- Fix concurrent cargo-expand auto install #3090
- Add generic Dart initializer hook #3083
- Allow frb_internal clean checks without git metadata #3082
- Support multi-arch Docker development on Apple Silicon #3070
- Remove outdated Dockerfile in favor of devcontainer up-to-date Dockerfile #3069
- Fix threaded WASM build-web defaults for the website demo #3052
- Improve release publishing and post-release validation tooling #3221 #3220 #3219 #3218 #3217 #3216 #3215 #3214 #3211 #3210
- Improve CI, workflow dispatch, and precommit automation #3195 #3193 #3189 #3178 #3175 #3174 #3172 #3166 #3160 #3143 #3137 #3135 #3134 #3132 #3131 #3115 #3099 #3096 #3076 #3072 #3051 #2990
- Improve local dev, Docker, Tart, Android, and manual-test tooling #3197 #3196 #3192 #3191 #3188 #3187 #3186 #3185 #3184 #3183 #3180 #3179 #3176 #3150 #3149 #3147 #3146 #3144 #3142 #3113
- Update agent development skills and internal workflow documentation #3201 #3159 #3138 #3116 #3110 #3109 #3102 #3100 #3095 #3094 #3091 #3089 #3087
- Exclude CargoKit from generated analyzer options and improve Flutter integration test timeouts #3168 #3167
- Add coverage tests for existing helpers #3130
- Bump website dependencies #3047 #3046
-
2.13.0-beta.608 Aug 2026 pre-releaseRelease notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Support generic type aliases and qualify generated
Result#3242 (thanks @dbsxdbsx) - Require release contributor description coverage #3332
- Preserve web
StreamSinkmessage ordering #3233 - Fail fast for locked Rust opaque sync calls on web #3271
Release notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Support generic type aliases and qualify generated
Result#3242 (thanks @dbsxdbsx) - Require release contributor description coverage #3332
- Preserve web
StreamSinkmessage ordering #3233 - Fail fast for locked Rust opaque sync calls on web #3271
-
2.13.0-beta.511 Jul 2026 pre-releaseRelease notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Clarify the uninitialized RustStreamSink stream error #3280 (thanks @ShuttleSpace)
- Support fallback iOS simulator runtimes and update the iOS CI simulator #3284 #3283
- Improve CI stability and release submodule checks #3282 #3275 #3262
- Improve native assets quickstart documentation and Cargo configuration #3278 #3276
Release notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Clarify the uninitialized RustStreamSink stream error #3280 (thanks @ShuttleSpace)
- Support fallback iOS simulator runtimes and update the iOS CI simulator #3284 #3283
- Improve CI stability and release submodule checks #3282 #3275 #3262
- Improve native assets quickstart documentation and Cargo configuration #3278 #3276
-
2.13.0-beta.427 Jun 2026 pre-releaseRelease notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Fix CargoKit integration template packaging in the codegen crate
Release notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Fix CargoKit integration template packaging in the codegen crate
-
2.13.0-beta.326 Jun 2026 pre-releaseRelease notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Fix Dart prerelease caret dependency checks #3249
- Improve frb_hooks pub score checks #3259
- Improve native assets post-release validation #3260 #3258
- Improve release changelog and development environment guidance #3261 #3257
Release notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Fix Dart prerelease caret dependency checks #3249
- Improve frb_hooks pub score checks #3259
- Improve native assets post-release validation #3260 #3258
- Improve release changelog and development environment guidance #3261 #3257
-
2.13.0-beta.220 Jun 2026 pre-releaseRelease notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Improve OHOS and HarmonyOS docs and tooling #3246 #3236 (thanks @star4277)
- Support native assets integration backend #3181
- Sync frb_hooks release version #3256
- Improve native assets, Apple scaffold, and integration template tooling #3240 #3237 #3208 #3206 #3205
- Improve Tart, VMware, and local development environment tooling #3245 #3244 #3243 #3190
- Improve release publishing, changelog, and contributor workflow #3255 #3254 #3235 #3232 #3228 #3231 #3230
- Improve CI and coverage handling #3238 #3212
Release notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Improve OHOS and HarmonyOS docs and tooling #3246 #3236 (thanks @star4277)
- Support native assets integration backend #3181
- Sync frb_hooks release version #3256
- Improve native assets, Apple scaffold, and integration template tooling #3240 #3237 #3208 #3206 #3205
- Improve Tart, VMware, and local development environment tooling #3245 #3244 #3243 #3190
- Improve release publishing, changelog, and contributor workflow #3255 #3254 #3235 #3232 #3228 #3231 #3230
- Improve CI and coverage handling #3238 #3212
-
2.13.0-beta.113 Jun 2026 pre-releaseRelease notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Update git clone URL for flutter-ohos setup #3157 (thanks @star4277)
- Add Rust-to-Dart logging bridge #3114 #3111 #3079 #2766 (thanks @patmuk)
- Rename
ObjectIdtoMoiObjectIdinfrb_generated_moi_arc_def!#3106 (thanks @ganeshrvel) - Support HarmonyOS #3065 (thanks @star4277)
- Support serde_json Value #3077 (thanks @rlch)
- Introduce conversion between chrono::NaiveDate and DateTime avoiding RustOpaque #2968 (thanks @TrackerSB)
- Fix Map/List/Set equality in generated Dart structs #2956 (thanks @nightscape)
- Fix web worker wasm initialization #3171
- Bump CargoKit to latest and update it for Android 16KB pages #3170
- Pass platforms through create and integrate commands #3129
- Support skipping FVM installation #3126
- Fix macOS xcconfig drift #3118
- Upgrade Flutter to 3.44 #3112
- Fix Dart native test hangs after logging bridge #3103
- Fix generated fixed array equality #3093
- Fix DCO boxed record decoding #3092
- Fix concurrent cargo-expand auto install #3090
- Add generic Dart initializer hook #3083
- Allow frb_internal clean checks without git metadata #3082
- Support multi-arch Docker development on Apple Silicon #3070
- Remove outdated Dockerfile in favor of devcontainer up-to-date Dockerfile #3069
- Fix threaded WASM build-web defaults for the website demo #3052
- Improve release publishing and post-release validation tooling #3221 #3220 #3219 #3218 #3217 #3216 #3215 #3214 #3211 #3210
- Improve CI, workflow dispatch, and precommit automation #3195 #3193 #3189 #3178 #3175 #3174 #3172 #3166 #3160 #3143 #3137 #3135 #3134 #3132 #3131 #3115 #3099 #3096 #3076 #3072 #3051 #2990
- Improve local dev, Docker, Tart, Android, and manual-test tooling #3197 #3196 #3192 #3191 #3188 #3187 #3186 #3185 #3184 #3183 #3180 #3179 #3176 #3150 #3149 #3147 #3146 #3144 #3142 #3113
- Update agent development skills and internal workflow documentation #3201 #3159 #3138 #3116 #3110 #3109 #3102 #3100 #3095 #3094 #3091 #3089 #3087
- Exclude CargoKit from generated analyzer options and improve Flutter integration test timeouts #3168 #3167
- Add coverage tests for existing helpers #3130
- Bump website dependencies #3047 #3046
Release notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Update git clone URL for flutter-ohos setup #3157 (thanks @star4277)
- Add Rust-to-Dart logging bridge #3114 #3111 #3079 #2766 (thanks @patmuk)
- Rename
ObjectIdtoMoiObjectIdinfrb_generated_moi_arc_def!#3106 (thanks @ganeshrvel) - Support HarmonyOS #3065 (thanks @star4277)
- Support serde_json Value #3077 (thanks @rlch)
- Introduce conversion between chrono::NaiveDate and DateTime avoiding RustOpaque #2968 (thanks @TrackerSB)
- Fix Map/List/Set equality in generated Dart structs #2956 (thanks @nightscape)
- Fix web worker wasm initialization #3171
- Bump CargoKit to latest and update it for Android 16KB pages #3170
- Pass platforms through create and integrate commands #3129
- Support skipping FVM installation #3126
- Fix macOS xcconfig drift #3118
- Upgrade Flutter to 3.44 #3112
- Fix Dart native test hangs after logging bridge #3103
- Fix generated fixed array equality #3093
- Fix DCO boxed record decoding #3092
- Fix concurrent cargo-expand auto install #3090
- Add generic Dart initializer hook #3083
- Allow frb_internal clean checks without git metadata #3082
- Support multi-arch Docker development on Apple Silicon #3070
- Remove outdated Dockerfile in favor of devcontainer up-to-date Dockerfile #3069
- Fix threaded WASM build-web defaults for the website demo #3052
- Improve release publishing and post-release validation tooling #3221 #3220 #3219 #3218 #3217 #3216 #3215 #3214 #3211 #3210
- Improve CI, workflow dispatch, and precommit automation #3195 #3193 #3189 #3178 #3175 #3174 #3172 #3166 #3160 #3143 #3137 #3135 #3134 #3132 #3131 #3115 #3099 #3096 #3076 #3072 #3051 #2990
- Improve local dev, Docker, Tart, Android, and manual-test tooling #3197 #3196 #3192 #3191 #3188 #3187 #3186 #3185 #3184 #3183 #3180 #3179 #3176 #3150 #3149 #3147 #3146 #3144 #3142 #3113
- Update agent development skills and internal workflow documentation #3201 #3159 #3138 #3116 #3110 #3109 #3102 #3100 #3095 #3094 #3091 #3089 #3087
- Exclude CargoKit from generated analyzer options and improve Flutter integration test timeouts #3168 #3167
- Add coverage tests for existing helpers #3130
- Bump website dependencies #3047 #3046
-
2.12.029 Mar 2026Release notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Add
no_dart_fix,no_dart_formatandno_write_libtoflutter_rust_bridge_codegen integrate#2790 (thanks @xuxiaocheng0201) - Check for target dependencies when auto upgrading in codegen #2805 (thanks @turtletongue)
- Update troubleshooting.md #2806
- Run scheduled CIs only when the repo owner is correct #2817 (thanks @AlexV525)
- Use
fvm installto preventflutter_rust_bridge_codegen generatefrom hanging #2834 (thanks @ethicnology) - Support having a different crate name than the Flutter plugin #2859 (thanks @NathanKolbas)
- Update GitHub CI workflow to use new iOS simulators #2866 (thanks @NathanKolbas)
- Add resolution in yaml struct and workspace root resolution logic #2872 (thanks @AadamZ5)
- Update actions versions of all workflows #2876 (thanks @h3x4d3c1m4l)
- Add support for optional publish tag in release workflow #2877 (thanks @h3x4d3c1m4l)
- Support multiple flutter_rust_bridge packages on web #2903 (thanks @dt-iohk)
- Add encoded types DCO support #2905 (thanks @SilverMira)
- Fix Windows 10
flutter_rust_bridge_codegen build-webfailure #2906 (thanks @marcmcd) - Use
Vec::with_capacityinstead ofvec![]in SSE vector decode #2926 (thanks @Shadowcat650) - Fix unhandled error in dart_fn_handle_output when sending message #2941 (thanks @khangah)
- Upgrade versions and CI #2951 #2934 #2810 #2918 #2932 #2811
- Added suggestion to update cargo in troubleshooting.md #2955 (thanks @dgasparri)
- Regenerate tests #2973 #2982 (thanks @TrackerSB)
- Add DevContainer and Dockerfile #2981
- Add Claude skills and enhance development guidance #2983
- Add upgrade notice to V1 documentation pages #2984
- Add web test support to skills and Dockerfile #2986
- Update PR template and tips #2989
- Revise troubleshooting steps for Cargokit and Flutter #2994 (thanks @liruohrh)
- Fix web build with latest wasm-bindgen/js-sys versions #3010
- Create docker image for development #3025
- Add configurable log levels to setup functions #3026 (thanks @futpib)
Release notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Add
no_dart_fix,no_dart_formatandno_write_libtoflutter_rust_bridge_codegen integrate#2790 (thanks @xuxiaocheng0201) - Check for target dependencies when auto upgrading in codegen #2805 (thanks @turtletongue)
- Update troubleshooting.md #2806
- Run scheduled CIs only when the repo owner is correct #2817 (thanks @AlexV525)
- Use
fvm installto preventflutter_rust_bridge_codegen generatefrom hanging #2834 (thanks @ethicnology) - Support having a different crate name than the Flutter plugin #2859 (thanks @NathanKolbas)
- Update GitHub CI workflow to use new iOS simulators #2866 (thanks @NathanKolbas)
- Add resolution in yaml struct and workspace root resolution logic #2872 (thanks @AadamZ5)
- Update actions versions of all workflows #2876 (thanks @h3x4d3c1m4l)
- Add support for optional publish tag in release workflow #2877 (thanks @h3x4d3c1m4l)
- Support multiple flutter_rust_bridge packages on web #2903 (thanks @dt-iohk)
- Add encoded types DCO support #2905 (thanks @SilverMira)
- Fix Windows 10
flutter_rust_bridge_codegen build-webfailure #2906 (thanks @marcmcd) - Use
Vec::with_capacityinstead ofvec![]in SSE vector decode #2926 (thanks @Shadowcat650) - Fix unhandled error in dart_fn_handle_output when sending message #2941 (thanks @khangah)
- Upgrade versions and CI #2951 #2934 #2810 #2918 #2932 #2811
- Added suggestion to update cargo in troubleshooting.md #2955 (thanks @dgasparri)
- Regenerate tests #2973 #2982 (thanks @TrackerSB)
- Add DevContainer and Dockerfile #2981
- Add Claude skills and enhance development guidance #2983
- Add upgrade notice to V1 documentation pages #2984
- Add web test support to skills and Dockerfile #2986
- Update PR template and tips #2989
- Revise troubleshooting steps for Cargokit and Flutter #2994 (thanks @liruohrh)
- Fix web build with latest wasm-bindgen/js-sys versions #3010
- Create docker image for development #3025
- Add configurable log levels to setup functions #3026 (thanks @futpib)
-
2.11.106 Jul 2025Release notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Patch release to fix installation error. For feature updates please refer to changelog of 2.11.0.
Release notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Patch release to fix installation error. For feature updates please refer to changelog of 2.11.0.
-
2.11.006 Jul 2025Release notes
Open source →- 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)
Release notes
Open source →- 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)
-
2.10.017 May 2025Release notes
Open source →- 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
-
2.9.010 Mar 2025Release notes
Open source →- 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)
-
2.8.011 Feb 2025Release notes
Open source →- 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
-
2.7.127 Jan 2025Release notes
Open source →- 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
-
2.7.010 Dec 2024Release notes
Open source →- 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
-
2.6.006 Nov 2024Release notes
Open source →- 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
-
2.5.122 Oct 2024Release notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Upgrade allo-isolate to fix upstream bugs #2363
-
2.5.008 Oct 2024Release notes
Open source →- 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)
-
2.4.013 Sep 2024Release notes
Open source →- 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
-
2.3.018 Aug 2024Release notes
Open source →- 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
-
2.2.007 Aug 2024Release notes
Open source →- 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
-
2.1.006 Jul 2024Release notes
Open source →- 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
-
2.0.021 Jun 2024Release notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
-
2.0.0-dev.4220 Jun 2024 pre-releaseRelease notes
Open source →- 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
-
2.0.0-dev.4119 Jun 2024 pre-releaseRelease notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Use dart.library.js_interop rather than dart.library.html #2113 (thanks @aran)
- Auto skip methods in trait definitions that has Self as inputs because it cannot be translated to Dart #2099
- Add type_64bit_int to config #2096
- Improve namespace choices for opaque types #2096
- Hint users when having references in output type, hint when wrong rust_input, and improve docs #2100
- Improve warning message #2098
- Experiment more about translating whole audio crate#2096
- Improve internal code #2096
- Make generated output sorted when using proxy_enum and trait_impl #2115
-
2.0.0-dev.4016 Jun 2024 pre-releaseRelease notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Support returning types with non-static lifetime (i.e. borrowed types / reference types) #2088 #2093
- Loosen config field
rust_inputsyntax with delimit,#2092 (thanks @dbsxdbsx) - Add prefix for automatically generated get/set methods of
#[frb(opaque)]types to avoid conflicting with existing methods #2090 (thanks @dbsxdbsx) - Support adding arbitrary code in generated Rust file via rust_preamble config #2086
- Support ignoring a whole module by
#[frb(ignore)]on module #2085 - Support
/// frb:...#2085
-
2.0.0-dev.3913 Jun 2024 pre-releaseRelease notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Do not create empty logs directory when not in verbose mode #2057
- Automatically strip prefix set_/get_ when it is a setter/getter function #2058
- Support adding errors to stream sink #2059
- Support import statements in dart_code #2061
- Add
#[frb(type_64bit_int)]to pick preferred Dart big integer type #2065 - Support user-defined custom serializers and deserializers #2067
- Support attributes on impl block ; Improve ignore category message ; Fix external methods are wrong ignored #2069
- Support
#[frb(name)]on fields to rename them ; Automatically rename Dart field names if they conflict with Dart keywords #2070 - Refactor internal code #2064 #2062
- Migrate to new Dart web package #2063
-
2.0.0-dev.3809 Jun 2024 pre-releaseRelease notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Fix dashed library names #2034 (thanks @vhdirk)
- Refactor internals to base on mods instead of files #2000
- Support code in mod file #2000
- Support code in lib.rs file #2000
- Fix dart_code cannot generate when containing brackets confusing to mod parser #2000
- Support multiple input path prefixes #2000
- Add dart_type_rename to customize Dart names of opaque types #2006
- Support automatic scanning of third party crates (part 1) #2007
- Enhance usize and isize #2008
- Support syntax of
pub use something::*#2009 - Improve Dart output directory of third party crates #2010
- Support overriding things in third party crate #2011 #2013
- Automatically mark methods of non-pub structs as ignored #2012
- Refactor macros information encoding and decoding #2014
- Detect and skip functions with generics #2015
- Auto detect as opaque when third party struct/enum has non public field #2016
- Auto convert reference type in return type as unit type #2017
- Automatically mirror for scanned third party types #2018
- Skip generating auto accessors for borrowed fields #2018
- Support slices as arguments (such as
&[u8],&[Something]) #2019 - Support non-exhaustive enumerations #2020
- Improve Dart import generation #2021
- Support trait methods and trait default implementations #2024
- Improve pub use parsing and trait definition parsing in third party crates #2025
- Add integrate_third_party example #2027
- Support overriding third party methods #2029
- Support adding new methods to third party structs #2029
- Fix third party pub use scanning problem #2030
- Support multiple
#[frb(external)]impl blocks for a single struct #2030 - Fix scanning third party pub use concrete type for methods #2031
- Make generated Dart opaque class abstract to improve testability #2032
- Refactor HIR (high-level intermediate representation) #2037
- Add stop_on_error configuration #2037
- Refactor override_priority and refine_namespace #2041
- Support trait definitions and translate to Dart abstract classes #2033
- Support third party overriding traits #2033
- Refactor MIR (mid-level intermediate representation) parser #2044
- Support
#[frb(generate_impl_enum)]#2046 - Fix overriding attributes in third party crates for traits #2046
- Add RustOpaqueInterface to cleanup generated interface #2047
- Refactor to extract early_generator between high-level intermediate representation and mid-level intermediate representation #2049
- Support
#[frb(proxy)]#2050 #2052 #2053 - Refactor to extract Lockable #2051
- Support &dyn Trait #2054
-
2.0.0-dev.3730 May 2024 pre-releaseRelease notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Support positional parameters (in addition to named parameters) #1988
- Support overriding environment variable for build-web #1984
- Hint users when a function is not public and is ignored #1985
- Rename generated functions that are not to be used by end users explicitly #1983
- Improve generated user-facing API #1988
-
2.0.0-dev.3626 May 2024 pre-releaseRelease notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Automatically generate getters and setters for public fields of opaque types #1975
- Support Dart setters #1972
- Support i128 and u128 #1964
- Improve RustAutoOpaque's API and codegen handling #1970
- Fix when users do not have explicit dependency on anyhow #1967
- Hint users when using opaque types inside non opaque structs #1978
- Hint users when using getters of opaque types #1976
-
2.0.0-dev.3520 May 2024 pre-releaseRelease notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Support Result type when Rust calls Dart back #1945
- Support type char #1957
- Support renaming functions and methods #1958
- Re-enable MemorySanitizer #1959
- Show hints when functions or methods are ignored #1956
- Add hints to deliberate Exception in RustLib.init in Chrome #1955
- Support when struct type definition is in one file, struct impl is in another file, and the impl needs extra import #1953
-
2.0.0-dev.3418 May 2024 pre-releaseRelease notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Add preamble for dart generated files #1949 (thanks @Krysl)
- Support same function name in different files #1944
- Support dart_format_line_length on generated .freezed.dart #1939
- Improve hints when Flutter hot restarts with Streams #1942
- Fix name conflict when using C++ keywords #1943
- Fix warning use of deprecated associated function chrono::NaiveDateTime::from_timestamp_micros #1941
- Bump Dart SDK source #1940
-
2.0.0-dev.3306 May 2024 pre-releaseRelease notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Automatically wait when concurrent mutable access, while still preventing deadlocks #1920
-
2.0.0-dev.3216 Apr 2024 pre-releaseRelease notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Support self in non-opaque case (&self already supported before) #1880
- Support &SomeStructOrEnum in non-opaque case (SomeStructOrEnum already supported before) #1880
- Support &str type (String already supported before) #1880
- Support instance and static methods for enums without fields #1879
- Revert stream default semantics to not wait for Rust function execution #1877
- Allow users to customize whether to await for Rust function for streams #1877
- Hint users when a type is automatically inferred as both opaque and non-opaque #1876
- Add check to ensure Rust and Dart has in-sync generated code #1878
-
2.0.0-dev.3110 Apr 2024 pre-releaseRelease notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Support methods in external crates #1861
- Support inserting arbitrary Dart code #1860
- Support disabling default Hash/Eq generation #1860
- Support passing stream object at arbitrary location and arbitrary amount #1867
- Let Rust function finish execution before returning stream object #1867
- Support cases when using Rust conditional compilation #1856
- Fix not exporting some struct types needed for customizing handlers #1865
- Fix ignoring user-provided custom handler objects #1865
- Fix ReceivePort is not closed when subscription is cancelled before Rust closes the stream #1857
-
2.0.0-dev.3004 Apr 2024 pre-releaseRelease notes
Open source →- 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)
-
2.0.0-dev.2931 Mar 2024 pre-releaseRelease notes
Open source →- 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)
-
2.0.0-dev.2810 Mar 2024 pre-releaseRelease notes
Open source →- 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
-
2.0.0-dev.2707 Mar 2024 pre-releaseRelease notes
Open source →- 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
-
2.0.0-dev.2605 Mar 2024 pre-releaseRelease notes
Open source →- 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)
-
2.0.0-dev.2526 Feb 2024 pre-releaseRelease notes
Open source →- 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_cobjectwhen 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
-
2.0.0-dev.2408 Feb 2024 pre-releaseRelease notes
Open source →- 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
-
2.0.0-dev.2306 Feb 2024 pre-releaseRelease notes
Open source →- 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)
-
2.0.0-dev.2225 Jan 2024 pre-releaseRelease notes
Open source →- 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
-
2.0.0-dev.2119 Jan 2024 pre-releaseRelease notes
Open source →- 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
-
2.0.0-dev.2016 Jan 2024 pre-releaseRelease notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Fix module parsing when two modules have the same name #1664 (thanks @alanlzhang)
- Fix integrate command's default template has rust_lib hardcoded instead of custom names #1669
- Support
Vec<Vec<u8>>for CST/DCO codec (SSE codec already supports it) #1663 - Make LLVM dependency optional #1666
- Add checks of versions #1667
-
2.0.0-dev.1914 Jan 2024 pre-releaseRelease notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Use try-lock for rust auto opaque #1653
- Improve hints when running create command #1652
- Add MOI RustOpaqueCodec #1642
- Add more feature flags #1658
- Add tutorial for pure dart scenario #1661
- Add more tests #1657
-
2.0.0-dev.1813 Jan 2024 pre-releaseRelease notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Update cargokit to fix flutter flavor messing up with build mode #1644 (thanks @pixelshot91)
- Update dependency to allo-isolate for NaiveDate implementation #1631 (thanks @TrackerSB)
-
2.0.0-dev.1712 Jan 2024 pre-releaseRelease notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Add org option in create command #1635 (thanks @wxitcode)
- Fix typo in frb_example_pure_dart_exapmle_external_lib #1645 (thanks @aran)
-
2.0.0-dev.1611 Jan 2024 pre-releaseRelease notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Improve performance by avoiding constructing vectors #1636
- Fix some Dart imports are not auto generated when using rust-auto-opaque in some scenarios #1638
- Add test that one struct has multiple impl blocks in multiple files #1639
-
2.0.0-dev.1509 Jan 2024 pre-releaseRelease notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Execute flutter pub get inside build_tool from cargokit on integrate and on create #1614 (thanks @MateusHBR)
-
2.0.0-dev.1407 Jan 2024 pre-releaseRelease notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Fix compilation error when using custom error type + rust auto opaque #1622
- Fix wrong HTTP headers which causes Rust cannot run on Safari #1620
-
2.0.0-dev.1306 Jan 2024 pre-releaseRelease notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Let rust-auto-opaque support rust async #1617
- Let setup_default_user_utils setup logging in web #1616
- Fix compile error when the user crate does not have anyhow as direct dependency #1603
- Add test when parsing non-existing attribute name #1602
-
2.0.0-dev.1204 Jan 2024 pre-releaseRelease notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Support property getters #1600
- Automatically close streams when it is dropped #1601
- Allow to accept more Dart types for
Vec<primitive>#1597 - Improve
frb_dart/ffigen_generated#1598 - Allow
#[frb(one, two)](originally only allow#[frb(one)] #[frb(two)]) #1599
-
2.0.0-dev.1103 Jan 2024 pre-releaseRelease notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Support map and set #1565
- Pass Rust stack traces to Dart side during a panic #1586
- Fix the Dart naming of rust opaque types when using records #1593
- Fix utilities cannot set environment variables on web #1590
-
2.0.0-dev.1002 Jan 2024 pre-releaseRelease notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Let integrate update .gitignore #1552
- Fix linter errors when some extra linter rules are enabled #1560
- Add prefix for generated C symbols #1558
- Support isize (mimic existing usize) #1482
- Let flutter_rust_bridge create/integrate support customizing rust crate name and directory #1567
- Improve flutter_rust_bridge_codegen integrate #1566
- Add CI for release mode and generate final artifacts #1572
- No need to let user write AssertUnwindSafe everywhere #1574
- Allow users to quickly define Rust initialization functions (via
#[frb(init)]) #1580 - Wrap allo-isolate post to return Result instead of bool for better error checking #1584
- Provide setup for logging, backtrace, etc, by default, but allow easy customization #1581
- Fix awaiting DartFn, i.e. Rust callback to Dart #1585
-
2.0.0-dev.931 Dec 2023 pre-releaseRelease notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Support ignoring a function via
#[frb(ignore)]#1544 (thanks @JustSimplyKyle) - Bump dependency to allow building if rust toolchain for esp32 is installed #1498 (thanks @mattiasgronlund)
-
2.0.0-dev.830 Dec 2023 pre-releaseRelease notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Let codegen report error when provided configuration names are incorrect #1509 (thanks @patmuk)
-
2.0.0-dev.730 Dec 2023 pre-releaseRelease notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Improve error message when a file ending is not provided in configuration #1540 (thanks @patmuk)
-
2.0.0-dev.629 Dec 2023 pre-releaseRelease notes
Open source →- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Remove double-allocation for enum CST decode #1500 (thanks @Desdaemon)