solr icon indicating copy to clipboard operation
solr copied to clipboard

Update jersey to v4 (major)

Open solrbot opened this issue 2 months ago • 2 comments

This PR contains the following updates:

Package Type Update Change
org.glassfish.jersey.media:jersey-media-json-jackson (source) dependencies major 3.1.11 -> 4.0.0
org.glassfish.jersey.inject:jersey-hk2 (source) dependencies major 3.1.11 -> 4.0.0
org.glassfish.jersey.core:jersey-server (source) dependencies major 3.1.11 -> 4.0.0
org.glassfish.jersey.core:jersey-common (source) dependencies major 3.1.11 -> 4.0.0

Release Notes

eclipse-ee4j/jersey (org.glassfish.jersey.media:jersey-media-json-jackson)

v4.0.0

Compare Source

  • [Pull 5508] - Update versions of dependencies in pom.xml
  • [Pull 5513] - Next iteration towards supporting HK2 & Weld injection
  • [Pull 5516] - [4.0] remove redundant multi-release jar configuration
  • [Pull 5533] - Next injection iteration
  • [Pull 5535] - Remove Apache 4, Jetty 11, and SimpleFramework
  • [Pull 5538] - Drop JSR 166 repackaged classes
  • [Pull 5552] - Enclose Bindings to innate package and provide a HK2 version of Abstr…
  • [Pull 5554] - Update some EE11 versions
  • [Pull 5556] - Stop distributing jaxrs-ri bundle
  • [Pull 5564] - Move ServiceFinderBinder into an innate package
  • [Pull 5576] - Drop JDK 11 profiles
  • [Pull 5577] - Removed obsolete jars from bom.pom
  • [Pull 5578] - fixes to bundles discovered by release
  • [Pull 5835] - After merge cleanup of JDK17- profiles
  • [Pull 5838] - release-test for 4.0 Jersey
  • [Pull 5911] - Removed obsolete-for-removal UTF8 constant
  • [Pull 5943] - Eliminate unnecessary flushes
  • [Pull 5957] - Merge jersey-container-servlet-core and jersey-container-servlet modules
  • [Pull 5992] - Adding maven ci friendly versions
  • [Pull 6032] - apidocs validation fixes

  • Configuration

    📅 Schedule: Branch creation - Every minute ( * * * * * ) (UTC), 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 these updates again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Renovate Bot

    solrbot avatar Nov 08 '25 20:11 solrbot

    Interesting - I didn't realize Jersey v4 was out.

    The code itself here looks reasonable - everything compiles, our client codegen still looks good, and v2 APIs still work in practice in a bit of manual testing.

    My only concern I guess is around the wisdom in upgrading to a X.0.0 release in general. They tend to be a bit buggier, so maybe we're better waiting for a 4.0.1, 4.1.0, etc? On the other hand, if this is only going to main, I imagine we'll see another version before 11 comes out anyways, so there's little actual risk here in practice.

    gerlowskija avatar Nov 21 '25 17:11 gerlowskija

    A major version of a dependency (here, Jersey) is IMO ideally aligned with a major Solr version (10). Not mandatory but ideal. So lets!

    dsmiley avatar Nov 21 '25 19:11 dsmiley