jni-rs v0.18.0 Release Notes

Release Date: 2020-09-23 // 2 months ago
  • โž• 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)

Previous changes from v0.17.0

  • โž• Added

    • ๐Ÿš‘ Get/ReleaseByteArrayElements, and Get/ReleasePrimitiveArrayCritical. (#237)