Skip to content

Releases: spring-projects/spring-boot

v2.4.12

21 Oct 11:21
Compare
Choose a tag to compare

🐞 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

24 Sep 02:43
Compare
Choose a tag to compare
v2.6.0-M3 Pre-release
Pre-release

⭐ 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/...
Read more

v2.5.5

23 Sep 10:29
Compare
Choose a tag to compare

🐞 Bug Fixes

  • Actuator endpoints do not sanitize SPRING_APPLICATION_JSON by default #28081
  • Startup failure due to non-empty schema when using Flyway and Spring Integration's DataSource initialization #28079
  • Web MVC metrics may have the wrong status when a filter throws an exception other than NestedServletException #28069
  • Embedded Undertow throws MalformedURLException when archive filename contains characters that are reserved in a URL #28032
  • Concurrent image builds cause error deleting builder image #27993
  • War deployment in standalone Tomcat causes memory leak (Metaspace) #27987
  • IndexOutOfBoundsException when running a Zip64 jar file larger than 4,294,967,295 bytes #27900
  • Azure App Service is not correctly detected on Windows #27819
  • @MockBean combined with @Repeat results in "the field cannot have an existing value" error #27798
  • NullPointerException in RoutingDataSourceHealthContributor when a routing data source has a target with a null routing key #27698

📔 Documentation

  • Document that devtools restart doesn't work when using AspectJ weaving #28083
  • Default value for spring.data.elasticsearch.client.reactive.endpoints is not documented #28072
  • Clarify Selenium auto-configuration requires HtmlUnit #27943
  • Document that spring-boot-starter-parent configures Java compilation to use -parameters #27885
  • Fix inconsistent devtools doc #27876
  • Fix typo in javadoc #27873
  • Document how to parameterize output directory for REST Docs with WebTestClient #27803
  • Document support for Java 17 #26767

🔨 Dependency Upgrades

  • Upgrade to Ehcache3 3.9.6 #27974
  • Upgrade to Glassfish EL 3.0.4 #27975
  • Upgrade to Groovy 3.0.9 #27976
  • Upgrade to Gson 2.8.8 #27977
  • Upgrade to Jackson Bom 2.12.5 #27978
  • Upgrade to Jetty EL 9.0.52 #27979
  • Upgrade to jOOQ 3.14.15 #28088
  • Upgrade to Kotlin 1.5.31 #28089
  • Upgrade to Kotlin Coroutines 1.5.2 #27982
  • Upgrade to Lettuce 6.1.5.RELEASE #28031
  • Upgrade to Logback 1.2.6 #27983
  • Upgrade to Maven War Plugin 3.3.2 #27984
  • Upgrade to Micrometer 1.7.4 #27916
  • Upgrade to Netty 4.1.68.Final #27985
  • Upgrade to Netty tcNative 2.0.43.Final #27986
  • Upgrade to Reactor 2020.0.11 #27914
  • Upgrade to SendGrid 4.7.5 #28109
  • Upgrade to Spring Data 2021.0.5 #27917
  • Upgrade to Spring Framework 5.3.10 #27915
  • Upgrade to Spring HATEOAS 1.3.4 #27970
  • Upgrade to Spring Integration 5.5.4 #27949
  • Upgrade to Spring Kafka 2.7.7 #27918
  • Upgrade to Tomcat 9.0.53 #27963

❤️ Contributors

We'd like to thank all the contributors who worked on this release!

v2.4.11

23 Sep 06:26
Compare
Choose a tag to compare

🐞 Bug Fixes

  • Actuator endpoints do not sanitize SPRING_APPLICATION_JSON by default #28045
  • Web MVC metrics may have the wrong status when a filter throws an exception other than NestedServletException #27988
  • Concurrent image builds cause error deleting builder image #27888
  • IndexOutOfBoundsException when running a Zip64 jar file larger than 4,294,967,295 bytes #27822
  • Binder conversion fails intermittently when called from multiple threads #27813
  • @MockBean combined with @Repeat results in "the field cannot have an existing value" error #27693
  • Embedded Undertow throws MalformedURLException when archive filename contains characters that are reserved in a URL #9283

