|
| 1 | +## 0.8.0-wip |
| 2 | + |
| 3 | +- **Breaking Change** ([#394](https://github.com/dart-lang/jnigen/issues/394)): |
| 4 | + Converted various `Exception`s into `Error`s: |
| 5 | + - `UseAfterReleaseException` -> `UseAfterReleaseError` |
| 6 | + - `DoubleReleaseException` -> `DoubleReleaseError` |
| 7 | + - `SpawnException` -> `JniError` (It's now a `sealed class`) |
| 8 | + - `JNullException` -> `JNullError` |
| 9 | + - `InvalidCallTypeException` -> `InvalidCallTypeError` |
| 10 | + - `HelperNotFoundException` -> `HelperNotFoundError` |
| 11 | + - `JvmExistsException` -> `JniVmExistsError` |
| 12 | + - `NoJvmInstanceException` -> `NoJvmInstanceError` |
| 13 | +- **Breaking Change**: Removed `InvalidJStringException`. |
| 14 | +- **Breaking Change**: The default return `callType` of type parameter `int` for |
| 15 | + methods such as `JObject.callMethodByName<int>` is now Java's `long` instead |
| 16 | + of `int` to be consistent with the way arguments work. |
| 17 | +- **Breaking Change**: `JType` is now `sealed`. |
| 18 | +- **Breaking Change**: Primitive types and their type classes are now `final`. |
| 19 | +- **Breaking Change**: `JArray.filled` now uses the generated type class of the |
| 20 | + `fill` object and not its Java runtime type. |
| 21 | + |
| 22 | +## 0.7.2 |
| 23 | +- Fixed a bug where reading non-null terminated strings would overflow. |
| 24 | + |
| 25 | +## 0.7.1 |
| 26 | +- Removed macOS Flutter plugin until package:jni supports it ([#41](https://github.com/dart-lang/jnigen/issues/41)). |
| 27 | + |
| 28 | +## 0.7.0 |
| 29 | + |
| 30 | +- **Breaking Change** ([#387](https://github.com/dart-lang/jnigen/issues/387)): |
| 31 | + Added `JBuffer` and `JByteBuffer` classes as default classes for |
| 32 | + `java.nio.Buffer` and `java.nio.ByteBuffer` respectively. |
| 33 | +- **Breaking Change**: Made the type classes `final`. |
| 34 | +- Fixed a bug where `addAll`, `removeAll` and `retainAll` in `JSet` would run |
| 35 | + their respective operation twice. |
| 36 | +- Fixed a bug where `JList.insertAll` would not throw the potentially thrown |
| 37 | + Java exception. |
| 38 | + |
| 39 | +## 0.6.1 |
| 40 | + |
| 41 | +- Depend on the stable version of Dart 3.1. |
| 42 | + |
| 43 | +## 0.6.0 |
| 44 | + |
| 45 | +- **Breaking Change** ([#131](https://github.com/dart-lang/jnigen/issues/131)): |
| 46 | + Renamed `delete*` to `release*`. |
| 47 | +- Added `PortProxy` and related methods used for interface implementation. |
| 48 | +- Added the missing binding for `java.lang.Character`. |
| 49 | + |
| 50 | +## 0.5.0 |
| 51 | + |
| 52 | +- **Breaking Change** ([#137](https://github.com/dart-lang/jnigen/issues/137)): |
| 53 | + Java primitive types are now all lowercase like `jint`, `jshort`, ... |
| 54 | +- The bindings for `java.util.Set`, `java.util.Map`, `java.util.List` and the |
| 55 | + numeric types like `java.lang.Integer`, `java.lang.Boolean`, ... are now |
| 56 | + included in `package:jni`. |
| 57 | + |
| 58 | +## 0.4.0 |
| 59 | + |
| 60 | +- Type classes now have `superCount` and `superType` getters used for type |
| 61 | + inference. |
| 62 | + |
| 63 | +## 0.3.0 |
| 64 | + |
| 65 | +- Added `PortContinuation` used for `suspend fun` in Kotlin. |
| 66 | +- `dartjni` now depends on `dart_api_dl.h`. |
| 67 | + |
| 68 | +## 0.2.1 |
| 69 | + |
| 70 | +- Added `.clang-format` to pub. |
| 71 | + |
| 72 | +## 0.2.0 |
| 73 | + |
| 74 | +- Added array support |
| 75 | +- Added generic support |
| 76 | +- `JniX` turned into `JX` for a more terse code. |
| 77 | + |
| 78 | +## 0.1.1 |
| 79 | + |
| 80 | +- Windows support for running tests and examples on development machines. |
| 81 | + |
| 82 | +## 0.1.0 |
| 83 | + |
| 84 | +- Initial version: Android and Linux support, JObject API |
0 commit comments