Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Releases: dart-archive/jnigen

package:jnigen v0.7.0

13 Sep 13:05
4443ceb
Compare
Choose a tag to compare
  • Breaking Change (#387): Added JBuffer and JByteBuffer classes as default classes for java.nio.Buffer and java.nio.ByteBuffer respectively.
  • Breaking Change: Made the type classes final.
  • Added ignore_for_file: lines_longer_than_80_chars to the generated file preamble.
  • Added an explicit cast in generated <Interface>.implement code to allow dart analyze to pass when strict-casts is set.

package:jni v0.7.0

13 Sep 13:05
4443ceb
Compare
Choose a tag to compare
  • Breaking Change (#387): Added JBuffer and JByteBuffer classes as default classes for java.nio.Buffer and java.nio.ByteBuffer respectively.
  • Breaking Change: Made the type classes final.
  • Fixed a bug where addAll, removeAll and retainAll in JSet would run their respective operation twice.
  • Fixed a bug where JList.insertAll would not throw the potentially thrown Java exception.

package:jnigen v0.6.0

01 Sep 11:33
7420076
Compare
Choose a tag to compare
  • Breaking Change (#131): Renamed delete* to release*.
  • Breaking Change (#354): Renamed constructors from ctor1, ctor2, ... to new1, new2, ...
  • Breaking Change: Specifying a class always pulls in nested classes by default. If a nested class is specified in config, it will be an error.
  • Breaking Change: Removed suspend_fun_to_async flag from the config. It's now happening by default since we read the Kotlin's metadata and reliably identify the suspend funs.
  • Fixed a bug where the nested classes would be generated incorrectly depending on the backend used for generation.* Fixed a bug where ASM backend would produce the incorrect parent for multi-level nested classes.* Fixed a bug where the backends would produce different descriptors for the same method.
  • Added enable_experiment option to config.
  • Created an experiment called interface_implementation which creates a .implement method for interfaces, so you can implement them using Dart.
  • Save all jnigen logs to a file in .dart_tool/jnigen/logs/. This is useful for debugging.

package:jni v0.6.0

01 Sep 11:34
7420076
Compare
Choose a tag to compare
  • Breaking Change (#131): Renamed delete* to release*.
  • Added PortProxy and related methods used for interface implementation.
  • Added the missing binding for java.lang.Character.