📔 Documentation

  • Document that devtools restart doesn't work when using AspectJ weaving #28071
  • Default value for spring.data.elasticsearch.client.reactive.endpoints is not documented #28061
  • Clarify Selenium auto-configuration requires HtmlUnit #27920
  • Fix typo in javadoc #27856
  • Fix inconsistent devtools doc #27812
  • Document that spring-boot-starter-parent configures Java compilation to use -parameters #27762
  • Document how to parameterize output directory for REST Docs with WebTestClient #27755

🔨 Dependency Upgrades

  • Upgrade to Ehcache3 3.9.6 #27951
  • Upgrade to Glassfish EL 3.0.4 #27952
  • Upgrade to Groovy 2.5.15 #27953
  • Upgrade to Gson 2.8.8 #27954
  • Upgrade to Jetty EL 8.5.70 #27955
  • Upgrade to jOOQ 3.14.15 #28087
  • Upgrade to Lettuce 6.0.8.RELEASE #28029
  • Upgrade to Logback 1.2.6 #27957
  • Upgrade to Maven War Plugin 3.3.2 #27958
  • Upgrade to Micrometer 1.6.11 #27910
  • Upgrade to Netty 4.1.68.Final #27959
  • Upgrade to Netty tcNative 2.0.43.Final #28030
  • Upgrade to Reactor 2020.0.11 #27908
  • Upgrade to Spring Data 2020.0.13 #27912
  • Upgrade to Spring Framework 5.3.10 #27909
  • Upgrade to Spring HATEOAS 1.2.9 #27969
  • Upgrade to Spring Integration 5.4.11 #27948
  • Upgrade to Tomcat 9.0.53 #27961

❤️ Contributors

We'd like to thank all the contributors who worked on this release!

v2.6.0-M2

19 Aug 17:47
Compare
Choose a tag to compare
v2.6.0-M2 Pre-release
Pre-release

⭐ New Features

  • Make it easier to add new configuration options to ApplicationContextRunners #27690
  • Move the auto-configuration of DiskSpaceMetrics to SystemMetricsAutoConfiguration #27688
  • Added property to customise Jackson default leniency #27659
  • Prohibit circular references by default #27652
  • Apply ContainerCustomizer beans to the auto-configured AMQP MessageListenerContainers #27625
  • Provide expiry and bufferLength configuration properties for configuring a distribution statistic #27584
  • Add network option for image building #27486
  • Provide auto-configuration for spring-rabbit-stream #27480
  • @ConstructorBinding behavior by default for @ConfigurationProperties annotated records #27216
  • Add Jackson ConstructorDetector properties support #27178
  • Drop dependency management for org.jboss:jboss-transaction-spi #26574
  • Add support for dumping the heap when running on Open J9 #26466
  • Add spring.webflux.multipart configuration properties #26254
  • Allow health groups to be configured at an additional path #25471
  • Configure WebTestClient for @AutoConfigureMockMvc tests #23067
  • Add ability to include/exclude part of a composite contributor in a health group #23027
  • Use MessageSource to interpolate bean validation messages #17530

🐞 Bug Fixes

  • spring-boot-configuration-metadata leaks enforced dependency constraints into consuming builds #27731
  • Cyclic bean definition when a Spring Data repository is a dependency of a MeterBinder #27636
  • Potential NPE in TomcatMetricsBinder.findContext() #27617
  • spring-boot:build-image hangs when exceptions are thrown during upload #27536
  • WebTestClientContextCustomizerFactory causes an IllegalStateException when WebClient is on the classpath without a supported HTTP client #27528
  • spring.security.dispatcher-types is not applied to Spring Security's filter when running in a separate management context #27506
  • A URI with non-alpha characters in its scheme is not sanitized #27489

📔 Documentation

  • Fix broken links in docs #27761
  • Mention productionRuntimeClasspath in Gradle plugin's documentation #27621
  • Fix typo in javadoc #27619

