Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.27.x #2049

Merged
merged 2 commits into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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_)

Expand Down
18 changes: 9 additions & 9 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@ members = [
resolver = "2"

[workspace.dependencies]
uniffi = { path = "./uniffi", version = "0.26" }
uniffi = { path = "./uniffi", version = "0.27" }
10 changes: 5 additions & 5 deletions uniffi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ 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 <sync-team@mozilla.com>"]
license = "MPL-2.0"
edition = "2021"
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 }
Expand Down
8 changes: 4 additions & 4 deletions uniffi_bindgen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "uniffi_bindgen"
version = "0.26.1"
version = "0.27.0"
authors = ["Firefox Sync Team <sync-team@mozilla.com>"]
description = "a multi-language bindings generator for rust (codegen and cli tooling)"
documentation = "https://mozilla.github.io/uniffi-rs"
Expand All @@ -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"
4 changes: 2 additions & 2 deletions uniffi_build/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "uniffi_build"
version = "0.26.1"
version = "0.27.0"
authors = ["Firefox Sync Team <sync-team@mozilla.com>"]
description = "a multi-language bindings generator for rust (build script helpers)"
documentation = "https://mozilla.github.io/uniffi-rs"
Expand All @@ -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 = []
Expand Down
2 changes: 1 addition & 1 deletion uniffi_checksum_derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "uniffi_checksum_derive"
version = "0.26.1"
version = "0.27.0"
authors = ["Firefox Sync Team <sync-team@mozilla.com>"]
description = "a multi-language bindings generator for rust (checksum custom derive)"
documentation = "https://mozilla.github.io/uniffi-rs"
Expand Down
2 changes: 1 addition & 1 deletion uniffi_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <sync-team@mozilla.com>"]
license = "MPL-2.0"
edition = "2021"
Expand Down
6 changes: 3 additions & 3 deletions uniffi_macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "uniffi_macros"
version = "0.26.1"
version = "0.27.0"
authors = ["Firefox Sync Team <sync-team@mozilla.com>"]
description = "a multi-language bindings generator for rust (convenience macros)"
documentation = "https://mozilla.github.io/uniffi-rs"
Expand All @@ -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 = []
Expand Down
4 changes: 2 additions & 2 deletions uniffi_meta/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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" }
2 changes: 1 addition & 1 deletion uniffi_testing/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "uniffi_testing"
version = "0.26.1"
version = "0.27.0"
authors = ["Firefox Sync Team <sync-team@mozilla.com>"]
description = "a multi-language bindings generator for rust (testing helpers)"
documentation = "https://mozilla.github.io/uniffi-rs"
Expand Down
6 changes: 3 additions & 3 deletions uniffi_udl/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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" }