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

build(deps): bump uniffi_build from 0.25.3 to 0.29.0 #5448

Merged
merged 2 commits into from
Feb 12, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 10, 2025

Bumps uniffi_build from 0.25.3 to 0.29.0.

Changelog

Sourced from uniffi_build's changelog.

v0.29.0 (backend crates: v0.29.0) - (2025-02-06)

⚠️ Breaking Changes ⚠️

We've made a number of breaking changes to fix long standing paper-cuts with UniFFI in multi-crate and procmacro+udl environments.

See the detailed upgrade notes

While no changes are required to foreign code, we apologize for the inconvenience!

You are impacted if you use UniffiCustomTypeConverter to implement "Custom types", or use UDL with types from more than one crate.

  • UniffiCustomTypeConverter has been removed, you must now use the custom_type! macro instead.

  • The UDL syntax for external types has changed. typedef extern MyEnum; has been replaced with typedef enum MyEnum;. [Custom] and [External] are the only supported attributes for a typedef.

  • "remote" types (where UDL can re-export a type defined in a non-UniFFI crate - eg, log::Level) must now use a [Remote] attribute.

  • Various use_udl_*/use_remote_type etc macros have been removed.

Detailed upgrade notes

  • uniffi::generate_component_scaffolding has been removed. It's almost certainly unused as it is behind the wrong feature and undocumented. uniffi::generate_scaffolding does exacly the same thing and is correctly behind the build feature.

What's new?

  • Kotlin and Swift follow Python: Proc-macros exporting an impl Trait for Struct block now has a class inheritance hierarcy to reflect that. #2297, #2363

  • External types work much better, particularly between UDL and proc-macros. (Kotlin external errors do not work - #2392).

  • Swift interfaces are marked as Sendable (#2318)

  • Removed the log dependency and logging statements about FFI calls. These were not really useful to consumers and could have high overhead when lots of FFI calls are made. Instead, the ffi-trace feature can be used to get tracing-style printouts about the FFI.

  • External errors work for Swift and Python. Kotlin does not work - see #2392.

  • Added disable_java_cleaner option for kotlin to allow for Java 8 compatible code

... (truncated)

Commits
  • 76c4749 Merge pull request #2433 from bendk/release-v0.29.x
  • 28ccd34 Add uniffi-internal-macros release-backend-crates list
  • 5a877c8 Merge pull request #2432 from bendk/release-v0.29.x
  • 4746048 chore: Release
  • 180da08 chore: Release
  • 5b8fa52 Bump the Rust version to 1.84.0, but MSR remains the same. (#2422)
  • fb539bb Fixup comments and whitespace in generated Python code. (#2428)
  • 9c83e1d Merge pull request #2418 from jhugman/jhugman/2417-remove-send-from-wasm32-fu...
  • a80080c Add changelog
  • ba621e8 Address reviewer comments
  • 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

This change is Reviewable

@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Feb 10, 2025
Copy link

vercel bot commented Feb 10, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-nextra ⬜️ Ignored (Inspect) Visit Preview Feb 12, 2025 10:43pm
nym-next-explorer ⬜️ Ignored (Inspect) Visit Preview Feb 12, 2025 10:43pm

@octol
Copy link
Contributor

octol commented Feb 12, 2025

@dependabot rebase

Bumps [uniffi_build](https://github.com/mozilla/uniffi-rs) from 0.25.3 to 0.29.0.
- [Changelog](https://github.com/mozilla/uniffi-rs/blob/main/CHANGELOG.md)
- [Commits](mozilla/uniffi-rs@v0.25.3...v0.29.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/cargo/uniffi_build-0.29.0 branch from d03d610 to 36aff77 Compare February 12, 2025 22:27
@octol octol added this to the Dorina milestone Feb 12, 2025
@octol octol merged commit 0ccca19 into develop Feb 12, 2025
10 checks passed
@octol octol deleted the dependabot/cargo/uniffi_build-0.29.0 branch February 12, 2025 22:56
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.

1 participant