🔨 Dependency Upgrades

  • Upgrade to Artemis 2.18.0 #27703
  • Upgrade to Byte Buddy 1.11.12 #27704
  • Upgrade to Commons DBCP2 2.9.0 #27641
  • Upgrade to Commons Pool2 2.11.0 #27642
  • Upgrade to Couchbase Client 3.2.0 #27643
  • Upgrade to Ehcache3 3.9.5 #27705
  • Upgrade to Elasticsearch 7.13.4 #27706
  • Upgrade to Flyway 7.13.0 #27644
  • Upgrade to Git Commit ID Plugin 4.9.10 #27707
  • Upgrade to Glassfish JAXB 2.3.5 #27708
  • Upgrade to Hazelcast 4.2.2 #27709
  • Upgrade to Hazelcast Hibernate5 2.2.1 #27710
  • Upgrade to Hibernate 5.5.6.Final #27702
  • Upgrade to HtmlUnit 2.52.0 #27645
  • Upgrade to Janino 3.1.6 #27711
  • Upgrade to Jedis 3.6.3 #27712
  • Upgrade to Jolokia 1.7.0 #27646
  • Upgrade to Liquibase 4.4.3 #27713
  • Upgrade to Logback 1.2.5 #27714
  • Upgrade to MariaDB 2.7.4 #27715
  • Upgrade to Maven AntRun Plugin 3.0.0 #27716
  • Upgrade to Maven Enforcer Plugin 3.0.0 #27717
  • Upgrade to Micrometer 1.8.0-M2 #27607
  • Upgrade to MIMEPull 1.9.15 #27718
  • Upgrade to MSSQL JDBC 9.4.0.jre8 #27719
  • Upgrade to MySQL 8.0.26 #27720
  • Upgrade to Netty 4.1.67.Final #27721
  • Upgrade to QueryDSL 5.0.0 #27647
  • Upgrade to Reactor 2020.0.10 #27606
  • Upgrade to Selenium HtmlUnit 2.52.0 #27648
  • Upgrade to SendGrid 4.7.4 #27722
  • Upgrade to SLF4J 1.7.32 #27723
  • Upgrade to Spring AMQP 2.4.0-M2 #27622
  • Upgrade to Spring Data 2021.1.0-M2 #27608
  • Upgrade to Spring HATEOAS 1.4.0-M2 #27649
  • Upgrade to Spring Integration 5.5.3 #27611
  • Upgrade to Spring Kafka 2.8.0-M2 #27609
  • Upgrade to Spring Security 5.6.0-M2 #27610
  • Upgrade to Spring Session 2021.1.0-M1 #27612
  • Upgrade to Tomcat 9.0.52 #27724
  • Upgrade to Undertow 2.2.10.Final #27725

❤️ Contributors

We'd like to thank all the contributors who worked on this release!

v2.5.4

19 Aug 12:39
Compare
Choose a tag to compare

🐞 Bug Fixes

  • spring-boot-configuration-metadata leaks enforced dependency constraints into consuming builds #27730
  • Potential NPE in TomcatMetricsBinder.findContext() #27616
  • Cyclic bean definition when a Spring Data repository is a dependency of a MeterBinder #27591
  • spring-boot:build-image hangs when exceptions are thrown during upload #27535
  • WebTestClientContextCustomizerFactory causes an IllegalStateException when WebClient is on the classpath without a supported HTTP client #27527
  • spring.security.dispatcher-types is not applied to Spring Security's filter when running in a separate management context #27505
  • A URI with non-alpha characters in its scheme is not sanitized #27488

📔 Documentation

  • Mention productionRuntimeClasspath in Gradle plugin's documentation #27620
  • Fix typo in javadoc #27618

