Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 29, 2025

Bumps org.agrona:agrona from 1.21.1 to 2.4.0.

Release notes

Sourced from org.agrona:agrona's releases.

2.4.0

  • [Breaking] Remove org.agrona.concurrent.SigInt. Use org.agrona.concurrent.ShutdownSignalBarrier instead.

  • [Breaking] Change SystemUtil#parseDuration to reject negative values.

  • [Breaking] Change SystemUtil#parseSize to reject negative values.

  • Fix DeadlineTimerWhee#forEach which could cause wrong timerId to be returned. (#346)

  • DeadlineTimerWheel clarify timer expires at or after deadline. (#345)

  • Add plain methods to MarkFile every weak method. (#344)

  • Fix UnsafeBuffer#wrap with raw memory address where wrapAdjustment was not reset. (#348)

  • Fix Int2ObjectCache#remove which was returning last checked value when nothing was actually removed. (#351)

  • Fix DirectBufferDataInput#readStringUTF8. (#353)

  • Change BroadcastReceiver#lapCount operations to use opaque access. (#349)

  • Use Objects#checkFromIndexSize for out of bounds checks in DirectBuffer.

  • Use AtomicLong#setRelease in DynamicCompositeAgent. (#352)

  • Add SystemUtil#formatDuration.

  • Add SystemUtil#formatSize.

  • Upgrade to ByteBuddy 1.18.3.

  • Upgrade to Checkstyle 12.3.0.

  • Upgrade to Mockito 5.21.0.

  • Upgrade to Shadow 9.3.0.

  • Remove bnd plugin.

2.3.2

  • Prevent concurrent MarkFile activation when org.agrona.MarkFile.mapNewOrExistingMarkFile is used.

    If the mark file already exists and is not active, then the activity timestamp (timestampFieldOffset) is atomically set to a special sentinel value (org.agrona.MarkFile.ACTIVATION_IN_PROGRESS_TIMESTAMP) to prevent other processes from concurrent activation.

    NB: If the current activation fails it will leave the activity timestamp at a sentinel value which will prevent a restart of the process. Therefore, it is recommended to reset the activity timestamp upon failure.

2.3.1

  • Fixed racy file creation in org.agrona.MarkFile.mapNewOrExistingMarkFile. (#340)

... (truncated)

Changelog

Sourced from org.agrona:agrona's changelog.

== 2.4.0 (2025-12-25)

  • [Breaking] Remove org.agrona.concurrent.SigInt. Use org.agrona.concurrent.ShutdownSignalBarrier instead.

  • [Breaking] Change SystemUtil#parseDuration to reject negative values.

  • [Breaking] Change SystemUtil#parseSize to reject negative values.

  • Fix DeadlineTimerWhee#forEach which could cause wrong timerId to be returned. (aeron-io/agrona#346)

  • DeadlineTimerWheel clarify timer expires at or after deadline. (aeron-io/agrona#345)

  • Add plain methods to MarkFile every weak method. (aeron-io/agrona#344)

  • Fix UnsafeBuffer#wrap with raw memory address where wrapAdjustment was not reset. (aeron-io/agrona#348)

  • Fix Int2ObjectCache#remove which was returning last checked value when nothing was actually removed. (aeron-io/agrona#351)

  • Fix DirectBufferDataInput#readStringUTF8. (aeron-io/agrona#353)

  • Change BroadcastReceiver#lapCount operations to use opaque access. (aeron-io/agrona#349)

  • Use Objects#checkFromIndexSize for out of bounds checks in DirectBuffer.

  • Use AtomicLong#setRelease in DynamicCompositeAgent. (aeron-io/agrona#352)

  • Add SystemUtil#formatDuration.

  • Add SystemUtil#formatSize.

  • Upgrade to ByteBuddy 1.18.3.

  • Upgrade to Checkstyle 12.3.0.

  • Upgrade to Mockito 5.21.0.

  • Upgrade to Shadow 9.3.0.

  • Remove bnd plugin.

== 2.3.2 (2025-11-08)

  • Prevent concurrent MarkFile activation when org.agrona.MarkFile.mapNewOrExistingMarkFile is used.

If the mark file already exists and is not active, then the activity timestamp (timestampFieldOffset) is atomically set to a special sentinel value (org.agrona.MarkFile.ACTIVATION_IN_PROGRESS_TIMESTAMP) to prevent other processes from concurrent activation. + NOTE: If the current activation fails it will leave the activity timestamp at a sentinel value which will prevent a restart of the process. Therefore, it is recommended to reset the activity timestamp upon failure.

... (truncated)

Commits
  • 92f4e21 2.4.0 released.
  • 81ca840 [Doc] Add 2.4.0 release notes.
  • 604c064 [Java] Use Objects#checkFromIndexSize for out of bounds checks.
  • c1abb81 [Java] Upgrade to ByteBuddy 1.18.3.
  • 9776323 [Java] Always add a suffix to the formatted duration.
  • b2801ab [Java] Add SystemUtil#formatSize.
  • c129bf6 [Java] Add SystemUtil#formatDuration.
  • 0079a74 [Java] Change SystemUtil#parseSize to reject negative size and refactor com...
  • 878054b [Java] Fix SystemUtil#parseDuration to reject negative values and not fail ...
  • 337ee8d [Java] Fix test to not rely on random values.
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [org.agrona:agrona](https://github.com/aeron-io/agrona) from 1.21.1 to 2.4.0.
- [Release notes](https://github.com/aeron-io/agrona/releases)
- [Changelog](https://github.com/aeron-io/agrona/blob/master/CHANGELOG.adoc)
- [Commits](aeron-io/agrona@1.21.1...2.4.0)

---
updated-dependencies:
- dependency-name: org.agrona:agrona
  dependency-version: 2.4.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Dec 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants