This repository has been 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
JBuffer
andJByteBuffer
classes as default classes forjava.nio.Buffer
andjava.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 allowdart analyze
to pass whenstrict-casts
is set.
package:jni v0.7.0
- Breaking Change (#387): Added
JBuffer
andJByteBuffer
classes as default classes forjava.nio.Buffer
andjava.nio.ByteBuffer
respectively. - Breaking Change: Made the type classes
final
. - Fixed a bug where
addAll
,removeAll
andretainAll
inJSet
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
- 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_async
flag from the config. It's now happening by default since we read the Kotlin's metadata and reliably identify thesuspend fun
s. - 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
- Breaking Change (#131): Renamed
delete*
torelease*
. - Added
PortProxy
and related methods used for interface implementation. - Added the missing binding for
java.lang.Character
.