Halyx 1.0.2
Halyx 1.0.2 fixes the JSON cache codec on Spring Boot 4 and changes how cancelled reactive calls behave. It also adds a quickstart sample for applications that don't use Spring.
Fixes#
JSON cache codec on Spring Boot 4#
Issue #9. With halyx.cache-manager.codec=json, and with Jackson 2
also on the classpath (halyx-azure brings it in), the codec used Jackson 2 without Java date/time support. Caching a
value that held an Instant failed. Jackson 3 is now always preferred when it's present.
Cancelling a reactive call#
Issue #12. Cancelling a ReactiveHalyx call that had already
started, with timeout() for example, interrupted its thread on the default virtual-thread scheduler and on
boundedElastic. That could abort a blocking SDK call partway through.
Now a call that has started runs to completion, and its result is dropped, as documented. A call cancelled before it starts never runs.
Note
Calls on the non-blocking path are cancelled with the subscription, and the driver may abort the request. The reactive guide now says so.
Samples#
Plain Java quickstart#
Issue #2, contributed in
#8.
halyx-samples/plain-java-quickstart
shows object storage, messaging and parameters without Spring. It runs on the in-memory provider by default, or on
a cloud that you pick with system properties. The README and Getting started link to it.
Upgrading#
Bump the BOM; nothing else changes.
implementation(platform("dev.halyx:halyx-bom:1.0.2"))