-
Notifications
You must be signed in to change notification settings - Fork 45
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
Bump uniffi to 0.26 #451
Bump uniffi to 0.26 #451
Conversation
58b75d3
to
d1ef620
Compare
Could consider using the new |
337b62b
to
8c87e8c
Compare
Thanks, you rule! |
(Just rebased on master to resolve new |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Just a few nits down below.
@@ -19,7 +19,7 @@ repositories { | |||
} | |||
|
|||
android { | |||
compileSdk = 31 | |||
compileSdk = 33 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we update the targetSdk to 33 as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure! updated, see line 26 for the targetSdk = 33
change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that updating targetSdk
might not be necessary, while compileSdk
is necessary due to the SystemCleaner
changes in UniFFI 0.26.
bdk-android/lib/build.gradle.kts
Outdated
@@ -44,7 +44,7 @@ android { | |||
} | |||
|
|||
dependencies { | |||
implementation("net.java.dev.jna:jna:5.8.0@aar") | |||
implementation("net.java.dev.jna:jna:5.12.0@aar") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small inconsistency between files, where some use 5.12 and some use 5.14.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks! changed.
@@ -56,7 +56,7 @@ jobs: | |||
run: cargo clippy --all-targets --features "uniffi/bindgen-tests" -- -D warnings | |||
|
|||
- name: "Test" | |||
run: CLASSPATH=./tests/jna/jna-5.8.0.jar cargo test --features uniffi/bindgen-tests | |||
run: CLASSPATH=./tests/jna/jna-5.14.0.jar cargo test --features uniffi/bindgen-tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See below comment on 5.14.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(line 62 below is changed now)
bdk-jvm/lib/build.gradle.kts
Outdated
@@ -59,7 +59,7 @@ tasks.withType<Test> { | |||
dependencies { | |||
implementation(platform("org.jetbrains.kotlin:kotlin-bom")) | |||
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk7") | |||
implementation("net.java.dev.jna:jna:5.8.0") | |||
implementation("net.java.dev.jna:jna:5.12.0") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this one should say 5.14.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed to 5.14 now, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 50f102b.
Description
Bump uniffi to 0.26 because the release adds support for things like:
Notes to the reviewers
versions of note
uniffi 0.26.1
(0.26.0 was yanked)jna 5.14.0
UniFFI relies on JNA for the ability to call native methods. JNA 5.12.0 or greater is required.compileSdk = 33
Changelog notice
Checklists
All Submissions:
cargo fmt
andcargo clippy
before committingNew Features:
Bugfixes: