This repository was archived by the owner on Apr 29, 2024. It is now read-only.
Releases: dart-archive/jnigen
Releases · dart-archive/jnigen
package:jnigen v0.7.0
- Breaking Change (#387): Added
JBufferandJByteBufferclasses as default classes forjava.nio.Bufferandjava.nio.ByteBufferrespectively. - Breaking Change: Made the type classes
final. - Added
ignore_for_file: lines_longer_than_80_charsto the generated file preamble. - Added an explicit cast in generated
<Interface>.implementcode to allowdart analyzeto pass whenstrict-castsis set.
package:jni v0.7.0
- Breaking Change (#387): Added
JBufferandJByteBufferclasses as default classes forjava.nio.Bufferandjava.nio.ByteBufferrespectively. - Breaking Change: Made the type classes
final. - Fixed a bug where
addAll,removeAllandretainAllinJSetwould run their respective operation twice. - Fixed a bug where
JList.insertAllwould not throw the potentially thrown Java exception.
package:jnigen v0.6.0
- Breaking Change (#131): Renamed
delete*torelease*. - Breaking Change (#354): Renamed constructors from
ctor1,ctor2, ... tonew1,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_asyncflag from the config. It's now happening by default since we read the Kotlin's metadata and reliably identify thesuspend 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_experimentoption to config. - Created an experiment called
interface_implementationwhich creates a.implementmethod for interfaces, so you can implement them using Dart. - Save all
jnigenlogs to a file in.dart_tool/jnigen/logs/. This is useful for debugging.
package:jni v0.6.0
- Breaking Change (#131): Renamed
delete*torelease*. - Added
PortProxyand related methods used for interface implementation. - Added the missing binding for
java.lang.Character.