Skip to content

Bump uniffi from 0.32.1 to 0.33.0 in /MaruAdblockFFI - #110

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/MaruAdblockFFI/uniffi-0.33.0
Open

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 1, 2026

Copy link
Copy Markdown
Contributor

Bumps uniffi from 0.32.1 to 0.33.0.

Changelog

Sourced from uniffi's changelog.

v0.33.0 (backend crates: v0.33.0) - (2026-11-20)

⚠️ Breaking Changes ⚠️

  • When the Rust package name and library name differ, foreign bindings now default to using the library name as their module name rather than the package name. The new default matches the name in use statements for Rust. Use configuration options like bindings.kotlin.package_name or the bindings.python.module_name to override the default.

  • Kotlin: disable_java_cleaner was renamed to java_8_compatible. It now controls multiple features that require Java 9 (minSdk 28 on Android)

What's New?

  • Added uniffi_parse_rs, which generates metadata by parsing Rust sources directly. This allows using the macros syntax to describe your interface, without requiring you to build the library before generating bindings. See #2841. Use uniffi-bindgen [generation-options] src:[rust-crate-name] to test this out.
  • Added uniffi-bindgen-kotlin-jni, an experimental JNI-based Kotlin bindgen. Benchmarks show large improvements in performance and we believe this will be more stable than the current Kotlin bindings. However, the code is very fresh so use at your own risk. See #2911.
  • Added support for remote trait interfaces - ie, traits defined in a crate which doesn't use UniFFI. Use #[uniffi::export(remote)] or [Trait, Remote] in UDL. Foreign implementations are not supported, see the docs for more.
  • Python: Added the config value bindings.python.module_name to set the generated module name.
  • Ruby: Added the config value bindings.ruby.file_name to set the generated filename.
  • Ruby: Add bindings.ruby.module_name to set the generated module name. In library mode, [bindings.ruby.external_packages] is auto-filled from each peer's module_name; a consumer override that does not match is a bindgen error (via #2980).
  • Ruby: Add external types support (via #2980).
  • Kotlin: Calls into Rust no longer allocate a JNA Structure for the call status. FFI functions take the status as a pointer into a reusable per-thread buffer, and a Structure is only built when the call fails. This removes most of the overhead of a call that passes and returns only primitives or objects (see #3011).

What's Fixed

  • The wasm-unstable-single-threaded feature now applies to every WASM target (target_family = "wasm"), including wasm64-unknown-unknown. Previously it only applied to wasm32, so memory64 builds still required Send and Sync.
  • #[derive(Node)] now emits its has_descendant_type checks in field declaration order. Previously the order came from a HashSet and changed on every compile, so uniffi_bindgen did not build reproducibly (via #3048).
  • Recursive enums and records are now detected when the cycle passes through a custom type. Previously these types were not marked recursive, so the Swift bindings were missing indirect and failed to compile (via #3005).
  • Detection of recursive enums and records is now deterministic. Previously, when cycles overlapped, which types were marked recursive depended on hash map iteration order and could differ between builds, although the generated bindings still compiled (via #3005).
  • [bindings.<language>.rename] is now applied through Box<T> and Option<Box<T>> fields, not just the type definition itself. Previously the field kept referring to the pre-rename name,

... (truncated)

Commits
  • 39baae7 Release fixes for 0.33.x
  • 98a2923 chore: Release
  • 9cb4593 chore: Release
  • aee133d CHANGELOG updates in preparation of 0.33.0
  • 244585b uniffi-bindgen-kotlin-jni: look up the field a primitive record lowers from
  • 630599c uniffi-bindgen-kotlin-jni: call async callback methods with call_void
  • c08d047 uniffi-bindgen-kotlin-jni: fix lowering records that start with an empty field
  • 44055bf uniffi-bindgen-kotlin-jni: fix async fallible callbacks and optional async re...
  • f407a8b uniffi-bindgen-kotlin-jni: derive Debug for callback impl structs
  • 9685959 uniffi-bindgen-kotlin-jni: call bool-returning callback methods with call_boo...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [uniffi](https://github.com/mozilla/uniffi-rs) from 0.32.1 to 0.33.0.
- [Changelog](https://github.com/mozilla/uniffi-rs/blob/main/CHANGELOG.md)
- [Commits](mozilla/uniffi-rs@v0.32.1...v0.33.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Dec 1, 2026
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