Skip to content

Commit

Permalink
[jni][jnigen] Publish 0.12.0 (#1621)
Browse files Browse the repository at this point in the history
  • Loading branch information
HosseinYousefi authored Oct 1, 2024
1 parent d144f81 commit 0bf27dc
Show file tree
Hide file tree
Showing 11 changed files with 696 additions and 29 deletions.
6 changes: 5 additions & 1 deletion pkgs/jni/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
## 0.12.0-wip
## 0.12.0

- **Breaking Change**: Renamed `castTo` to `as`.
- Renamed library `internal_helpers_for_jnigen` to `_internal`.
- Using 16KB page size to support Android 15.
- Added `JImplementer` which enables building an object that implements multiple
Java interfaces.

## 0.11.0

Expand Down
2 changes: 1 addition & 1 deletion pkgs/jni/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

name: jni
description: A library to access JNI from Dart and Flutter that acts as a support library for package:jnigen.
version: 0.12.0-wip
version: 0.12.0
repository: https://github.com/dart-lang/native/tree/main/pkgs/jni

topics:
Expand Down
4 changes: 1 addition & 3 deletions pkgs/jnigen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 0.12.0-wip
## 0.12.0

- **Breaking Change**([#1530](https://github.com/dart-lang/native/pull/1530)):
Changed the renaming strategy for method overloadings. Instead of adding a
Expand All @@ -12,7 +12,6 @@
- **Breaking Change**: Removed the `Impl` suffix from the generated
implemenation classes. So the implementation class for an interface named
`Foo` is now simply called `$Foo` instead of `$FooImpl`.
- **Breaking Change**: Renamed `castTo` to `as`.
- **Breaking Change**: Renamed and made the typeclasses internal.
- **Breaking Change**: Relaxed the renaming rules to allow for more identifiers
to remain unchanged.
Expand All @@ -26,7 +25,6 @@
- No longer generating constructors for abstract classes.
- No longer generating `protected` elements.
- Fixed an issue where synthetic methods caused code generation to fail.
- Renamed library `internal_helpers_for_jnigen` to `_internal`.

## 0.11.0

Expand Down
Loading

0 comments on commit 0bf27dc

Please sign in to comment.