There was a flurry of activity in the Spring ecosystem during the week of July 21st, 2025, highlighting milestone releases of Spring Boot, Spring Security, Spring Authorization Server, Spring for GraphQL, Spring Session, Spring Integration, Spring REST Docs, Spring Batch, Spring AMQP, Spring for Apache Kafka, Spring for Apache Pulsar and Spring Web Services.
Spring Boot
The first milestone release of Spring Boot 4.0.0 delivers new features such as: the ability for types annotated with @ConfigurationProperties
to refer to types that are located in a different module; and support for the new Spring Framework JmsClient
interface to complement existing support for the JmsTemplate
and JmsMessagingTemplate
classes.
A deprecation in this release is related to the constructor parameters of the OperationMethod
class. Developers are encouraged to use OperationMethod(Method, OperationType, Predicate<Parameter>)
instead of the original OperationMethod(Method, OperationType)
.
More details on this release may be found in the release notes.
Spring Security
The first milestone release of Spring Security 7.0.0 ships with bug fixes, dependency upgrades and new features such as: a new BearerTokenAuthenticationConverter
class, an implementation of the AuthenticationConverter
interface, that converts a request to an instance of a BearerTokenAuthenticationToken
class; and improvements to the UsernameNotFoundException
class that adds a username
property and its use in the BadCredentialsException
class.
Breaking changes in this release include the removal of deprecated elements and methods in various classes and interfaces.
Further details on this release may be found in the release notes.
Spring Authorization Server
The first milestone release of Spring Authorization Server 2.0.0 provides dependency upgrades and new features: the addition of a Gradle testRuntimeOnly
dependency for the JUnit Platform Launcher; and removal of the specific Map<String, Object>
from the Jackson TypeReference<T>
class in various classes. More details on this release may be found in the release notes.
Spring for GraphQL
The first milestone release of Spring for GraphQL 2.0.0 ships with dependency upgrades and new features such as: a migration of their nullability annotations to JSpecify; and a return of Jackson serializers that allow for fields in the ArgumentValue
class to send variables in GraphQL requests. Further details on this release may be found in the release notes.
Spring Session
The first milestone release of Spring Session 4.0.0 features notable dependency upgrades to Spring Framework 7.0.0-M7, Spring Data 2025.1.0-M4 and Spring Security 7.0.0-M1. More details on this release may be found in the release notes.
Spring Integration
The first milestone release of Spring Integration 7.0.0 ships with bug fixes, improvements in documentation, dependency upgrades and new features such as: an initial migration of their nullability annotations to JSpecify; and a removal of Joda-Time support from the Jackson ObjectMapper
class. Further details on this release may be found in the release notes.
Spring Modulith
The first milestone release of Spring Modulith 2.0.0 provides bug fixes, dependency upgrades and new features/improvements such as: a restructuring of the event publication registry lifecycle related to the implementation of JDBC; and a reduction of visibility of internally used methods defined in the ApplicationModuleSource
class. More details on this release may be found in the release notes.
Spring REST Docs
The first milestone release of Spring REST Docs 4.0.0 ships with improvements in documentation, dependency upgrades and new features such as: support for nullability with JSpecify; and support for official HAL and HAL-FORMS media type in link extraction. Further details on this release may be found in the release notes.
Spring Batch
The first milestone release of Spring Batch 6.0.0 delivers bug fixes, improvements in documentation, dependency upgrades and new features/enhancements such as: a new CommandLineJobOperator
class, a more modern replacement for the original, and now deprecated, CommandLineJobRunner
class; and an update to the MapJobRegistry
class that may now auto register jobs defined in the application context. More details on this release may be found in the release notes.
Spring AMQP
The third milestone release of Spring AMQP 4.0.0 delivers bug fixes, improvements in documentation, dependency upgrades and new features such as: an improved shutdown phase in the BlockingQueueConsumer
class; and a new getStreamName()
method added to the RabbitStreamTemplate
class that returns the value of the streamName
variable passed into the constructor. Further details on this release may be found in the release notes.
Spring for Apache Kafka
The third milestone release of Spring for Apache Kafka 4.0.0 provides bug fixes, improvements in documentation, dependency upgrades and new features such as: the addition of JSpecify annotations in the batch messaging classes; and a refactored StringOrBytesSerializer
class that includes the use of pattern matching to reduce the number of conditionals. This release has been integrated into Spring Boot 4.0.0-M1. More details on this release may be found in the release notes.
Spring for Apache Pulsar
The first milestone release of Spring for Apache Pulsar 2.0.0 features bug fixes, dependency upgrades and notable changes such as: upgrades to Spring Java Format 0.0.47 and the Checkstyle 10.25.0 in preparation for JSpecify; and the removal of the listenerScope
field override in the AbstractPulsarAnnotationsBeanPostProcessor
base class and corresponding derived classes. Further details on this release may be found in the release notes.
Spring Web Services
The first milestone release of Spring Web Services 5.0.0 delivers bug fixes, improvements in documentation, dependency upgrades and new features such as: a migration of their nullability annotations to JSpecify; and an alignment with Spring Framework 7.0.0-M7 and Spring Security 7.0.0-M1. More details on this release may be found in the release notes.