🔨 Dependency Upgrades

  • Upgrade to ActiveMQ 5.16.3 #27742
  • Upgrade to AppEngine SDK 1.9.91 #27743
  • Upgrade to Cassandra Driver 4.11.3 #27674
  • Upgrade to Couchbase Client 3.1.7 #27675
  • Upgrade to Ehcache3 3.9.5 #27676
  • Upgrade to Glassfish JAXB 2.3.5 #27677
  • Upgrade to Hazelcast 4.1.5 #27744
  • Upgrade to Hazelcast Hibernate5 2.2.1 #27678
  • Upgrade to Janino 3.1.6 #27679
  • Upgrade to Logback 1.2.5 #27680
  • Upgrade to MariaDB 2.7.4 #27681
  • Upgrade to Maven Enforcer Plugin 3.0.0 #27682
  • Upgrade to Micrometer 1.7.3 #27601
  • Upgrade to MIMEPull 1.9.15 #27683
  • Upgrade to Netty 4.1.67.Final #27745
  • Upgrade to Nimbus JOSE JWT 9.10.1 #27701
  • Upgrade to OAuth2 OIDC SDK 9.9.1 #27700
  • Upgrade to Reactor 2020.0.10 #27600
  • Upgrade to SendGrid 4.7.4 #27684
  • Upgrade to Spring Data 2021.0.4 #27633
  • Upgrade to Spring Integration 5.5.3 #27604
  • Upgrade to Spring Kafka 2.7.6 #27602
  • Upgrade to Spring Security 5.5.2 #27603
  • Upgrade to Spring Session 2021.0.2 #27605
  • Upgrade to Tomcat 9.0.52 #27685
  • Upgrade to Undertow 2.2.10.Final #27686

❤️ Contributors

We'd like to thank all the contributors who worked on this release!

v2.4.10

19 Aug 10:38
Compare
Choose a tag to compare

🐞 Bug Fixes

  • spring-boot-configuration-metadata leaks enforced dependency constraints into consuming builds #27726
  • Potential NPE in TomcatMetricsBinder.findContext() #27576
  • WebTestClientContextCustomizerFactory causes an IllegalStateException when WebClient is on the classpath without a supported HTTP client #27520
  • spring-boot:build-image hangs when exceptions are thrown during upload #27515
  • A URI with non-alpha characters in its scheme is not sanitized #27482
  • spring.security.dispatcher-types is not applied to Spring Security's filter when running in a separate management context #27372

📔 Documentation

  • Fix typo in javadoc #27614
  • Mention productionRuntimeClasspath in Gradle plugin's documentation #27558

🔨 Dependency Upgrades

  • Upgrade to ActiveMQ 5.16.3 #27739
  • Upgrade to AppEngine SDK 1.9.91 #27740
  • Upgrade to Ehcache3 3.9.5 #27665
  • Upgrade to Glassfish JAXB 2.3.5 #27666
  • Upgrade to Janino 3.1.6 #27667
  • Upgrade to Logback 1.2.5 #27668
  • Upgrade to MariaDB 2.7.4 #27669
  • Upgrade to Maven Enforcer Plugin 3.0.0 #27670
  • Upgrade to Micrometer 1.6.10 #27596
  • Upgrade to MIMEPull 1.9.15 #27671
  • Upgrade to Netty 4.1.67.Final #27741
  • Upgrade to Nimbus JOSE JWT 8.22.1 #27699
  • Upgrade to Reactor 2020.0.10 #27595
  • Upgrade to Spring Data 2020.0.12 #27632
  • Upgrade to Spring Integration 5.4.10 #27598
  • Upgrade to Spring Integration 5.4.9 #27500
  • Upgrade to Spring Kafka 2.6.10 #27501
  • Upgrade to Spring Security 5.4.8 #27597
  • Upgrade to Spring Session 2020.0.6 #27599
  • Upgrade to Tomcat 9.0.52 #27672
  • Upgrade to Undertow 2.2.10.Final #27673

❤️ Contributors

We'd like to thank all the contributors who worked on this release!

v2.6.0-M1

22 Jul 22:08
Compare
Choose a tag to compare
v2.6.0-M1 Pre-release
Pre-release

For upgrade instructions please see the release notes.

