Skip to content

Spring Web Services 5.0 Release Notes

Stéphane Nicoll edited this page Nov 18, 2025 · 3 revisions

Spring Web Services 5.0 Release Notes

Upgrading from Spring Web Services 4.1

Deprecations from Spring Web Services 4.1

Classes, methods, and properties that were deprecated in Spring Web Services 4.1 and marked for removal in 5.0 have been removed in this release. Please ensure that you aren’t calling deprecated methods before upgrading.

Baseline upgrades

Spring Web Services 5.0 does not change the JDK baseline, expecting a JDK 17-27 compatibility range.

This new generation raises its minimum requirements with the following libraries:

  • Apache WSS4J 4.0

  • JUnit 6.0

  • Jakarta EE 11

  • Spring Framework 7.0

  • Spring Security 7.0

XMLUnit Harmonization

Support for XMLUnit 1 has been dropped. For consistency, the org.springframework.ws.test.support.matcher.xmlunit2 package has been renamed to org.springframework.ws.test.support.matcher.xmlunit.

New and Noteworthy

Nullability Support

Support for JSpecify has been added. Whenever an API accepts a potentially null value or may return a null value an explicit org.jspecify.annotations.Nullable has been added.

This follows the lead of Spring Framework 7, see the reference documentation for more details.

Dependency Upgrades

Spring Web Services 5.0 moves to new versions of several Spring projects:

Third-party dependencies have be aligned to match Spring Boot 4.0. Some of the more noteworthy of which are the following:

  • JAXB 4.0.6

  • Jakarta Activation 2.1.4

  • Jakarta Annotation 3.0.0

  • Jakarta Mail 2.1.5

  • Jakarta Servlet 6.1.0

  • Jakarta XML Bind 4.0.4

Deprecations in Spring Web Services 5.0

None.

Pages

Release Notes

Development Process

Clone this wiki locally