Skip to content

Spring Web Services 5.0.0 M1 Release Notes

Stéphane Nicoll edited this page Jul 22, 2025 · 6 revisions

Spring Web Services 5.0.0-M1 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.

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.

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:

  • Jakarta EE 11

  • Apache WSS4J 4.0

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.0-M1 moves to new versions of several Spring projects:

Deprecations in Spring Web Services 5.0.0-M1

None.

Clone this wiki locally