⭐ New Features

  • Add Java 17 to JavaVersion enum #27416
  • Make setters on RabbitTemplateConfigurer public #27376
  • Add configuration property for Reactor Netty's idle timeout #27371
  • Support comma-separated values in EntityScan's basePackages placeholders #27355
  • Deprecate SpringPhysicalNamingStrategy in favor of Hibernate 5.5's CamelCaseToUnderscoresNamingStrategy #27352
  • Update version property for Prometheus to reflect that it covers the whole Java client and not just the Pushgateway #27350
  • Update RabbitTemplateConfigurer to take its required settings as constructor arguments #27313
  • Update AbstractRabbitListenerContainerFactoryConfigurer and its subclasses to take their required settings as constructor arguments #27311
  • Use server version from database in Neo4j health details #27294
  • Deprecate AbstractDataSourceInitializer and its subclasses in favour of DataSourceScriptDatabaseInitializer-based equivalents #27206
  • Remove default spring.mongodb.embedded.version #27108
  • Add @WebServiceServerTest annotation that can be used when testing SOAP server #27091
  • Add Rabbit connection factory configurers #26982
  • Add resource labels to Stackdriver metrics configuration properties #26961
  • Include information about where the caller was loaded from in NoSuchMethodError failure analysis #26895
  • Rely on Spring Security to determine the version of nimbus dependencies #26819
  • Introduce builder customizer for Lettuce ClientResources #26792
  • Allow to chain ContextConsumer implementations #26723
  • Add SpringApplicationBuilder constructor with ResourceLoader parameter #26690
  • Add properties for configuring Flyway's ignoreMigrationPatterns, detectEncoding, and failOnMissingLocations #26456
  • Allow the WebSessionManager's session ID resolver to be customized using a WebSessionIdResolver bean #26437
  • Allow to configure StartMojo's wait and maxAttempts attributes from the command-line #26422
  • Auto-configure binding of Micrometer's JettyConnectionMetrics and JettySslHandshakeMetrics #26418
  • Apply RSocketConnectorConfigurer beans to the RSocketRequester.Builder #26341
  • Add Lombok @Value support for configuration metadata generation #26337
  • Enable Redis connection pool if commons-pool2 is on the classpath #26326
  • Add configuration property for Tomcat's rejectIllegalHeader #26311
  • Add support for Dynatrace metrics v2 API #26258
  • Reproducible build for spring-boot-maven-plugin:build-info #26221
  • Remove dependency management for org.webjars:hal-browser #26192
  • Add auto-configuration for Micrometer DiskSpaceMetrics #26001
  • Add metrics support for ThreadPoolTaskExecutor and ThreadPoolTaskScheduler #23818
  • Add auto-configuration for Spring Data Envers #22610
  • Adjust fat jar central directory to account for launch script #22336
  • Use a configurable location to load global Devtools settings #17924

🪲 Bug Fixes

  • DataSourceBuilder throws an UnsupportedDataSourcePropertyException when trying to derive a DataSource from an unknown DataSource type #27455
  • DatabaseInitializerDetector and DependsOnDatabaseInitializationDetector implementations may be instantiated with the wrong ClassLoader #27425
  • YamlPropertySourceLoader may not use the right ClassLoader to check if SnakeYAML is present #27420
  • Since 2.5.1, a circular reference is created when one SpringLiquibase bean is configured to depend on another #27408
  • Setting Gson as preferred mapper breaks controller methods returning JSON Strings #27362
  • @SpyBean does not work when used to spy on a Spring Data Repository #27353
  • Dependency management for Prometheus's Pushgateway is incomplete #27351
  • Exception thrown from /actuator/configprops endpoint when spring.config.import=configtree:xxxx is used #27347
  • Layers configuration XSD is not available #27326
  • Redis health indicators report that Redis is up when the cluster's state is fail #27305
  • Spring Session JDBC does not work when lazy initialization is enabled #27226
  • App fails to start when using Spring Batch with JDBC and lazy initialization is enabled #27224
  • AbstractDataSourceInitializers are not detected as database initializers #27223
  • File named "config" in working directory causes IllegalStateException #27213
  • Optional file search locations with pattern throws exception if not present #27212
  • "Cannot determine database's type as ConnectionFactory is not options-capable" error message doesn't provide enough detail #27186
  • DurationStyle.SIMPLE.print does not work correctly with ChronoUnit.MICROS #27155
  • Configuration property metadata has the wrong default value for spring.netty.leak-detection #27106
  • Deadlock when the application context is closed and System.exit(int) is then called during application context refresh #27076
  • Default value for NettyProperties.leakDetection is not aligned with Netty's default #27050
  • SpringApplicationShutdownHook throws ClassCastException when use log4j2 #27018
  • Gradle 6.9.x is not listed as a supported version when the Gradle version is < 6.8 #27001
  • Gradle build fails with "invocation of 'Task.project' at execution time is unsupported" when using the configuration cache in a project that depends on org.springframework.boot:spring-boot-configuration-processor #26998
  • NoSuchMethodError with Jetty 10 when trying to use HTTP/2 over TLS (h2) #26989
  • A bean factory post processor cannot be configured to run after DependsOnDatabaseInitializationPostProcessor #26951
  • Kotlin plugin's version shouldn't be read if the kotlin.version extra property has been set #26948
  • SQL initialization in 2.5 does not handle connection errors gracefully anymore #26943
  • Script-based database initialization should not check the database's type unless it has scripts to apply #26942
  • Profile-specific files should still be considered when processing 'spring.config.import' properties ...
