Skip to content

Releases: duchess-rs/duchess

v0.3.0

22 Jul 21:47
827297d
Compare
Choose a tag to compare

What's Changed

  • Update contributor guide. by @bowemi in #167
  • Couple of smaller doc fixes by @badboy in #171
  • Update thread model to include new understandings by @rcoh in #162
  • Add in checks for the type of Java Class/Interface by @ekureina in #168
  • Add support for multiple Errors to surface by @ekureina in #170
  • Generate JNI fuction following JNI standards by @bowemi in #169
  • Update contributor guidelines on how to run a single test by @bowemi in #175
  • Java to rust exceptions by @bowemi in #176
  • cherry-pick some refactorings by @nikomatsakis in #177
  • Add support for returning scalars by @bowemi in #181
  • create a duchess-reflect crate by @nikomatsakis in #178
  • Allow to specify minimum or maximum JNI versions by @ekureina in #180
  • Fix Option<T> fields when used as method arguments as well as in ToJava by @rcoh in #182
  • update changelog, prepare release by @rcoh in #183

New Contributors

Full Changelog: v0.2.1...v0.3.0

v0.2.1 (June 4th 2021)

04 Jun 13:29
1be778b
Compare
Choose a tag to compare

What's Changed

  • Add JMX APIs to Java prelude by @rcoh in #163

Full Changelog: v0.2.0...v0.2.1

v0.2.0 (May 20th, 2024)

20 May 15:35
25f6080
Compare
Choose a tag to compare
Pre-release

⚠️ This is a breaking release ⚠️

This release contains several breaking changes to be aware of:

  1. The public API has been simplfied: Duchess references are now "global" references by default. The to_rust, global, and execute combinators have all been merged. You now invoke execute and then the result depends on the return value: returning a Java<T> will create a global reference (matching the previous behavior of global), and returning a Rust value like String will invoke the "to rust" conversion (like to_rust used to do). For context and examples of upgrading see #147.

  2. Jvm::with has been removed. You can no longer obtain explicit handles to the JVM, preventing panics due to nested Jvm::with invocations. For context and examples see #147.

  3. JvmOp, the type returned by most Duchess operations-in-progress is now #[must_use]. If you encounter this error in your code, note that the code as written had no effect. JvmOp does nothing unless .execute() is called.

All changes since the previous release

New Contributors

  • @rcoh made their first contribution in #131

Full Changelog: v0.1.7...v0.2.0