real-logic/agrona (org.agrona:agrona)
### [`v1.20.0`](https://togithub.com/real-logic/agrona/releases/tag/1.20.0)
[Compare Source](https://togithub.com/real-logic/agrona/compare/1.19.2...1.20.0)
- Add Reference ID, a new metadata field, to counters in the value padding.
- Suppress warnings about Unsafe APIs being deprecated for removal in JDK 22.
- Enable dynamic agent loading on JDK 22 + run ByteBuddy in the experimental mode.
- CI: Use JDK 21 GA, drop JDK 11, and add JDK 22-ea.
- Fix JavaDoc link for JDK 21 GA.
- Move bnd into bundle section to make it forward compatible with the next major version of the plugin.
- Upgrade to ByteBuddy 1.14.9.
- Upgrade to Guava TestLib 32.1.3-jre.
- Upgrade to ASM 9.6.
- Upgrade to Versions 0.49.0.
### [`v1.19.2`](https://togithub.com/real-logic/agrona/releases/tag/1.19.2)
[Compare Source](https://togithub.com/real-logic/agrona/compare/1.19.1...1.19.2)
- Add missing bounds check to `AbstractMutableDirectBuffer#getInt(int, java.nio.ByteOrder)` ([#285](https://togithub.com/real-logic/agrona/issues/285))
- Upgrade to ByteBuddy 1.14.7.
### [`v1.19.1`](https://togithub.com/real-logic/agrona/releases/tag/1.19.1)
[Compare Source](https://togithub.com/real-logic/agrona/compare/1.19.0...1.19.1)
- Fix NPE in SigInt.java ([#283](https://togithub.com/real-logic/agrona/issues/283))
- Upgrade to JMH 1.37.
- Upgrade to Guava TestLib 32.1.2-jre.
- Upgrade to JUnit 5.10.0.
### [`v1.19.0`](https://togithub.com/real-logic/agrona/releases/tag/1.19.0)
[Compare Source](https://togithub.com/real-logic/agrona/compare/1.18.2...1.19.0)
- Update BiInt2ObjectMap to support null values and add methods to get close to feature parity with Java 8 collections.
- Restore the original behavior around the signal handling by not delegating to the previously registered handler.
- Add MarkFile method to handle the creation of link files.
- Upgrade Versions to 0.47.0
- Upgrade Guava to 32.1.1-jre
- Update ByteBuddy to 1.14.5
### [`v1.18.2`](https://togithub.com/real-logic/agrona/releases/tag/1.18.2)
[Compare Source](https://togithub.com/real-logic/agrona/compare/1.18.1...1.18.2)
- Fix `IntHashSet#retainAll(IntHashSet)` and `IntHashSet#removeIfInt` which were skipping removal of some elements if the chain compaction moved them to the beginning of the array.
- JDK 21-ea warning fixes.
- Upgrade to ByteBuddy 1.14.4.
- Upgrade to JUnit 5.9.3.
- Upgrade to ASM 9.5 for JDK 21-ea support.
- Upgrade to Shadow 8.1.1.
- Upgrade to Gradle 8.1.1.
### [`v1.18.1`](https://togithub.com/real-logic/agrona/releases/tag/1.18.1)
[Compare Source](https://togithub.com/real-logic/agrona/compare/1.18.0...1.18.1)
- Fix `AbstractMutableDirectBuffer#putStringAscii*` methods when invoked with the `null` value (i.e. null reference) in which case they were overwriting the first four bytes of the buffer by writing the zero length at the wrong offset.
- Remove address alignment of the underlying native `ByteBuffer` from the `ExpandableDirectByteBuffer` class as this might break the existing code that does not handle the `wrapAdjustment()` properly.
- Avoid allocation when returning an empty String from the `AbstractMutableDirectBuffer#getString*` methods.
### [`v1.18.0`](https://togithub.com/real-logic/agrona/releases/tag/1.18.0)
[Compare Source](https://togithub.com/real-logic/agrona/compare/1.17.2...1.18.0)
- Add buffer alignment optimisations and checks (`STRICT_ALIGNMENT_CHECKS`). PR [#267](https://togithub.com/real-logic/agrona/issues/267).
- Add missing copy constructors on maps. PR [#275](https://togithub.com/real-logic/agrona/issues/275).
- Add implementation of `DataInput` interface that reads from DirectBuffer. PR [#274](https://togithub.com/real-logic/agrona/issues/274).
- Fix shut down signal barrier jvm signal not called. PR [#271](https://togithub.com/real-logic/agrona/issues/271).
- Add CodeQL workflow for GitHub code scanning. PR [#268](https://togithub.com/real-logic/agrona/issues/268).
- Allow `ExpandableDirectByteBuffer` to grow up to [`2147483`](https://togithub.com/real-logic/agrona/commit/2147483584) bytes, i.e. the last aligned value to which Alignment can be added without causing an overflow.
- Add align methods for longs.
- Make map/unmap by address work on JDK 20.
- Rename `SystemUtil.isX86Arch` to `isX64Arch`.
- Change algorithm for rehash so bounds check is done on loop level to help optimiser.
- Eliminate int vs long comparison in `IoUtil.mapNewFile`.
- Declare `NumberFormatException` on `Strings.parseIntOrDefault`.
- Fix `ExpandableArrayBuffer` and `UnsafeBuffer` toString when using a raw array.
- Add `CountersManager.toString`.
- Fix `HighResolutionTimer` race conditions.
- Exit early if the `DistinctErrorLog` buffer is full.
- Invoke the `EpochClock.time` outside the synchronized block.
- Fix `ExpandableArrayBuffer.checkLimit` regression, i.e. grow capacity if the limit exceeds current capacity.
- Do not use 128 bytes as a minimum length when growing the buffer, i.e. allow smaller buffers to grow slower.
- Upgrade to ByteBuddy 1.14.3.
- Upgrade to JUnit 5.9.2
- Upgrade to Mockito 4.11.0.
- Upgrade to Gradle 7.6.
- Upgrade JMH to 1.36.
- Upgrade to versions plugin 0.46.0.
- Upgrade to JCStress 0.16
- Upgrade BND to 6.4.0
- Add mockito-inline dependency.
### [`v1.17.2`](https://togithub.com/real-logic/agrona/releases/tag/1.17.2)
[Compare Source](https://togithub.com/real-logic/agrona/compare/1.17.1...1.17.2)
- Fix `IntHashSet#retainAll(IntHashSet)` and `IntHashSet#removeIfInt` which were skipping removal of some elements if the chain compaction moved them to the beginning of the array.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
1.17.1
->1.20.0
Release Notes
real-logic/agrona (org.agrona:agrona)
### [`v1.20.0`](https://togithub.com/real-logic/agrona/releases/tag/1.20.0) [Compare Source](https://togithub.com/real-logic/agrona/compare/1.19.2...1.20.0) - Add Reference ID, a new metadata field, to counters in the value padding. - Suppress warnings about Unsafe APIs being deprecated for removal in JDK 22. - Enable dynamic agent loading on JDK 22 + run ByteBuddy in the experimental mode. - CI: Use JDK 21 GA, drop JDK 11, and add JDK 22-ea. - Fix JavaDoc link for JDK 21 GA. - Move bnd into bundle section to make it forward compatible with the next major version of the plugin. - Upgrade to ByteBuddy 1.14.9. - Upgrade to Guava TestLib 32.1.3-jre. - Upgrade to ASM 9.6. - Upgrade to Versions 0.49.0. ### [`v1.19.2`](https://togithub.com/real-logic/agrona/releases/tag/1.19.2) [Compare Source](https://togithub.com/real-logic/agrona/compare/1.19.1...1.19.2) - Add missing bounds check to `AbstractMutableDirectBuffer#getInt(int, java.nio.ByteOrder)` ([#285](https://togithub.com/real-logic/agrona/issues/285)) - Upgrade to ByteBuddy 1.14.7. ### [`v1.19.1`](https://togithub.com/real-logic/agrona/releases/tag/1.19.1) [Compare Source](https://togithub.com/real-logic/agrona/compare/1.19.0...1.19.1) - Fix NPE in SigInt.java ([#283](https://togithub.com/real-logic/agrona/issues/283)) - Upgrade to JMH 1.37. - Upgrade to Guava TestLib 32.1.2-jre. - Upgrade to JUnit 5.10.0. ### [`v1.19.0`](https://togithub.com/real-logic/agrona/releases/tag/1.19.0) [Compare Source](https://togithub.com/real-logic/agrona/compare/1.18.2...1.19.0) - Update BiInt2ObjectMap to support null values and add methods to get close to feature parity with Java 8 collections. - Restore the original behavior around the signal handling by not delegating to the previously registered handler. - Add MarkFile method to handle the creation of link files. - Upgrade Versions to 0.47.0 - Upgrade Guava to 32.1.1-jre - Update ByteBuddy to 1.14.5 ### [`v1.18.2`](https://togithub.com/real-logic/agrona/releases/tag/1.18.2) [Compare Source](https://togithub.com/real-logic/agrona/compare/1.18.1...1.18.2) - Fix `IntHashSet#retainAll(IntHashSet)` and `IntHashSet#removeIfInt` which were skipping removal of some elements if the chain compaction moved them to the beginning of the array. - JDK 21-ea warning fixes. - Upgrade to ByteBuddy 1.14.4. - Upgrade to JUnit 5.9.3. - Upgrade to ASM 9.5 for JDK 21-ea support. - Upgrade to Shadow 8.1.1. - Upgrade to Gradle 8.1.1. ### [`v1.18.1`](https://togithub.com/real-logic/agrona/releases/tag/1.18.1) [Compare Source](https://togithub.com/real-logic/agrona/compare/1.18.0...1.18.1) - Fix `AbstractMutableDirectBuffer#putStringAscii*` methods when invoked with the `null` value (i.e. null reference) in which case they were overwriting the first four bytes of the buffer by writing the zero length at the wrong offset. - Remove address alignment of the underlying native `ByteBuffer` from the `ExpandableDirectByteBuffer` class as this might break the existing code that does not handle the `wrapAdjustment()` properly. - Avoid allocation when returning an empty String from the `AbstractMutableDirectBuffer#getString*` methods. ### [`v1.18.0`](https://togithub.com/real-logic/agrona/releases/tag/1.18.0) [Compare Source](https://togithub.com/real-logic/agrona/compare/1.17.2...1.18.0) - Add buffer alignment optimisations and checks (`STRICT_ALIGNMENT_CHECKS`). PR [#267](https://togithub.com/real-logic/agrona/issues/267). - Add missing copy constructors on maps. PR [#275](https://togithub.com/real-logic/agrona/issues/275). - Add implementation of `DataInput` interface that reads from DirectBuffer. PR [#274](https://togithub.com/real-logic/agrona/issues/274). - Fix shut down signal barrier jvm signal not called. PR [#271](https://togithub.com/real-logic/agrona/issues/271). - Add CodeQL workflow for GitHub code scanning. PR [#268](https://togithub.com/real-logic/agrona/issues/268). - Allow `ExpandableDirectByteBuffer` to grow up to [`2147483`](https://togithub.com/real-logic/agrona/commit/2147483584) bytes, i.e. the last aligned value to which Alignment can be added without causing an overflow. - Add align methods for longs. - Make map/unmap by address work on JDK 20. - Rename `SystemUtil.isX86Arch` to `isX64Arch`. - Change algorithm for rehash so bounds check is done on loop level to help optimiser. - Eliminate int vs long comparison in `IoUtil.mapNewFile`. - Declare `NumberFormatException` on `Strings.parseIntOrDefault`. - Fix `ExpandableArrayBuffer` and `UnsafeBuffer` toString when using a raw array. - Add `CountersManager.toString`. - Fix `HighResolutionTimer` race conditions. - Exit early if the `DistinctErrorLog` buffer is full. - Invoke the `EpochClock.time` outside the synchronized block. - Fix `ExpandableArrayBuffer.checkLimit` regression, i.e. grow capacity if the limit exceeds current capacity. - Do not use 128 bytes as a minimum length when growing the buffer, i.e. allow smaller buffers to grow slower. - Upgrade to ByteBuddy 1.14.3. - Upgrade to JUnit 5.9.2 - Upgrade to Mockito 4.11.0. - Upgrade to Gradle 7.6. - Upgrade JMH to 1.36. - Upgrade to versions plugin 0.46.0. - Upgrade to JCStress 0.16 - Upgrade BND to 6.4.0 - Add mockito-inline dependency. ### [`v1.17.2`](https://togithub.com/real-logic/agrona/releases/tag/1.17.2) [Compare Source](https://togithub.com/real-logic/agrona/compare/1.17.1...1.17.2) - Fix `IntHashSet#retainAll(IntHashSet)` and `IntHashSet#removeIfInt` which were skipping removal of some elements if the chain compaction moved them to the beginning of the array.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.