Read more

v2.5.3

22 Jul 14:16
Compare
Choose a tag to compare

⭐ New Features

  • Add Java 17 to JavaVersion enum #26769

🪲 Bug Fixes

  • DataSourceBuilder throws an UnsupportedDataSourcePropertyException when trying to derive a DataSource from an unknown DataSource type #27453
  • DatabaseInitializerDetector and DependsOnDatabaseInitializationDetector implementations may be instantiated with the wrong ClassLoader #27422
  • YamlPropertySourceLoader may not use the right ClassLoader to check if SnakeYAML is present #27419
  • Setting Gson as preferred mapper breaks controller methods returning JSON Strings #27361
  • Dependency management for Prometheus's Pushgateway is incomplete #27349
  • Exception thrown from /actuator/configprops endpoint when spring.config.import=configtree:xxxx is used #27346
  • Layers configuration XSD is not available #27321
  • Redis health indicators report that Redis is up when the cluster's state is fail #27304
  • App fails to start when using Spring Batch with JDBC and lazy initialization is enabled #27221
  • Spring Session JDBC does not work when lazy initialization is enabled #27220
  • AbstractDataSourceInitializers are not detected as database initializers #27215
  • Optional file search locations with pattern throws exception if not present #27211
  • File named "config" in working directory causes IllegalStateException #27210
  • Live Reload using Devtools no longer connects #27205
  • Live Reload using Devtools no longer connects #27204
  • DurationStyle.SIMPLE.print does not work correctly with ChronoUnit.MICROS #27154
  • Since 2.5.1, a circular reference is created when one SpringLiquibase bean is configured to depend on another #27131
  • Configuration property metadata has the wrong default value for spring.netty.leak-detection #27104
  • "Cannot determine database's type as ConnectionFactory is not options-capable" error message doesn't provide enough detail #26977
  • @SpyBean does not work when used to spy on a Spring Data Repository #7033

📔 Documentation

  • Fix reference to a configuration property in cloud.adoc #27357
  • Document auto-configured Jetty metrics #27301
  • Document that hateoas starter is spring MVC specific #27139
  • Improve javadoc of @DefaultValue #27137
  • Fix anchor rewrites containing a question mark #27107
  • Remove unnecessary unit for spring.datasource.tomcat.max-active #27103
  • Fix typo in section title #27102

