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

[deps]: Update Rust crate uniffi to v0.28.0 #889

Merged
merged 2 commits into from
Jul 23, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 8, 2024

Mend Renovate

This PR contains the following updates:

Package Type Update Change
uniffi (source) dependencies minor =0.27.2 -> =0.28.0
uniffi (source) build-dependencies minor =0.27.2 -> =0.28.0

Release Notes

mozilla/uniffi-rs (uniffi)

v0.28.0

Compare Source

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

  • Swift errors now provide localizedDescription (#​2116)

  • Procmacros support tuple-errors (ie, enums used as errors can be tuple-enums.)

What's fixed?
  • Fixed a problem with procmacro defined errors when the error was not used as an Err result
    in the namespace (#​2108)

  • Custom Type names are now treated as type names by all bindings. This means if they will work if they happen to be
    keywords in the language. There's a very small risk of this being a breaking change if you used a type name which
    did not already start with a capital letter, but this changes makes all type naming consistent.
    (#​2073)

  • Macros uniffi::method and uniffi::constructor can now be used with
    cfg_attr. (#​2113)

  • Python: Fix custom types generating invalid code when there are forward references.
    (#​2067)

What's changed?
  • The internal bindings generation has changed to make it friendlier for external language bindings.
    However, this a breaking change for these bindings.
    No consumers of any languages are impacted, only the maintainers of these language bindings.
    (#​2066), (#​2094)

  • The async runtime can be specified for constructors/methods, this will override the runtime specified at the impl block level.

All changes in v0.28.0.

v0.27.3

Compare Source

  • Removed dependencies on unicode-linebreak and unicode-width. They were being pulled in a
    sub-dependencies for the textwrap crate, but weren't really useful.

All changes in v0.27.3.


Configuration

📅 Schedule: Branch creation - "every 2nd week starting on the 2 week of the year before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner July 8, 2024 19:16
@Hinton Hinton requested a review from dani-garcia July 8, 2024 19:20
Copy link

codecov bot commented Jul 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 58.07%. Comparing base (23e1367) to head (aeb9ae5).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #889      +/-   ##
==========================================
- Coverage   58.10%   58.07%   -0.03%     
==========================================
  Files         194      194              
  Lines       13194    13194              
==========================================
- Hits         7666     7663       -3     
- Misses       5528     5531       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@dani-garcia dani-garcia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor Author

renovate bot commented Jul 22, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Copy link
Contributor

Logo
Checkmarx One – Scan Summary & Details7d5b00ec-2791-4137-aba7-0908221b2557

No New Or Fixed Issues Found

Copy link
Contributor

@Thomas-Avery Thomas-Avery left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dani-garcia dani-garcia merged commit c837aa0 into main Jul 23, 2024
105 checks passed
@dani-garcia dani-garcia deleted the renovate/uniffi-0.x branch July 23, 2024 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants