You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "lhotari (via GitHub)" <gi...@apache.org> on 2026/08/17 15:28:49 UTC

[PR] [improve][build] Upgrade misc tooling, annotation and utility libraries [pulsar]

lhotari opened a new pull request, #26359:
URL: https://github.com/apache/pulsar/pull/26359

   ### Motivation
   
   The remaining small tooling, annotation and utility libraries in the version catalog are behind.
   Grouped into one PR because each is individually low risk.
   
   ### Modifications
   
   `gradle/libs.versions.toml`:
   
   | library | from | to |
   |---|---|---|
   | lombok | 1.18.42 | 1.18.46 |
   | swagger (library and Gradle plugin) | 2.2.50 | 2.2.53 |
   | error_prone_annotations | 2.45.0 | 2.50.0 |
   | spotbugs-annotations | 4.9.6 | 4.10.3 |
   | jspecify | 1.0.0 | 1.0.1 |
   | joda-time | 2.10.10 | 2.14.3 |
   | ant | 1.10.12 | 1.10.17 |
   | javassist | 3.25.0-GA | 3.32.0-GA |
   | jline3 | 4.2.1 | 4.3.1 |
   | jna | 5.18.1 | 5.19.1 |
   | java-semver | 0.9.0 | 0.10.2 |
   | typetools | 0.5.0 | 0.6.3 |
   | zt-zip | 1.17 | 1.18.2 |
   | ipaddress | 5.5.0 | 5.6.2 |
   | oshi | 6.4.0 | **6.12.0** (not 7.0.0) |
   | athenz | 1.12.42 | 1.12.45 |
   | auth0 java-jwt | 4.5.2 | 4.6.0 |
   | auth0 jwks-rsa | 0.23.1 | 0.24.1 |
   
   Plus the corresponding jar names in the server and shell distribution `LICENSE.bin.txt` files.
   
   `error_prone_annotations` and `spotbugs-annotations` are annotation-only artifacts; neither Error
   Prone nor SpotBugs is applied as a build plugin, so those two carry no analysis behaviour change.
   
   **java-semver 0.10.2 is a drop-in.** Inspecting the published jar confirms it retains the whole
   deprecated 0.9.x API that Pulsar uses — `Version.valueOf(String)`, `Version.BUILD_AWARE_ORDER` and
   `greaterThan` — so `BrokerVersionFilter` and `PersistentTopicsBase` need no source change. One
   behaviour note for reviewers: `equals()` became build-metadata-aware in 0.10.x, and
   `BrokerVersionFilter` compares versions with `equals`.
   
   **oshi stops at 6.12.0 rather than 7.0.0.** At 7.0.0 the `oshi-core-java11` artifact became a
   pom-only relocation stub redirecting to `com.github.oshi:oshi-core` — its own POM says "Deprecated:
   use oshi-core instead". That is a coordinate change rather than a version bump and does not belong in
   a bulk update. 6.12.0 splits out a new `oshi-common` artifact, which is added to the server LICENSE.
   
   **guice is deliberately left at 5.1.0.** TestNG 7.12.0 declares `com.google.inject:guice` 5.1.0, and
   Guice 7 switches from `javax.inject` to `jakarta.inject`. Since the version catalog drives the
   `pulsar-dependencies` enforced platform, raising it would push TestNG onto a Guice it was not built
   against across every test run. jclouds is the only consumer that actually needs Guice 7, and
   `jclouds-shaded` already forces it locally, so there is nothing to gain. A comment recording this is
   added to the catalog.
   
   ### Verifying this change
   
   - [x] Make sure that the change passes the CI checks.
   
   This change is a trivial rework / code cleanup without any test coverage.
   
   Verified locally with `./gradlew sanityCheck` and `./gradlew checkBinaryLicense`.
   
   ### Does this pull request potentially affect one of the following parts:
   
   - [x] Dependencies (add or upgrade a dependency)
   - [ ] The public API
   - [ ] The schema
   - [ ] The default values of configurations
   - [ ] The threading model
   - [ ] The binary protocol
   - [ ] The REST endpoints
   - [ ] The admin CLI options
   - [ ] The metrics
   - [ ] Anything that affects deployment
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [improve][build] Upgrade misc tooling, annotation and utility libraries [pulsar]

Posted by "nodece (via GitHub)" <gi...@apache.org>.
nodece merged PR #26359:
URL: https://github.com/apache/pulsar/pull/26359


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org