🔨 Dependency Upgrades

  • Upgrade to AppEngine SDK 1.9.90 #27384
  • Upgrade to AspectJ 1.9.7 #27194
  • Upgrade to Caffeine 2.9.2 #27195
  • Upgrade to DB2 JDBC 11.5.6.0 #27196
  • Upgrade to Dropwizard Metrics 4.1.25 #27385
  • Upgrade to Infinispan 12.1.7.Final #27386
  • Upgrade to Jackson Bom 2.12.4 #27198
  • Upgrade to Jedis 3.6.3 #27448
  • Upgrade to Jetty 9.4.43.v20210629 #27199
  • Upgrade to Jetty Reactive HTTPClient 1.1.10 #27388
  • Upgrade to Johnzon 1.2.14 #27200
  • Upgrade to jOOQ 3.14.13 #27389
  • Upgrade to Kotlin 1.5.21 #27316
  • Upgrade to Kotlin Coroutines 1.5.1 #27317
  • Upgrade to Lettuce 6.1.4.RELEASE #27341
  • Upgrade to Logback 1.2.4 #27449
  • Upgrade to Micrometer 1.7.2 #27342
  • Upgrade to MySQL 8.0.26 #27450
  • Upgrade to Netty 4.1.66.Final #27390
  • Upgrade to Postgresql 42.2.23 #27202
  • Upgrade to Reactor 2020.0.9 #27162
  • Upgrade to SLF4J 1.7.32 #27451
  • Upgrade to Spring AMQP 2.3.10 #27392
  • Upgrade to Spring Data 2021.0.3 #27164
  • Upgrade to Spring Framework 5.3.9 #27163
  • Upgrade to Spring HATEOAS 1.3.3 #27184
  • Upgrade to Spring Integration 5.5.2 #27166
  • Upgrade to Spring Kafka 2.7.4 #27165
  • Upgrade to Tomcat 9.0.50 #27203
  • Upgrade to Undertow 2.2.9.Final #27452

❤️ Contributors

We'd like to thank all the contributors who worked on this release!

v2.4.9

22 Jul 10:35
Compare
Choose a tag to compare

🪲 Bug Fixes

  • Setting Gson as preferred mapper breaks controller methods returning JSON Strings #27354
  • Exception thrown from /actuator/configprops endpoint when spring.config.import=configtree:xxxx is used #27327
  • Redis health indicators report that Redis is up when the cluster's state is fail #27300
  • Optional file search locations with pattern throws exception if not present #27209
  • Spring Session JDBC does not work when lazy initialization is enabled #27208
  • App fails to start when using Spring Batch with JDBC and lazy initialization is enabled #27193
  • DurationStyle.SIMPLE.print does not work correctly with ChronoUnit.MICROS #27149
  • Live Reload using Devtools no longer connects #27147
  • YamlPropertySourceLoader may not use the right ClassLoader to check if SnakeYAML is present #27133
  • File named "config" in working directory causes IllegalStateException #27120

📔 Documentation

  • Document auto-configured Jetty metrics #27299
  • Document that hateoas starter is spring MVC specific #26897
  • Improve javadoc of @DefaultValue #26742

🔨 Dependency Upgrades

  • Upgrade to AppEngine SDK 1.9.90 #27377
  • Upgrade to AspectJ 1.9.7 #27238
  • Upgrade to DB2 JDBC 11.5.6.0 #27239
  • Upgrade to Dropwizard Metrics 4.1.25 #27378
  • Upgrade to Jetty 9.4.43.v20210629 #27241
  • Upgrade to Jetty Reactive HTTPClient 1.1.10 #27240
  • Upgrade to Johnzon 1.2.14 #27242
  • Upgrade to jOOQ 3.14.13 #27379
  • Upgrade to Lettuce 6.0.7.RELEASE #27339
  • Upgrade to Logback 1.2.4 #27380
  • Upgrade to Micrometer 1.6.9 #27340
  • Upgrade to MySQL 8.0.26 #27444
  • Upgrade to Netty 4.1.66.Final #27381
  • Upgrade to Postgresql 42.2.23 #27244
  • Upgrade to Reactor 2020.0.9 #27159
  • Upgrade to SLF4J 1.7.32 #27445
  • Upgrade to Spring AMQP 2.3.10 #27391
  • Upgrade to Spring Data 2020.0.11 #27161
  • Upgrade to Spring Framework 5.3.9 #27160
  • Upgrade to Spring HATEOAS 1.2.8 #27183
  • Upgrade to Tomcat 9.0.50 #27245
  • Upgrade to Undertow 2.2.9.Final #27446

❤️ Contributors

We'd like to thank all the contributors who worked on this release!