From 2c8ef24333c9d586a688d5ce32fb82a9e4e456bc Mon Sep 17 00:00:00 2001 From: jhugman Date: Thu, 30 Jan 2025 19:45:55 +0000 Subject: [PATCH] Release 0.28.3-2 (#213) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It's time for a release. If your change hasn't landed before this release, don't worry, releases are cheap! We can do another one! # 0.28.3-2 ## ✨ What's New * Add `--profile` build argument ([#192](https://github.com/jhugman/uniffi-bindgen-react-native/pull/192)) * Thank you [@Johennes](https://github.com/Johennes)! ## 🦊 What's Changed * Adjust template to allow for hot reload via metro of running apps ([#207](https://github.com/jhugman/uniffi-bindgen-react-native/pull/207)). * Stabilise `require.resolve` by looking up `package.json` instead of entrypoint ([#200](https://github.com/jhugman/uniffi-bindgen-react-native/pull/200)). * Thank you [@hassankhan](https://github.com/hassankhan)! * Split compat job by platform and version ([#211](https://github.com/jhugman/uniffi-bindgen-react-native/pull/211)). * This shows on the README.md if builder-bob or React Native has changed breaking the tutorial. * Thank you [@Johennes](https://github.com/Johennes)! * Fixed GC'ing objects with callbacks intermittent crasher ([#208](https://github.com/jhugman/uniffi-bindgen-react-native/pull/208) and [#209](https://github.com/jhugman/uniffi-bindgen-react-native/pull/209)) * Reproducibly pick the same library file when using `--and-generate` ([#194](https://github.com/jhugman/uniffi-bindgen-react-native/pull/194)) * Thank you [@Johennes](https://github.com/Johennes)! ## πŸŒπŸ•ΈοΈ WASM! * Fixtures `coverall`, `custom-types-example`, `enum-types`, `trait-methods` ([#202](https://github.com/jhugman/uniffi-bindgen-react-native/pull/202)). * Switched from passing `ArrayBuffer`s to using `Uint8Array`, to accommodate WASM better. ([#187](https://github.com/jhugman/uniffi-bindgen-react-native/pull/187)) Callbacks now have UniffiResult to communicate between typescript and C++ ([#205](https://github.com/jhugman/uniffi-bindgen-react-native/pull/205)). * Fixtures `coverall2` and `rondpoint` ([#191](https://github.com/jhugman/uniffi-bindgen-react-native/pull/191)). * Fixture `arithmetic` ([#188](https://github.com/jhugman/uniffi-bindgen-react-native/pull/188)). ## πŸ“° Documentation * Remove duplicate parentheses ([#203](https://github.com/jhugman/uniffi-bindgen-react-native/pull/203)). * Minor typo fixes in GC docs ([#204](https://github.com/jhugman/uniffi-bindgen-react-native/pull/204)). * Remove reference to name field in the ubrn.config.yaml docs ([#189](https://github.com/jhugman/uniffi-bindgen-react-native/pull/189)). **Full Changelog**: https://github.com/jhugman/uniffi-bindgen-react-native/compare/0.28.3-1...0.28.3-2 --- CHANGELOG.md | 46 +++++++++++++++++++++++++++++--------- crates/ubrn_cli/Cargo.toml | 2 +- package.json | 2 +- 3 files changed, 38 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a3a6333..4bd43a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,13 +1,43 @@ # Upcoming releases +[//]: # (## ✨ What's New) +[//]: # (## 🦊 What's Changed) +[//]: # (## ⚠️ Breaking Changes) +[//]: # (**Full Changelog**: https://github.com/jhugman/uniffi-bindgen-react-native/compare/{{previous}}...{{current}}) + +**Full Changelog**: https://github.com/jhugman/uniffi-bindgen-react-native/compare/0.28.3-2...main +--- + +# 0.28.3-2 ## ✨ What's New * Add `--profile` build argument ([#192](https://github.com/jhugman/uniffi-bindgen-react-native/pull/192)) + * Thank you [@Johennes](https://github.com/Johennes)! ## 🦊 What's Changed -* Switched from passing `ArrayBuffer`s to using `Uint8Array`, to accommodate WASM better. ([#187](https://github.com/jhugman/uniffi-bindgen-react-native/pull/187)) + +* Adjust template to allow for hot reload via metro of running apps ([#207](https://github.com/jhugman/uniffi-bindgen-react-native/pull/207)). +* Stabilise `require.resolve` by looking up `package.json` instead of entrypoint ([#200](https://github.com/jhugman/uniffi-bindgen-react-native/pull/200)). + * Thank you [@hassankhan](https://github.com/hassankhan)! +* Split compat job by platform and version ([#211](https://github.com/jhugman/uniffi-bindgen-react-native/pull/211)). + * This shows on the README.md if builder-bob or React Native has changed breaking the tutorial. + * Thank you [@Johennes](https://github.com/Johennes)! +* Fixed GC'ing objects with callbacks intermittent crasher ([#208](https://github.com/jhugman/uniffi-bindgen-react-native/pull/208) and [#209](https://github.com/jhugman/uniffi-bindgen-react-native/pull/209)) * Reproducibly pick the same library file when using `--and-generate` ([#194](https://github.com/jhugman/uniffi-bindgen-react-native/pull/194)) + * Thank you [@Johennes](https://github.com/Johennes)! + +## πŸŒπŸ•ΈοΈ WASM! +* Fixtures `coverall`, `custom-types-example`, `enum-types`, `trait-methods` ([#202](https://github.com/jhugman/uniffi-bindgen-react-native/pull/202)). +* Switched from passing `ArrayBuffer`s to using `Uint8Array`, to accommodate WASM better. ([#187](https://github.com/jhugman/uniffi-bindgen-react-native/pull/187)) +Callbacks now have UniffiResult to communicate between typescript and C++ ([#205](https://github.com/jhugman/uniffi-bindgen-react-native/pull/205)). +* Fixtures `coverall2` and `rondpoint` ([#191](https://github.com/jhugman/uniffi-bindgen-react-native/pull/191)). +* Fixture `arithmetic` ([#188](https://github.com/jhugman/uniffi-bindgen-react-native/pull/188)). -**Full Changelog**: https://github.com/jhugman/uniffi-bindgen-react-native/compare/0.28.3-1...main +## πŸ“° Documentation +* Remove duplicate parentheses ([#203](https://github.com/jhugman/uniffi-bindgen-react-native/pull/203)). +* Minor typo fixes in GC docs ([#204](https://github.com/jhugman/uniffi-bindgen-react-native/pull/204)). +* Remove reference to name field in the ubrn.config.yaml docs ([#189](https://github.com/jhugman/uniffi-bindgen-react-native/pull/189)). + +**Full Changelog**: https://github.com/jhugman/uniffi-bindgen-react-native/compare/0.28.3-1...0.28.3-2 # 0.28.3-1 @@ -23,12 +53,8 @@ This is the first supported release of the `uniffi-bindgen-react-native`. Please **Full Changelog**: https://github.com/jhugman/uniffi-bindgen-react-native/compare/0.28.3-0...0.28.3-1 -/* -## ✨ What's New - -## 🦊 What's Changed - -## ⚠️ Breaking Changes -**Full Changelog**: https://github.com/jhugman/uniffi-bindgen-react-native/compare/{{previous}}...{{current}} -*/ +[//]: # (## ✨ What's New) +[//]: # (## 🦊 What's Changed) +[//]: # (## ⚠️ Breaking Changes) +[//]: # (**Full Changelog**: https://github.com/jhugman/uniffi-bindgen-react-native/compare/{{previous}}...{{current}}) diff --git a/crates/ubrn_cli/Cargo.toml b/crates/ubrn_cli/Cargo.toml index d940d9a..e7a000e 100644 --- a/crates/ubrn_cli/Cargo.toml +++ b/crates/ubrn_cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uniffi-bindgen-react-native" -version = "0.28.3-1" +version = "0.28.3-2" edition = "2021" [[bin]] diff --git a/package.json b/package.json index f721d6c..510b88b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "uniffi-bindgen-react-native", - "version": "0.28.3-1", + "version": "0.28.3-2", "description": "Uniffi bindings generator for calling Rust from React Native", "homepage": "https://github.com/jhugman/uniffi-bindgen-react-native", "repository": {