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

Update jni requirement from 0.18.0 to 0.19.0 #70

Merged
merged 1 commit into from
Feb 8, 2021

Conversation

dependabot-preview[bot]
Copy link
Contributor

Updates the requirements on jni to permit the latest version.

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

[0.16.0] — 2020-02-28

Fixed

  • Java VM instantiation with some MacOS configurations. (#220, #229, #230).

[0.15.0] — 2020-02-28

Added

  • Ability to pass object wrappers that are convertible to JObject as arguments to the majority of JNIEnv methods without explicit conversion. (#213)
  • JNIEnv#is_same_object implementation. (#213)
  • JNIEnv#register_native_methods. (#214)
  • Conversion from Into<JObject> to JValue::Object.

Fixed

  • Passing null as class loader to define_class method now allowed according

... (truncated)

Commits

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 use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Updates the requirements on [jni](https://github.com/jni-rs/jni-rs) to permit the latest version.
- [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.18.0...v0.19.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Feb 8, 2021
@Ralith Ralith merged commit 13bfd70 into master Feb 8, 2021
@Ralith Ralith deleted the dependabot/cargo/jni-0.19.0 branch February 8, 2021 18:43
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
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant