Releases: spring-projects/spring-boot
Releases · spring-projects/spring-boot
v2.5.12
🐞 Bug Fixes
- MustacheAutoConfiguration in a Servlet web application fails with a ClassNotFoundException when Spring MVC is not on the classpath #30456
📔 Documentation
- Javadoc of org.springframework.boot.gradle.plugin.ResolveMainClassName.setClasspath(Object) is inaccurate #30468
- Document that
@DefaultValue
can be used on a record component #30460
🔨 Dependency Upgrades
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
v3.0.0-M2
⭐ New Features
- Reinstate support for Ehcache 3 #30002
- Reinstate support for H2 Console #29755
- Raise the minimum supported version of Gradle to 7.4 #29674
- Raise the minimum supported version of Kotlin to 1.6 #29660
- Remove values from JavaVersion enum for Java versions less than 17 #29503
- Remove image banner support #28883
- Provide dependency management for RxJava 3 in place of 1.x and 2.x #28212
- Allow
@ConstructorBinding
to be optional #23216
🐞 Bug Fixes
- spring-boot-dependencies contains dependency management for spring-boot-starter-jta-atomikos which no longer exists #29653
- spring-boot-dependencies contains dependency management for spring-boot-starter-activemq which no longer exists #29645
📔 Documentation
- Update documentation about Spock to reflect Groovy 4.0 requirement #30318
- Add reference to Casdoor Spring Boot Starter #30220
- Document that the minimum supported version of Kotlin is now 1.6 #30197
🔨 Dependency Upgrades
- Upgrade to AspectJ 1.9.9 #30418
- Upgrade to Caffeine 3.0.6 #30363
- Upgrade to Groovy 4.0.1 #30279
- Upgrade to Hibernate Validator 7.0.4.Final #30364
- Upgrade to Jetty 11.0.8 #30367
- Upgrade to Jetty EL 10.0.14 #30365
- Upgrade to Jetty Reactive HTTPClient 3.0.5 #30366
- Upgrade to jOOQ 3.16.5 #30368
- Upgrade to Kotlin 1.6.20-RC2 #30369
- Upgrade to Micrometer 2.0.0-M3 #29753
- Upgrade to MongoDB 4.5.1 #30419
- Upgrade to RxJava3 3.1.4 #30370
- Upgrade to SendGrid 4.9.1 #30420
- Upgrade to Spring AMQP 3.0.0-M2 #30201
- Upgrade to Spring Batch 5.0.0-M2 #30232
- Upgrade to Spring Data 2022.0.0-M3 #30361
- Upgrade to Spring Framework 6.0.0-M3 #29957
- Upgrade to Spring HATEOAS 2.0.0-M2 #30371
- Upgrade to Spring Integration 6.0.0-M2 #30204
- Upgrade to Spring Kafka 3.0.0-M3 #30089
- Upgrade to Spring REST Docs 3.0.0-M2 #29544
- Upgrade to Spring Security 6.0.0-M3 #30202
- Upgrade to Spring WS 4.0.0-M2 #30203
- Upgrade to Thymeleaf Layout Dialect 3.1.0 #30312
- Upgrade to Tomcat 10.0.18 #30320
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
v2.7.0-M3
⭐ New Features
- Align indices options of auto-configured ReactiveElasticsearchTemplate with Spring Data Elasticsearch's default #30378
- Rework spring.mustache properties to make it clear which are Servlet-specific #30273
- Remove support for spring.mongodb.embedded.features #30219
- Support podman for building images #30196
- Add EIGHTEEN to JavaVersion enum #30133
- Allow spring.data.mongodb.uri to override separate host, port, etc properties #30067
- Refine GraphQL server auto-configuration #30035
- Support overriding the default key-based sanitization #30006
- Configure FormattingConversionService in GraphQlAutoConfiguration #29638
- Add option to pass configured Docker host to the image builder container #29384
- Add configuration property for supported media types with reactive Mustache views #28858
- Add support for cache2k in memory caching #28498
🐞 Bug Fixes
- ConfigurationPropertyName#equals is not symmetric when adapt has removed trailing characters from an element #30393
- Thymeleaf auto-configuration in a reactive application can fail due to duplicate templateEngine beans #30386
- server.tomcat.keep-alive-timeout is not applied to HTTP/2 #30322
- Setting spring.mustache.enabled to false has no effect #30257
- bootWar is configured eagerly #30215
- Actuator
@ReadOperation
on Flux cancels request after first element emitted #30162 - Unnecessary allocations in Prometheus scraping endpoint #30126
- No metrics are bound for R2DBC ConnectionPools that have been wrapped #30101
- Condition evaluation report entry for a
@ConditionalOnSingleCandidate
that does not match due to multiple primary beans isn't as clear as it could be #30099 - DataFetcherExceptionResolver beans are not considered in GraphQlTester slice tests #30078
- Generated password are logged without an "unsuitable for production use" note #30071
- Files in META-INF are not found when deploying a Gradle-built executable war to a servlet container #30037
- Dependency management for Apache Kafka is incomplete #30032
- spring-boot-configuration-processor fails compilation due to
@DefaultValue
with a long value and generates invalid metadata for byte and short properties with out-of-range default values #30023 - Naming strategy and MBean exporter are configured inconsistently in JmxAutoConfiguration #29968
📔 Documentation
- Add Apache Kafka to the description of the Messaging section #30394
- Default value of spring.thymeleaf.reactive.media-types is not documented #30388
- Clarify type matching that is performed when using
@MockBean
and@SpyBean
#30383 - Fix links to Spring Security Reference Guide in Accessing the H2 Console in a Secured Application #30380
- Document how to access the H2 Console in a secured web application #30347
- Add Netty in "Enable HTTP Response Compression" #30345
- Fix JsonSerializer example in reference guide #30331
- WebSockets section missing in reference guide #30275
- Include default Dev Tools properties in the reference documentation #30167
- Document the WebSocket-related exclusions that are required to use Jetty 10 #30150
- Fix typo #30121
- Anchor tag for Spring HATEOAS does not redirect properly #30119
- Add documentation for spring.profiles.include #30116
- Document when config data properties are invalid #30115
- Document the scalar types supported by MapBinder #30112
- Document how to rely on ServletContext with an embedded container setup #30110
- Clarify that build plugins or the CLI does not have an auto-compile feature #30094
- Document how to structure configurations so that
@Bean
methods are included in slice tests #30092 - Remove non-existent spring.data.cassandra.connection.connection-timeout property from the documentation #30081
- Use Gradle's task configuration avoidance APIs in the main reference docs #30060
- Use Gradle's task configuration avoidance APIs in the Gradle Plugin's reference docs #30058
- Document plugging in custom sanitisation rules with a SanitizingFunction bean #30054
- Improve property placeholder documentation to mention environment variables and default values #30051
- Polish web examples in reference doc #30049
- Add links to Spring Boot for Apache Geode to the reference documentation #30019
🔨 Dependency Upgrades
- Upgrade to Awaitility 4.2.0 #30284
- Upgrade to Cassandra Driver 4.14.0 #30285
- Upgrade to Couchbase Client 3.2.6 #30286
- Upgrade to Dropwizard Metrics 4.2.9 #30287
- Upgrade to Ehcache3 3.10.0 #30288
- Upgrade to Elasticsearch 7.17.1 #30289
- Upgrade to Embedded Mongo 3.4.3 #30341
- Upgrade to Flyway 8.5.4 #30290
- Upgrade to Groovy 3.0.10 #30291
- Upgrade to Hazelcast 5.1.1 #30292
- Upgrade to Hibernate 5.6.7.Final #30293
- Upgrade to Hibernate Validator 6.2.3.Final #30294
- Upgrade to HtmlUnit 2.60.0 #30390
- Upgrade to Infinispan 13.0.8.Final #30296
- Upgrade to Jackson Bom 2.13.2 #30297
- Upgrade to Lettuce 6.1.8.RELEASE #30342
- Upgrade to Liquibase 4.9.0 #30298
- Upgrade to Log4j2 2.17.2 #30299
- Upgrade to Logback 1.2.11 #30305
- Upgrade to Maven Compiler Plugin 3.10.1 #30300
- Upgrade to Maven Dependency Plugin 3.3.0 #30301
- Upgrade to Micrometer 1.9.0-M4 #30014
- Upgrade to Mockito 4.4.0 #30302
- Upgrade to MongoDB 4.5.1 [#30416](https...
v2.6.5
📣 Noteworthy
- 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.
⭐ New Features
- Add EIGHTEEN to JavaVersion enum #30132
🐞 Bug Fixes
- ConfigurationPropertyName#equals is not symmetric when adapt has removed trailing characters from an element #30392
- Thymeleaf auto-configuration in a reactive application can fail due to duplicate templateEngine beans #30385
- server.tomcat.keep-alive-timeout is not applied to HTTP/2 #30321
- Setting spring.mustache.enabled to false has no effect #30256
- bootWar is configured eagerly #30213
- Actuator
@ReadOperation
on Flux cancels request after first element emitted #30161 - Unnecessary allocations in Prometheus scraping endpoint #30125
- No metrics are bound for R2DBC ConnectionPools that have been wrapped #30100
- Condition evaluation report entry for a
@ConditionalOnSingleCandidate
that does not match due to multiple primary beans isn't as clear as it could be #30098 - Generated password are logged without an "unsuitable for production use" note #30070
- Dependency management for Netty tcNative is incomplete leading to possible version conflicts #30038
- Files in META-INF are not found when deploying a Gradle-built executable war to a servlet container #30036
- Dependency management for Apache Kafka is incomplete #30031
- spring-boot-configuration-processor fails compilation due to
@DefaultValue
with a long value and generates invalid metadata for byte and short properties with out-of-range default values #30022
📔 Documentation
- Add Apache Kafka to the description of the Messaging section #30389
- Default value of spring.thymeleaf.reactive.media-types is not documented #30387
- Clarify type matching that is performed when using
@MockBean
and@SpyBean
#30382 - Fix links to Spring Security Reference Guide in Accessing the H2 Console in a Secured Application #30349
- Document how to access the H2 Console in a secured web application #30346
- Add Netty in "Enable HTTP Response Compression" #30344
- Fix JsonSerializer example in reference guide #30330
- WebSockets section missing in reference guide #30231
- Include default Dev Tools properties in the reference documentation #30166
- Document the WebSocket-related exclusions that are required to use Jetty 10 #30149
- Fix typo #30120
- Add documentation for spring.profiles.include #30114
- Document when config data properties are invalid #30113
- Document the scalar types supported by MapBinder #30111
- Document how to rely on ServletContext with an embedded container setup #30109
- Anchor tag for Spring HATEOAS does not redirect properly #30106
- Clarify that build plugins or the CLI does not have an auto-compile feature #30093
- Document how to structure configurations so that
@Bean
methods are included in slice tests #30091 - Remove non-existent spring.data.cassandra.connection.connection-timeout property from the documentation #30080
- Clarify actuator security documentation #30065
- Use Gradle's task configuration avoidance APIs in the main reference docs #30059
- Use Gradle's task configuration avoidance APIs in the Gradle Plugin's reference docs #30057
- Improve property placeholder documentation to mention environment variables and default values #30050
- Polish web examples in reference doc #30048
- Add links to Spring Boot for Apache Geode to the reference documentation #30018
- Document plugging in custom sanitisation rules with a SanitizingFunction bean #29950
🔨 Dependency Upgrades
- Upgrade to Couchbase Client 3.2.6 #30237
- Upgrade to Dropwizard Metrics 4.2.9 #30238
- Upgrade to Groovy 3.0.10 #30239
- Upgrade to Hibernate 5.6.7.Final #30338
- Upgrade to Hibernate Validator 6.2.3.Final #30241
- Upgrade to Jackson Bom 2.13.2 #30242
- Upgrade to Kafka 3.0.1 #30243
- Upgrade to Lettuce 6.1.8.RELEASE #30339
- Upgrade to Log4j2 2.17.2 #30244
- Upgrade to Logback 1.2.11 #30245
- Upgrade to Micrometer 1.8.4 #30178
- Upgrade to Neo4j Java Driver 4.4.5 #30326
- Upgrade to Netty 4.1.75.Final #30246
- Upgrade to Netty tcNative 2.0.51.Final #30247
- Upgrade to R2DBC Bom Arabba-SR13 #30340
- Upgrade to Reactor 2020.0.17 #30176
- Upgrade to Spring AMQP 2.4.3 #30180
- Upgrade to Spring Data 2021.1.3 #30179
- Upgrade to Spring Framework 5.3.17 #30177
- Upgrade to Spring Integration 5.5.10 #30183
- Upgrade to Spring Kafka 2.8.4 #30181
- Upgrade to Spring Retry 1.3.2 #30248
- Upgrade to Spring WS 3.1.3 #30182
- Upgrade to Tomcat 9.0.60 #30249
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
v2.5.11
⭐ New Features
- Add EIGHTEEN to JavaVersion enum #29524
🐞 Bug Fixes
- Thymeleaf auto-configuration in a reactive application can fail due to duplicate templateEngine beans #30384
- ConfigurationPropertyName#equals is not symmetric when adapt has removed trailing characters from an element #30317
- server.tomcat.keep-alive-timeout is not applied to HTTP/2 #30267
- Setting spring.mustache.enabled to false has no effect #30250
- bootWar is configured eagerly #30211
- Actuator
@ReadOperation
on Flux cancels request after first element emitted #30095 - No metrics are bound for R2DBC ConnectionPools that have been wrapped #30090
- Unnecessary allocations in Prometheus scraping endpoint #30085
- Condition evaluation report entry for a
@ConditionalOnSingleCandidate
that does not match due to multiple primary beans isn't as clear as it could be #30073 - Generated password are logged without an "unsuitable for production use" note #30061
- Files in META-INF are not found when deploying a Gradle-built executable war to a servlet container #30026
- spring-boot-configuration-processor fails compilation due to
@DefaultValue
with a long value and generates invalid metadata for byte and short properties with out-of-range default values #30020 - Dependency management for Netty tcNative is incomplete leading to possible version conflicts #30010
- Dependency management for Apache Kafka is incomplete #29023
📔 Documentation
- Fix JsonSerializer example in reference guide #30329
- Default value of spring.thymeleaf.reactive.media-types is not documented #30280
- Add Netty in "Enable HTTP Response Compression" #30234
- Fix typo #30118
- Remove non-existent spring.data.cassandra.connection.connection-timeout property from the documentation #30074
- Use Gradle's task configuration avoidance APIs in the Gradle Plugin's reference docs #30056
- Polish web examples in reference doc #30027
- Improve property placeholder documentation to mention environment variables and default values #30012
- Use Gradle's task configuration avoidance APIs in the main reference docs #30000
- Document how to access the H2 Console in a secured web application #29932
- Add links to Spring Boot for Apache Geode to the reference documentation #29697
- Include default Dev Tools properties in the reference documentation #29406
- Document the WebSocket-related exclusions that are required to use Jetty 10 #29275
- Clarify type matching that is performed when using
@MockBean
and@SpyBean
#28656 - Add documentation for spring.profiles.include #28451
- Document the scalar types supported by MapBinder #27581
- Document when config data properties are invalid #25849
- Document how to rely on ServletContext with an embedded container setup #24561
- Clarify that build plugins or the CLI does not have an auto-compile feature #17851
- Document how to structure configurations so that
@Bean
methods are included in slice tests #16088
🔨 Dependency Upgrades
- Upgrade to Couchbase Client 3.1.8 #30221
- Upgrade to Dropwizard Metrics 4.1.31 #30222
- Upgrade to Groovy 3.0.10 #30223
- Upgrade to Hibernate Validator 6.2.3.Final #30224
- Upgrade to Lettuce 6.1.8.RELEASE #30336
- Upgrade to Log4j2 2.17.2 #30225
- Upgrade to Logback 1.2.11 #30226
- Upgrade to Micrometer 1.7.10 #30171
- Upgrade to Netty 4.1.75.Final #30227
- Upgrade to Netty tcNative 2.0.51.Final #30228
- Upgrade to R2DBC Bom Arabba-SR13 #30337
- Upgrade to Reactor 2020.0.17 #30169
- Upgrade to Spring AMQP 2.3.15 #30173
- Upgrade to Spring Data 2021.0.10 #30172
- Upgrade to Spring Framework 5.3.17 #30170
- Upgrade to Spring Integration 5.5.10 #30175
- Upgrade to Spring Kafka 2.7.12 #30351
- Upgrade to Spring Retry 1.3.2 #30229
- Upgrade to Spring WS 3.1.3 #30174
- Upgrade to Tomcat 9.0.60 #30230
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
v2.7.0-M2
⭐ New Features
- Add DataCouchbaseTest annotation #29912
- Add DataElasticsearchTest annotation #29911
- Allow relative auto-configuration ordering to be configured using
@AutoConfiguration
#29907 - Add Kafka immediateStop Property #29884
- Move away from spring.factories for auto-configurations #29872
- Introduce
@AutoConfiguration
#29870 - Remove separate dependency management for netty-tcnative in favor of the entry in Netty’s bom #29816
- Support constructor injection for FailureAnalyzers #29811
- Move away from spring.factories for management context configuration imports #29730
- Add redis sentinel username support for authentication with ACL #29661
- Adapt OpaqueTokenIntrospector auto-configuration so that Nimbus is no longer required #29572
- Implement InputStream.available() for RandomAccessDataFile-backed input streams #29295
🐞 Bug Fixes
- Default JmxAutoConfiguration changes JConsole hierarchy for multi-property
@ManagedResource
object names #29971 - GraphQlService may not used contributed BatchLoaderRegistry #29929
- The active profiles log message is ambiguous when a profile's name contains a comma #29916
@SpyBean
causes BeanCurrentlyInCreationException when there are circular references #29910- Failed application contexts are not deregistered from SpringApplicationShutdownHook #29906
- Gradle Plugin triggers eager configuration of some tasks #29818
- MimeMapping for ots has a trailing space in its mime type #29751
- A fat jar built with Gradle moves META-INF beneath BOOT-INF/classes while Maven leaves it at the jar's root #29749
- WebSessionIdResolverAutoConfiguration should only be active in a reactive web application #29744
- Dependency management for Liquibase does not include its liquibase-cdi module #29742
- server.tomcat.use-relative-redirects=true not honored when server.forward-headers-strategy=framework #29732
- Ignore invalid stream types when reading log update events #29692
- bootJar, bootRun, and bootWar do not pick up changes to the main source set's runtime classpath that are made after Boot's plugin has been applied #29680
- Health Web Endpoint Extension Failed to Initialize When Some Conditions Hit #29584
- ErrorPageSecurityFilter cannot be destroyed in a Servlet 3.1 compatible container #29565
📔 Documentation
- Document that placeholders in
@DefaultValue
annotations are not resolved #29981 - Clarify relation of import path to resultant properties in configtree import data #29979
- bootRun example should use mainClass, rather than main which was deprecated in Gradle 7.1 #29967
- Rectify incorrect sanitizing regex example provided in how-to docs #29960
- "Customizing the Banner" should make it more obvious that any environment property can be used #29935
- Update javadoc to reflect move from WebSecurityConfigurerAdapter to SecurityFilterChain #29902
- Link directly to the Integration Properties section of the appendix when cross-referencing Kafka properties #29808
- Update documentation to reflect Hibernate's CamelCaseToUnderscoresNamingStrategy now being used by default #29752
- Add documentation for WebMvc.fn #29729
- Move appendix subsections under appendix section #29690
- In Gradle plugin docs, replace classifier (deprecated) with archiveClassifier in examples #29686
- Warn about the dangers of early bean initialization when using
@ConditionalOnExpression
#29617 - Rename Boxfuse to CloudCaptain #29540
- Upgrade version of gradle-git-properties in reference doc #29538
- Add Kotlin alternatives to Java samples #29499
🔨 Dependency Upgrades
- Upgrade to ActiveMQ 5.16.4 #29828
- Upgrade to AppEngine SDK 1.9.95 #29943
- Upgrade to Artemis 2.19.1 #29829
- Upgrade to Byte Buddy 1.12.8 #29830
- Upgrade to Couchbase Client 3.2.5 #29831
- Upgrade to Dropwizard Metrics 4.2.8 #29832
- Upgrade to Elasticsearch 7.17.0 #29848
- Upgrade to Flyway 8.5.1 #29986
- Upgrade to Glassfish JAXB 2.3.6 #29835
- Upgrade to Gson 2.9.0 #29836
- Upgrade to H2 2.1.210 #29651
- Upgrade to Hibernate 5.6.5.Final #29837
- Upgrade to Hibernate Validator 6.2.2.Final #29838
- Upgrade to HtmlUnit 2.58.0 #29839
- Upgrade to HttpClient5 5.1.3 #29840
- Upgrade to Infinispan 13.0.6.Final #29841
- Upgrade to Jetty 9.4.45.v20220203 #29843
- Upgrade to Jetty Reactive HTTPClient 1.1.11 #29842
- Upgrade to Johnzon 1.2.16 #29844
- Upgrade to Json Path 2.7.0 #29845
- Upgrade to Json-smart 2.4.8 #29846
- Upgrade to Kafka 3.1.0 #29700
- Upgrade to Liquibase 4.8.0 #29987
- Upgrade to MariaDB 3.0.3 #29945
- Upgrade to Maven Compiler Plugin 3.10.0 #29850
- Upgrade to Maven Javadoc Plugin 3.3.2 #29851
- Upgrade to Micrometer 1.9.0-M3 #29763
- Upgrade to Mockito 4.3.1 #29852
- Upgrade to MongoDB 4.5.0 #29853
- Upgrade to MSSQL JDBC 10.2.0.jre8 #29946
- Upgrade to Neo4j Java Driver 4.4.3 #29854
- Upgrade to Netty 4.1.74.Final #29855
- Upgrade to Netty tcNative 2.0.48.Final #29856
- Upgrade to OkHttp 4.9.3 #18506
- Upgrade to Oracle Database 21.5.0.0 #29857
- Upgrade to Postgresql 42.3.3 [#29858](https://github.com/...
v2.6.4
🐞 Bug Fixes
- Default JmxAutoConfiguration changes JConsole hierarchy for multi-property
@ManagedResource
object names #29970 - The active profiles log message is ambiguous when a profile's name contains a comma #29915
@SpyBean
causes BeanCurrentlyInCreationException when there are circular references #29909- Failed application contexts are not deregistered from SpringApplicationShutdownHook #29905
- Gradle Plugin triggers eager configuration of some tasks #29817
- MimeMapping for ots has a trailing space in its mime type #29750
- A fat jar built with Gradle moves META-INF beneath BOOT-INF/classes while Maven leaves it at the jar's root #29748
- Dependency management for Liquibase does not include its liquibase-cdi module #29741
- server.tomcat.use-relative-redirects=true not honored when server.forward-headers-strategy=framework #29731
- Ignore invalid stream types when reading log update events #29691
- bootJar, bootRun, and bootWar do not pick up changes to the main source set's runtime classpath that are made after Boot's plugin has been applied #29679
- WebSessionIdResolverAutoConfiguration should only be active in a reactive web application #29669
- ErrorPageSecurityFilter cannot be destroyed in a Servlet 3.1 compatible container #29558
- Health Web Endpoint Extension Failed to Initialize When Some Conditions Hit #29532
📔 Documentation
- Document that placeholders in
@DefaultValue
annotations are not resolved #29980 - Clarify relation of import path to resultant properties in configtree import data #29978
- bootRun example should use mainClass, rather than main which was deprecated in Gradle 7.1 #29966
- Rectify incorrect sanitizing regex example provided in how-to docs #29959
- "Customizing the Banner" should make it more obvious that any environment property can be used #29934
- Update javadoc to reflect move from WebSecurityConfigurerAdapter to SecurityFilterChain #29901
- Link directly to the Integration Properties section of the appendix when cross-referencing Kafka properties #29807
- Update documentation to reflect Hibernate's CamelCaseToUnderscoresNamingStrategy now being used by default #29743
- Add documentation for WebMvc.fn #29728
- Move appendix subsections under appendix section #29689
- In Gradle plugin docs, replace classifier (deprecated) with archiveClassifier in examples #29685
- Warn about the dangers of early bean initialization when using
@ConditionalOnExpression
#29616 - Rename Boxfuse to CloudCaptain #29539
- Upgrade version of gradle-git-properties in reference doc #29537
🔨 Dependency Upgrades
- Upgrade to ActiveMQ 5.16.4 #29937
- Upgrade to AppEngine SDK 1.9.95 #29938
- Upgrade to Artemis 2.19.1 #29784
- Upgrade to Couchbase Client 3.2.5 #29785
- Upgrade to Dropwizard Metrics 4.2.8 #29786
- Upgrade to Glassfish JAXB 2.3.6 #29787
- Upgrade to Hibernate 5.6.5.Final #29788
- Upgrade to Hibernate Validator 6.2.2.Final #29789
- Upgrade to HttpClient5 5.1.3 #29790
- Upgrade to Jetty 9.4.45.v20220203 #29791
- Upgrade to Jetty Reactive HTTPClient 1.1.11 #29939
- Upgrade to Johnzon 1.2.16 #29793
- Upgrade to Json-smart 2.4.8 #29794
- Upgrade to Maven Javadoc Plugin 3.3.2 #29795
- Upgrade to Micrometer 1.8.3 #29718
- Upgrade to MongoDB 4.4.2 #29796
- Upgrade to Neo4j Java Driver 4.4.3 #29797
- Upgrade to Netty 4.1.74.Final #29798
- Upgrade to Netty tcNative 2.0.50.Final #29974
- Upgrade to Postgresql 42.3.3 #29941
- Upgrade to Reactor 2020.0.16 #29717
- Upgrade to SLF4J 1.7.36 #29801
- Upgrade to Spring Batch 4.3.5 #29724
- Upgrade to Spring Data 2021.1.2 #29721
- Upgrade to Spring Framework 5.3.16 #29719
- Upgrade to Spring Integration 5.5.9 #29963
- Upgrade to Spring Kafka 2.8.3 #29722
- Upgrade to Spring LDAP 2.3.6 #29720
- Upgrade to Spring Security 5.6.2 #29723
- Upgrade to Spring Session 2021.1.2 #29725
- Upgrade to Thymeleaf 3.0.15.RELEASE #29802
- Upgrade to Tomcat 9.0.58 #29803
- Upgrade to Undertow 2.2.16.Final #29804
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
v2.5.10
🐞 Bug Fixes
- Default JmxAutoConfiguration changes JConsole hierarchy for multi-property
@ManagedResource
object names #29953 - The active profiles log message is ambiguous when a profile's name contains a comma #29896
- Failed application contexts are not deregistered from SpringApplicationShutdownHook #29874
- Gradle Plugin triggers eager configuration of some tasks #29762
- MimeMapping for ots has a trailing space in its mime type #29746
- Dependency management for Liquibase does not include its liquibase-cdi module #29676
- Ignore invalid stream types when reading log update events #29675
- bootJar, bootRun, and bootWar do not pick up changes to the main source set's runtime classpath that are made after Boot's plugin has been applied #29672
@SpyBean
causes BeanCurrentlyInCreationException when there are circular references #29639- server.tomcat.use-relative-redirects=true not honored when server.forward-headers-strategy=framework #29333
- A fat jar built with Gradle moves META-INF beneath BOOT-INF/classes while Maven leaves it at the jar's root #28562
📔 Documentation
- bootRun example should use mainClass, rather than main which was deprecated in Gradle 7.1 #29965
- Rectify incorrect sanitizing regex example provided in how-to docs #29951
- "Customizing the Banner" should make it more obvious that any environment property can be used #29931
- Update javadoc to reflect move from WebSecurityConfigurerAdapter to SecurityFilterChain #29900
- Link directly to the Integration Properties section of the appendix when cross-referencing Kafka properties #29758
- Add documentation for WebMvc.fn #29683
- Move appendix subsections under appendix section #29667
- In Gradle plugin docs, replace classifier (deprecated) with archiveClassifier in examples #29611
- Clarify relation of import path to resultant properties in configtree import data #29606
- Upgrade version of gradle-git-properties in reference doc #29535
- Rename Boxfuse to CloudCaptain #29523
- Provide some guidance on identifying and resolving Devtools classloading issues #29438
- Warn about the dangers of early bean initialization when using
@ConditionalOnExpression
#29276 - Document that placeholders in
@DefaultValue
annotations are not resolved #23164
🔨 Dependency Upgrades
- Upgrade to ActiveMQ 5.16.4 #29925
- Upgrade to AppEngine SDK 1.9.95 #29926
- Upgrade to Dropwizard Metrics 4.1.30 #29768
- Upgrade to Glassfish JAXB 2.3.6 #29769
- Upgrade to Hibernate Validator 6.2.2.Final #29770
- Upgrade to Jetty 9.4.45.v20220203 #29771
- Upgrade to Jetty Reactive HTTPClient 1.1.11 #29927
- Upgrade to Johnzon 1.2.16 #29772
- Upgrade to Json-smart 2.4.8 #29773
- Upgrade to Micrometer 1.7.9 #29708
- Upgrade to Neo4j Java Driver 4.2.9 #29774
- Upgrade to Netty 4.1.74.Final #29775
- Upgrade to Netty tcNative 2.0.50.Final #29973
- Upgrade to Postgresql 42.2.25 #29777
- Upgrade to Reactor 2020.0.16 #29707
- Upgrade to SLF4J 1.7.36 #29778
- Upgrade to Spring Batch 4.3.5 #29714
- Upgrade to Spring Data 2021.0.9 #29711
- Upgrade to Spring Framework 5.3.16 #29709
- Upgrade to Spring Integration 5.5.9 #29962
- Upgrade to Spring Kafka 2.7.11 #29712
- Upgrade to Spring LDAP 2.3.6 #29710
- Upgrade to Spring Security 5.5.5 #29713
- Upgrade to Spring Session 2021.0.5 #29715
- Upgrade to Thymeleaf 3.0.15.RELEASE #29779
- Upgrade to Tomcat 9.0.58 #29780
- Upgrade to Undertow 2.2.16.Final #29781
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
v3.0.0-M1
⭐ New Features
- Switch to new coordinates for Git Commit ID Maven Plugin #29515
- Remove support for Hazelcast 3 #29287
- Update Hibernate dependency management to use -jakarta artifacts #28867
- Drop support for Jersey until a Spring Framework 6-compatible jersey-spring module is available #28808
- Drop support for embedding EhCache 3 until it supports Jakarta EE 9 #28800
- Drop support for embedding Infinispan until it supports Jakarta EE 9 #28799
- Drop support for CommonsMultipartResolver as it has been removed in Spring Framework 6 #28782
- Drop support for REST Assured until it supports Jakarta EE 9 #28722
- Drop support for Jolokia until it supports Servlet 5 #28704
- Drop support for auto-configuring Hibernate metrics until a Jakarta EE 9 variant of hibernate-micrometer is available #28703
- Remove support for pooled-jms as it is not JMS 3.0 compatible #28701
- Remove dependency management for Apache Johnzon #28616
- Provide dependency management for Eclipse Yasson #28614
- Remove support for ActiveMQ #28591
- Remove support for H2 Console #28590
- Remove support for Atomikos #28589
- Remove support for Ehcache 2.x #28588
- Remove support for Java's deprecated SecurityManager #28213
- Raise the minimum supported version of Java to 17 #28101
- Raise the minimum supported version of Gradle to 7.3 #28100
🔨 Dependency Upgrades
- Update Undertow dependency management to use -jakartaee9 artifacts #28872
- Upgrade to Artemis 2.20.0 #29203
- Upgrade to Caffeine 3.0.5 #29508
- Upgrade to Derby 10.15.2.0 #29509
- Upgrade to Glassfish EL 4.0.2 #28619
- Upgrade to Glassfish JSTL 2.0.0 #28866
- Upgrade to Glasshfish JAXB 3.0.2 #28620
- Upgrade to Hibernate Validator 7.0.1.Final #28621
- Upgrade to HikariCP 5.0.1 #29510
- Upgrade to HSQLDB 2.6.1 #29511
- Upgrade to Jakarta Activation 2.0.1 #28622
- Upgrade to Jakarta Annotation 2.0.0 #28623
- Upgrade to Jakarta JMS 3.0.0 #28624
- Upgrade to Jakarta Json 2.0.1 #28625
- Upgrade to Jakarta Json Bind 2.0.0 #28626
- Upgrade to Jakarta Mail 2.0.1 #28627
- Upgrade to Jakarta Persistence 3.0.0 #28628
- Upgrade to Jakarta Servlet 5.0.0 #28629
- Upgrade to Jakarta Servlet JSP JSTL 2.0.0 #28630
- Upgrade to Jakarta Transaction 2.0.0 #28631
- Upgrade to Jakarta Validation 3.0.1 #28632
- Upgrade to Jakarta WebSocket 2.0.0 #28633
- Upgrade to Jakarta WS RS 3.0.0 #28634
- Upgrade to Jakarta XML Bind 3.0.1 #28635
- Upgrade to Jakarta XML SOAP 2.0.1 #28636
- Upgrade to Jetty 11.0.7 #28640
- Upgrade to Jetty EL 10.0.7 #28638
- Upgrade to Jetty Reactive HTTPClient 3.0.4 #28639
- Upgrade to jOOQ 3.16.2 #29512
- Upgrade to Micrometer 2.0.0-M1 #29279
- Upgrade to SAAJ Impl 2.0.1 #28868
- Upgrade to Spring AMQP 3.0.0-M1 #28646
- Upgrade to Spring Batch 5.0.0-M1 #29278
- Upgrade to Spring Data 2022.0.0-M1 #28641
- Upgrade to Spring Framework 6.0.0-M2 #28642
- Upgrade to Spring HATEOAS 2.0.0-M1 #28869
- Upgrade to Spring Integration 6.0.0-M1 #28649
- Upgrade to Spring Kafka 3.0.0-M1 #28647
- Upgrade to Spring LDAP 3.0.0-M1 #29430
- Upgrade to Spring REST Docs 3.0.0-M1 #28721
- Upgrade to Spring Security 6.0.0-M1 #28643
- Upgrade to Spring Session 2022.0.0-M1 #28871
- Upgrade to Spring Web Services 4.0.0-M1 #28648
- Upgrade to Sun Mail 2.0.1 #28644
- Upgrade to Thymeleaf 3.1.0-M1 #29452
- Upgrade to Thymeleaf Extras SpringSecurity 3.1.0-M1 #29453
- Upgrade to Tomcat 10.0.16 #29513
- Upgrade to Yasson 2.0.4 #29514
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
v2.7.0-M1
⭐ New Features
- Change SpringBootContextLoader.getEnvironment to return
null
by default #29405 - Allow test property sources to override command line args #29404
- Do not auto-configure a UserDetailsService when SAML 2.0 Login is being used #29263
- Provide option for disabling field introspection with GraphQL #29248
- Add Spring GraphQL support #29140
- Add vendor version to JavaInfo #29090
- Add transactionIdPrefix Property to KafkaTemplate #29089
- Include AbstractJdbcConfiguration beans in
@DataJdbcTest
#29003 - Support resolution of AuthenticatedPrincipal in RSocket handler methods #28927
- Expose Operating System information as an info contributor #28907
- Add support for configuring Netty's max-keep-alive-requests #28875
- Add option to allow Spring Batch custom isolation levels #28859
- Add support for CNB platform API 0.5 through 0.8 #28850
- Allow injection of Spring-managed beans into Hazelcast components #28801
- Change ID of DatabaseDriver.MARIADB from mysql to mariadb #28728
- Log a debug message with the reason for restarting devtools #28495
- Provide more control over WebMvcMetricsFilter's registration #28428
- Add support for IdlePartitionEventInterval #28290
- Add auto-configuration for RabbitStreamTemplate #28060
- Use the same classpath ordering for an exploded war and an archive #19875
🐞 Bug Fixes
- ResponseStatusException no longer returning response body in 2.6.2 using Spring Security when application has a custom context path #29501
- 'spring.config.import' placeholders can resolve from profile-specific documents when they should fail #29460
- Warning from AprLifecycleListener when using Tomcat Native and Tomcat 9.0.55 or later #29455
- ConfigurationPropertySources.attach will always reattach when called multiple times #29411
@SpringBootTest
does not use spring.main.web-application-type properties declared in test resource files #29375- Embedded launch script fails if jar is owned by an unknown user #29372
- Maven repackaging of a jar with a deeply nested package is prohibitively slow #29269
- Health contributor exclusion rules aren't applied to child contributors #29261
- Default value for management.info.env.enabled is outdated #29190
- WebGraphQlTester bean missing with SpringBootTest #29250
- 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 property's type #29144
- Spring boot 2.6.0 Quartz mysql/mariadb tables are not created #29136
- Setting cache time-to-live for the health endpoint has no effect #29109
- ResponseStatusException no longer returning response body in 2.6.1 using spring security #29108
- DatabaseInitializationDependencyConfigurer triggers eager initialization of factory beans #29104
- Hibernate validation messages broken in spring boot 2.6.1 when setUseCodeAsDefaultMessage set to true #29088
- DataSourceScriptDatabaseInitializer may still try to access the database even though its initialization mode is never #29086
- Platform used for Quartz, Session, Integration, and Batch schema initialization cannot be configured #29016
- App fails to start when it depends on thymeleaf-extras-springsecurity5 but does not have Spring Security on the classpath #28980
- server.servlet.session.cookie.same-site isn't applied to Spring Session's SESSION cookie #28951
- AbstractMethodError in org.springframework.boot.web.servlet.filter.ErrorPageSecurityFilter when deployed to a Servlet 3.1-compatible container #28942
- Image buildpack references without tag do not default to latest version #28923
- Invalid classpath index manifest attribute in war files built with Maven #28905
📔 Documentation
- Refer to Maven Resolver rather than Aether #29481
- Clarify documentation for RestTemplate customization #29402
- Learning About Spring Boot Features has "logging" link twice #29381
- 2.5.x snapshot documentation links to source code on the main branch #29142
- Document that using DevTools with a remote application is not supported with WebFlux #29139
- Polish Creating Your Own Auto-configuration section in Core Features reference doc #29134
- Polish CacheManager customization section in reference doc #29099
- Polish README.adoc #28949
- Add consistent quotes in YAML samples of reference doc #28945
- Fix documented default value for property
spring.mvc.pathmatch.matching-strategy
#28937
🔨 Dependency Upgrades
- Upgrade to AppEngine SDK 1.9.93 #29202
- Upgrade to AssertJ 3.22.0 #29204
- Upgrade to Build Helper Maven Plugin 3.3.0 #29413
- Upgrade to Byte Buddy 1.12.7 #29414
- Upgrade to Caffeine 2.9.3 #29206
- Upgrade to Couchbase Client 3.2.4 #29207
- Upgrade to DB2 JDBC 11.5.7.0 #29208
- Upgrade to Dropwizard Metrics 4.2.7 #29209
- Upgrade to Ehcache3 3.9.9 #29210
- Upgrade to Elasticsearch 7.16.2 #29292
- Upgrade to Embedded Mongo 3.2.8 #29469
- Upgrade to Flyway 8.4.2 #29504
- Upgrade to Hazelcast 5.0.2 #29265
- Upgrade to Hibernate 5.6.4.Final #29505
- Upgrade to HtmlUnit 2.56.0 #29215
- Upgrade to HttpAsyncClient 4.1.5 #29216
- Upgrade to HttpCore 4.4.15 #29217
- Upgrade to HttpCore5 5.1.3 #29218
- Upgrade to Infinispan 13.0.5.Final #29256
- Upgrade to Jackson Bom 2.13.1 #29219
- Upgrade to Jaybird 4.0.5.java8 [#29220](https://github.com/s...