Releases: spring-projects/spring-boot
Releases · spring-projects/spring-boot
v2.6.2
🐞 Bug Fixes
- 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 #29143
- DatabaseInitializationDependencyConfigurer triggers eager initialization of factory beans #29103
- Spring boot 2.6.0 Quartz mysql/mariadb tables are not created #29095
- Platform used for Quartz, Session, Integration, and Batch schema initialization cannot be configured #29002
- App fails to start when it depends on thymeleaf-extras-springsecurity5 but does not have Spring Security on the classpath #28979
- ResponseStatusException no longer returning response body in 2.6.1 using spring security #28953
- DataSourceScriptDatabaseInitializer may still try to access the database even though its initialization mode is never #28931
- Hibernate validation messages broken in spring boot 2.6.1 when setUseCodeAsDefaultMessage set to true #28930
- Image buildpack references without tag do not default to latest version #28922
- Invalid classpath index manifest attribute in war files built with Maven #28904
- AbstractMethodError in org.springframework.boot.web.servlet.filter.ErrorPageSecurityFilter when deployed to a Servlet 3.1-compatible container #28902
- Setting cache time-to-live for the health endpoint has no effect #28882
- server.servlet.session.cookie.same-site isn't applied to Spring Session's SESSION cookie #28784
📔 Documentation
- 2.5.x snapshot documentation links to source code on the main branch #29141
- Document that using DevTools with a remote application is not supported with WebFlux #29138
- Polish Creating Your Own Auto-configuration section in Core Features reference doc #29133
- Polish CacheManager customization section in reference doc #29098
- Polish README.adoc #28948
- Fix documented default value for property
spring.mvc.pathmatch.matching-strategy
#28936 - Add consistent quotes in YAML samples of reference doc #28911
🔨 Dependency Upgrades
- Upgrade to Logback 1.2.9 #29012
- Upgrade to AppEngine SDK 1.9.93 #29054
- Upgrade to Caffeine 2.9.3 #29055
- Upgrade to Couchbase Client 3.2.4 #29056
- Upgrade to DB2 JDBC 11.5.7.0 #29124
- Upgrade to Dropwizard Metrics 4.2.7 #29125
- Upgrade to Ehcache3 3.9.9 #29126
- Upgrade to Flyway 8.0.5 #29059
- Upgrade to Hazelcast 4.2.4 #29146
- Upgrade to Hibernate 5.6.3.Final #29127
- Upgrade to HttpAsyncClient 4.1.5 #29062
- Upgrade to HttpCore 4.4.15 #29063
- Upgrade to Infinispan 12.1.10.Final #29128
- Upgrade to Jackson Bom 2.13.1 #29129
- Upgrade to JDOM2 2.0.6.1 #29064
- Upgrade to Jedis 3.7.1 #29065
- Upgrade to JUnit Jupiter 5.8.2 #29066
- Upgrade to Kotlin 1.6.10 #29067
- Upgrade to Log4j2 2.17.0 #28984
- Upgrade to Micrometer 1.8.1 #28971
- Upgrade to MSSQL JDBC 9.4.1.jre8 #29068
- Upgrade to Netty 4.1.72.Final #29005
- Upgrade to Reactor 2020.0.14 #28969
- Upgrade to Spring AMQP 2.4.1 #28995
- Upgrade to Spring Framework 5.3.14 #28970
- Upgrade to Spring Integration 5.5.7 #28975
- Upgrade to Spring Kafka 2.8.1 #29017
- Upgrade to Spring LDAP 2.3.5 #28972
- Upgrade to Spring Security 5.6.1 #28973
- Upgrade to Spring Session 2021.1.1 #28974
- Upgrade to Spring WS 3.1.2 #29069
- Upgrade to Thymeleaf 3.0.14.RELEASE #29070
- Upgrade to Tomcat 9.0.56 #29071
- Upgrade to Undertow 2.2.14.Final #29072
- Upgrade to XmlUnit2 2.8.4 #29131
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
v2.5.8
🐞 Bug Fixes
- DatabaseInitializationDependencyConfigurer triggers eager initialization of factory beans #28977
- App fails to start when it depends on thymeleaf-extras-springsecurity5 but does not have Spring Security on the classpath #28967
- Platform used for Quartz, Session, Integration, and Batch schema initialization cannot be configured #28932
- Image buildpack references without tag do not default to latest version #28921
- 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 #28917
- Invalid classpath index manifest attribute in war files built with Maven #28895
- The name of the matching-strategy property is incorrect in the action message of the failure analysis for a PatternParseException #28809
- Dependency management for org.elasticsearch.distribution.integ-test-zip:elasticsearch should declare its type as zip #28725
📔 Documentation
- Polish Creating Your Own Auto-configuration section in Core Features reference doc #29115
- Polish CacheManager customization section in reference doc #29094
- Document that using DevTools with a remote application is not supported with WebFlux #28955
- 2.5.x snapshot documentation links to source code on the main branch #28856
- Polish README.adoc #28835
- Fix output of "spring --version" in reference documentation #28831
- Fix typos in the "External Application Properties" section #28830
- Improve deprecation notice on ResourceProperties to direct people to WebProperties for dependency injection and then getResources() #28762
- Add a package description for org.springframework.boot.actuate.metrics.data #28756
🔨 Dependency Upgrades
- Upgrade to AppEngine SDK 1.9.93 #29038
- Upgrade to Caffeine 2.9.3 #29039
- Upgrade to DB2 JDBC 11.5.7.0 #29117
- Upgrade to Dropwizard Metrics 4.1.29 #29118
- Upgrade to Ehcache3 3.9.9 #29119
- Upgrade to Hazelcast 4.1.8 #29145
- Upgrade to Hibernate 5.4.33 #29120
- Upgrade to HttpAsyncClient 4.1.5 #29043
- Upgrade to HttpCore 4.4.15 #29044
- Upgrade to Infinispan 12.1.10.Final #29121
- Upgrade to Jackson Bom 2.12.6 #29045
- Upgrade to JDOM2 2.0.6.1 #29046
- Upgrade to Kotlin 1.5.32 #29047
- Upgrade to Log4j2 2.17.0 #28983
- Upgrade to Logback 1.2.9 #29011
- Upgrade to Micrometer 1.7.7 #28962
- Upgrade to Netty 4.1.72.Final #29004
- Upgrade to Reactor 2020.0.14 #28960
- Upgrade to Spring AMQP 2.3.13 #28994
- Upgrade to Spring Framework 5.3.14 #28961
- Upgrade to Spring Integration 5.5.7 #28966
- Upgrade to Spring LDAP 2.3.5 #28963
- Upgrade to Spring Security 5.5.4 #28964
- Upgrade to Spring Session 2021.0.4 #28965
- Upgrade to Spring WS 3.1.2 #29048
- Upgrade to Thymeleaf 3.0.14.RELEASE #29049
- Upgrade to Tomcat 9.0.56 #29050
- Upgrade to Undertow 2.2.14.Final #29051
- Upgrade to XmlUnit2 2.8.4 #29123
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
v2.6.1
🐞 Bug Fixes
- The name of the matching-strategy property is incorrect in the action message of the failure analysis for a PatternParseException #28839
- ErrorPageSecurityFilter prevents deployment to a Servlet 3.1 compatible container #28790
- QuartzDataSourceScriptDatabaseInitializer does not provide a mapping for MariaDB #28779
- The order of 'test' and 'Inlined Test Properties' property sources in incorrect #28776
- ArrayStoreException when using Spring Security in a Servlet app without spring-security-web #28774
- Warning that DefaultClientResources was not shutdown properly when using Lettuce with Actuator #28767
- Page with permitAll is no longer accessible via auto-configured MockMvc #28759
- Dependency management for org.elasticsearch.distribution.integ-test-zip:elasticsearch should declare its type as zip #28746
📔 Documentation
- Fix typos in the "External Application Properties" section #28834
- Fix output of "spring --version" in reference documentation #28833
- Add a package description for org.springframework.boot.actuate.metrics.data #28761
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
v2.6.0
For full upgrade instructions and new and noteworthy features please see the release notes.
⭐ New Features
- Support both kebab-case and camelCase as Spring init CLI Options #28138
🐞 Bug Fixes
- Profiles added using
@ActiveProfiles
have different precedence #28724 - Dependency management for JSTL is out of date #28660
- A RestClientBuilder bean is not defined when RestHighLevelClient is unavailable #28655
- JUnit annotations may prevent a test context from being cached #28566
- Avoid duplicate AOP proxy class definition with FilteredClassLoader #28545
- Metrics for ThreadPoolTaskScheduler can conflict with the metrics of ThreadPoolTaskExecutor if they share the same bean name prefix #28536
- Task metrics should not expose time-related metrics as these are not supported yet #28535
- Logback should default to JVM's default charset instead of ASCII #28487
- When a parent context has method validation configuration, it isn't auto-configured in its child contexts #28480
- Prometheus actuator endpoint should produce a text/plain response unless application/openmetrics-text is explicitly accepted #28469
- Lettuce metrics auto-configuration should not require Spring Data #28436
- Error page is accessible when no credentials are provided #26356
📔 Documentation
- Fix "Configure Two DataSources" example #28713
- Configuration sample in reference doc has wrong yaml formatting #28693
- Fix yaml sample format in reference doc #28692
- Update URL for GraphQL Spring Boot starter #28691
- Fix
@deprecated
and@see
in org.springframework.boot.loader.archive.Archive's javadoc #28681 - Update links to Spring Security's reference documentation #28618
- Replace "e.g." by "for example" #28583
- Fix typo in "Ant-style path matching" #28550
- Replace "refer to" with "see" #28537
- Replace "check out" with more formal language #28503
- Replace "etc" in reference documentation #28497
- Change description of property "logging.logback.rollingpolicy.max-history" to match Logback documentation #28467
- Improve documentation on using an embedded ActiveMQ broker #28435
- Remove use of {
@code
? } from configuration property descriptions #28431 - Reinstate monospaced formatting in Actuator endpoint documentation #28430
🔨 Dependency Upgrades
- Upgrade to AppEngine SDK 1.9.92 #28569
- Upgrade to Awaitility 4.1.1 #28570
- Upgrade to Byte Buddy 1.11.22 #28571
- Upgrade to Couchbase Client 3.2.3 #28664
- Upgrade to Elasticsearch 7.15.2 #28665
- Upgrade to Flyway 8.0.4 #28697
- Upgrade to Gson 2.8.9 #28573
- Upgrade to Hibernate 5.6.1.Final #28574
- Upgrade to HttpClient5 5.1.2 #28719
- Upgrade to Johnzon 1.2.15 #28576
- Upgrade to Kotlin 1.6.0 #28698
- Upgrade to Logback 1.2.7 #28699
- Upgrade to Micrometer 1.8.0 #28516
- Upgrade to MongoDB 4.4.0 #28666
- Upgrade to Neo4j Java Driver 4.3.6 #28667
- Upgrade to Netty 4.1.70.Final #28579
- Upgrade to Netty tcNative 2.0.46.Final #28720
- Upgrade to Postgresql 42.3.1 #28581
- Upgrade to Reactor 2020.0.13 #28514
- Upgrade to Spring AMQP 2.4.0 #28518
- Upgrade to Spring Batch 4.3.4 #28261
- Upgrade to Spring Data 2021.1.0 #28517
- Upgrade to Spring Framework 5.3.13 #28515
- Upgrade to Spring HATEOAS 1.4.0 #28610
- Upgrade to Spring Integration 5.5.6 #28521
- Upgrade to Spring Kafka 2.8.0 #28519
- Upgrade to Spring Security 5.6.0 #28520
- Upgrade to Spring Session 2021.1.0 #28522
- Upgrade to Tomcat 9.0.55 #28700
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
v2.5.7
🐞 Bug Fixes
- Dependency management for JSTL is out of date #28659
- JUnit annotations may prevent a test context from being cached #28565
- Avoid duplicate AOP proxy class definition with FilteredClassLoader #28531
- Profiles added using
@ActiveProfiles
have different precedence #28530 - Logback should default to JVM's default charset instead of ASCII #28486
- When a parent context has method validation configuration, it isn't auto-configured in its child contexts #28479
- Prometheus actuator endpoint should produce a text/plain response unless application/openmetrics-text is explicitly accepted #28446
📔 Documentation
- Fix "Configure Two DataSources" example #28712
- Update URL for GraphQL Spring Boot starter #28683
- Fix
@deprecated
and@see
in org.springframework.boot.loader.archive.Archive's javadoc #28680 - Configuration sample in reference doc has wrong yaml formatting #28671
- Fix yaml sample format in reference doc #28670
- Fix typo in "Ant-style path matching" #28549
- Change description of property "logging.logback.rollingpolicy.max-history" to match Logback documentation #28466
- Improve documentation on using an embedded ActiveMQ broker #28434
- Don't use markdown syntax in javadoc or error messages #28424
🔨 Dependency Upgrades
- Upgrade to AppEngine SDK 1.9.92 #28556
- Upgrade to Gson 2.8.9 #28557
- Upgrade to Hazelcast 4.1.6 #28558
- Upgrade to Johnzon 1.2.15 #28559
- Upgrade to Kafka 2.7.2 #28694
- Upgrade to Logback 1.2.7 #28695
- Upgrade to Micrometer 1.7.6 #28511
- Upgrade to Neo4j Java Driver 4.2.8 #28717
- Upgrade to Netty 4.1.70.Final #28560
- Upgrade to Netty tcNative 2.0.46.Final #28718
- Upgrade to Reactor 2020.0.13 #28509
- Upgrade to Spring AMQP 2.3.12 #28600
- Upgrade to Spring Batch 4.3.4 #28250
- Upgrade to Spring Data 2021.0.7 #28512
- Upgrade to Spring Framework 5.3.13 #28510
- Upgrade to Spring HATEOAS 1.3.6 #28609
- Upgrade to Spring Integration 5.5.6 #28513
- Upgrade to Spring Kafka 2.7.9 #28539
- Upgrade to Tomcat 9.0.55 #28696
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
v2.4.13
🐞 Bug Fixes
- Dependency management for JSTL is out of date #28657
- JUnit annotations may prevent a test context from being cached #28563
- When a parent context has method validation configuration, it isn't auto-configured in its child contexts #27890
- Logback should default to JVM's default charset instead of ASCII #27230
📔 Documentation
- Fix
@deprecated
and@see
in org.springframework.boot.loader.archive.Archive's javadoc #28677 - Fix typo in "Ant-style path matching" #28548
- Change description of property "logging.logback.rollingpolicy.max-history" to match Logback documentation #28448
- Don't use markdown syntax in javadoc or error messages #28408
- Improve documentation on using an embedded ActiveMQ broker #28183
🔨 Dependency Upgrades
- Upgrade to AppEngine SDK 1.9.92 #28551
- Upgrade to Gson 2.8.9 #28552
- Upgrade to Johnzon 1.2.15 #28553
- Upgrade to Kafka 2.6.3 #28688
- Upgrade to Logback 1.2.7 #28689
- Upgrade to Micrometer 1.6.13 #28507
- Upgrade to Netty 4.1.70.Final #28554
- Upgrade to Netty tcNative 2.0.46.Final #28716
- Upgrade to Reactor 2020.0.13 #28505
- Upgrade to Spring AMQP 2.3.12 #28599
- Upgrade to Spring Batch 4.3.4 #28230
- Upgrade to Spring Data 2020.0.15 #28508
- Upgrade to Spring Framework 5.3.13 #28506
- Upgrade to Spring HATEOAS 1.2.11 #28608
- Upgrade to Spring Integration 5.4.12 #28612
- Upgrade to Spring Kafka 2.6.12 #28685
- Upgrade to Tomcat 9.0.55 #28690
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
v2.6.0-RC1
⭐ New Features
- Expose Stackdriver's useSemanticMetricTypes property #28403
- Expose Elastic's apiKeyCredentials property #28400
- Do not auto-configure a UserDetailsService when an AuthenticationManagerResolver bean is present #28361
- Provide a configuration property for enabling/disabling Spring Integration's default logging #28355
- Disable the environment info contributor by default #28311
- Add option to customize build cache volume names #28292
- Log URLs for all DataSources when H2 Console is auto-configured #28204
- Defer OIDC lookup until first use of the issuer location JwtDecoder #28169
- Java Info Contributor #28136
@Persistent
should not be considered when scanning for Couchbase entities #28124- Support PEM format for Kafka SSL certificates and private key #28123
- Improve action in failure analysis of BeanCurrentlyInCreationException when user has already allowed circular references #27735
- Add option to create tags for the built image #27613
- Allow individual build info properties to be excluded #27412
- Add support for log4j2 composite configuration #27110
- Add more session cookie properties for reactive web servers #26714
- Improve support for jOOQ 3.15 by making R2dbcAutoConfiguration back off in the absence of a connection provider #26439
- Support SameSite attributes on session Cookies for Servlet-based applications #20971
🐞 Bug Fixes
- Misleading failure analysis when jOOQ's DSLContext is unavailable due to R2DBC taking precedence over JDBC #28380
- Devtools restart fails with in-memory R2DBC database and SQL initialization scripts #28377
- When lazy initialization is enabled, JMX endpoints are not available #28372
- JarFileWrapper may cause many FinalReferences causing GC pressure #28357
- Flattened VCAP_SERVICES properties are not sanitized by default #28354
- MeterValue with "d" suffix not parsed as Duration for timer #28352
- CachingOperationInvoker cache can consume a significant amount of heap space #28348
- ActiveMQ starter depends on org.apache.geronimo.specs:geronimo-j2ee-management_1.1_spec #28341
- spring-boot-starter-oauth2-client has an unnecessary dependency on com.sun.mail:jakarta.mail #28334
- Configuring spring.flyway.script-placeholder-suffix has no effect #28307
- Fix Integration
fixedRate
property setting #28237 - Broken content negotiation for OpenMetrics #28198
- Layertools extract does not preserve last modified and last access times #28191
- R2DBC
ConnectionFactory
bean silently not created when enabling pooling through R2DBC URL and properties #28144 - NumberFormatException when configuring spring.rabbitmq.addresses with an IPv6 address #28135
- Application fails to start with excluded health endpoint when JMX is enabled #28131
- NoSuchMethodError from oracle.ucp.jdbc.PoolDataSource.getPassword() when deriving a DataSource from a UCP PoolDataSourceImpl #28127
📔 Documentation
- Don't use markdown syntax in javadoc or error messages #28425
- Spring Security reference doc links not working #28407
- Fix typo in EnvironmentPostProcessor's class-level javadoc #28383
- Remove obsolete info about Spring Integration's metrics support #28381
- Update docs to be explicit about dot notation being correctly mapped #28202
- Section 4.4 File Rotation mentions the wrong configuration file name for Log4j2 #28194
- Update Javadoc with note mentioning that class using ConstructorBinding must be enabled using annotations #28172
- Make it clearer that, when using
@AutoConfigureTestEntityManager
outside of@DataJpaTest
, any tests using the test entity manager must be@Transactional
#28160 - Replace latin locutions in the documentation #28141
- Polish descriptions of spring.integration.poller configuration properties #28126
- Update examples in the Dynatrace documentation #27502
🔨 Dependency Upgrades
- Upgrade to Apache Kafka 3.0.0 #28151
- Upgrade to Artemis 2.19.0 #28411
- Upgrade to Byte Buddy 1.11.21 #28412
- Upgrade to Couchbase Client 3.2.2 #28315
- Upgrade to Dropwizard Metrics 4.2.4 #28316
- Upgrade to Ehcache3 3.9.7 #28363
- Upgrade to Elasticsearch 7.15.1 #28413
- Upgrade to Flyway 8.0.2 #28414
- Upgrade to Hibernate 5.6.0.Final #28297
- Upgrade to HtmlUnit 2.54.0 #28415
- Upgrade to HttpCore5 5.1.2 #28318
- Upgrade to Jackson Bom 2.13.0 #28298
- Upgrade to Jaybird 4.0.4.java8 #28319
- Upgrade to Jetty 9.4.44.v20210927 #28320
- Upgrade to Kotlin 1.6.0-RC #28416
- Upgrade to Liquibase 4.5.0 #28299
- Upgrade to Lombok 1.18.22 #28321
- Upgrade to Micrometer 1.8.0-RC1 #28253
- Upgrade to Mockito 4.0.0 #28300
- Upgrade to MongoDB 4.4.0-beta1 #28364
- Upgrade to MySQL 8.0.27 #28417
- Upgrade to Netty 4.1.69.Final #28323
- Upgrade to Netty tcNative 2.0.44.Final #28324
- Upgrade to Postgresql 42.3.0 #28418
- Upgrade to R2DBC Bom Arabba-SR11 #28326
- Upgrade to Reactor 2020.0.12 #28251
- Upgrade to Selenium HtmlUnit 2.54.0 #28420
- Upgrade to SendGrid 4.7.6 #28421
- Upgrade to Spring AMQP 2.4.0-RC1 #28256
- Upgrade to Spring Data 2021.1.0-RC1 #28255
- Upgrade to Spring Framework 5.3.12 #28252
- Upgrade to Spring HATEOAS 1.4.0-RC1 [#28254](https://github.com/spring-p...
v2.5.6
🐞 Bug Fixes
- Misleading failure analysis when jOOQ's DSLContext is unavailable due to R2DBC taking precedence over JDBC #28379
- When lazy initialization is enabled, JMX endpoints are not available #28371
- JarFileWrapper may cause many FinalReferences causing GC pressure #28356
- Flattened VCAP_SERVICES properties are not sanitized by default #28353
- MeterValue with "d" suffix not parsed as Duration for timer #28351
- CachingOperationInvoker cache can consume a significant amount of heap space #28347
- Devtools restart fails with in-memory R2DBC database and SQL initialization scripts #28345
- ActiveMQ starter depends on org.apache.geronimo.specs:geronimo-j2ee-management_1.1_spec #28340
- spring-boot-starter-oauth2-client has an unnecessary dependency on com.sun.mail:jakarta.mail #28333
- Layertools extract does not preserve last modified and last access times #28190
- NumberFormatException when configuring spring.rabbitmq.addresses with an IPv6 address #28134
- Broken content negotiation for OpenMetrics #28130
📔 Documentation
- Fix typo in EnvironmentPostProcessor's class-level javadoc #28382
- Remove obsolete info about Spring Integration's metrics support #28375
- Update docs to be explicit about dot notation being correctly mapped #28201
- Section 4.4 File Rotation mentions the wrong configuration file name for Log4j2 #28193
- Update Javadoc with note mentioning that class using ConstructorBinding must be enabled using annotations #28171
- Make it clearer that, when using
@AutoConfigureTestEntityManager
outside of@DataJpaTest
, any tests using the test entity manager must be@Transactional
#28159
🔨 Dependency Upgrades
- Upgrade to Dropwizard Metrics 4.1.26 #28280
- Upgrade to Ehcache3 3.9.7 #28394
- Upgrade to HttpCore5 5.1.2 #28281
- Upgrade to Jaybird 4.0.4.java8 #28282
- Upgrade to Jetty 9.4.44.v20210927 #28283
- Upgrade to Lombok 1.18.22 #28284
- Upgrade to Micrometer 1.7.5 #28242
- Upgrade to MySQL 8.0.27 #28395
- Upgrade to Netty 4.1.69.Final #28360
- Upgrade to Netty tcNative 2.0.44.Final #28285
- Upgrade to Postgresql 42.2.24 #28286
- Upgrade to R2DBC Bom Arabba-SR11 #28287
- Upgrade to Reactor 2020.0.12 #28240
- Upgrade to SendGrid 4.7.6 #28396
- Upgrade to Spring AMQP 2.3.11 #28245
- Upgrade to Spring Data 2021.0.6 #28244
- Upgrade to Spring Framework 5.3.12 #28241
- Upgrade to Spring HATEOAS 1.3.5 #28243
- Upgrade to Spring Integration 5.5.5 #28249
- Upgrade to Spring Kafka 2.7.8 #28246
- Upgrade to Spring Security 5.5.3 #28247
- Upgrade to Spring Session 2021.0.3 #28248
- Upgrade to Tomcat 9.0.54 #28288
- Upgrade to Undertow 2.2.12.Final #28289
- Upgrade to XmlUnit2 2.8.3 #28397
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
v2.4.12
🐞 Bug Fixes
- Misleading failure analysis when jOOQ's DSLContext is unavailable due to R2DBC taking precedence over JDBC #28378
- ActiveMQ starter depends on org.apache.geronimo.specs:geronimo-j2ee-management_1.1_spec #28339
- When lazy initialization is enabled, JMX endpoints are not available #28335
- CachingOperationInvoker cache can consume a significant amount of heap space #28313
- spring-boot-starter-oauth2-client has an unnecessary dependency on com.sun.mail:jakarta.mail #28308
- MeterValue with "d" suffix not parsed as Duration for timer #28302
- Layertools extract does not preserve last modified and last access times #28167
- NumberFormatException when configuring spring.rabbitmq.addresses with an IPv6 address #28133
- Flattened VCAP_SERVICES properties are not sanitized by default #28085
- JarFileWrapper may cause many FinalReferences causing GC pressure #28042
📔 Documentation
- Fix typo in EnvironmentPostProcessor's class-level javadoc #28376
- Section 4.4 File Rotation mentions the wrong configuration file name for Log4j2 #28189
- Update docs to be explicit about dot notation being correctly mapped #28170
- Update javadoc on
@ConstructorBinding
to mention@ConfigurationPropertiesScan
and@EnableConfigurationProperties
#28168 - Make it clearer that, when using
@AutoConfigureTestEntityManager
outside of@DataJpaTest
, any tests using the test entity manager must be@Transactional
#28086
🔨 Dependency Upgrades
- Upgrade to Dropwizard Metrics 4.1.26 #28270
- Upgrade to Ehcache3 3.9.7 #28390
- Upgrade to Jetty 9.4.44.v20210927 #28277
- Upgrade to Lombok 1.18.22 #28271
- Upgrade to Micrometer 1.6.12 #28224
- Upgrade to MySQL 8.0.27 #28391
- Upgrade to Netty 4.1.69.Final #28359
- Upgrade to Netty tcNative 2.0.44.Final #28272
- Upgrade to Nimbus JOSE JWT 8.23 #28392
- Upgrade to Postgresql 42.2.24 #28273
- Upgrade to R2DBC Bom Arabba-SR11 #28274
- Upgrade to Reactor 2020.0.12 #28222
- Upgrade to Spring AMQP 2.3.11 #28226
- Upgrade to Spring Data 2020.0.14 #28225
- Upgrade to Spring Framework 5.3.12 #28223
- Upgrade to Spring HATEOAS 1.2.10 #28358
- Upgrade to Spring Kafka 2.6.11 #28227
- Upgrade to Spring Security 5.4.9 #28228
- Upgrade to Spring Session 2020.0.7 #28229
- Upgrade to Tomcat 9.0.54 #28275
- Upgrade to Undertow 2.2.12.Final #28276
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
v2.6.0-M3
⭐ New Features
- Provide a specific exception and failure analysis for situations where more than one mutually exclusive configuration property has been configured #28121
- Log ready time under 'spring.boot.application.ready' rather than 'spring.boot.application.running' #28080
- Expose default value for imageName in bootBuildImage task #28040
- Allow users to contribute a RedisStandaloneConfiguration bean #28028
- Add Spring Integration default poller auto-config #27992
- Auto-Configure Kafka CommonErrorHandler #27927
- Add startup time metrics #27878
- Auto-configure JVM heap pressure metrics #27868
- Auto-configure Micrometer's Lettuce latency metrics #27865
- Provide a pluggable abstraction for applying custom sanitization rules #27840
- Drop dependency management for Oracle drivers with old groupId #27827
- Include WebMvcRegistrations in
@WebMvcTest
#27823 - Provide a configuration property for setting the path used by auto-configured disk space metrics #27660
- Sort the contents of BOOT-INF/lib in a reproducible Maven build #27436
- Provide a configuration property for Elasticsearch path prefix #25010
- Switch default spring.mvc.pathmatch.matching-strategy #24805
- Enable PathPattern based matching for MVC actuators #24645
- Consolidate common Elasticsearch configuration properties #23106
- Log failing calls to health indicators #22632
🐞 Bug Fixes
- Actuator endpoints do not sanitize SPRING_APPLICATION_JSON by default #28082
- Web MVC metrics may have the wrong status when a filter throws an exception other than NestedServletException #28070
- War deployment in standalone Tomcat causes memory leak (Metaspace) #28034
- Embedded Undertow throws MalformedURLException when archive filename contains characters that are reserved in a URL #28033
- Concurrent image builds cause error deleting builder image #27994
- IndexOutOfBoundsException when running a Zip64 jar file larger than 4,294,967,295 bytes #27901
- Azure App Service is not correctly detected on Windows #27879
- NullPointerException in RoutingDataSourceHealthContributor when a routing data source has a target with a null routing key #27800
@MockBean
combined with@Repeat
results in "the field cannot have an existing value" error #27799
📔 Documentation
- Document support for Java 17 #28099
- Document that devtools restart doesn't work when using AspectJ weaving #28084
- Default value for spring.data.elasticsearch.client.reactive.endpoints is not documented #28073
- Expand English contractions from the documentation #28064
- Fix some typos in docs #27968
- Clarify Selenium auto-configuration requires HtmlUnit #27944
- Polish javadoc comments #27925
- Update documentation of spring.redis.jedis.pool.enabled to note that pooling is implicitly enabled in Sentinel mode #27891
- Document that spring-boot-starter-parent configures Java compilation to use -parameters #27886
- Fix inconsistent devtools doc #27877
- Fix typo in javadoc #27874
- Document how to parameterize output directory for REST Docs with WebTestClient #27804
- Only link to the two alternative formats from each format of the reference documentation #27737
- Split spring boot features in reference documentation into smaller sections #27132
🔨 Dependency Upgrades
- Upgrade to ActiveMQ 5.16.3 #27997
- Upgrade to AppEngine SDK 1.9.91 #27998
- Upgrade to AssertJ 3.21.0 #28090
- Upgrade to Byte Buddy 1.11.18 #28110
- Upgrade to Cassandra Driver 4.13.0 #28000
- Upgrade to Commons Pool2 2.11.1 #28001
- Upgrade to Couchbase Client 3.2.1 #28002
- Upgrade to Ehcache3 3.9.6 #28003
- Upgrade to Elasticsearch 7.14.1 #28004
- Upgrade to Flyway 7.15.0 #28049
- Upgrade to Glassfish EL 3.0.4 #28005
- Upgrade to Groovy 3.0.9 #28006
- Upgrade to Gson 2.8.8 #28007
- Upgrade to Hibernate 5.5.7.Final #28008
- Upgrade to HtmlUnit 2.53.0 #28092
- Upgrade to InfluxDB Java 2.22 #28050
- Upgrade to Jackson Bom 2.12.5 #28009
- Upgrade to Jedis 3.7.0 #28010
- Upgrade to Jersey 2.35 #28051
- Upgrade to Jetty EL 9.0.52 #28011
- Upgrade to Jolokia 1.7.1 #28093
- Upgrade to jOOQ 3.14.15 #28094
- Upgrade to JUnit Jupiter 5.8.1 #28052
- Upgrade to Kafka 2.8.1 #28095
- Upgrade to Kotlin 1.5.31 #28096
- Upgrade to Kotlin Coroutines 1.5.2 #28014
- Upgrade to Lettuce 6.1.5.RELEASE #28043
- Upgrade to Logback 1.2.6 #28015
- Upgrade to Maven Javadoc Plugin 3.3.1 #28016
- Upgrade to Maven War Plugin 3.3.2 #28017
- Upgrade to Micrometer 1.8.0-M3 #27931
- Upgrade to Mockito 3.12.4 #28053
- Upgrade to MongoDB 4.3.2 #28018
- Upgrade to Neo4j Java Driver 4.3.4 #28019
- Upgrade to Netty 4.1.68.Final #28020
- Upgrade to Netty tcNative 2.0.43.Final #28021
- Upgrade to Oracle Database 21.3.0.0 #28054
- Upgrade to Prometheus Client 0.12.0 #28055
- Upgrade to Rabbit AMQP Client 5.13.1 #28022
- Upgrade to Rabbit Stream Client 0.4.0 [#28056](https://github.com/spring-projects/spring-boot/...