Spring News Roundup: Second Milestone Releases of Boot, Security, Auth Server, Session, Integration

There was a flurry of activity in the Spring ecosystem during the week of August 18th, 2025, highlighting second milestone releases of Spring Boot, Spring Security, Spring Authorization Server, Spring for GraphQL, Spring Session, Spring Integration, Spring REST Docs, Spring Batch and Spring for Apache Pulsar.

Spring Boot

The second milestone release of Spring Boot 4.0.0 delivers bug fixes, improvements in documentation, dependency upgrades and new features such as: support for the new Spring Framework @HttpServiceClient annotation on interfaces discovered via the AutoConfigurationPackages class; and the addition of nullability annotations, provided by JSpecify, to the codebase. More details on this release may be found in the release notes.

Spring Security

The second milestone release of Spring Security 7.0.0 ships with bug fixes, dependency upgrades and new features such as: a new ExpressionTemplateValueProvider interface that provides custom values from enumeration types used in security meta-annotation expressions; and improved integration with Spring Boot using the PathPatternRequestMatcher.Builder class for publishing an instance of the PathPatternRequestMatcherBuilderFactoryBean class. Further details on this release may be found in the release notes.

Spring Authorization Server

The second milestone release of Spring Authorization Server 2.0.0 provides bug fixes, dependency upgrades and one new feature that provides an access token to the OAuth2RefreshTokenAuthenticationProvider class to refresh the token. More details on this release may be found in the release notes.

Spring for GraphQL

The second milestone release of Spring for GraphQL 2.0.0 delivers bug fixes, dependency upgrades and one new feature that now consistently raises a GraphQlException when calling the toEntity() method, defined in the ClientResponseField interface, on a field that cannot be deserialized into a given type. Further details on this release may be found in the release notes.

Spring Session

The second milestone release of Spring Session 4.0.0 features an adjustment to copyright notices in the codebase from various year ranges to a consistent 2014-present. More details on this release may be found in the release notes.

Spring Integration

The second milestone release of Spring Integration 7.0.0 ships with bug fixes, dependency upgrades and new features such as: applying nullability with JSpecify to numerous packages; and an enhanced PartitionedDispatcher class that now uses a Java List for the partitions map instead of an index for a key. Further details on this release may be found in the release notes.

Spring Modulith

The second milestone release of Spring Modulith 2.0.0 delivers bug fixes, dependency upgrades and new features such as: updates to the MongoDbEventPublicationRepository and Neo4jEventPublicationRepository classes to align with revamped EventPublicationRepository interface; and a restructured bootstrapping procedure in the ApplicationModulesEndpoint class for improved startup. More details on this release may be found in the release notes.

Spring REST Docs

The second milestone release of Spring REST Docs 4.0.0 provides bug fixes, dependency upgrades and two new features: the use JMustache, the Java implementation of the Mustache template language, as a dependency instead of shading it as the issue of unwanted auto-misconfiguration no longer exists; and support for Jackson 3 for JSON processing. More details on this release may be found in the release notes.

Spring Batch

The second milestone release of Spring Batch 6.0.0 delivers bug fixes, dependency upgrades and new features such as: the addition of a recover() method added to the JobOperator interface and its implementing classes for improved recovery of failed job executions; and the ability to inject an instance of the StepInterruptionPolicy class through the AbstractTaskletStepBuilder class for consistency with the same functionality offered by the TaskletStep class. Further details on this release may be found in the release notes.

Spring AMQP

The fourth milestone release of Spring AMQP 4.0.0 ships with bug fixes, improvements in documentation, dependency upgrades and these two new features: a refinement of the Jackson-related classes to explicitly accept instances of the Jackson JsonMapper class, an extension of the ObjectMapper class, to process JSON files to avoid issues with other extensions such as XmlMapper; and a delay in shutting down an instance of the SimpleMessageListenerContainer class to wait for pending reply messages. More details on this release may be found in the release notes.

Spring for Apache Kafka

The fourth milestone release of Spring for Apache Kafka 4.0.0 provides bug fixes, improvements in documentation, dependency upgrades and new features such as: a refactor newTopics() method, defined in the KafkaAdmin class, that replaces O(n2) nested iteration with O(n) map-based lookups for filtering topics; and refinements in the includeNames() and excludeNames() methods, defined in the @RetryableTopic annotation, that properly resolves property placeholders (${...}) or Spring Expression Language expressions (#{...}). Further details on this release may be found in the release notes.

Spring for Apache Pulsar

The second milestone release of Spring for Apache Pulsar 2.0.0 features dependency upgrades and notable changes such as: a removal of numerous APIs that were deprecated in version 1.2.0; and a removal of Gradle exclusions in the pulsar-client-all dependency. More details on this release may be found in the release notes.


Continue Reading