Skip to content

Release 2.0.0-M1

Compare
Choose a tag to compare
@deki deki released this 19 May 15:48
· 517 commits to main since this release

Release 2.0.0-M1 is the first milestone release for our next major release 2.0.0 and contains several breaking changes. That's why we will support both 1.x and 2.x for some time.
The following table provides an overview about the supported specs and frameworks:

Version Branch Java Enterprise support Spring versions JAX-RS/ Jersey version Struts support Spark support
1.x 1.x Java EE (javax.*) 5.x (Boot 2.x) 2.x
2.x main Jakarta EE (jakarta.*) 6.x (Boot 3.x) 3.x

Please note that multipart upload functionality is currently not supported as we are waiting for a release of Apache Commons Fileupload 2 (see https://issues.apache.org/jira/browse/FILEUPLOAD-309).

Features

Improvements

  • reduce number of transitive dependencies/ move test-classes to separate test-jar
  • move to Apache HTTP Client 5 for testing

Bugfixes

  • content-type resolution - we return null instead of application/octet-stream if content type cannot be resolved (as per servlet-api docs), a fix to make probeContentType work in Lambda execution environment is being worked on by the Lambda service team #504 - thanks to @Artur- for contributing
  • Servlet class loaded with the wrong class loader #506 - thanks to @Artur- for contributing

Dependencies (only mentioning major dependencies)

  • Update Jersey dependency to 3.1.2
  • Update Jackson dependency to 2.15.1
  • Update Spring dependencies (framework to 6.0.9, security to 6.1.0, boot to 3.1.0)