diff --git a/CHANGELOG.md b/CHANGELOG.md index 101ed1c712..f602f042e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ ## [[UnreleasedUniFFIVersion]] (backend crates: [[UnreleasedBackendVersion]]) - (_[[ReleaseDate]]_) +[All changes in [[UnreleasedUniFFIVersion]]](https://github.com/mozilla/uniffi-rs/compare/v0.27.0...HEAD). + +## v0.27.0 (backend crates: v0.27.0) - (_2024-03-26_) + ### What's new? - Constructors can be async. Alternate constructors work in Python, Kotlin and Swift; @@ -54,7 +58,7 @@ - Rust future continuation data (Replacing `FfiType::RustFutureContinuationData` which was moved). - `RustBuffer.len` and `RustBuffer.capacity` are now `u64` rather than `i32`. -[All changes in [[UnreleasedUniFFIVersion]]](https://github.com/mozilla/uniffi-rs/compare/v0.26.1...HEAD). +[All changes in v0.27.0](https://github.com/mozilla/uniffi-rs/compare/v0.26.1...v0.27.0). ## v0.26.1 (backend crates: v0.26.1) - (_2024-01-24_) diff --git a/Cargo.lock b/Cargo.lock index 4df0b603f1..332a54002e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1494,7 +1494,7 @@ checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" [[package]] name = "uniffi" -version = "0.26.1" +version = "0.27.0" dependencies = [ "anyhow", "camino", @@ -1938,7 +1938,7 @@ dependencies = [ [[package]] name = "uniffi_bindgen" -version = "0.26.1" +version = "0.27.0" dependencies = [ "anyhow", "askama", @@ -1961,7 +1961,7 @@ dependencies = [ [[package]] name = "uniffi_build" -version = "0.26.1" +version = "0.27.0" dependencies = [ "anyhow", "camino", @@ -1970,7 +1970,7 @@ dependencies = [ [[package]] name = "uniffi_checksum_derive" -version = "0.26.1" +version = "0.27.0" dependencies = [ "quote", "syn", @@ -1978,7 +1978,7 @@ dependencies = [ [[package]] name = "uniffi_core" -version = "0.26.1" +version = "0.27.0" dependencies = [ "anyhow", "async-compat", @@ -1993,7 +1993,7 @@ dependencies = [ [[package]] name = "uniffi_macros" -version = "0.26.1" +version = "0.27.0" dependencies = [ "bincode", "camino", @@ -2010,7 +2010,7 @@ dependencies = [ [[package]] name = "uniffi_meta" -version = "0.26.1" +version = "0.27.0" dependencies = [ "anyhow", "bytes", @@ -2020,7 +2020,7 @@ dependencies = [ [[package]] name = "uniffi_testing" -version = "0.26.1" +version = "0.27.0" dependencies = [ "anyhow", "camino", @@ -2031,7 +2031,7 @@ dependencies = [ [[package]] name = "uniffi_udl" -version = "0.26.1" +version = "0.27.0" dependencies = [ "anyhow", "textwrap", diff --git a/Cargo.toml b/Cargo.toml index b7b42279e3..96327cb799 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -73,4 +73,4 @@ members = [ resolver = "2" [workspace.dependencies] -uniffi = { path = "./uniffi", version = "0.26" } +uniffi = { path = "./uniffi", version = "0.27" } diff --git a/uniffi/Cargo.toml b/uniffi/Cargo.toml index ffd899795d..8155bc62fa 100644 --- a/uniffi/Cargo.toml +++ b/uniffi/Cargo.toml @@ -7,7 +7,7 @@ repository = "https://github.com/mozilla/uniffi-rs" # Incrementing the minor version here means a breaking change to consumers. # * See `docs/uniffi-versioning.md` for guidance on when to increment this # * Make sure to also update `uniffi_bindgen::UNIFFI_CONTRACT_VERSION" -version = "0.26.1" +version = "0.27.0" authors = ["Firefox Sync Team "] license = "MPL-2.0" edition = "2021" @@ -15,10 +15,10 @@ keywords = ["ffi", "bindgen"] readme = "../README.md" [dependencies] -uniffi_bindgen = { path = "../uniffi_bindgen", version = "=0.26.1", optional = true } -uniffi_build = { path = "../uniffi_build", version = "=0.26.1", optional = true } -uniffi_core = { path = "../uniffi_core", version = "=0.26.1" } -uniffi_macros = { path = "../uniffi_macros", version = "=0.26.1" } +uniffi_bindgen = { path = "../uniffi_bindgen", version = "=0.27.0", optional = true } +uniffi_build = { path = "../uniffi_build", version = "=0.27.0", optional = true } +uniffi_core = { path = "../uniffi_core", version = "=0.27.0" } +uniffi_macros = { path = "../uniffi_macros", version = "=0.27.0" } anyhow = "1" camino = { version = "1.0.8", optional = true } clap = { version = "4", features = ["cargo", "std", "derive"], optional = true } diff --git a/uniffi_bindgen/Cargo.toml b/uniffi_bindgen/Cargo.toml index 816c283f29..1bb70d3355 100644 --- a/uniffi_bindgen/Cargo.toml +++ b/uniffi_bindgen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uniffi_bindgen" -version = "0.26.1" +version = "0.27.0" authors = ["Firefox Sync Team "] description = "a multi-language bindings generator for rust (codegen and cli tooling)" documentation = "https://mozilla.github.io/uniffi-rs" @@ -24,8 +24,8 @@ once_cell = "1.12" paste = "1.0" serde = { version = "1", features = ["derive"] } toml = "0.5" -uniffi_meta = { path = "../uniffi_meta", version = "=0.26.1" } -uniffi_testing = { path = "../uniffi_testing", version = "=0.26.1" } -uniffi_udl = { path = "../uniffi_udl", version = "=0.26.1" } +uniffi_meta = { path = "../uniffi_meta", version = "=0.27.0" } +uniffi_testing = { path = "../uniffi_testing", version = "=0.27.0" } +uniffi_udl = { path = "../uniffi_udl", version = "=0.27.0" } clap = { version = "4", default-features = false, features = ["std", "derive"], optional = true } textwrap = "0.16" diff --git a/uniffi_build/Cargo.toml b/uniffi_build/Cargo.toml index edc8b3f783..aefbb1bf57 100644 --- a/uniffi_build/Cargo.toml +++ b/uniffi_build/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uniffi_build" -version = "0.26.1" +version = "0.27.0" authors = ["Firefox Sync Team "] description = "a multi-language bindings generator for rust (build script helpers)" documentation = "https://mozilla.github.io/uniffi-rs" @@ -14,7 +14,7 @@ readme = "../README.md" [dependencies] anyhow = "1" camino = "1.0.8" -uniffi_bindgen = { path = "../uniffi_bindgen", default-features = false, version = "=0.26.1" } +uniffi_bindgen = { path = "../uniffi_bindgen", default-features = false, version = "=0.27.0" } [features] default = [] diff --git a/uniffi_checksum_derive/Cargo.toml b/uniffi_checksum_derive/Cargo.toml index 41794604fe..f57daa8e4f 100644 --- a/uniffi_checksum_derive/Cargo.toml +++ b/uniffi_checksum_derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uniffi_checksum_derive" -version = "0.26.1" +version = "0.27.0" authors = ["Firefox Sync Team "] description = "a multi-language bindings generator for rust (checksum custom derive)" documentation = "https://mozilla.github.io/uniffi-rs" diff --git a/uniffi_core/Cargo.toml b/uniffi_core/Cargo.toml index 1632cc2af9..78a196c5aa 100644 --- a/uniffi_core/Cargo.toml +++ b/uniffi_core/Cargo.toml @@ -4,7 +4,7 @@ description = "a multi-language bindings generator for rust (runtime support cod documentation = "https://mozilla.github.io/uniffi-rs" homepage = "https://mozilla.github.io/uniffi-rs" repository = "https://github.com/mozilla/uniffi-rs" -version = "0.26.1" +version = "0.27.0" authors = ["Firefox Sync Team "] license = "MPL-2.0" edition = "2021" diff --git a/uniffi_macros/Cargo.toml b/uniffi_macros/Cargo.toml index e121dd8853..20ed498aa1 100644 --- a/uniffi_macros/Cargo.toml +++ b/uniffi_macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uniffi_macros" -version = "0.26.1" +version = "0.27.0" authors = ["Firefox Sync Team "] description = "a multi-language bindings generator for rust (convenience macros)" documentation = "https://mozilla.github.io/uniffi-rs" @@ -24,8 +24,8 @@ quote = "1.0" serde = { version = "1.0.136", features = ["derive"] } syn = { version = "2.0", features = ["full", "visit-mut"] } toml = "0.5.9" -uniffi_build = { path = "../uniffi_build", version = "=0.26.1", optional = true } -uniffi_meta = { path = "../uniffi_meta", version = "=0.26.1" } +uniffi_build = { path = "../uniffi_build", version = "=0.27.0", optional = true } +uniffi_meta = { path = "../uniffi_meta", version = "=0.27.0" } [features] default = [] diff --git a/uniffi_meta/Cargo.toml b/uniffi_meta/Cargo.toml index e2469327d7..dbf5a676de 100644 --- a/uniffi_meta/Cargo.toml +++ b/uniffi_meta/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uniffi_meta" -version = "0.26.1" +version = "0.27.0" edition = "2021" description = "uniffi_meta" homepage = "https://mozilla.github.io/uniffi-rs" @@ -13,4 +13,4 @@ readme = "../README.md" anyhow = "1" bytes = "1.3" siphasher = "0.3" -uniffi_checksum_derive = { version = "0.26.1", path = "../uniffi_checksum_derive" } +uniffi_checksum_derive = { version = "0.27.0", path = "../uniffi_checksum_derive" } diff --git a/uniffi_testing/Cargo.toml b/uniffi_testing/Cargo.toml index 97c394baa7..04aac916d5 100644 --- a/uniffi_testing/Cargo.toml +++ b/uniffi_testing/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uniffi_testing" -version = "0.26.1" +version = "0.27.0" authors = ["Firefox Sync Team "] description = "a multi-language bindings generator for rust (testing helpers)" documentation = "https://mozilla.github.io/uniffi-rs" diff --git a/uniffi_udl/Cargo.toml b/uniffi_udl/Cargo.toml index 96235758d0..507b460baf 100644 --- a/uniffi_udl/Cargo.toml +++ b/uniffi_udl/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uniffi_udl" -version = "0.26.1" +version = "0.27.0" description = "udl parsing for the uniffi project" documentation = "https://mozilla.github.io/uniffi-rs" homepage = "https://mozilla.github.io/uniffi-rs" @@ -14,5 +14,5 @@ readme = "../README.md" anyhow = "1" weedle2 = { version = "5.0.0", path = "../weedle2" } textwrap = "0.16" -uniffi_meta = { path = "../uniffi_meta", version = "=0.26.1" } -uniffi_testing = { path = "../uniffi_testing", version = "=0.26.1" } +uniffi_meta = { path = "../uniffi_meta", version = "=0.27.0" } +uniffi_testing = { path = "../uniffi_testing", version = "=0.27.0" }