Skip to content

Bump org.agrona:agrona from 1.21.1 to 2.3.0#540

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/maven/org.agrona-agrona-2.3.0
Closed

Bump org.agrona:agrona from 1.21.1 to 2.3.0#540
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/maven/org.agrona-agrona-2.3.0

Conversation

@dependabot
Copy link
Contributor

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

Bumps org.agrona:agrona from 1.21.1 to 2.3.0.

Release notes

Sourced from org.agrona:agrona's releases.

2.3.0

  • [Breaking] Changed org.agrona.concurrent.ShutdownSignalBarrier to use shutdown hooks instead of signals.

    Previously ShutdownSignalBarrier relied on intercepting SIGINT and SIGTERM OS signals by overriding JVM's signal handling which was preventing shutdown hooks from be executed. This in turn was breaking applications and frameworks that relied on shutdown hooks for clean termination.

    New implementation uses shutdown hooks instead and requires ShutdownSignalBarrier to be explicitly closed.

    NB: Failure to close ShutdownSignalBarrier might result in JVM not terminating!

    As the result the code using ShutdownSignalBarrier needs to be updated:

    • Old:
    class UsageSample
    {
        public static void main(final String[] args) 
        {
            try (MyService service = new MyService())
            {
                new ShutdownSignalBarrier().await();
            }
        }
    }
    • New:
    class UsageSample
    { 
        public static void main(final String[] args) 
        {
            try (ShutdownSignalBarrier barrier = new ShutdownSignalBarrier();
                 MyService service = new MyService())
            {
                barrier.await();
            }
        }
    }

    In the above example ShutdownSignalBarrier is closed last to ensure that service terminates completely before ShutdownSignalBarrier closes which in turn allows JVM to exit.

  • [Breaking] Deprecated org.agrona.concurrent.SigInt for removal. Use org.agrona.concurrent.ShutdownSignalBarrier instead.

    NB: org.agrona.concurrent.SigInt.register(java.lang.Runnable) is unsafe as it overrides SIGINT signal handling of the JVM thus preventing shutdown hooks from being executed.

    An example using ShutdownSignalBarrier instead of SigInt:

    • Old:

... (truncated)

Changelog

Sourced from org.agrona:agrona's changelog.

== https://github.com/aeron-io/agrona/releases/tag/2.3.0[2.3.0] - 2025-09-29

  • [Breaking] Changed org.agrona.concurrent.ShutdownSignalBarrier to use shutdown hooks instead of signals.

Previously ShutdownSignalBarrier relied on intercepting SIGINT and SIGTERM https://man7.org/linux/man-pages/man7/signal.7.html[OS signals] by overriding JVM's signal handling which was preventing shutdown hooks from be executed. This in turn was breaking applications and frameworks that relied on shutdown hooks for clean termination. + New implementation uses shutdown hooks instead and requires ShutdownSignalBarrier to be explicitly closed. + NB: Failure to close ShutdownSignalBarrier might result in JVM not terminating! + As the result the code using ShutdownSignalBarrier needs to be updated: +

  • Old:

[source,java]

class UsageSample { public static void main(final String[] args) { try (MyService service = new MyService()) { new ShutdownSignalBarrier().await(); } } }

  • New:

[source,java]

class UsageSample { public static void main(final String[] args) { try (ShutdownSignalBarrier barrier = new ShutdownSignalBarrier(); MyService service = new MyService()) { barrier.await(); } } }

In the above example ShutdownSignalBarrier is closed last to ensure that service terminates completely before ShutdownSignalBarrier closes which in turn allows JVM to exit.

... (truncated)

Commits
  • 2e22f6b 2.3.0 released.
  • b784451 [Doc] Formatting fixes.
  • 34739b0 [Doc] Update docs for release + migrate to AsciiDoc.
  • 5f6b062 Revert "[Java] Temporarily treat Gradle warnings as warn."
  • ec42f60 [Java] Bump Checkstyle to 11.1.0.
  • 9452ec2 [Java] Bump Shadow to 9.2.2.
  • 39466a9 [Java] Bump Versions to 0.53.0.
  • b5b15b6 [Java] Remove bnd plugin as it breaks compatibility with Gradle 9.1 and cau...
  • 0b64c7d [Java] Temporarily treat Gradle warnings as warn.
  • 18d4fc9 Revert "[Java] Downgrade Gradle warning to warn."
  • 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.3.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.3.0)

---
updated-dependencies:
- dependency-name: org.agrona:agrona
  dependency-version: 2.3.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 Sep 29, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 29, 2025

Superseded by #547.

@dependabot dependabot bot closed this Dec 29, 2025
@dependabot dependabot bot deleted the dependabot/maven/org.agrona-agrona-2.3.0 branch December 29, 2025 13:01
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