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

Upgrading UniFFI to 0.25.2 #5935

Merged
merged 1 commit into from
Dec 1, 2023
Merged

Upgrading UniFFI to 0.25.2 #5935

merged 1 commit into from
Dec 1, 2023

Conversation

bendk
Copy link
Contributor

@bendk bendk commented Nov 20, 2023

Mostly mechanical, the one extra step was to add the serde::derive feature to remote_settings. I guess it's not pulling that feature in from uniffi anymore.

I think we should wait to merge until Glean has also upgraded to 0.25.2.

Pull Request checklist

  • Breaking changes: This PR follows our breaking change policy
    • This PR follows the breaking change policy:
      • This PR has no breaking API changes, or
      • There are corresponding PRs for our consumer applications that resolve the breaking changes and have been approved
  • Quality: This PR builds and tests run cleanly
    • Note:
      • For changes that need extra cross-platform testing, consider adding [ci full] to the PR title.
      • If this pull request includes a breaking change, consider cutting a new release after merging.
  • Tests: This PR includes thorough tests or an explanation of why it does not
  • Changelog: This PR includes a changelog entry in CHANGELOG.md or an explanation of why it does not need one
    • Any breaking changes to Swift or Kotlin binding APIs are noted explicitly
  • Dependencies: This PR follows our dependency management guidelines
    • Any new dependencies are accompanied by a summary of the due dilligence applied in selecting them.

Branch builds: add [firefox-android: branch-name] to the PR title.

@bendk bendk requested review from a team and linabutler and removed request for a team November 20, 2023 16:38
Copy link
Member

@mhammond mhammond left a comment

Choose a reason for hiding this comment

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

LGTM, but isn't the new oneshot dep a blocker from getting this into m-c?

@bendk
Copy link
Contributor Author

bendk commented Nov 20, 2023

LGTM, but isn't the new oneshot dep a blocker from getting this into m-c?

Yeah, it probably is going to me. Let me double-check that it still is an issue. If so, I guess we need to fix mozilla/uniffi-rs#1736 and maybe release 0.25.4.

@codecov-commenter
Copy link

codecov-commenter commented Nov 20, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (59c6820) 27.43% compared to head (5babdbc) 27.43%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5935   +/-   ##
=======================================
  Coverage   27.43%   27.43%           
=======================================
  Files         379      379           
  Lines       48204    48204           
=======================================
  Hits        13224    13224           
  Misses      34980    34980           

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

@mhammond mhammond changed the title Upgarding UniFFI to 0.25.2 Upgrading UniFFI to 0.25.2 Nov 20, 2023
@bendk bendk force-pushed the uniffi-0.25.2 branch 2 times, most recently from 0b170ee to e4baa50 Compare November 22, 2023 00:54
Mostly mechanical, the one extra step was to add the `serde::derive`
feature to `remote_settings`.  I guess it's not pulling that feature in
from `uniffi` anymore.

oneshot is a new dependency for UniFFI.  It specifies its license in
Cargo.toml but doesn't include the file, so I linked to the official
Apache 2.0 license text.
@bendk
Copy link
Contributor Author

bendk commented Nov 30, 2023

Updated this to also include Glean 56.0.0 which has the same UniFFI upgrade.

There's a m-c patch that takes this. I'll try to trigger a try run there: https://phabricator.services.mozilla.com/D195155

Should we merge once everything is green there?

@bendk bendk added this pull request to the merge queue Dec 1, 2023
Merged via the queue into mozilla:main with commit 54ec6e1 Dec 1, 2023
17 checks passed
@bendk bendk deleted the uniffi-0.25.2 branch December 1, 2023 14:02
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