Skip to content

Bump uniffi from 0.29.5 to 0.32.2 - #2

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/uniffi-0.32.2
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/uniffi-0.32.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 22, 2026 •

Copy link
Copy Markdown

Bumps uniffi from 0.29.5 to 0.32.2.

Changelog

Sourced from uniffi's changelog.

v0.32.2 (backend crates: v0.32.2) - (2026-09-22)

What's Fixed

  • Kotlin: prevent compiler warnings in generated code (#2949)

All changes in v0.32.2.

v0.32.1 (backend crates: v0.32.1) - (2026-09-08)

What's Fixed

  • Kotlin: Fixed checksum failure on aarch64 (#2935)

All changes in v0.32.1.

v0.32.0 (backend crates: v0.32.0) - (2026-06-30)

⚠️ Breaking Changes ⚠️

  • Kotlin and Python now fail to generate bindings when there are async primary constructors. Previously these languages skipped the constructor in this case or generated a constructor that always threw. You can get similar behavior by adding the primary constructor to the uniffi.toml excludes list in uniffi.toml (e.g. `excludes = ["MyObject.new"])
  • Ruby: Force named parameters for enum constructors (#2880)
  • The --config flag now expects a global config file rather than a flat uniffi.toml-style override. Old-style files will produce a warning and be ignored. See #2866
  • [ByRef] bytes UDL arguments now map to &[u8] on the Rust side instead of &Vec<u8>. UDL-defined functions whose Rust implementations take &Vec<u8> must change to &[u8]. Proc-macro signatures (fn foo(x: &[u8])) are unchanged. On the Kotlin side, call sites must now pass a direct java.nio.ByteBuffer rather than ByteArray; migrate with ByteBuffer.allocateDirect(arr.size).put(arr).flip(). Swift (Data) and Python (bytes) call sites are unchanged. (#2878)
  • Reworked the experimental pipeline bindgen code. Any external binding generators using this will need to be reworked as well. See #2787 for examples of how this can be done.

What's Fixed

  • Fixed bug that sometimes prevented renaming items inside a submodule #2792
  • Exempted UniFfiTag from clippy::exhaustive_structs since downstream projects may depend on it #2809
  • Ruby: Code for all kinds of enums and custom types is now correctly generated #2880 and #2891

⚠️ Breaking Changes for external bindings authors ⚠️

  • There's a new GlobalConfig struct for managing config. It replaces BindgenPathsLayer::get_config() method which has been removed. See #2866.
  • [ByRef] bytes arguments now travel across the FFI as a ForeignBytes (pointer + length) value rather than a RustBuffer. External bindings need to accept the foreign-language byte buffer at the call site and lower it to ForeignBytes for the duration of the call (no copy). (#2878)

What's New?

  • Global config file support via --config. See the docs.

  • Traits can now be exported with #[uniffi::export(foreign)] for foreign-only implementations, or #[uniffi::export(rust, foreign)] for both Rust and foreign implementations. The with_foreign flag is deprecated in favor of rust, foreign.

  • Recursive enums are now supported. UniFFI automatically detects when enum and record types participate in cycles — self-referential, mutually recursive, or cycling through a record — and generates appropriate bindings: indirect in Swift, forward references in Python (#2834).

  • Box<T> now automatically implements FFI traits when T implements them, allowing direct use in enum variants and function parameters without NewType wrappers (#2808)

  • Record fields can now be renamed with the proc-macro name = "new_field_name" attribute (#2794)

  • Items can be excluded from the generated bindings using uniffi.toml.

  • Added mutable_records configuration option to allow specific records to remain mutable even when generate_immutable_records is enabled (Kotlin and Swift).

... (truncated)

Commits

@dependabot
dependabot Bot requested a review from quantova-inc as a code owner October 22, 2026 23:56
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Oct 22, 2026
@dependabot
dependabot Bot force-pushed the dependabot/cargo/uniffi-0.32.2 branch 2 times, most recently from 0fc299c to 69e4f47 Compare October 23, 2026 07:06
Bumps [uniffi](https://github.com/mozilla/uniffi-rs) from 0.29.5 to 0.32.2.
- [Changelog](https://github.com/mozilla/uniffi-rs/blob/v0.32.2/CHANGELOG.md)
- [Commits](mozilla/uniffi-rs@v0.29.5...v0.32.2)

---
updated-dependencies:
- dependency-name: uniffi
  dependency-version: 0.32.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/cargo/uniffi-0.32.2 branch from 69e4f47 to 248569c Compare October 23, 2026 11:32
@dependabot @github

dependabot Bot commented on behalf of github Oct 23, 2026

Copy link
Copy Markdown
Author

Looks like uniffi is no longer being updated by Dependabot, so this is no longer needed.

@dependabot dependabot Bot closed this Oct 23, 2026
@dependabot
dependabot Bot deleted the dependabot/cargo/uniffi-0.32.2 branch October 23, 2026 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants