Skip to content

Releases: jhugman/uniffi-bindgen-react-native

v0.29.3-1

30 Jul 15:31
c758c23

Choose a tag to compare

0.29.3-1

✨ What's New ✨

  • Support for dynamic libraries on Android (#285). Thank you @exploIF!
  • Add RUSTFLAGS command for web build (#276). Thank you @zzorba!

🦊 What's Changed

  • A fix for generating native Kotlin bindings (#283)
  • serde-toml-merge is version pinned (#280)
  • Export FFIConverters for errors (#279)

v0.29.3-0

12 Jun 15:07
921caa3

Choose a tag to compare

✨ What's New ✨

🌏🕸️ WASM!

After 6 months of development, we are releasing the first version of uniffi-bindgen-react-native for use with WASM:

  • Different fixtures running:
    • Fixtures chronological and gc-callbacks-crasher (#238)
    • Fixture async-callbacks (#237)
  • Configuration file and ubrn command line:
    • Enable entrypoint and ts bindings directory to be customized for wasm (#259)
    • Add ubrn build web --and-generate command (#253)
    • Add CLI testing for uniffi-bindgen-react-native command. (#257)
    • Refactor of ubrn_cli into config and commands modules (#251)
  • uniffi-runtime-javascript runtime, now on crates.io:
    • Add runtimeVersion to vary version of uniffi-runtime-javascript (#256)
    • Prepare uniffi-runtime-javascript crate for release (#248)

🦊 What's Changed

  • Add default value for the --config option in all ubrn commands (#265)
  • Change Windows path separators in CMakeLists.txt (#261)
  • Bump uniffi-rs version to 0.29.3 (#267)
  • Bump bob & RN versions (#242) and (#260)
  • Run yarn pack as part of compatibility tests (#250)
  • Add to "who is using" section of readme (#239)
  • Fix wrong key name of manifestPath in docs (#240)

⚠️ Breaking Changes

  • Bump Typescript version to 5.8, affecting ArrayBuffer (#271)

Full Changelog: 0.29.0-0...0.29.3-0

v0.29.0-0

18 Mar 15:19
439cdbb

Choose a tag to compare

This release is the first that works with version v0.29.0 of uniffi-rs.


0.29.0-0

🦊 What's Changed

  • Hot-reloading: ensure promises resolve, and callbacks are called after hot reload (#232).

🌏🕸️ WASM!

  • Add support for Promises/Futures (#221).

⚠️ Breaking Changes

  • Upgrade uniffi-rs to version 0.29.0.
    • There are several changes users of uniffi-rs (and uniffi-bindgen-react-native) should be aware; a migration guide is provided by the uniffi team.
    • Switching template engines from askama to rinja.

Full Changelog: 0.28.3-3...0.29.0-0

v0.28.3-5

18 Mar 14:56
fb4507c

Choose a tag to compare

0.28.3-5

🦊 What's Changed

  • Republishing v0.28.3.4 because Cocoapods timeout.

Full Changelog: 0.28.3-4...0.28.3-5

v0.28.3-4

17 Mar 19:48
6911dc9

Choose a tag to compare

0.28.3-4

🦊 What's Changed

  • Hot-reloading: ensure promises resolve, and callbacks are called after hot reload (#232).

Full Changelog: 0.28.3-3...0.28.3-4

v0.28.3-3

03 Mar 14:42
0b4f248

Choose a tag to compare

This should be the last release that supports uniffi-rs version 0.28.3.

Major development (i.e. WASM) will continue against uniffi-rs version 0.29.x.

We will maintain a v0.28.x branch to backport show-stopper bugs and security issues.

0.28.3-3

✨ What's New

  • Add option to generate native swift bindings (#214)
  • Add option to generate native kotlin bindings (#218)

🌏🕸️ WASM!

  • Added support for synchronous callbacks (#216).

Full Changelog: 0.28.3-2...0.28.3-3

v0.28.3-2

30 Jan 19:57
2c8ef24

Choose a tag to compare

This is likely the last release to be done for the uniffi version 0.28.x. We were hoping to backport the WASM support to 0.28.x, but without mozilla/uniffi-rs#2418 this is not going to be possible.

Rust responsibly!

0.28.3-2

✨ What's New

🦊 What's Changed

  • Adjust template to allow for hot reload via metro of running apps (#207).
  • Stabilise require.resolve by looking up package.json instead of entrypoint (#200).
  • Split compat job by platform and version (#211).
    • This shows on the README.md if builder-bob or React Native has changed breaking the tutorial.
    • Thank you @Johennes!
  • Fixed GC'ing objects with callbacks intermittent crasher (#208 and #209)
  • Reproducibly pick the same library file when using --and-generate (#194)

🌏🕸️ WASM!

  • Fixtures coverall, custom-types-example, enum-types, trait-methods (#202).
  • Switched from passing ArrayBuffers to using Uint8Array, to accommodate WASM better. (#187)
    Callbacks now have UniffiResult to communicate between typescript and C++ (#205).
  • Fixtures coverall2 and rondpoint (#191).
  • Fixture arithmetic (#188).

📰 Documentation

  • Remove duplicate parentheses (#203).
  • Minor typo fixes in GC docs (#204).
  • Remove reference to name field in the ubrn.config.yaml docs (#189).

Full Changelog: 0.28.3-1...0.28.3-2

v0.28.3-1

10 Dec 19:10
a241dfb

Choose a tag to compare

This is the first supported release of the uniffi-bindgen-react-native. Please hack responsibly. Share and enjoy.

What's Changed

  • Handle type parameter change in crnl 0.45.1 by @Johennes in #182
  • Make first run more informative while compiling by @jhugman in #185
  • Initial refactor in preparing for WASM by @jhugman in #174
  • Add callbacks-example fixture from uniffi-rs by @jhugman in #172
  • Fix CLI working without an extension by @zzorba in #183
  • Use version released to Cocoapods and npm by @jhugman in #184

Full Changelog: 0.28.3-0...0.28.3-1

v0.28.3-0

09 Dec 16:03
78abb41

Choose a tag to compare