2.1.0 - 2025-02-26
- Move
get
method declaration to theReadablePosition
class. (eb3b7d284d) - Bump
Gradle
to 8.13. - Bump
Checkstyle
to 10.21.3. - Bump
ByteBuddy
to 1.17.1. - Bump
Shadow
to 8.3.6. - Bump
JUnit
to 5.12.0.
- Add
compareAndExchange
methods toAtomicBuffer
. (#334) - Add
getAndAddPlain
toAtomicCounter
. (#328) - Add
acquire/release
methods toAtomicBuffer
. (#314) - Add
acquire/release
methods toAtomicCounter
. (#315) - Add
acquire/release
methods toPosition
. (#316) - Add
plain
methods toAtomicCounter
. (#317) - Add
opaque
methods toAtomicCounter
. (#319) - Add
opaque
methods toAtomicBuffer
. (#313) - Add
opaque
methods toPosition
. (#324) - Add
timestampRelease
method toMarkFile
. (#318) - Add different flavors of concurrent methods to
StatusIndicator
. (#323)
- CI: Fix crash logs upload on Windows + compress test data before upload.
- Make
UnsafeApi#arrayBaseOffset
forwards compatible with JDK 25+ which changed the return type tolong
whereas we keep it asint
.
2.0.1 - 2025-01-14
- Deprecate
ThreadHints
. (#312) - Improve ordering/atomic doc in AtomicBuffer. (#309)
- Bump
Mockito
to 5.15.2. - Bump
Checkstyle
to 10.21.1.
- Add a new convenience constructor to
SleepingIdleStrategy
. (#310) - CI: Add JDK 25-ea to the build matrix.
2.0.0 - 2024-12-17
- Fail build on JavaDoc errors.
- Use JUnit BOM.
- CI: Disable auto-detection of JVMs to force a specific JVM for test execution in CI.
- Use Gradle's version catalog feature for declaring dependencies.
- Improve RingBuffer tests by reading one message at a time and minimizing the number of valid states.
- Bump
Gradle
to 8.11.1. - Bump
Checkstyle
to 10.21.0. - Bump
ByteBuddy
to 1.15.11. - Bump
bnd
to 7.1.0. - Bump
Shadow
to 8.3.5. - Bump
JUnit
to 5.11.4. - Bump
Guava TestLib
to 33.4.0-jre.
-
Add API to compute
CRC-32C
(org.agrona.checksum.Crc32c
) andCRC-32
(org.agrona.checksum.Crc32
) checksums.Note: Requires
--add-opens java.base/java.util.zip=ALL-UNNAMED
JVM option at run time in order to use these classes. -
Add concurrent tests for
getAndAdd
andgetAndSet
operations.
-
Breaking: Remove
org.agrona.UnsafeAccess
. Useorg.agrona.UnsafeApi
instead.Note:
--add-opens java.base/jdk.internal.misc=ALL-UNNAMED
JVM option must be specified in order to useorg.agrona.UnsafeApi
. -
Breaking: Remove
org.agrona.concurrent.MemoryAccess
was removed. Use either an equivalent APIs provided by -
org.agrona.UnsafeApi
orjava.lang.invoke.VarHandle
. -
Breaking: Remove
org.agrona.concurrent.SigIntBarrier
. Useorg.agrona.concurrent.ShutdownSignalBarrier
instead.