Skip to content

Commit

Permalink
Merge pull request #2213 from bendk/release-v0.28.x
Browse files Browse the repository at this point in the history
Changes for v0.28.1
  • Loading branch information
bendk authored Aug 13, 2024
2 parents cd38cce + 1cdf56b commit 2296746
Show file tree
Hide file tree
Showing 101 changed files with 2,281 additions and 626 deletions.
20 changes: 18 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,28 @@

## [[UnreleasedUniFFIVersion]] (backend crates: [[UnreleasedBackendVersion]]) - (_[[ReleaseDate]]_)

[All changes in [[UnreleasedUniFFIVersion]]](https://github.com/mozilla/uniffi-rs/compare/v0.28.0...HEAD).
[All changes in [[UnreleasedUniFFIVersion]]](https://github.com/mozilla/uniffi-rs/compare/v0.28.1...HEAD).

## v0.28.0 (backend crates: v0.28.0) - (_2024-06-11_)
## v0.28.1 (backend crates: v0.28.1) - (_2024-08-09_)

### What's new?

- Lift errors will not cause an abort when `panic=abort` is set.
- Added the `cargo_metadata` feature, which is on by default. In some cases, this can be disabled
for better compatibility with projects that don't use cargo.
- A new bindgen command line option `--metadata-no-deps` is available to avoid processing
cargo_metadata for all dependencies.
- In UDL it's now possible (and preferred) to remove the `[Rust=]` attribute and use a plain-old typedef.
See [the manual page for this](https://mozilla.github.io/uniffi-rs/next/udl/ext_types.html#types-from-procmacros-in-this-crate).

### What's changed?
- Kotlin will use the more efficient Enum.entries property instead of Enum.values() when possible

[All changes in v0.28.1](https://github.com/mozilla/uniffi-rs/compare/v0.28.0...v0.28.1).

## v0.28.0 (backend crates: v0.28.0) - (_2024-06-11_)

### What's new?
- Objects error types can now be as `Result<>` error type without wrapping them in `Arc<>`.

- Swift errors now provide `localizedDescription` ([#2116](https://github.com/mozilla/uniffi-rs/pull/2116))
Expand Down
27 changes: 18 additions & 9 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ members = [
"fixtures/keywords/swift",
"fixtures/metadata",
"fixtures/proc-macro",
"fixtures/proc-macro-no-implicit-prelude",
"fixtures/regressions/enum-without-i32-helpers",
"fixtures/regressions/fully-qualified-types",
"fixtures/regressions/kotlin-experimental-unsigned-types",
Expand Down
Loading

0 comments on commit 2296746

Please sign in to comment.