Skip to content

Releases: smartsheet-mobile/smjni

3.2 - Last Release

Choose a tag to compare

@gershnik gershnik released this 10 Oct 06:11
bf3350e

This is the last release of SmJNI

This library is no longer actively maintained or supported.

For an actively maintained and supported fork please migrate to SimpleJNI at https://github.com/gershnik/SimpleJNI

This release adds migration warnings to C++ compilation and JniGen annotation processor invocation to alert you about migration

3.1

3.1

Choose a tag to compare

@gershnik gershnik released this 03 Oct 07:46

Minor bug fixes

  • JniGen now handle generic types correctly
  • Internal code updated to get rid of JCenter and bintray
  • Documentation updates

3.0

3.0

Choose a tag to compare

@gershnik gershnik released this 17 Oct 09:32

This is a major release focusing on runtime performance

Highlights

  • Compilation now requires C++17 compiler
  • Greatly reduced amount of memory allocations and copying. Most things are now done at compile, rather than run time
  • Improved string conversion time from C++ to Java
  • Pervasive noexcept and move semantics to improve code generation
  • Using thread_local for thread local storage instead of OS interfaces
  • Reduced size of java_static_method and java_constructor which in turn greatly reduces size for class wrappers that contain them
  • Proper container interfaces for arrays and direct buffers

Breaking changes

In general client code using jnigen to generate all native interfaces will not be affected. If you do things manually the following will require adjustment:

  • Registration of native methods is now done differently
  • java_static_method has an additional template parameter for the class it operates on
  • java_static_method and java_constructor require additional argument for the class object when invoked

2.2

2.2

Choose a tag to compare

@gershnik gershnik released this 08 Sep 19:10

Incremental annotation processor

2.1

2.1

Choose a tag to compare

@gershnik gershnik released this 07 Oct 07:06

JNIGen bug fix

2.0

2.0

Choose a tag to compare

@gershnik gershnik released this 30 Sep 09:23
Publishing to bintray/jcenter