Eclipse Jersey is an implementation of the Jakarta REST 4.0 API, a foundational API to develop web services in Java following the Representational State Transfer (REST) architectural pattern.
New Features
Fixes
- InputStream.nullInputStream() and Reader.nullWriter() are more efficient than new ByteInputStream(new byte[0]) and new Reader(...(new byte[0])) by @mkarg in #6073
- Fix memory leak by @OndroMih in #6075
- resolve null @context in Spring-proxied Jersey resources by @wokis in #6080
- Fix memory leak (port to 3.1) by @OndroMih in #6088
- Removed duplicit completion by @dmatej in #6098
- fix(client): respect sun.net.http.allowRestrictedHeaders after config refactor by @arimu1 in #6118
- fix(mp-rest-client): do not auto-propagate InboundHeadersProvider headers by @arimu1 in #6117
- Terminate SseEventSource gracefully on HTTP 204 during (re)connect by @maho7791 in #6120
- Fix #6040: also reset the encoder after a non-chunked request with a … by @abelet in #6124
- Fix #6125: use the Expect: 100-continue handler of the pipeline on po… by @abelet in #6126
- Fixed javadoc by @dmatej in abdfe4b
Updates
- Bump org.assertj:assertj-core from 3.21.0 to 3.27.7 by @dependabot[bot] in #6065
- Updated dependencies + fixed issues by @dmatej in #6129
- Jetty in 93919ec
- Netty in 2e5b669
- Apache HTTP Client 5 in d79e5d8
- Jettison in 3473e86
- Eclipse Moxy in 9c05ce0
- ASM in 985a0fb
- HK2 and Grizzly in 0bf7cf0
- Surefire and Failsafe plugins in 96b0c7d
- Helidon in b882f0a
- Jackson, JavaAssist, FasterXml ClassMate, JSonB, JSonP, Yasson in a823205
- JEE and Weld in 77668bc
- WoodStox in 9f1c882
- Freemarker, Groovy, Micrometer, PAX, TestNG, Thymeleaf
- GlassFish
- Maven Compiler Plugin
- Checkstyle in a086e41
- Flatten in 2f6974a
- GMavenPlus
Build and CI
- Exclude jersey-constants from the release test by @arjantijms in #6069
- Enhanced License Check by @dmatej in #6112
- Updated eclipse parent to 2.0.5 for v4 by @dmatej in #6123
- Updated build of multirelease jars by @dmatej in #6131
- The version-agnostic was kicked out of the reactor by @dmatej in 8046fca
- Updated Jenkinsfile by @dmatej in #6129
- Minimal version in this branch is 17 by @dmatej in #6129
- Configured versions plugin by @dmatej in f3cd82c
- Deleted dead container runner maven plugin and usages by @dmatej in bbcc47a
Maintenance
- Removed ReaderWriter::readAllBytes by @mkarg in #6070
- Fixed schemaLocation for poms by @dmatej in #6091
- bugfix: clean up effectiveInjectionManager and move cleanup into fina… by @lprimak in #6099
- Fixed links to HK2 and spec by @dmatej iin ee97f1a
New Contributors
- @wokis made their first contribution in #6080
- @jolarsen made their first contribution in #6048
- @lprimak made their first contribution in #6099
- @arimu1 made their first contribution in #6118
- @maho7791 made their first contribution in #6120
- @abelet made their first contribution in #6124
Full Changelog: 4.0.2-RELEASE...4.0.3
TCK Report
***********************************************************************************
*** TCK bundle information ***
*** Name: Jakarta RESTful WS TCK 4.0.1 ***
***********************************************************************************
*** TCK results summary ***
[INFO] Number of Tests Passed = 2803
[INFO] Number of Tests Failed = 0
[INFO] Number of Tests with Errors = 0
[INFO] Number of Skipped Tests = 128
[INFO] ****************************************************************************