NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Maven Central, #10 by repository stars
Starter for JTA transactions using Atomikos
Latest stable
2.7.18
Last release 3 years ago
no release in 18 months
Ships on a steady schedule
a new release about every 4 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
170 releases · first in 2014
Drag across the ruler to compare, or tap a release to open it.
Following the Paketo team's announcement that the Bionic CNB builders will be removed, the default builder using by bootBuildImage (Gradle) and spring
bootBuildImage (Gradle) and spring-boot:build-image (Maven) has been changed to Paketo Jammy #38477classpath.idx file and its generation by the Maven and Gradle plugins #37125@TestConfiguration class in a test #30513@AutoConfigureWebTestClient binds WebTestClient to mock infrastructure #29890spring.hateoas.use-hal-as-default-json-media-type to false #26814Thank you to all the contributors who worked on this release:
@GVictorG7, @PENEKhun, @dreis2211, and @izeye
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Gradle plugin uses to-be-deprecated API for getting and setting file permissions #37878
spring.jms.listener.concurrency has been corrected to match the documentation (#37180). If you were setting spring.jms.listener.concurrency without also setting spring.jms.listener.max-concurrency, please review your configuration when upgrading.@Order does not work on (CommandLine|Application)Runner @Bean methods #37905@ComponentScan on a test class is processed when creating a test context but is not included in the context's cache key #31577Thank you to all the contributors who worked on this release:
@bottlerocketjonny, @dependabot[bot], @erichaagdev, @esperar, @izeye, @jbertram, @nielsbasjes, @onobc, @ttddyy, and @vpavic
Add TWENTY\_ONE to JavaVersion enum #37362
sign-request when metadata-url is used #33747Thank you to all the contributors who worked on this release:
@dependabot[bot], @hakan-krgn, @izeye, @mdeinum, and @quaff
This release upgrades to MariaDB 3.1.4 from 3.0.x to restore compatibility with Java 8. If the upgrade is problematic and Java 8 compatibility is not
mariadb.version property@since is missing from javadoc of values added to JavaVersion since its introduction #36608@EnableWebMvc #36506@EntityScan and @Enable?Repositories can be used to tune scanning #36282@DataR2dbcTest support #35014Thank you to all the contributors who worked on this release:
@MahatmaFatalError, @NersesAM, @chicobento, @dependabot[bot], @dreis2211, @eddumelendez, @elevne, @fzyzcjy, @itsAkshayDubey, @izeye, @msobeck, @rob-valor, @spa-abaudat, and @vpavic
Only one health group can be exposed using management.endpoint.health.group.xxx.additional-path=server:/newpath when using Jersey #36250
Thank you to all the contributors who worked on this release:
@ThomazPassarelli, @bbulgarelli, @bedla, @dependabot[bot], @dkswnkk, @eydunn, @garyrussell, @izeye, @lasselindqvist, @lmartelli, and @quaff
Spring Boot properties migrator can create circular references #35919
@EndpointCloudFoundryExtension logs a warnings as it does not use @AliasFor on its override of the endpoint attribute #35716@ConstructorBinding #33669@DynamicPropertySource to documented list of property source ordering #32901Thank you to all the contributors who worked on this release:
@bbulgarelli, @bikash30851, and @twobiers
Welcome page may return a 404 when an acceptable response cannot be produced #35552
FactoryBean.getObject for non-singleton executed when resetting mocks #35324@SpringBootApplication #35180Thank you to all the contributors who worked on this release:
@JunJaBoy, @aasaru, @davin111, and @ivandimitrov8080
CloudFoundry integration does not use endpoint path mappings #35085
Thank you to all the contributors who worked on this release:
@SeasonPanPan, @acktsap, @dreis2211, @jgslima, @krzyk, and @meistermeier
Some of the deprecated spring.security.saml2.relyingparty.registration.\*.identityprovider.\* properties are ignored #34525
Thank you to all the contributors who worked on this release:
@1993heqiang, @anandmnair, @anthonydahanne, @dsyer, @izeye, @jongwooo, and @terminux
Properties Migrator does not detect properties of Map type that are marked as deprecated #27854
@SpyBean #33830@ConfigurationProperties bean naming rules #34029Thank you to all the contributors who worked on this release:
@Anubhav-2000, @enimiste, @izeye, @jprinet, @marcel-wollschlaeger, @mhalbritter, @michaldo, and @sannanansari
@DeprecatedConfigurationProperty has no effect when declared on a record component's accessor method #29526
mysql:mysql-connector-java to com.mysql:mysql-connector-j.@DeprecatedConfigurationProperty has no effect when declared on a record component's accessor method #29526@SpringBootApplication #32795Thank you to all the contributors who worked on this release:
@BartR96, @devrishal, @dreis2211, @izeye, @josephlane, @kvmw, @mhalbritter, @sannanansari, @sdeleuze, @yyjstudy, and @zhangyanyue
Fix typo in LocalDevToolsAutoConfiguration logging #33569
Thank you to all the contributors who worked on this release:
@Artur-, @aksh1618, @cdanger, @currenjin, @jprinet, and @shekharAggarwal
ScheduledBeanLazyInitializationExcludeFilter is auto-configured even when annotation-based scheduled has not been enabled #33283
ScheduledBeanLazyInitializationExcludeFilter is auto-configured even when annotation-based scheduled has not been enabled #33283@ContextHierarchy #33262@Timed documentation #33265spring.cache.type property with Hazelcast #33257Thank you to all the contributors who worked on this release:
@EricGao888, @biergit, @dreis2211, @eurythmia, @hpoettker, @iamgd67, @izeye, @jamessoun93, and @sdeleuze
Multi-Document-Separators "#---" comment checks do not account for '!' prefixed comments #32777
@Bean methods in KafkaAutoConfiguration provide less type information than they could #32773@DefaultValue cannot be used on collections, maps, arrays or optional values #32563@Input but should be annotated as an @InputFile #32499@ExtendWith(SpringExtension.class) from MyJmxTests example #32515We'd like to thank all the contributors who worked on this release!
Add NINETEEN to JavaVersion enum #32260
@ConditionalOnClass javadoc regarding use on @Bean methods #32167We'd like to thank all the contributors who worked on this release!
Misleading error message when using JarMode Layertools and the source is not an archive #32097
We'd like to thank all the contributors who worked on this release!
Deprecation hint for spring.data.mongodb.grid-fs-database is located in the wrong section #31690
We'd like to thank all the contributors who worked on this release!
Values in a spring.data.cassandra.config file can't override some defaults defined in CassandraProperties #31503
@RestControllerAdvice @ExceptionHandler Inconsistent behavior with @RestControllerEndpoint #31501@ConfigurationPropertiesBinding does not get selected if targetType has a static factory method different return type #31341@Configuration to @AutoConfiguration #31186We'd like to thank all the contributors who worked on this release!
DevTools sets deprecated spring.mustache.cache property #30774
See the Release notes for 2.7 for upgrade instructions and details of new features.
@PropertySource #31093@ConditionalOnProperty meta annotation with @AliasFor does not work #30874We'd like to thank all the contributors who worked on this release!
Welcome page may return a 404 when an acceptable response cannot be produced #35561
ScheduledBeanLazyInitializationExcludeFilter is auto-configured even when annotation-based scheduled has not been enabled #33276
ScheduledBeanLazyInitializationExcludeFilter is auto-configured even when annotation-based scheduled has not been enabled #33276@ContextHierarchy #33079@Timed documentation #33264spring.cache.type property with Hazelcast #33245Thank you to all the contributors who worked on this release:
@EricGao888, @dreis2211, @eurythmia, @hpoettker, @iamgd67, @jamessoun93, and @sdeleuze
@Bean methods in KafkaAutoConfiguration provide less type information than they could #32770
@Bean methods in KafkaAutoConfiguration provide less type information than they could #32770@DefaultValue cannot be used on collections, maps, arrays or optional values #32559@Input but should be annotated as an @InputFile #32495@ExtendWith(SpringExtension.class) from MyJmxTests example #32476We'd like to thank all the contributors who worked on this release!
Add NINETEEN to JavaVersion enum #32226
@ConditionalOnClass javadoc regarding use on @Bean methods #32166We'd like to thank all the contributors who worked on this release!
BasicJsonParser does not protect against deeply nested maps #32029
We'd like to thank all the contributors who worked on this release!
Deprecation hint for spring.data.mongodb.grid-fs-database is located in the wrong section #31689
We'd like to thank all the contributors who worked on this release!
@RestControllerAdvice @ExceptionHandler Inconsistent behavior with @RestControllerEndpoint #31495
@RestControllerAdvice @ExceptionHandler Inconsistent behavior with @RestControllerEndpoint #31495@ConfigurationPropertiesBinding does not get selected if targetType has a static factory method different return type #28592We'd like to thank all the contributors who worked on this release!
Default properties configured on SpringApplication have higher precedence than properties configured with @PropertySource #31092
@PropertySource #31092@ConditionalOnProperty meta annotation with @AliasFor does not work #30873We'd like to thank all the contributors who worked on this release!
bootBuildInfo fails with a NullPointerException when an additional property has a null value #30670
@SpringBootTest(webEnvironment = WebEnvironment.NONE) is overridden by spring.main.web-application-type in application.properties #30666@Configuration and @ConfigurationProperties has a static @Bean method #30581We'd like to thank all the contributors who worked on this release!
MustacheAutoConfiguration in a Servlet web application fails with a ClassNotFoundException when Spring MVC is not on the classpath #30475
@DefaultValue can be used on a record component #30465We'd like to thank all the contributors who worked on this release!
This release upgrades to Kafka 3.0.1 which enables idempotence by default. See the updated Spring Boot 2.6 release notes for further details.
@ReadOperation on Flux cancels request after first element emitted #30161@ConditionalOnSingleCandidate that does not match due to multiple primary beans isn't as clear as it could be #30098@DefaultValue with a long value and generates invalid metadata for byte and short properties with out-of-range default values #30022@MockBean and @SpyBean #30382@Bean methods are included in slice tests #30091We'd like to thank all the contributors who worked on this release!
bootRun example should use mainClass, rather than main which was deprecated in Gradle 7.1 #29966
@ManagedResource object names #29970@SpyBean causes BeanCurrentlyInCreationException when there are circular references #29909@DefaultValue annotations are not resolved #29980@ConditionalOnExpression #29616We'd like to thank all the contributors who worked on this release!
'spring.config.import' placeholders can resolve from profile-specific documents when they should fail #29459
@SpringBootTest does not use spring.main.web-application-type properties declared in test resource files #29374We'd like to thank all the contributors who worked on this release!
The getter and setter that's used during configuration property binding varies when a getter or setter has been overridden to use a subclass of the pr
spring.mvc.pathmatch.matching-strategy #28936We'd like to thank all the contributors who worked on this release!
The name of the matching-strategy property is incorrect in the action message of the failure analysis for a PatternParseException #28839
We'd like to thank all the contributors who worked on this release!
Fix @deprecated and @see in org.springframework.boot.loader.archive.Archive's javadoc #28681
For full upgrade instructions and new and noteworthy features please see the release notes.
@ActiveProfiles have different precedence #28724@deprecated and @see in org.springframework.boot.loader.archive.Archive's javadoc #28681@code ? } from configuration property descriptions #28431We'd like to thank all the contributors who worked on this release!
Welcome page may return a 404 when an acceptable response cannot be produced #35559
Dependency management for Artemis is incomplete #31077
@PropertySource #31068@ConditionalOnProperty meta annotation with @AliasFor does not work #30505We'd like to thank all the contributors who worked on this release!
bootBuildInfo fails with a NullPointerException when an additional property has a null value #30654
@Configuration and @ConfigurationProperties has a static @Bean method #30068@SpringBootTest(webEnvironment = WebEnvironment.NONE) is overridden by spring.main.web-application-type in application.properties #29695We'd like to thank all the contributors who worked on this release!
MustacheAutoConfiguration in a Servlet web application fails with a ClassNotFoundException when Spring MVC is not on the classpath #30456
@DefaultValue can be used on a record component #30460We'd like to thank all the contributors who worked on this release!
Add EIGHTEEN to JavaVersion enum #29524
@ReadOperation on Flux cancels request after first element emitted #30095@ConditionalOnSingleCandidate that does not match due to multiple primary beans isn't as clear as it could be #30073@DefaultValue with a long value and generates invalid metadata for byte and short properties with out-of-range default values #30020@MockBean and @SpyBean #28656@Bean methods are included in slice tests #16088We'd like to thank all the contributors who worked on this release!
bootRun example should use mainClass, rather than main which was deprecated in Gradle 7.1 #29965
@ManagedResource object names #29953@SpyBean causes BeanCurrentlyInCreationException when there are circular references #29639@ConditionalOnExpression #29276@DefaultValue annotations are not resolved #23164We'd like to thank all the contributors who worked on this release!
ConfigurationPropertySources.attach will always reattach when called multiple times #29409
@SpringBootTest does not use spring.main.web-application-type properties declared in test resource files #29169We'd like to thank all the contributors who worked on this release!
Improve deprecation notice on ResourceProperties to direct people to WebProperties for dependency injection and then getResources() #28762
We'd like to thank all the contributors who worked on this release!
Fix @deprecated and @see in org.springframework.boot.loader.archive.Archive's javadoc #28680
@ActiveProfiles have different precedence #28530@deprecated and @see in org.springframework.boot.loader.archive.Archive's javadoc #28680We'd like to thank all the contributors who worked on this release!
Misleading failure analysis when jOOQ's DSLContext is unavailable due to R2DBC taking precedence over JDBC #28379
@AutoConfigureTestEntityManager outside of @DataJpaTest, any tests using the test entity manager must be @Transactional #28159We'd like to thank all the contributors who worked on this release!
Actuator endpoints do not sanitize SPRING_APPLICATION_JSON by default #28081
@MockBean combined with @Repeat results in "the field cannot have an existing value" error #27798We'd like to thank all the contributors who worked on this release!
spring-boot-configuration-metadata leaks enforced dependency constraints into consuming builds #27730
TomcatMetricsBinder.findContext() #27616We'd like to thank all the contributors who worked on this release!
Add Java 17 to JavaVersion enum #26769
@SpyBean does not work when used to spy on a Spring Data Repository #7033@DefaultValue #27137We'd like to thank all the contributors who worked on this release!
Instantiator is called without a classloader #27074
DependsOnDatabaseInitializationPostProcessor #26899@SpringBootApplication's use of @SpringBootConfiguration #27024We'd like to thank all the contributors who worked on this release!
SqlInitializationAutoConfiguration fails when there is a DataSource bean and no spring-jdbc or a ConnectionFactory bean and no spring-r2dbc #26850
@Configuration in JerseySameManagementContextConfiguration #26697data.sql/schema.sql against high-level database migration tools #26692We'd like to thank all the contributors who worked on this release!
For full upgrade instructions and new and noteworthy features please see the release notes.
For full upgrade instructions and new and noteworthy features please see the release notes.
@DataRedisTest does not consider RedisReactiveAutoConfiguration #26328@EnableAutoConfiguration and @ImportAutoConfiguration use different class loaders to find candidate configurations #26237@Scheduled method not triggered when spring.main.lazy-initialization=true #26156We'd like to thank all the contributors who worked on this release!
Fix @deprecated and @see in org.springframework.boot.loader.archive.Archive's javadoc #28677
@deprecated and @see in org.springframework.boot.loader.archive.Archive's javadoc #28677We'd like to thank all the contributors who worked on this release!
Misleading failure analysis when jOOQ's DSLContext is unavailable due to R2DBC taking precedence over JDBC #28378
@ConstructorBinding to mention @ConfigurationPropertiesScan and @EnableConfigurationProperties #28168@AutoConfigureTestEntityManager outside of @DataJpaTest, any tests using the test entity manager must be @Transactional #28086We'd like to thank all the contributors who worked on this release!
Actuator endpoints do not sanitize SPRING_APPLICATION_JSON by default #28045
@MockBean combined with @Repeat results in "the field cannot have an existing value" error #27693We'd like to thank all the contributors who worked on this release!
spring-boot-configuration-metadata leaks enforced dependency constraints into consuming builds #27726
TomcatMetricsBinder.findContext() #27576We'd like to thank all the contributors who worked on this release!
Setting Gson as preferred mapper breaks controller methods returning JSON Strings #27354
@DefaultValue #26742We'd like to thank all the contributors who worked on this release!
EnvironmentPostProcessors aren't instantiated with correct ClassLoader #27043
@SpringBootApplication's use of @SpringBootConfiguration #26937We'd like to thank all the contributors who worked on this release!
MetricsRestTemplateCustomizer and LocalHostUriTemplateHandler cannot be used together when building a RestTemplate with RestTemplateBuilder #26826
@Configuration in JerseySameManagementContextConfiguration #26696We'd like to thank all the contributors who worked on this release!
Actuator doesn't use the CORS Configuration with default security configuration and Spring MVC #26611
@DataRedisTest does not consider RedisReactiveAutoConfiguration #26327@EnableAutoConfiguration and @ImportAutoConfiguration use different class loaders to find candidate configurations #26236@Scheduled method not triggered when spring.main.lazy-initialization=true #25315We'd like to thank all the contributors who worked on this release!
Bootstrapper interface provides no clean upgrade path due to deprecated method #25735
@Persistent should not be considered when scanning for MongoDB entities #25797@ControllerEndpoint, @JmxEndpoint, @RestControllerEndpoint, @ServletEndpoint, or @WebEndpoint #25388We'd like to thank all the contributors who worked on this release!
One column per quarter.