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

Bump jni from 0.16.0 to 0.19.0 #1012

Merged
merged 1 commit into from
Sep 17, 2021
Merged

Bump jni from 0.16.0 to 0.19.0 #1012

merged 1 commit into from
Sep 17, 2021

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 17, 2021

Bumps jni from 0.16.0 to 0.19.0.

Release notes

Sourced from jni's releases.

Rust JNI 0.19.0

Added

  • AutoArray and generic get_array_elements(), along with get_<type>_array_elements helpers. (#287)
  • size() method to AutoArray and AutoPrimitiveArray. (#278 / #287)
  • discard() method to AutoArray and AutoPrimitiveArray. (#275 / #287)

Changed

  • Removed AutoPrimitiveArray::commit(). (#290)
  • AutoByte/PrimitiveArray.commit() now returns Result. (#275)
  • Removed methods get/release/commit_byte/primitive_array_{elements|critical}. (#281)
  • Renamed methods get_auto_byte/long/primitive_array_{elements|critical} to get_byte/long/primitive_array_{elements|critical}. (#281)

Rust JNI 0.18.0

Added

  • JNIEnv#define_unnamed_class function that allows loading a class without specifying its name. The name is inferred from the class data. (#246)
  • SetStatic<type>Field. (#248)
  • TryFrom<JValue> for types inside JValue variants (#264).
  • Implemented Copy for JNIEnv (#255).
  • repr(transparent) attribute to JavaVM struct (#259)

Changed

  • ⚠️ Switch from error-chain to thiserror, making all errors Send. Also, support all JNI errors in the jni_error_code_to_result function and add more information to the InvalidArgList error. (#242)

Rust JNI 0.17.0

Added

  • Get/ReleaseByteArrayElements, and Get/ReleasePrimitiveArrayCritical. (#237)
Changelog

Sourced from jni's changelog.

[0.19.0] — 2021-01-24

Added

  • AutoArray and generic get_array_elements(), along with get_<type>_array_elements helpers. (#287)
  • size() method to AutoArray and AutoPrimitiveArray. (#278 / #287)
  • discard() method to AutoArray and AutoPrimitiveArray. (#275 / #287)

Changed

  • Removed AutoPrimitiveArray::commit(). (#290)
  • AutoByte/PrimitiveArray.commit() now returns Result. (#275)
  • Removed methods get/release/commit_byte/primitive_array_{elements|critical}. (#281)
  • Renamed methods get_auto_byte/long/primitive_array_{elements|critical} to get_byte/long/primitive_array_{elements|critical}. (#281)

[0.18.0] — 2020-09-23

Added

  • JNIEnv#define_unnamed_class function that allows loading a class without specifying its name. The name is inferred from the class data. (#246)
  • SetStatic<type>Field. (#248)
  • TryFrom<JValue> for types inside JValue variants (#264).
  • Implemented Copy for JNIEnv (#255).
  • repr(transparent) attribute to JavaVM struct (#259)

Changed

  • Switch from error-chain to thiserror, making all errors Send. Also, support all JNI errors in the jni_error_code_to_result function and add more information to the InvalidArgList error. (#242)

[0.17.0] — 2020-06-30

Added

  • Get/ReleaseByteArrayElements, and Get/ReleasePrimitiveArrayCritical. (#237)
Commits

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 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)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 17, 2021
@jcape jcape requested review from a team September 17, 2021 19:16
@jcape jcape self-assigned this Sep 17, 2021
@jcape jcape added this to In progress in Consensus via automation Sep 17, 2021
@jcape
Copy link
Contributor

jcape commented Sep 17, 2021

@dependabot rebase

Bumps [jni](https://github.com/jni-rs/jni-rs) from 0.16.0 to 0.19.0.
- [Release notes](https://github.com/jni-rs/jni-rs/releases)
- [Changelog](https://github.com/jni-rs/jni-rs/blob/master/CHANGELOG.md)
- [Commits](jni-rs/jni-rs@v0.16.0...v0.19.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/cargo/jni-0.19.0 branch from 7003393 to 1cc0fbe Compare September 17, 2021 19:33
Consensus automation moved this from In progress to Reviewer approved Sep 17, 2021
@jcape jcape merged commit 2685421 into master Sep 17, 2021
@jcape jcape deleted the dependabot/cargo/jni-0.19.0 branch September 17, 2021 22:20
Consensus automation moved this from Reviewer approved to Done Sep 17, 2021
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
Projects
No open projects
Consensus
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants