This repository has been archived by the owner on Apr 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b61750d
commit 7fd2fb3
Showing
7 changed files
with
167 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,57 @@ | ||
## 0.7.0 | ||
* **Breaking Change** ([#387](https://github.com/dart-lang/jnigen/issues/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. | ||
|
||
- **Breaking Change** ([#387](https://github.com/dart-lang/jnigen/issues/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. | ||
|
||
## 0.6.1 | ||
* Depend on the stable version of Dart 3.1. | ||
|
||
- Depend on the stable version of Dart 3.1. | ||
|
||
## 0.6.0 | ||
* **Breaking Change** ([#131](https://github.com/dart-lang/jnigen/issues/131)): Renamed `delete*` to `release*`. | ||
* Added `PortProxy` and related methods used for interface implementation. | ||
* Added the missing binding for `java.lang.Character`. | ||
|
||
- **Breaking Change** ([#131](https://github.com/dart-lang/jnigen/issues/131)): | ||
Renamed `delete*` to `release*`. | ||
- Added `PortProxy` and related methods used for interface implementation. | ||
- Added the missing binding for `java.lang.Character`. | ||
|
||
## 0.5.0 | ||
* **Breaking Change** ([#137](https://github.com/dart-lang/jnigen/issues/137)): Java primitive types are now all lowercase like `jint`, `jshort`, ... | ||
* The bindings for `java.util.Set`, `java.util.Map`, `java.util.List` and the numeric types like `java.lang.Integer`, `java.lang.Boolean`, ... are now included in `package:jni`. | ||
|
||
- **Breaking Change** ([#137](https://github.com/dart-lang/jnigen/issues/137)): | ||
Java primitive types are now all lowercase like `jint`, `jshort`, ... | ||
- The bindings for `java.util.Set`, `java.util.Map`, `java.util.List` and the | ||
numeric types like `java.lang.Integer`, `java.lang.Boolean`, ... are now | ||
included in `package:jni`. | ||
|
||
## 0.4.0 | ||
* Type classes now have `superCount` and `superType` getters used for type inference. | ||
|
||
- Type classes now have `superCount` and `superType` getters used for type | ||
inference. | ||
|
||
## 0.3.0 | ||
* Added `PortContinuation` used for `suspend fun` in Kotlin. | ||
* `dartjni` now depends on `dart_api_dl.h`. | ||
|
||
- Added `PortContinuation` used for `suspend fun` in Kotlin. | ||
- `dartjni` now depends on `dart_api_dl.h`. | ||
|
||
## 0.2.1 | ||
* Added `.clang-format` to pub. | ||
|
||
- Added `.clang-format` to pub. | ||
|
||
## 0.2.0 | ||
* Added array support | ||
* Added generic support | ||
* `JniX` turned into `JX` for a more terse code. | ||
|
||
- Added array support | ||
- Added generic support | ||
- `JniX` turned into `JX` for a more terse code. | ||
|
||
## 0.1.1 | ||
* Windows support for running tests and examples on development machines. | ||
|
||
- Windows support for running tests and examples on development machines. | ||
|
||
## 0.1.0 | ||
* Initial version: Android and Linux support, JObject API | ||
|
||
- Initial version: Android and Linux support, JObject API |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,74 @@ | ||
## 0.7.0 | ||
* **Breaking Change** ([#387](https://github.com/dart-lang/jnigen/issues/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. | ||
|
||
- **Breaking Change** ([#387](https://github.com/dart-lang/jnigen/issues/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. | ||
|
||
## 0.6.0 | ||
* **Breaking Change** ([#131](https://github.com/dart-lang/jnigen/issues/131)): Renamed `delete*` to `release*`. | ||
* **Breaking Change** ([#354](https://github.com/dart-lang/jnigen/issues/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 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. | ||
|
||
- **Breaking Change** ([#131](https://github.com/dart-lang/jnigen/issues/131)): | ||
Renamed `delete*` to `release*`. | ||
- **Breaking Change** ([#354](https://github.com/dart-lang/jnigen/issues/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 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. | ||
|
||
## 0.5.0 | ||
* **Breaking Change** ([#72](https://github.com/dart-lang/jnigen/issues/72)): Removed support for `importMap` in favor of the newly added interop mechanism with importing yaml files. | ||
* **Breaking Change** ([#72](https://github.com/dart-lang/jnigen/issues/72)): `java.util.Set`, `java.util.Map`, `java.util.List`, `java.util.Iterator` and the boxed types like `java.lang.Integer`, `java.lang.Double`, ... will be generated as their corresponding classes in `package:jni`. | ||
* Strings now use UTF16. | ||
|
||
- **Breaking Change** ([#72](https://github.com/dart-lang/jnigen/issues/72)): | ||
Removed support for `importMap` in favor of the newly added interop mechanism | ||
with importing yaml files. | ||
- **Breaking Change** ([#72](https://github.com/dart-lang/jnigen/issues/72)): | ||
`java.util.Set`, `java.util.Map`, `java.util.List`, `java.util.Iterator` and | ||
the boxed types like `java.lang.Integer`, `java.lang.Double`, ... will be | ||
generated as their corresponding classes in `package:jni`. | ||
- Strings now use UTF16. | ||
|
||
## 0.4.0 | ||
* **Breaking Change** ([#145](https://github.com/dart-lang/jnigen/issues/145)): Type arguments are now named instead of positional. | ||
* Type parameters can now be inferred when possible. | ||
* Fixed a bug where passing a `long` argument truncated it to `int` in pure dart bindings. | ||
* Removed array extensions from the generated code. | ||
* Added the ability to use source dependencies from Gradle. | ||
* Fixed an issue with the field setter. | ||
* Fixed an issue where exceptions were not properly thrown in pure Dart bindings. | ||
|
||
- **Breaking Change** ([#145](https://github.com/dart-lang/jnigen/issues/145)): | ||
Type arguments are now named instead of positional. | ||
- Type parameters can now be inferred when possible. | ||
- Fixed a bug where passing a `long` argument truncated it to `int` in pure dart | ||
bindings. | ||
- Removed array extensions from the generated code. | ||
- Added the ability to use source dependencies from Gradle. | ||
- Fixed an issue with the field setter. | ||
- Fixed an issue where exceptions were not properly thrown in pure Dart | ||
bindings. | ||
|
||
## 0.3.0 | ||
* Added the option to convert Kotlin `suspend fun` to Dart async methods. Add `suspend_fun_to_async: true` to `jnigen.yaml`. | ||
|
||
- Added the option to convert Kotlin `suspend fun` to Dart async methods. Add | ||
`suspend_fun_to_async: true` to `jnigen.yaml`. | ||
|
||
## 0.2.0 | ||
* Support generating bindings for generics. | ||
|
||
- Support generating bindings for generics. | ||
|
||
## 0.1.1 | ||
* Windows support for running tests and examples on development machines. | ||
|
||
- Windows support for running tests and examples on development machines. | ||
|
||
## 0.1.0 | ||
* Initial version: Basic bindings generation, maven and android utilities | ||
|
||
- Initial version: Basic bindings generation, maven and android utilities |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters