All Versions
18
Latest Version
Avg Release Cycle
102 days
Latest Release
111 days ago

Changelog History
Page 2

  • v0.12.2 Changes

    May 02, 2019

    ๐Ÿ”„ Changed

    • ๐Ÿ“š Updated documentation of GetXArrayRegion methods (#169)
    • ๐Ÿ‘Œ Improved ABI compatibility on various platforms (#170)
  • v0.12.1 Changes

    April 27, 2019

    ๐Ÿš€ This release does not bring code changes.

    ๐Ÿ”„ Changed

    • ๐Ÿ“š Updated project documentation.
  • v0.12.0 Changes

    April 01, 2019

    ๐Ÿ”„ Changed

    • JString, JMap and JavaStr and their respective iterators now require an extra lifetime so that they can now work with &'b JNIEnv<'a>, where 'a: 'b.
  • v0.11.0 Changes

    February 21, 2019

    Highlights

    ๐Ÿš€ This release brings various improvements and fixes, outlined below. The most notable changes are:

    • ๐Ÿฑ โš ๏ธ null is no longer represented as an Err with error kind NullPtr if it is a value of some
      nullable Java reference (not an indication of an error). Related issues: #136, #148, #163.
    • unsafe methods, providing a low-level API similar to JNI, has been marked safe and renamed
      to have _unchecked suffix. Such methods can be used to implement caching of class references
      ๐ŸŽ and method IDs to improve performance in loops and frequently called Java callbacks.
      ๐Ÿ“„ If you have such, check out the docs and one of early usages
      of this feature.

    โž• Added

    • ๐Ÿ Invocation API support on Windows and AppVeyor CI (#149)

    ๐Ÿ”„ Changed

    push_local_frame, delete_global_ref and release_string_utf_chars
    ๐Ÿ‘ป no longer check for exceptions as they are safe
    ๐Ÿ‘ป to call if there is a pending exception (#124):

    • push_local_frame will now work in case of pending exceptions โ€” as
      the spec requires; and fail in case of allocation errors
    • delete_global_ref and release_string_utf_chars won't print incorrect
      ๐ŸŒฒ log messages

    ๐Ÿ‘€ Rename some macros to better express their intent (see #123):

    • Rename jni_call to jni_non_null_call as it checks the return value
      to be non-null.

    - Rename jni_non_null_call (which may return nulls) to jni_non_void_call.

    A lot of public methods of JNIEnv have been marked as safe, all unsafe code
    ๐Ÿ›  has been isolated inside internal macros. Methods with _unsafe suffixes have
    ๐Ÿ›  been renamed and now have _unchecked suffixes (#140)

    from_str method of the JavaType has been replaced by the FromStr
    implementation

    ๐Ÿ”€ Implemented Sync for GlobalRef (#102).

    ๐Ÿ‘Œ Improvements in macro usage for JNI methods calls (#136):

    • call_static_method_unchecked and get_static_field_unchecked methods are
      ๐Ÿ‘ allowed to return NULL object
    • Added checking for pending exception to the call_static_method_unchecked
      โš  method (eliminated WARNING messages in log)

    Further improvements in macro usage for JNI method calls (#150):

    • The new_global_ref() and new_local_ref() functions are allowed to work with NULL objects according to specification.
    • Fixed the family of functions new_direct_byte_buffer(), get_direct_buffer_address() and get_direct_buffer_capacity()
      by adding checking for null and error codes.

    - Increased tests coverage for JNIEnv functions.

    ๐Ÿ‘ฏ Implemented Clone for JNIEnv (#147).

    The get_superclass(), get_field_unchecked() and get_object_array_element() are allowed to return NULL object according
    to the specification (#163).

    ๐Ÿ›  Fixed

    • The issue with early detaching of a thread by nested AttachGuard. (#139)
  • v0.10.2 Changes

    September 11, 2018

    ๐Ÿ”„ Changelog

    โž• Added

    • JavaVM#get_java_vm_pointer to retrieve a JavaVM pointer (#98)
    • This changelog and other project documents (#106)

    ๐Ÿ”„ Changed

    • ๐Ÿšš The project is moved to an organization (#104)
    • โšก๏ธ Updated versions of dependencies (#105)
    • ๐Ÿ‘Œ Improved project documents (#107)

    ๐Ÿ›  Fixed

    • Crate type of a shared library with native methods
      must be cdylib (#100)
  • v0.10.1 Changes

    April 23, 2018
    • ๐Ÿš€ No changes has been made to the Changelog until this release.

    ๐Ÿš€ [Unreleased]: https://github.com/jni-rs/jni-rs/compare/v0.20.0...HEAD

  • v0.10.0

    April 06, 2018
  • v0.9.3

    January 12, 2018