1.1.1
First release on pub.dev. Repository, examples and CI — no library changes: the only edit under lib/ since 1.1.0 is a corrected doc comment, so upgrading changes nothing at runtime.
Compatibility
- SDK floor drops from
^3.12.2to^3.10.0. CI runsdart analyzeand the full suite on a pinned 3.10.0 SDK as well as on stable, so the floor is exercised rather than asserted.
Examples
- Three task-oriented examples, none needing a jar or a class path:
jdk_apis.dart(SHA-256 viaMessageDigest, locale-aware currency viaNumberFormat/Locale, a deflate/inflate round trip using a Java array as a buffer Java writes into),collections.dart(ArrayList/HashMapdriven with plain Dart values, ending in reusabledartListFrom/dartMapFrom), andperformance.dart(holding aJavaClassfor its member-id cache, scoping references withlocalFrame, with timings). example/example.mdindexes all five and points at the right one for a given task.- The tour in
example/main.dartis rewritten against the JDK, so it needs no jar either. - The greeter moved to
example/greeter/, a standalone project with a path dependency on this package.
Project layout
- The test suite and the greeter example each own everything they build and run from —
test/java/→test/build/fixtures.jar,example/greeter/java/→example/greeter/build/greeter.jar— with ajava_home.shapiece. They previously shared onejava/directory and one jar.
Repository
- Apache 2.0
LICENSE. - GitHub Actions CI: format, analyze and
dart doc; the full suite and every example on Linux and macOS, since locating and loadinglibjvmis the per-platform part of this package. - Coverage on both platforms, uploaded to Codecov (95%).
Fixed
- The package's own usage snippet told readers to load
build/fixtures.jar, a filename that never existed in the repository.
Full changelog: https://github.com/gmpassos/java_interop/blob/main/CHANGELOG.md