chore(deps): update dependency org.springframework.boot:spring-boot-starter-parent to v3 - autoclosed
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
org.springframework.boot:spring-boot-starter-parent (source) | parent | major |
2.7.18 -> 3.2.3
|
Release Notes
spring-projects/spring-boot (org.springframework.boot:spring-boot-starter-parent)
v3.2.3
⚠ Noteworthy
- This release upgrades to Hibernate 6.4.4.Final. While it contains a number of valuable bug fixes, it does not work correctly in a native image. If you are using GraalVM, Hibernate should be temporarily downgraded to 6.4.2.Final using the
hibernate.version
property.
:lady_beetle: Bug Fixes
- Nested jar URLs can not be resolved if the path contains spaces #39675
- Image building runs for a long time when a long image name is used and the tag contains an illegal character #39638
- Banner printing doesn't respect set charset #39621
- "micrometer.observations.*" configuration properties should be "management.observations.*" #39600
- Metadata reading during configuration class parsing uses the default resource loader rather than the application's resource loader #39598
- Several gson properties, including spring.gson.disable-html-escaping, do not behave correctly when set to false #39524
- Property placeholders aren't resolved when configuration property binding creates a Map from a property value using a converter #39515
- Gradle plugin allows the use of Gradle 7.4 but the documented and tested minimum is 7.5 #39513
- WebFlux auto-configuration should only configure the blocking executor when virtual threads are enabled #39469
- TestcontainersPropertySource assertion has typo #39449
- Webflux actuator endpoints respond with 500 when a parameter is missing #39444
- NoSuchMethod error when using the non-shaded Pulsar client and configuring authentications parameters #39389
- Jetty GracefulShutdown writes to System.out #39360
- Building images fails with Docker 25.0 when custom buildpacks are configured #39347
- Creating a RestClient from a RestTemplateBuilder-created RestTemplate requires double configuration of the baseUrl/rootUri #39317
- Auto-configured ConcurrentPulsarListenerContainerFactory and PulsarConsumerFactory cannot be injected into injection points with specific generic type information #39308
- Startup failure when you have multiple
@DynamicPropertySources
in Spring Boot 3.2.2 #39297 - Mockito's MockedStatic isn't closed in all cases #39272
- TracingProperties exposes package-private PropagationType from public methods #39268
📔 Documentation
- Add note regarding mixing of bundle-based and direct SSL configuration #39641
- Add link to Pulsar workaround when using environment variables for authentication #39630
- Document that task executor pool size properties are ignored when using virtual threads #39629
- Document default value for show-value configuration properties #39596
- Clarify that configuration properties only apply to the auto-configured OpenTelemetry Resource bean #39509
- Update the Debugging Documentation of the Spring Boot Maven Plugin #39422
- Awaitility link in Test Scoped Dependencies is incorrect #39415
- Fixed NestedJarFile constructor javadoc #39285
- Endpoint documentation contains the typo 'Unuthorized' #39280
- Update Revved up by Develocity badge #39263
🔨 Dependency Upgrades
- Upgrade to Byte Buddy 1.14.12 #39665
- Upgrade to Commons Codec 1.16.1 #39566
- Upgrade to Dropwizard Metrics 4.2.25 #39567
- Upgrade to Groovy 4.0.18 #39568
- Upgrade to Hibernate 6.4.4.Final #39569
- Upgrade to Infinispan 14.0.24.Final #39570
- Upgrade to Jackson Bom 2.15.4 #39666
- Upgrade to Janino 3.1.12 #39571
- Upgrade to Jetty 12.0.6 #39573
- Upgrade to Jetty Reactive HTTPClient 4.0.3 #39572
- Upgrade to jOOQ 3.18.11 #39667
- Upgrade to JsonPath 2.9.0 #39393
- Upgrade to JUnit Jupiter 5.10.2 #39575
- Upgrade to Kotlin Serialization 1.6.3 #39668
- Upgrade to MariaDB 3.3.3 #39669
- Upgrade to Maven Shade Plugin 3.5.2 #39670
- Upgrade to Micrometer 1.12.3 #39474
- Upgrade to Micrometer Tracing 1.2.3 #39475
- Upgrade to Neo4j Java Driver 5.17.0 #39534
- Upgrade to Netty 4.1.107.Final #39576
- Upgrade to Postgresql 42.6.1 #39671
- Upgrade to Pulsar Reactive 0.5.3 #39672
- Upgrade to Reactor Bom 2023.0.3 #39476
- Upgrade to SLF4J 2.0.12 #39577
- Upgrade to Spring AMQP 3.1.2 #39477
- Upgrade to Spring Authorization Server 1.2.2 #39478
- Upgrade to Spring Batch 5.1.1 #39479
- Upgrade to Spring Data Bom 2023.1.3 #39480
- Upgrade to Spring Framework 6.1.4 #39481
- Upgrade to Spring GraphQL 1.2.5 #39482
- Upgrade to Spring Integration 6.2.2 #39483
- Upgrade to Spring Kafka 3.1.2 #39484
- Upgrade to Spring LDAP 3.2.2 #39485
- Upgrade to Spring Pulsar 1.0.3 #39486
- Upgrade to Spring Security 6.2.2 #39487
- Upgrade to Testcontainers 1.19.5 #39578
- Upgrade to Tomcat 10.1.19 #39673
- Upgrade to Undertow 2.3.12.Final #39674
❤ Contributors
Thank you to all the contributors who worked on this release:
@PiyalAhmed, @Tish17, @amritagg, @dependabot[bot], @eddumelendez, @erichaagdev, @gdmrw, @jonas-grgt, @kilink, @lukasdo, @okohub, @onobc, @ramilS, @slovi, @smurf667, @snicoll, @totti-dev, @vj-atlassian, @vjh0107, @wanger26, and @xpmxf4
v3.2.2
⚠ ️ Noteworthy Changes
- Automatically enabling support for Micrometer's observation annotations when AspectJ is on the classpath has proven to be too much. A new property,
micrometer.observations.annotations.enabled
, has been introduced. It defaults tofalse
. Set it totrue
to restore the previous behavior #39128
:lady_beetle: Bug Fixes
- SslBundle implementations do not provide useful toString() results #39167
- JarEntry.getComment() returns incorrect result from NestedJarFile instances #39166
- Mixing PEM and JKS certificate material in server.ssl properties does not work #39158
- Having AspectJ and Micrometer on the classpath is not a strong enough signal to enable support for Micrometer observation annotations #39128
- Actuator endpoints with no operations that use selectors are not accessible when mapped to / #39122
- Spring Boot 3.2 app that uses WebFlux, Security, and Actuator may fail to start due to a missing authentication manager #39096
- management.observations.http.server.requests.name no longer has any effect #39083
- spring.rabbitmq.listener.stream.auto-startup property has no effect #39078
- Error mark in the log message for PatternParseException is in the wrong place #39075
- Configuring server.jetty.max-connections has no effect #39052
-
@ConfigurationPropertiesBinding
converters that rely on initial CharSequence to String conversion no longer work #39051 - Manifest attributes cannot be resolved with the new loader implementation #38996
- Throwable from logging system initialization may result in the application silently failing to start #38963
- When using Jetty, idle timeout for IO operations and delayed dispatch cannot be set to less than 30000ms #38960
- spring-boot-maven-plugin repackage uber jar execution fails when jar is put on WSL network drive #38956
- Oracle OJDBC BOM version is flagged not for production use #38943
- Connection leak when using jOOQ and spring.jooq.sql-dialect has not been set #38924
- AutoConfigurationSorter does not always respect
@AutoConfigureOrder
(Ordered.LOWEST_PRECEDENCE) #38916 - Containers are not started when using
@ImportTestcontainers
#38913 - Even when spring.security.user.name or spring.security.user.password has been configured, user details auto-configuration still backs off when resource server is on the classpath #38864
- MockRestServiceServerAutoConfiguration with RestTemplate and RestClient together throws incorrect exception #38820
📔 Documentation
- Improve "Sanitize Sensitive Values" section in reference documentation #39199
- Fix link to Log4j2's JDK logging adapter documentation #39171
- Update CRaC support status link #39170
- Remove entry for OCI starter as it is no longer maintained #39165
- Update links to Micrometer docs in metrics section of reference docs #39149
- Use the term "tags" in documentation consistently #39125
- Correct the documentation on injecting dependencies into FailureAnalyzer implementations #39100
- Polish reference documentation #38942
- Document virtual threads limitations #38883
🔨 Dependency Upgrades
- Upgrade to MySQL 8.3.0 #39081
- Upgrade to Byte Buddy 1.14.11 #39184
- Upgrade to Groovy 4.0.17 #39185
- Upgrade to jOOQ 3.18.9 #39186
- Upgrade to Kotlin 1.9.22 #39187
- Upgrade to Lettuce 6.3.1.RELEASE #39188
- Upgrade to MariaDB 3.3.2 #38901
- Upgrade to Micrometer 1.12.2 #38978
- Upgrade to Micrometer Tracing 1.2.2 #38979
- Upgrade to Neo4j Java Driver 5.15.0 #39136
- Upgrade to Netty 4.1.105.Final #39189
- Upgrade to Pulsar 3.1.2 #39190
- Upgrade to Pulsar Reactive 0.5.2 #39191
- Upgrade to R2DBC MySQL 1.0.6 #39192
- Upgrade to R2DBC Postgresql 1.0.4.RELEASE #39193
- Upgrade to R2DBC Proxy 1.1.4.RELEASE #39194
- Upgrade to Reactor Bom 2023.0.2 #38980
- Upgrade to SLF4J 2.0.11 #39195
- Upgrade to Spring Data Bom 2023.1.2 #38981
- Upgrade to Spring Framework 6.1.3 #38982
- Upgrade to Spring Pulsar 1.0.2 #38994
- Upgrade to Spring WS 4.0.10 #39130
- Upgrade to Tomcat 10.1.18 #39196
❤ Contributors
Thank you to all the contributors who worked on this release:
@724thomas, @BenchmarkingBuffalo, @FBibonne, @Wzy19930507, @amparab, @dependabot[bot], @dreis2211, @okohub, @onobc, @sdeleuze, @skcskitano, and @tobias-lippert
v3.2.1
:lady_beetle: Bug Fixes
- HibernateJpaAutoConfiguration should be applied before DataSourceTransactionManagerAutoConfiguration #38880
- META-INF entries are duplicated under BOOT-INF/classes causing "Conflicting persistence unit definitions" error #38862
- logging.include-application-name has no effect when using log4j2 #38847
- Pulsar authentication param properties cause IllegalStateException with Pulsar Client 3.1.0 #38839
- Child context created with SpringApplicationBuilder runs parents runners #38837
- getSigners() info is lost for signed jars when using the new loader implementation with requiresUnpack #38833
- TestContainers parallel initialization doesn't work properly #38831
- Zip file closed exceptions can be thrown due to StaticResourceJars closing jars from cached connections #38770
- Multi-byte filenames in zip files can cause an endless loop in ZipString.hash #38751
- Gradle task "bootJar" fails with "Failed to get permissions" when using Gradle 8.6-milestone-1 #38741
- Custom binding converters are ignored when working with collection types #38734
- WebFlux and resource server auto-configuration may fail due to null authentication manager #38713
- It is unclear that Docker Compose services have not been started as one or more is already running #38661
- Spring Boot jar launcher does not work in folders containing certain chars #38660
- FileNotFoundException is thrown eagerly from unused SSL bundles #38659
- NoUniqueBeanDefinitionFailureAnalyzer does not account for the fact that missing '-parameters' may be the cause #38652
- Traces are propagated if tracing is disabled #38641
- Missing registry auto-configuration for JMS listener observation support #38613
- Class loading fails on an interrupted thread causing com.mongodb.event.ServerClosedEvent to fail to load when Mongo detects a cluster change #38611
- Failures due to code not being compiled with '-parameters' are hard to identify #38603
- System SSL certificates are not used by the Apache HTTP Client in a RestTemplate built with RestTemplateBuilder #38600
- ZipFileSystem throws "java.util.zip.ZipException: read CEN tables failed" with certain nested jars #38595
- Nested jar URLs cannot be split and reassembled resulting in errors with projects that use this technique (such as JobRunr) #38592
- NoSuchMethodError can be thrown from Session.getCookie() due to binary incompatibilty #38589
- management.metrics.tags has been deprecated without a replacement working for all metrics #38583
- NegativeArraySizeException can be thrown from org.springframework.boot.loader.zip.ZipContent$Loader #38572
- Migration form 3.1.5 to 3.2.0 : "Default" Tracer is not provided in test anymore #38568
- TomcatWebServer stop doesn't close sockets for additional connectors #38564
- Port is already in use when using
@SpringBootTest
with a separate management port and a mock web environment #38554 - Keep-alive property causes processAot step to never finish #38531
- Setting 'spring.task.scheduling.shutdown.await-termination-period' does not result in a call to SimpleAsyncTaskScheduler#taskTerminationTimeout #38530
- Setting 'spring.task.execution.shutdown.await-termination-period' does not result in a call to SimpleAsyncTaskExecutor#taskTerminationTimeout #38528
- Nested URLs return null from classLoader.getResource("") causing ClassPathResource failures #38524
- Spring Boot 3.2 is not compatible with older versions of Liquibase #38522
- Controller level exceptions not getting populated in HTTP server requests metrics #33731
📔 Documentation
- Fix typo #38879
- Add the LangChain4J Spring Boot Starter to the list of community starters #38776
- Document prerequisites for Docker Compose support #38764
- Update Dynatrace documentation links #38725
- Correct references to Jetty's HTTP2 server module #38632
- Fix Observation Filter docs #38586
- Reinstate mention of testAndDevelopmentOnly when using Testcontainers at dev time #38571
🔨 Dependency Upgrades
- Upgrade to AspectJ 1.9.21 #38797
- Upgrade to Dropwizard Metrics 4.2.23 #38798
- Upgrade to Groovy 4.0.16 #38799
- Upgrade to Hibernate 6.4.1.Final #38870
- Upgrade to HttpClient5 5.2.3 #38800
- Upgrade to HttpCore5 5.2.4 #38801
- Upgrade to Janino 3.1.11 #38802
- Upgrade to Jaybird 5.0.3.java11 #38803
- Upgrade to Jersey 3.1.5 #38804
- Upgrade to Jetty 12.0.5 #38871
- Upgrade to Kafka 3.6.1 #38806
- Upgrade to Kotlin 1.9.21 #38807
- Upgrade to Kotlin Serialization 1.6.2 #38808
- Upgrade to Logback 1.4.14 #38809
- Upgrade to Maven Javadoc Plugin 3.6.3 #38810
- Upgrade to Micrometer 1.12.1 #38693
- Upgrade to Micrometer Tracing 1.2.1 #38694
- Upgrade to Netty 4.1.104.Final #38872
- Upgrade to Pulsar Reactive 0.5.1 #38873
- Upgrade to R2DBC Postgresql 1.0.3.RELEASE #38812
- Upgrade to R2DBC Proxy 1.1.3.RELEASE #38813
- Upgrade to Reactor Bom 2023.0.1 #38695
- Upgrade to Spring AMQP 3.1.1 #38860
- Upgrade to Spring Authorization Server 1.2.1 #38696
- Upgrade to Spring Data Bom 2023.1.1 #38697
- Upgrade to Spring Framework 6.1.2 #38814
- Upgrade to Spring Integration 6.2.1 #38698
- Upgrade to Spring Kafka 3.1.1 #38874
- Upgrade to Spring LDAP 3.2.1 #38699
- Upgrade to Spring Pulsar 1.0.1 #38875
- Upgrade to Spring Retry 2.0.5 #38836
- Upgrade to Spring Security 6.2.1 #38700
- Upgrade to Spring Session 3.2.1 #38866
- Upgrade to Spring WS 4.0.9 #38876
- Upgrade to Tomcat 10.1.17 #38815
- Upgrade to UnboundID LDAPSDK 6.0.11 #38816
❤ Contributors
Thank you to all the contributors who worked on this release:
@SandraAhlgrimm, @aleksandrserbin, @cachescrubber, @dependabot[bot], @gavlyukovskiy, @ilies-bel, @meiyese, @onobc, @pirgeo, @quaff, @shin-mallang, and @tomfrenken
v3.2.0
⭐ New Features
- Auto-configure observations for RestClients #38500
- Add support for Oracle Free, the replacement for Oracle XE, with Testcontainers and Docker Compose #38476
- Provide dependency management for org.crac:crac #38378
- Add new properties for Liquibase 4.24.0 #38274
- Provide a way to create custom ApplicationContextFactory in SpringBootContextLoader #38205
- Report friendly error when failing to find AOT initializer #38188
:lady_beetle: Bug Fixes
- Annotation based ConditionalOnBean checks can cause early initialization of FactoryBeans #38507
- CRaC restoration fails when Actuator's running on a separate port #38502
- App that depends on Tomcat and on Jetty's websocket-server module fails to start with IllegalStateException: WebSocketComponents has not been created #38286
- App fails to start with a NoSuchMethodError when using Flyway 10.0.0 #38268
- MeterRegistry throws BeanCreationNotAllowedException on shutdown #38240
- Resolution of productionRuntimeClasspath configuration may select the wrong variant and contain a dependency's source jar #38233
- Docker JSON parsing fails on certain locales #38220
- FileNotFoundException is thrown serving resources due to JarUrlConnection.getLastModified() returning zero #38204
- Failed to extract parameter names exception thrown when binding with non-enumerable property source #38201
- Spring Boot 3.2.0-RC1 application fails on JDK with CRaC but without a dependency on org.crac:crac #38186
- Missing configuration processing for PartEvent support #37642
📔 Documentation
- Document supported SQL comment prefixes #38496
- Update access log pattern documentation to align with changes in Tomcat 10 #38425
- Update Dynatrace docs with info about the meter metadata toggle #38368
- Improve documentation regarding tracing in tests #38362
- Document the accepted inputs when configuring tags on spring-boot:build-image and bootBuildImage #38354
- Document how to use cloudfoundry specific actuators with a custom base path for webflux applications #38353
- Document Liberica JDK with CRaC #38350
- Add a Restarting a stopped or failed Job section to the batch howto #38341
- Clarify documentation on importing Testcontainer declarations and using
@ServiceConnection
or@DynamicPropertySource
#38337 - Make distinction between Testcontainers for integration tests and development more clear in documentation #38336
- When using Testcontainers at development time with
@ServiceConnection
on a@Bean
method, describe when to use the name attribute and why #38335 - Fix link to Elasticsearch health indicator #38334
- Update Spring Framework documentation links #38289
- Code sample in "Developing Your First Spring Boot Application" does not work #38272
- Improve --help and documentation for "encodepassword -a/--algorithm" in the Spring Boot CLI #38249
- Add how-to documentation for test-only database migrations with Flyway/Liquibase #38231
- Document that PEM content can be used directly in application.yaml #38215
- Document that TomcatConnectorCustomizers are not applied to additional connectors #38198
🔨 Dependency Upgrades
- Upgrade to AspectJ 1.9.20.1 #38358
- Upgrade to Byte Buddy 1.14.10 #38407
- Upgrade to DB2 JDBC 11.5.9.0 #38408
- Upgrade to Dependency Management Plugin 1.1.4 #38346
- Upgrade to Dropwizard Metrics 4.2.22 #38409
- Upgrade to GraphQL Java 21.3 #38478
- Upgrade to Hazelcast 5.3.6 #38410
- Upgrade to Infinispan 14.0.21.Final #38411
- Upgrade to JUnit Jupiter 5.10.1 #38412
- Upgrade to Kotlin Serialization 1.6.1 #38413
- Upgrade to Lettuce 6.3.0.RELEASE #38414
- Upgrade to Maven Javadoc Plugin 3.6.2 #38415
- Upgrade to Micrometer 1.12.0 #38305
- Upgrade to Micrometer Tracing 1.2.0 #38306
- Upgrade to Mockito 5.7.0 #38479
- Upgrade to MongoDB 4.11.1 #38416
- Upgrade to Netty 4.1.101.Final #38417
- Upgrade to Pooled JMS 3.1.5 #38418
- Upgrade to Pulsar Reactive 0.5.0 #38406
- Upgrade to Rabbit Stream Client 0.14.0 #38480
- Upgrade to Reactor Bom 2023.0.0 #38307
- Upgrade to Spring AMQP 3.1.0 #38308
- Upgrade to Spring Authorization Server 1.2.0 #38309
- Upgrade to Spring Batch 5.1.0 #38310
- Upgrade to Spring Data Bom 2023.1.0 #38311
- Upgrade to Spring Framework 6.1.1 #38451
- Upgrade to Spring GraphQL 1.2.4 #38313
- Upgrade to Spring HATEOAS 2.2.0 #38314
- Upgrade to Spring Integration 6.2.0 #38315
- Upgrade to Spring Kafka 3.1.0 #38316
- Upgrade to Spring LDAP 3.2.0 #38317
- Upgrade to Spring Pulsar 1.0.0 #38419
- Upgrade to Spring RESTDocs 3.0.1 #38420
- Upgrade to Spring Security 6.2.0 #38318
- Upgrade to Spring Session 3.2.0 #38319
- Upgrade to Spring WS 4.0.8 #38320
- Upgrade to Testcontainers 1.19.3 #38471
- Upgrade to Tomcat 10.1.16 #38421
- Upgrade to Versions Maven Plugin 2.16.2 #38422
- Upgrade to WebJars Locator Core 0.55 #38481
❤ Contributors
Thank you to all the contributors who worked on this release:
@EvaristeGalois11, @PENEKhun, @abdullah-jaffer, @audtjddld, @cachescrubber, @dreis2211, @eddumelendez, @izeye, @jonatan-ivanov, @pirgeo, @quaff, and @sdeleuze
v3.1.9
⚠ Noteworthy
- This release upgrades to Hibernate 6.2.22.Final. While it contains a number of valuable bug fixes, it does not work correctly in a native image. If you are using GraalVM, Hibernate should be temporarily downgraded to 6.2.20.Final using the
hibernate.version
property.
:lady_beetle: Bug Fixes
- Image building runs for a long time when a long image name is used and the tag contains an illegal character #39617
- Banner printing doesn't respect set charset #39601
- Gradle plugin allows the use of Gradle 7.4 but the documented and tested minimum is 7.5 #39508
- Property placeholders aren't resolved when configuration property binding creates a Map from a property value using a converter #39507
- Several gson properties, including spring.gson.disable-html-escaping, do not behave correctly when set to false #39504
- TestcontainersPropertySource assertion has typo #39440
- Building images fails with Docker 25.0 when custom buildpacks are configured #39323
- Metadata reading during configuration class parsing uses the default resource loader rather than the application's resource loader #39321
- Mockito's MockedStatic isn't closed in all cases #39271
- TracingProperties exposes package-private PropagationType from public methods #39265
- Webflux actuator endpoints respond with 500 when a parameter is missing #39236
📔 Documentation
- Add note regarding mixing of bundle-based and direct SSL configuration #39616
- Document default value for show-value configuration properties #39589
- Update the Debugging Documentation of the Spring Boot Maven Plugin #39392
- Endpoint documentation contains the typo 'Unuthorized' #39279
- Update Revved up by Develocity badge #39242
🔨 Dependency Upgrades
- Upgrade to Byte Buddy 1.14.12 #39659
- Upgrade to Dropwizard Metrics 4.2.25 #39553
- Upgrade to Groovy 4.0.18 #39554
- Upgrade to Hibernate 6.2.22.Final #39555
- Upgrade to Infinispan 14.0.24.Final #39556
- Upgrade to Jackson Bom 2.15.4 #39660
- Upgrade to Janino 3.1.12 #39557
- Upgrade to Jetty 11.0.20 #39559
- Upgrade to Jetty Reactive HTTPClient 3.0.12 #39558
- Upgrade to jOOQ 3.18.11 #39661
- Upgrade to JsonPath 2.9.0 #39328
- Upgrade to Micrometer 1.11.9 #39454
- Upgrade to Micrometer Tracing 1.1.10 #39455
- Upgrade to Neo4j Java Driver 5.17.0 #39551
- Upgrade to Netty 4.1.107.Final #39561
- Upgrade to Postgresql 42.6.1 #39662
- Upgrade to Reactor Bom 2022.0.16 #39456
- Upgrade to SLF4J 2.0.12 #39562
- Upgrade to Spring AMQP 3.0.11 #39457
- Upgrade to Spring Authorization Server 1.1.5 #39458
- Upgrade to Spring Batch 5.0.5 #39459
- Upgrade to Spring Data Bom 2023.0.9 #39460
- Upgrade to Spring Framework 6.0.17 #39461
- Upgrade to Spring GraphQL 1.2.5 #39462
- Upgrade to Spring Integration 6.1.6 #39463
- Upgrade to Spring Kafka 3.0.14 #39464
- Upgrade to Spring LDAP 3.1.4 #39465
- Upgrade to Spring Security 6.1.7 #39466
- Upgrade to Tomcat 10.1.19 #39663
- Upgrade to Undertow 2.3.12.Final #39664
❤ Contributors
Thank you to all the contributors who worked on this release:
@amritagg, @dependabot[bot], @erichaagdev, @gdmrw, @lukasdo, @smurf667, @snicoll, @totti-dev, @vj-atlassian, @vjh0107, and @wanger26
v3.1.8
:lady_beetle: Bug Fixes
- SslBundle implementations do not provide useful toString() results #39137
- Mixing PEM and JKS certificate material in server.ssl properties does not work #39105
- spring.rabbitmq.listener.stream.auto-startup property has no effect #39072
- Error mark in the log message for PatternParseException is in the wrong place #38944
- AutoConfigurationSorter does not always respect
@AutoConfigureOrder
(Ordered.LOWEST_PRECEDENCE) #38904 - Throwable from logging system initialization may result in the application silently failing to start #38885
- Actuator endpoints with no operations that use selectors are not accessible when mapped to / #35426
📔 Documentation
- Remove entry for OCI starter as it is no longer maintained #39164
- Fix link to Log4j2's JDK logging adapter documentation #39163
- Update links to Micrometer docs in metrics section of reference docs #39114
- Correct the documentation on injecting dependencies into FailureAnalyzer implementations #39099
- Improve "Sanitize Sensitive Values" section in reference documentation #39094
🔨 Dependency Upgrades
- Upgrade to Byte Buddy 1.14.11 #39174
- Upgrade to Groovy 4.0.17 #39175
- Upgrade to Hibernate 6.2.20.Final #39176
- Upgrade to jOOQ 3.18.9 #39177
- Upgrade to Micrometer 1.11.8 #38974
- Upgrade to Micrometer Tracing 1.1.9 #38975
- Upgrade to Neo4j Java Driver 5.15.0 #39135
- Upgrade to Netty 4.1.105.Final #39178
- Upgrade to R2DBC MySQL 1.0.6 #39179
- Upgrade to R2DBC Postgresql 1.0.4.RELEASE #39180
- Upgrade to R2DBC Proxy 1.1.4.RELEASE #39181
- Upgrade to Reactor Bom 2022.0.15 #38976
- Upgrade to SLF4J 2.0.11 #39182
- Upgrade to Spring Data Bom 2023.0.8 #38977
- Upgrade to Spring Framework 6.0.16 #39069
- Upgrade to Spring WS 4.0.10 #39129
- Upgrade to Tomcat 10.1.18 #39183
❤ Contributors
Thank you to all the contributors who worked on this release:
@BenchmarkingBuffalo, @FBibonne, @Wzy19930507, @amparab, @dependabot[bot], @dreis2211, and @tobias-lippert
v3.1.7
:lady_beetle: Bug Fixes
- HibernateJpaAutoConfiguration should be applied before DataSourceTransactionManagerAutoConfiguration #38861
- Zip file closed exceptions can be thrown due to StaticResourceJars closing jars from cached connections #38766
- Gradle task "bootJar" fails with "Failed to get permissions" when using Gradle 8.6-milestone-1 #38718
- Child context created with SpringApplicationBuilder runs parents runners #38647
- System SSL certificates are not used by the Apache HTTP Client in a RestTemplate built with RestTemplateBuilder #38591
- It is unclear that Docker Compose services have not been started as one or more is already running #38398
📔 Documentation
- Fix typo #38823
- Document prerequisites for Docker Compose support #38760
- Update Dynatrace documentation links #38706
- Fix Observation Filter docs #38570
🔨 Dependency Upgrades
- Upgrade to AspectJ 1.9.21 #38779
- Upgrade to Dropwizard Metrics 4.2.23 #38780
- Upgrade to Groovy 4.0.16 #38781
- Upgrade to Hibernate 6.2.17.Final #38887
- Upgrade to HttpClient5 5.2.3 #38783
- Upgrade to HttpCore5 5.2.4 #38784
- Upgrade to Janino 3.1.11 #38785
- Upgrade to Jaybird 5.0.3.java11 #38786
- Upgrade to Jersey 3.1.5 #38787
- Upgrade to Jetty 11.0.19 #38889
- Upgrade to Jetty Reactive HTTPClient 3.0.11 #38888
- Upgrade to jOOQ 3.18.8 #38890
- Upgrade to Logback 1.4.14 #38788
- Upgrade to Micrometer 1.11.7 #38675
- Upgrade to Micrometer Tracing 1.1.8 #38676
- Upgrade to Netty 4.1.104.Final #38891
- Upgrade to R2DBC Postgresql 1.0.3.RELEASE #38790
- Upgrade to R2DBC Proxy 1.1.3.RELEASE #38791
- Upgrade to Reactor Bom 2022.0.14 #38677
- Upgrade to Spring Authorization Server 1.1.4 #38678
- Upgrade to Spring Data Bom 2023.0.7 #38679
- Upgrade to Spring Framework 6.0.15 #38680
- Upgrade to Spring LDAP 3.1.3 #38681
- Upgrade to Spring Retry 2.0.5 #38834
- Upgrade to Spring Security 6.1.6 #38682
- Upgrade to Spring Session 3.1.4 #38683
- Upgrade to Spring WS 4.0.9 #38892
- Upgrade to Tomcat 10.1.17 #38792
- Upgrade to UnboundID LDAPSDK 6.0.11 #38793
❤ Contributors
Thank you to all the contributors who worked on this release:
@aleksandrserbin, @cachescrubber, @dependabot[bot], @meiyese, @pirgeo, @quaff, @shin-mallang, and @tomfrenken
v3.1.6
⭐ New Features
- Upgrade default CNB builders to Paketo Jammy #38485
:lady_beetle: Bug Fixes
- Annotation based ConditionalOnBean checks can cause early initialization of FactoryBeans #38473
- App fails to start with a NoSuchMethodError when using Flyway 10.0.0 #38267
- Resolution of productionRuntimeClasspath configuration may select the wrong variant and contain a dependency's source jar #38209
- App that depends on Tomcat and on Jetty's websocket-server module fails to start with IllegalStateException: WebSocketComponents has not been created #38181
- spring.webflux.multipart.max-disk-usage-per-part behaves incorrectly for values where the number of bytes overflows an int #38151
- Mail health indicator fails when host is not set in properties #38043
- Docker Compose integration does not work with 2.23.0 due to 'Cannot invoke "org.springframework.boot.docker.compose.core.DockerCliInspectResponse.hostConfig()" because "inspectResponse" is null' #37982
- Docker JSON parsing fails on certain locales #37648
- Testcontainers support for various containers does not work in a native-image #36606
📔 Documentation
- Document supported SQL comment prefixes #38495
- Update access log pattern documentation to align with changes in Tomcat 10 #38424
- Add a Restarting a stopped or failed Job section to the batch howto #38340
- Fix link to Elasticsearch health indicator #38333
- Update Spring Framework documentation links #38288
- Code sample in "Developing Your First Spring Boot Application" does not work #38271
- Improve --help and documentation for "encodepassword -a/--algorithm" in the Spring Boot CLI #38248
- Add how-to documentation for test-only database migrations with Flyway/Liquibase #38230
- Document that PEM content can be used directly in application.yaml #38210
- Document that TomcatConnectorCustomizers are not applied to additional connectors #38197
- Document that application.* banner variables require a packaged jar or the use of Boot's launcher #38148
- Improve systemd configuration documentation #38116
- Clarify that
@AutoConfigureWebTestClient
binds WebTestClient to mock infrastructure #38113 - MyErrorWebExceptionHandler example in documentation isn't working #38110
- Document that properties that change an application's beans are fixed at build time #38107
- Add section on AspectJ support #38096
- Document that SerializationFeature.WRITE_DURATIONS_AS_TIMESTAMPS is disabled by default #38089
- Document that testing with ApplicationContextRunner in a native image is not supported #38081
- Spring Boot Actuator documentation misses management.endpoint.env.show-values property #38079
- Document how to downgrade dependencies to use embedded Jetty 11 #38076
- Update "Use Another Web Server" how-to to reflect Servlet 5.0 baseline #38074
- Update "Running Behind a Front-end Proxy Server" to include reactive and ForwardedHeaderTransformer #38071
- Document how to customize the basePackages that auto-configurations consider (for example Spring Data Repositories) #38053
- Reference documentation MyContainersConfiguration sample is missing
@ServiceConnection
#38046 - Clarifying documentation on including a top-level
@TestConfiguration
class in a test #38040 - Document ConfigurationPropertyCaching #38037
- Document server.servlet.encoding.* properties and server.servlet.encoding.mapping in particular #38034
- Document configuration for building images with Colima #38031
- Add a section on customizing embedded reactive servers #38027
- Improve documentation of
classpath.idx
file and its generation by the Maven and Gradle plugins #38024 - Document additional user configuration that's required after setting
spring.hateoas.use-hal-as-default-json-media-type
tofalse
#38021 - Clarify that MVC components provided through WebMvcRegistrations are subject to subsequent processing and configuration by MVC #38018
- Add Embedded MongoDB to community starters #38015
- Document that spring-boot-starter-parent sets maven.compiler.release and how to unset it if needed #37993
- Improve health group membership validation error message to provide hint for property to disable validation #36489
- Explain how Docker Compose support works when services are already running #36483
- Outdated spring-boot-maven-plugin build-info documentation causing project builds to fail #36114
- When using Testcontainers at development time with
@ServiceConnection
on a@Bean
method, describe when to use the name attribute and why #36071 - Make distinction between Testcontainers for integration tests and development more clear in documentation #35856
- Clarify documentation on importing Testcontainer declarations and using
@ServiceConnection
or@DynamicPropertySource
#35629 - Improve documentation regarding tracing in tests #33975
- Document the accepted inputs when configuring tags on spring-boot:build-image and bootBuildImage #33088
- Document how to use cloudfoundry specific actuators with a custom base path for webflux applications #24991
🔨 Dependency Upgrades
- Upgrade to ActiveMQ 5.18.3 #38452
- Upgrade to AspectJ 1.9.20.1 #38357
- Upgrade to Byte Buddy 1.14.10 #38453
- Upgrade to DB2 JDBC 11.5.9.0 #38454
- Upgrade to Dependency Management Plugin 1.1.4 #38345
- Upgrade to Dropwizard Metrics 4.2.22 #38455
- Upgrade to Glassfish JAXB 4.0.4 #38456
- Upgrade to Infinispan 14.0.21.Final #38457
- Upgrade to Jakarta Json 2.1.3 #38458
- Upgrade to Jakarta XML SOAP 3.0.1 #38459
- Upgrade to Jakarta XML WS 4.0.1 #38460
- Upgrade to Jetty 11.0.18 #38462
- Upgrade to Jetty Reactive HTTPClient 3.0.10 #38461
- Upgrade to Lettuce 6.2.7.RELEASE #38463
- Upgrade to Micrometer 1.11.6 #38297
- Upgrade to Micrometer Tracing 1.1.7 #38298
- Upgrade to Native Build Tools Plugin 0.9.28 #38464
- Upgrade to Netty 4.1.101.Final #38465
- Upgrade to Pooled JMS 3.1.5 #38466
- Upgrade to Reactor Bom 2022.0.13 #38299
- Upgrade to SAAJ Impl 3.0.3 #38467
- Upgrade to Spring Batch 5.0.4 #38493
- Upgrade to Spring Data Bom 2023.0.6 #38300
- Upgrade to Spring Framework 6.0.14 #38301
- Upgrade to Spring GraphQL 1.2.4 #38302
- Upgrade to Spring HATEOAS 2.1.3 #38375
- Upgrade to Spring Integration 6.1.5 #38303
- Upgrade to Spring Kafka 3.0.13 #38370
- Upgrade to Spring RESTDocs 3.0.1 #38468
- Upgrade to Spring WS 4.0.8 #38304
- Upgrade to Tomcat 10.1.16 #38469
❤ Contributors
Thank you to all the contributors who worked on this release:
@GVictorG7, @PENEKhun, @audtjddld, @cachescrubber, @dreis2211, @eddumelendez, @izeye, @jonatan-ivanov, and @quaff
v3.1.5
⚠ Noteworthy Changes
- The behavior of
spring.jms.listener.concurrency
has been corrected to match the documentation (#37180). If you were settingspring.jms.listener.concurrency
without also settingspring.jms.listener.max-concurrency
, please review your configuration when upgrading.
:lady_beetle: Bug Fixes
- Constructor binding with a custom collection type does not work #37941
-
@Order
does not work on (CommandLine|Application)Runner@Bean
methods #37938 -
@ComponentScan
on a test class is processed when creating a test context but is not included in the context's cache key #37924 - Restarter creates memory leak in tests #37920
- AOT processing fails when a
@WebServlet
found by scanning is annotated with@MultipartConfig
#37883 - Gradle plugin uses to-be-deprecated API for getting and setting file permissions #37881
- Task executor metrics are not registered when using lazy initialization #37838
- Gradle AOT processing tasks do not use project's Java toolchain #37826
-
@ServiceConnection
is not found when used in an interface implemented by a test class #37671 - Image building can fail when using GraalVM compilation and a remote Docker daemon #37665
- NPE from Jetty's WebSocketUpgradeFilter when testing with
@SpringBootTest
,@AutoConfigureMockMvc
, and MockMvc #37663 -
@WebListener
does not work in a native image without additional reflection hints #37635 - AspectJ transaction management with compile-time weaving does not work with spring.main.lazy-initialization=true #37632
- IPv6 IP addresses cannot be used with RabbitMQ #37619
- Unwanted Logback status messages are sometimes logged during startup #37600
- Managed types for Neo4j are not used in Neo4j Data auto configuration #37594
- fileMode and dirMode are not applied to all entries in an archive produced by BootJar #37588
- Application fails to start when an optional config import cannot be resolved #37570
- Contrary to the documentation, setting spring.jms.listener.concurrency alone configures the maximum concurrency #37553
- Dependency management for kafka-server-common with a test classifier is missing #37542
- RepackageMojo doesn't support 1 digit numerical values for project.build.outputTimestamp #37535
📔 Documentation
- Document that 'spring.docker.compose.file' can be used to share Docker Compose configuration between applications #37886
- Remove link to LiveReload website due to timeout #37691
- Refer to ActiveMQ as ActiveMQ "Classic" #37615
- Removal of spring.webflux.multipart.streaming is not documented #37609
- Default value of spring.jmx.registration-policy is not documented #37596
- Update documentation to align with Mockito 5 using the inline mock maker by default #37561
- Add Javadoc since for AbstractAotMojo.getSession() #37547
- Document support for Java 21 #37532
- Use more idiomatic Kotlin in example for "Map Health Indicators to Micrometer Metrics" #37510
🔨 Dependency Upgrades
- Upgrade to Byte Buddy 1.14.9 #37853
- Upgrade to Couchbase Client 3.4.11 #37759
- Upgrade to Dropwizard Metrics 4.2.21 #37897
- Upgrade to Hibernate 6.2.13.Final #37854
- Upgrade to HttpCore5 5.2.3 #37762
- Upgrade to Infinispan 14.0.19.Final #37855
- Upgrade to Jackson Bom 2.15.3 #37898
- Upgrade to Jetty 11.0.17 #37856
- Upgrade to Jetty Reactive HTTPClient 3.0.9 #37932
- Upgrade to jOOQ 3.18.7 #37857
- Upgrade to Micrometer 1.11.5 #37693
- Upgrade to Micrometer Tracing 1.1.6 #37694
- Upgrade to Neo4j Java Driver 5.13.0 #37793
- Upgrade to Netty 4.1.100.Final #37858
- Upgrade to Pooled JMS 3.1.4 #37764
- Upgrade to R2DBC MySQL 1.0.5 #37859
- Upgrade to Reactor Bom 2022.0.12 #37695
- Upgrade to RxJava3 3.1.8 #37766
- Upgrade to Spring AMQP 3.0.10 #37696
- Upgrade to Spring Authorization Server 1.1.3 #37697
- Upgrade to Spring Data Bom 2023.0.5 #37698
- Upgrade to Spring Framework 6.0.13 #37816
- Upgrade to Spring Integration 6.1.4 #37914
- Upgrade to Spring Kafka 3.0.12 #37797
- Upgrade to Spring LDAP 3.1.2 #37699
- Upgrade to Spring Retry 2.0.4 #37700
- Upgrade to Spring Security 6.1.5 #37701
- Upgrade to Spring Session 3.1.3 #37702
- Upgrade to Tomcat 10.1.15 #37902
- Upgrade to UnboundID LDAPSDK 6.0.10 #37767
- Upgrade to Undertow 2.3.10.Final #37933
❤ Contributors
Thank you to all the contributors who worked on this release:
@JinseongHwang, @bottlerocketjonny, @dependabot[bot], @erichaagdev, @esperar, @izeye, @jbertram, @jonasfugedi, @michael-simons, @nielsbasjes, @onobc, @sushant1987, @ttddyy, and @vpavic
v3.1.4
⭐ New Features
- Add TWENTY_ONE to JavaVersion enum #37364
:lady_beetle: Bug Fixes
- When SLF4J and Logback are initialized on multiple threads in parallel, startup may fail due to SubstituteLoggerFactory being considered to be a competing LoggerFactory implementation #37484
- Saml2RelyingPartyAutoConfiguration ignores
sign-request
whenmetadata-url
is used #37482 - Leaking file descriptor / socket within DomainSocket tooling #37460
- Invalid Accept header produces HTTP 500 in WelcomePageHandlerMapping #37457
- PrivateKeyParser doesn't support ed448, XDH and RSA-PSS keys #37422
- "languageVersion is final and cannot be changed" when using Gradle 8.3 and configuring the Java toolchain's language version #37380
- AOT processing fails when a
@ConfigurationProperties-annotated
record has multiple constructors #37336 - Spring Boot dependency management not working for ehcache when using Gradle and the dependency management plugin #37270
- SslStoreBundle implementations aren't immutable #37222
- Parsing OCI image names that are invalid due to the use of upper case letters is very slow #37183
- Producing and consuming different tracing propagation formats doesn't work #37178
- Using https with elliptic curves other than secp384r1 fails #37169
- In 3.0.x and later, Spring Security cannot be used to secure a WebSocket upgrade request when using Jetty #37158
- Local baggage is propagated when using Brave and W3C #37156
- ServiceConnectionContextCustomizer can trigger docker usage during AOT processing #37097
- java.lang.OutOfMemoryError: Metaspace when repeatedly deploying and undeploying a Spring Boot web application multiple times in Tomcat #37096
- Property 'logging.threshold.console' not working #36741
📔 Documentation
- Document that PKCS8 PEM files should be used whenever possible #37443
- Add reference to Oracle Spring Boot Starters #37411
- Correct the description of spring.artemis.broker-url #37309
- Add default value metadata for management.metrics.export.signalfx.published-histogram-type #37253
- Polish javadoc #37143
🔨 Dependency Upgrades
- Upgrade to Byte Buddy 1.14.8 #37419
- Upgrade to Couchbase Client 3.4.10 #37297
- Upgrade to Groovy 4.0.15 #37386
- Upgrade to Hibernate 6.2.9.Final #37465
- Upgrade to Infinispan 14.0.17.Final #37299
- Upgrade to Jakarta XML Bind 4.0.1 #37387
- Upgrade to Jetty 11.0.16 #37300
- Upgrade to Lombok 1.18.30 #37488
- Upgrade to Micrometer 1.11.4 #37261
- Upgrade to Micrometer Tracing 1.1.5 #37262
- Upgrade to Native Build Tools Plugin 0.9.27 #37420
- Upgrade to Neo4j Java Driver 5.12.0 #37353
- Upgrade to Pooled JMS 3.1.3 #37421
- Upgrade to R2DBC MySQL 1.0.3 #37466
- Upgrade to Reactor Bom 2022.0.11 #37263
- Upgrade to REST Assured 5.3.2 #37303
- Upgrade to SLF4J 2.0.9 #37304
- Upgrade to Spring AMQP 3.0.9 #37264
- Upgrade to Spring Data Bom 2023.0.4 #37350
- Upgrade to Spring Framework 6.0.12 #37265
- Upgrade to Spring GraphQL 1.2.3 #37266
- Upgrade to Spring Integration 6.1.3 #37267
- Upgrade to Spring Kafka 3.0.11 #37305
- Upgrade to Spring Retry 2.0.3 #37280
- Upgrade to Spring Security 6.1.4 #37424
- Upgrade to Spring WS 4.0.6 #37425
- Upgrade to Tomcat 10.1.13 #37306
❤ Contributors
Thank you to all the contributors who worked on this release:
@Eng-Fouad, @dependabot[bot], @izeye, @markxnelson, @mdeinum, and @quaff
v3.1.3
:lady_beetle: Bug Fixes
- Logging config URLs with query parameters are not detected as XML #37062
- Changed environment variable name APP_PASSWORD to APP_USER_PASSWORD i? #37044
- BindableRuntimeHintsRegistrar does not generate hints for all nested types of a ConfigurationProperties type #37022
- server.max-http-request-header-size doesn't affect Netty server with http2 enabled #37015
- AbstractAotMojo should not add source or target if they are null #36972
- Exception message in ProcessTestAotMojo has a typo #36966
- Docker Compose start fails with "unknown flag: --no-color" #36908
- Script-based database initialization fails with an unhelpful error message when configured with a resource that points to a directory #36786
- Artemis ConnectionFactory is not configured when CachingConnectionFactory is missing and enabled properties are false #36772
- DatabaseDriver swallows real exception #36759
- Defining a custom ElasticsearchTransport causes the auto-configured JsonpMapper to back off #36700
- Auto-configuration's session repository customization may override that of SessionRepositoryCustomizer beans #36696
- RabbitMQ smoke test is missing a test #36612
- Tomcat warns about a missing +/- prefix when enabling multiple protocols through server.ssl.enabled-protocols #36584
- management.metrics.export.stackdriver properties are incomplete #36559
- management.wavefront.metrics.export properties are incomplete #36556
- management.metrics.export.signalfx properties are incomplete #36553
- JobLauncherApplicationRunner returns a success exit code even when no jobs have been run #36532
- Remove use of jakarta.annotation.PostConstruct #36529
- management.metrics.export.atlas properties are incomplete #36526
- Descriptions of started and ready time metrics contain time units but the unit may change when the metrics are exported #36516
- Unlike other Spring Boot goals, process-aot and process-test-aot run on Maven reactor projects #36494
-
@ServiceConnection
on a@Bean
method does not work in sliced tests #36037
📔 Documentation
- Fix broken links in the documentation #37071
- Maven plugin docs contain invalid parameter for image building #37051
- Align javadoc of AbstractFilterRegistrationBean#setDispatcherTypes #36969
- Improve documentation of spring.cache.type=none #36962
- Clarify that spring.security.filter properties only apply to servlet-based web apps #36865
- Improve documentation to describe how
@EntityScan
and@Enable?Repositories
can be used to tune scanning #36862 - Describe quirks of JUL and Log4j2 in the javadoc of OutputCaptureExtension #36859
- LogbackLoggingSystem does not report suppressed exception details #36856
- Clarify table that shows how logging properties are transferred to system properties #36853
- Review Google AppEngine documentation #36850
- Rework Working with NoSQL Technologies to clarify which stores are supported by Spring Data #36813
- Clarify how nested directories are treated for configtree with wildcards #36810
- Clarify the effect of using
@EnableWebMvc
#36797 - Document defaults for spring.mvc.format.* and spring.webflux.format.* properties #36793
- Documentation describes how to opt in to using the path pattern parser but it's now the default #36789
- Document that scripts for database initialization are optional by default and how they can be made mandatory #36783
- Document
@DataR2dbcTest
support #36756 -
@since
is missing from javadoc of values added to JavaVersion since its introduction #36735 - Update Paketo builder references in documentation #36690
- Document how to use Docker Compose integration when running tests #36636
- Update RestTemplateBuilder#defaultHeader javadoc to reference correct client-side HTTP request class #36630
- Document that server.forward-headers-strategy property defaults to native when running on Kubernetes #36581
- Documentation of spring.data.redis.url incorrectly states that it does not override spring.data.redis.user #36492
🔨 Dependency Upgrades
- Upgrade to AspectJ 1.9.20 #37003
- Upgrade to Byte Buddy 1.14.6 #36994
- Upgrade to Caffeine 3.1.8 #36926
- Upgrade to Couchbase Client 3.4.8 #36979
- Upgrade to Dependency Management Plugin 1.1.3 #36927
- Upgrade to Groovy 4.0.14 #37057
- Upgrade to Hibernate 6.2.7.Final #36928
- Upgrade to Infinispan 14.0.14.Final #36995
- Upgrade to Jersey 3.1.3 #36930
- Upgrade to jOOQ 3.18.6 #36931
- Upgrade to Lettuce 6.2.6.RELEASE #37004
- Upgrade to Logback 1.4.11 #36932
- Upgrade to Micrometer 1.11.3 #36839
- Upgrade to Micrometer Tracing 1.1.4 #36840
- Upgrade to Native Build Tools Plugin 0.9.24 #36933
- Upgrade to Neo4j Java Driver 5.11.0 #36980
- Upgrade to Netty 4.1.97.Final #37088
- Upgrade to Pooled JMS 3.1.1 #36935
- Upgrade to R2DBC Pool 1.0.1.RELEASE #36936
- Upgrade to R2DBC Proxy 1.1.2.RELEASE #36672
- Upgrade to Reactor Bom 2022.0.10 #36841
- Upgrade to RxJava3 3.1.7 #37089
- Upgrade to Spring AMQP 3.0.8 #36842
- Upgrade to Spring Authorization Server 1.1.2 #36843
- Upgrade to Spring Batch 5.0.3 #36844
- Upgrade to Spring Data Bom 2023.0.3 #36845
- Upgrade to Spring Kafka 3.0.10 #36846
- Upgrade to Spring LDAP 3.1.1 #36847
- Upgrade to Spring Security 6.1.3 #36848
- Upgrade to Spring Session 3.1.2 #36849
- Upgrade to Thymeleaf 3.1.2.RELEASE #36937
- Upgrade to Thymeleaf Extras SpringSecurity 3.1.2.RELEASE #36938
- Upgrade to Tomcat 10.1.12 #36978
- Upgrade to Undertow 2.3.8.Final #37031
❤ Contributors
Thank you to all the contributors who worked on this release:
@MahatmaFatalError, @NersesAM, @OnSuorce, @chicobento, @dependabot[bot], @dreis2211, @eddumelendez, @elevne, @fzyzcjy, @itsAkshayDubey, @izeye, @joesteel2010, @jongwooo, @ls-urs-keller, @michael-simons, @msobeck, @normandra, @omaryaya, @quaff, @rob-valor, @spa-abaudat, and @vpavic
v3.1.2
:lady_beetle: Bug Fixes
- Native reflection hints missing for nested properties declared in a superclass #36448
- Connecting to Mongo fails with an UnknownHostException when spring.data.mongodb.additional-hosts is configured #36441
- Auto-configured ExemplarSampler bean only backs off when a DefaultExemplarSampler is defined #36429
- OTel Span is missing required attributes #36423
- Auto-configured JacksonJsonpMapper is conditional on an ObjectMapper bean but does not use such a bean #36409
- Application fails to start when
@Import
ing a@ConfigurationProperties
class that is eligible for constructor binding #36359 - Only one health group can be exposed using management.endpoint.health.group.xxx.additional-path=server:/newpath when using Jersey #36276
- Mongo auto-configuration fails when username or password properties contains a colon (
:
) or at-sign (@
) #36261 - MockitoPostProcessor doesn't check FactoryBean.OBJECT_TYPE_ATTRIBUTE correctly #36230
- ImportsContextCustomizer does not support AliasFor #36209
- Saml2RelyingPartyRegistrationConfiguration can choose the wrong RelyingPartyRegistration.Builder when using a metadata file with multiple providers #36163
- ConfigurationPropertiesReportEndpoint does not display primitive wrapper types #36160
- ConfigurationPropertyName#equals is not symmetric when element has trailing dashes #36145
- ScheduledTasksEndpoint throws NPE if PeriodicTrigger is used with custom SchedulingConfigurer #36129
- Java system properties can not be applied to RestTemplate HttpClient connection in some cases #36123
- Excluding auto-configuration class that relates to a TemplateAvailabilityProvider causes property binding to fail for native images #36121
- When using Flyway 9.20.0, auto-configuration fails with a NoSuchMethodError due to the removal of Oracle-related methods from FluentConfiguration #36099
- Dependency management for Selenium 4.8.x is incorrect #36077
- Slice test annotations do not include SslAutoConfiguration #36038
- Methods in KafkaConnectionDetails are named inconsistently #35733
📔 Documentation
- Documented Servlet container system requirements are out of date #36355
- Update the javadoc of ClientHttpRequestFactories to describe the ClientHttpRequestFactory implementations that it supports #36268
- Polish formatting in "Running Spring Batch Jobs on Startup" #36233
- Improve Kubernetes liveness and readiness probes customization documentation #36219
- Document auto-configuration of underlying HTTP client when using WebClient or RestTemplate #36215
- Polish Kafka Properties Docs #36142
- Fix typo in the Using R2DBC section of the reference documentation #36139
- Document observability auto-configuration for HTTP clients #36131
- Improve documentation for baggage propagation into MDC #36112
- Javadoc of RestTemplateBuilder.requestFactory(Function) links to deprecated ClientHttpRequestFactorySupplier #36097
- Javadoc of ConstructorBound and ConfigurationProperties links to deprecated ConstructorBinding annotation #36095
- Add Javadoc since to ImageReference.inTaglessForm() #36054
- Fix typo in docker compose service connections note #36016
🔨 Dependency Upgrades
- Upgrade to ActiveMQ 5.18.2 #36332
- Upgrade to Dependency Management Plugin 1.1.2 #36435
- Upgrade to Groovy 4.0.13 #36333
- Upgrade to Hibernate 6.2.6.Final #36334
- Upgrade to Hibernate Validator 8.0.1.Final #36335
- Upgrade to Infinispan 14.0.12.Final #36336
- Upgrade to Jakarta WebSocket 2.1.1 #36337
- Upgrade to Janino 3.1.10 #36338
- Upgrade to JBoss Logging 3.5.3.Final #36339
- Upgrade to jOOQ 3.18.5 #36340
- Upgrade to Lettuce 6.2.5.RELEASE #36436
- Upgrade to Micrometer 1.11.2 #36183
- Upgrade to Micrometer Tracing 1.1.3 #36296
- Upgrade to R2DBC MSSQL 1.0.2.RELEASE #36467
- Upgrade to R2DBC Postgresql 1.0.2.RELEASE #36469
- Upgrade to Rabbit AMQP Client 5.17.1 #36341
- Upgrade to Reactor Bom 2022.0.9 #36297
- Upgrade to Spring AMQP 3.0.6 #36403
- Upgrade to Spring Data Bom 2023.0.2 #36184
- Upgrade to Spring Framework 6.0.11 #36185
- Upgrade to Spring GraphQL 1.2.2 #36186
- Upgrade to Spring HATEOAS 2.1.2 #36454
- Upgrade to Spring Integration 6.1.2 #36404
- Upgrade to Spring Kafka 3.0.9 #36187
- Upgrade to Spring Security 6.1.2 #36298
- Upgrade to Tomcat 10.1.11 #36342
❤ Contributors
Thank you to all the contributors who worked on this release:
@Pengfei-Lu, @ThomazPassarelli, @bbulgarelli, @bedla, @dependabot[bot], @dkswnkk, @dreis2211, @eddumelendez, @eydunn, @garyrussell, @izeye, @johnnywiller, @jonatan-ivanov, @jstansel, @lasselindqvist, @lmartelli, and @quaff
v3.1.1
:lady_beetle: Bug Fixes
- Websockets don't work when using WebFlux with Jetty #36009
- When using SimpleClientHttpRequestFactory, non-GET requests sent with RestTemplate have the wrong HttpMethod when SSLBundles are used #36007
- Spring Boot properties migrator can create circular references #35934
- Actuator loggers list endpoint throws exception on Log4J2 loggers with custom log levels #35922
- SSL configuration overwrites other WebClient customization #35914
- Validation is not applied for ConfigurationProperties that implement Validator and use
@ConstructorBinding
#35913 - Tracing only supports a single context propagation type #35907
- SpringApplication.from(?).with(?) adds its sources to every context that's created #35873
- Devtools does not support package-private main classes #35865
- DevTools prevent startup in native image with ClassNotFoundException #35853
- Password is not used from spring.data.redis.url property without username #35850
- Docker Compose connection details for MongoDB is missing the authSource option when authentication is configured #35777
- Processing of
@EndpointCloudFoundryExtension
logs a warnings as it does not use@AliasFor
on its override of the endpoint attribute #35766 - Java 20 is supported but there's no value for it in the JavaVersion enum #35764
- SpringApplication.from(...) is hard to use with Kotlin #35756
- Spring Boot 3.1.0 incompatible with Flyway 9.0 #35721
- The error message is unhelpful when spring.rabbitmq.host is configured with a comma-separated value #35684
- Docker Compose support produces non-working native image #35676
- Metadata for spring.ssl properties are missing #35667
- The new support for testcontainers in Spring Boot 3.1.0 does not work with native tests #35663
- Constructor binding of
@ConfigurationProperties
to a lateinit property fails with kotlin.UninitializedPropertyAccessException #35654 - PEM SSL bundles do not support encrypted PKCS8 private keys #35652
- When a configuration properties bean is defined using a
@Bean
method, BindableRuntimeHintsRegistrar may incorrectly register hints for constructor binding #35647 - Enabling Spring Data Elasticsearch auditing causes application startup failure #35610
- ZipkinAutoConfiguration always need a ZipkinProperties bean in SB 3.1 #35592
- MongoDB authentication to different DB than used no longer works in spring boot 3.1 #35567
- Auto-configuration for Spring Data MongoDB ignores spring.data.mongodb.database when spring.data.mongodb.uri has been set #35566
📔 Documentation
- Remove
@EnableBatchProcessing
mentions in reference documentation for sliced tests and user configuration #36004 - Update description of spring-boot-starter-data-rest to clarify that it uses Spring MVC #35911
- Add
@DynamicPropertySource
to documented list of property source ordering #35909 - Fix typo in Docker Compose documentation #35818
- Move property notes up to external configuration section #35769
- Improve OAuth2 Client section of docs #35767
- Description of spring.data.mongodb.uri property incorrectly states that it overrides spring.data.mongodb.database #35690
- Fix error in SSL bundle documentation #35665
- Document how to add parameters to the JDBC URL created for a Docker Compose managed container #35636
- Documenting audience support in Oauth2 resource server #35634
- Description of
build-image
andbuild-image-no-fork
Maven plugin goals is inconsistent #35618 - Some spring.docker.compose properties do not document their default values #35598
- Description of never value for spring.docker.compose.readiness.wait is incorrect #35597
- ServiceConnection Typo In
name
Documentation #35594 - Declare
@Testcontainers
before@SpringBootTest
in documentation examples to ensure that Testcontainers is started before the application tries to use its containers #35572
🔨 Dependency Upgrades
- Upgrade to Byte Buddy 1.14.5 #35826
- Upgrade to Couchbase Client 3.4.7 #35883
- Upgrade to Dropwizard Metrics 4.2.19 #35827
- Upgrade to Git Commit ID Maven Plugin 5.0.1 #35828
- Upgrade to Glassfish JAXB 4.0.3 #35829
- Upgrade to Hazelcast 5.2.4 #35884
- Upgrade to Hibernate 6.2.5.Final #35994
- Upgrade to HSQLDB 2.7.2 #35831
- Upgrade to HttpCore5 5.2.2 #35995
- Upgrade to Infinispan 14.0.11.Final #35996
- Upgrade to Jackson Bom 2.15.2 #35833
- Upgrade to Jakarta Json 2.1.2 #35834
- Upgrade to Jakarta Mail 2.1.2 #35835
- Upgrade to Jaybird 5.0.2.java11 #35836
- Upgrade to JBoss Logging 3.5.1.Final #35837
- Upgrade to Jersey 3.1.2 #35838
- Upgrade to Json-smart 2.4.11 #35839
- Upgrade to Kafka 3.4.1 #35840
- Upgrade to Kotlin 1.8.22 #35781
- Upgrade to Logback 1.4.8 #35885
- Upgrade to Lombok 1.18.28 #35841
- Upgrade to Micrometer 1.11.1 #35745
- Upgrade to Micrometer Tracing 1.1.2 #35746
- Upgrade to Native Build Tools Plugin 0.9.23 #35997
- Upgrade to Neo4j Java Driver 5.9.0 #35868
- Upgrade to Netty 4.1.94.Final #35998
- Upgrade to R2DBC MSSQL 1.0.1.RELEASE #35843
- Upgrade to R2DBC MySQL 1.0.2 #35844
- Upgrade to R2DBC Proxy 1.1.1.RELEASE #35845
- Upgrade to Reactor Bom 2022.0.8 #35747
- Upgrade to REST Assured 5.3.1 #35999
- Upgrade to Spring AMQP 3.0.5 #35748
- Upgrade to Spring Authorization Server 1.1.1 #35749
- Upgrade to Spring Data Bom 2023.0.1 #35750
- Upgrade to Spring Framework 6.0.10 #35751
- Upgrade to Spring GraphQL 1.2.1 #35752
- Upgrade to Spring Integration 6.1.1 #35859
- Upgrade to Spring Kafka 3.0.8 #36000
- Upgrade to Spring Retry 2.0.2 #35753
- Upgrade to Spring Security 6.1.1 #35754
- Upgrade to Spring Session 3.1.1 #35755
- Upgrade to Spring WS 4.0.5 #36017
- Upgrade to SQLite JDBC 3.41.2.2 #35846
- Upgrade to Testcontainers 1.18.3 #35847
- Upgrade to Tomcat 10.1.10 #35886
- Upgrade to UnboundID LDAPSDK 6.0.9 #35848
- Upgrade to Undertow 2.3.7.Final #35849
❤ Contributors
Thank you to all the contributors who worked on this release:
@KitBolourchi, @ThomasKasene, @bbulgarelli, @bikash30851, @dreis2211, @eddumelendez, @fcappi, @izeye, @quaff, @rafaelrc7, @sdeleuze, @sjohnr, @sungchanjo, and @twobiers
v3.1.0
⭐ New Features
- Result from SpringApplication.from(...) may need to provide access to more details in the future #35451
- Ensure that Flyway uses SLF4J by default and provide a configuration property to override the setting #35158
:lady_beetle: Bug Fixes
- Welcome page may return a 404 when an acceptable response cannot be produced #35554
- Docker compose dependency causes failures during Maven AOT processing #35548
- Defining a zipkin2.reporter.Reporter results in two reporter beans as the auto-configured AsyncReporter does not back off #35546
- Docker compose service readiness checks cannot be bypassed #35545
- Many spring.security.oauth2.authorizationserver properties do not have default values #35460
- Default for spring.flway.execute-in-transaction is not aligned with Flyway's default #35447
- developmentOnly dependencies are included in the AOT processing classpath #35444
- Restarts are slow when using spring-boot-devtools and spring-boot-docker-compose #35435
- Hibernate 6.2 doesn't work in native-image: No available JtaPlatform candidates #35425
- In a native image, configuration property binding fails when the target has package-private getters and setters #35400
- Invalid reference format error when tagging images using Podman #35396
- App startup fails with confusing message when a Docker Compose file is not found #35383
- WebClient auto-configuration tries to use HttpComponentsClientHttpConnector when all required classes are not present #35381
- MinIdle and MaxValidationTime properties missing for R2DBC pools #35379
- spring.data.mongodb.replica-set-name is not applied correctly #35370
- Anonymous requests to the token endpoint are redirected to the Spring Security login page instead of receiving a 401 response #35368
- Application yaml files cannot be loaded when they exceed 3mb #35367
- Can't use PEM encoded PKCS#8 EC keys with server.ssl.certificate-private-key #35365
- DisableObservabilityContextCustomizer can't be switched off through properties #35360
-
FactoryBean.getObject
for non-singleton executed when resetting mocks #35330 - Tracking of artifact dependency coordinates by BootJar and BootWar may break artifact transforms in sub-projects #35328
📔 Documentation
- Javadoc since version for ImageReference is wrong #35459
- Polish formatting of permitAll() endpoint security Kotlin example #35457
- Improve Kotlin Testcontainers samples #35446
- Improve documentation for including Docker Compose support #35384
- Wrong anchors in Maven plugin documentation #35373
- Fix typo #35369
- Formatting issue in the Maven plugin documentation #35349
- Clarify profile support when using AOT #35321
🔨 Dependency Upgrades
- Upgrade to Couchbase Client 3.4.6 #35350
- Upgrade to Groovy 4.0.12 #35351
- Upgrade to jOOQ 3.18.4 #35431
- Upgrade to Micrometer 1.11.0 #35305
- Upgrade to Micrometer Tracing 1.1.1 #35421
- Upgrade to Native Build Tools Plugin 0.9.22 #35407
- Upgrade to Neo4j Java Driver 5.8.0 #35352
- Upgrade to Reactor Bom 2022.0.7 #35307
- Upgrade to SAAJ Impl 3.0.2 #35432
- Upgrade to Spring Authorization Server 1.1.0 #35308
- Upgrade to Spring Batch 5.0.2 #35309
- Upgrade to Spring Data Bom 2023.0.0 #35310
- Upgrade to Spring Framework 6.0.9 #35311
- Upgrade to Spring GraphQL 1.2.0 #35312
- Upgrade to Spring HATEOAS 2.1.0 #35313
- Upgrade to Spring Integration 6.1.0 #35314
- Upgrade to Spring Kafka 3.0.7 #35376
- Upgrade to Spring LDAP 3.1.0 #35315
- Upgrade to Spring Security 6.1.0 #35316
- Upgrade to Spring Session 3.1.0 #35317
- Upgrade to Spring WS 4.0.4 #35318
- Upgrade to Undertow 2.3.6.Final #35450
❤ Contributors
Thank you to all the contributors who worked on this release:
@Ckram, @JunJaBoy, @TheHound, @bclozel, @be-hase, @davin111, @dreis2211, @izeye, @quaff, @scordio, @sdeleuze, and @sjohnr
v3.0.13
⚠ ️ Noteworthy Changes
- Following the Paketo team's announcement that the Bionic CNB builders will be removed, the default builder using by
bootBuildImage
(Gradle) andspring-boot:build-image
(Maven) has been changed to Paketo Jammy #38477
:lady_beetle: Bug Fixes
- App fails to start with a NoSuchMethodError when using Flyway 10.0.0 #38266
- spring.webflux.multipart.max-disk-usage-per-part behaves incorrectly for values where the number of bytes overflows an int #38150
- Mail health indicator fails when host is not set in properties #38042
📔 Documentation
- Document supported SQL comment prefixes #38494
- Update access log pattern documentation to align with changes in Tomcat 10 #38403
- Fix link to Elasticsearch health indicator #38332
- Add a Restarting a stopped or failed Job section to the batch howto #38326
- Code sample in "Developing Your First Spring Boot Application" does not work #38270
- Improve --help and documentation for "encodepassword -a/--algorithm" in the Spring Boot CLI #38247
- Add how-to documentation for test-only database migrations with Flyway/Liquibase #38229
- Document that TomcatConnectorCustomizers are not applied to additional connectors #38196
- Document that application.* banner variables require a packaged jar or the use of Boot's launcher #38147
- Improve systemd configuration documentation #38115
- Clarify that
@AutoConfigureWebTestClient
binds WebTestClient to mock infrastructure #38112 - MyErrorWebExceptionHandler example in documentation isn't working #38109
- Add section on AspectJ support #38095
- Document that SerializationFeature.WRITE_DURATIONS_AS_TIMESTAMPS is disabled by default #38088
- Update "Running Behind a Front-end Proxy Server" to include reactive and ForwardedHeaderTransformer #38070
- Document how to customize the basePackages that auto-configurations consider (for example Spring Data Repositories) #38052
- Clarifying documentation on including a top-level
@TestConfiguration
class in a test #38039 - Document ConfigurationPropertyCaching #38036
- Document server.servlet.encoding.* properties and server.servlet.encoding.mapping in particular #38033
- Document configuration for building images with Colima #38030
- Add a section on customizing embedded reactive servers #38026
- Improve documentation of
classpath.idx
file and its generation by the Maven and Gradle plugins #38023 - Document additional user configuration that's required after setting
spring.hateoas.use-hal-as-default-json-media-type
tofalse
#38020 - Clarify that MVC components provided through WebMvcRegistrations are subject to subsequent processing and configuration by MVC #38017
- Add Embedded MongoDB to community starters #38010
- Update "Use Another Web Server" how-to to reflect Servlet 5.0 baseline #37238
- Update Spring Framework documentation links #36241
- Spring Boot Actuator documentation misses management.endpoint.env.show-values property #35917
- Document that properties that change an application's beans are fixed at build time #35032
- Document that testing with ApplicationContextRunner in a native image is not supported #34007
- Document how to downgrade dependencies to use embedded Jetty 11 #33044
🔨 Dependency Upgrades
- Upgrade to AspectJ 1.9.20.1 #38355
- Upgrade to DB2 JDBC 11.5.9.0 #38436
- Upgrade to Dependency Management Plugin 1.1.4 #38344
- Upgrade to Dropwizard Metrics 4.2.22 #38437
- Upgrade to Glassfish JAXB 4.0.4 #38438
- Upgrade to Infinispan 14.0.21.Final #38439
- Upgrade to Jakarta Json 2.1.3 #38440
- Upgrade to Jakarta XML SOAP 3.0.1 #38441
- Upgrade to Jakarta XML WS 4.0.1 #38442
- Upgrade to Jetty 11.0.18 #38444
- Upgrade to Jetty Reactive HTTPClient 3.0.10 #38443
- Upgrade to Lettuce 6.2.7.RELEASE #38445
- Upgrade to Micrometer 1.10.13 #38290
- Upgrade to Micrometer Tracing 1.0.12 #38291
- Upgrade to Native Build Tools Plugin 0.9.28 #38446
- Upgrade to Netty 4.1.101.Final #38447
- Upgrade to Reactor Bom 2022.0.13 #38292
- Upgrade to SAAJ Impl 3.0.3 #38448
- Upgrade to Spring Batch 5.0.4 #38492
- Upgrade to Spring Data Bom 2022.0.12 #38293
- Upgrade to Spring Framework 6.0.14 #38294
- Upgrade to Spring HATEOAS 2.0.7 #38374
- Upgrade to Spring Integration 6.0.9 #38295
- Upgrade to Spring Kafka 3.0.13 #38369
- Upgrade to Spring RESTDocs 3.0.1 #38449
- Upgrade to Spring WS 4.0.8 #38296
- Upgrade to Tomcat 10.1.16 #38450
❤ Contributors
Thank you to all the contributors who worked on this release:
@GVictorG7, @PENEKhun, @cachescrubber, @dreis2211, @izeye, @jonatan-ivanov, and @quaff
v3.0.12
⚠ Noteworthy Changes
- The behavior of
spring.jms.listener.concurrency
has been corrected to match the documentation (#37180). If you were settingspring.jms.listener.concurrency
without also settingspring.jms.listener.max-concurrency
, please review your configuration when upgrading.
:lady_beetle: Bug Fixes
- Constructor binding with a custom collection type does not work #37940
-
@Order
does not work on (CommandLine|Application)Runner@Bean
methods #37937 -
@ComponentScan
on a test class is processed when creating a test context but is not included in the context's cache key #37923 - Restarter creates memory leak in tests #37919
- Gradle plugin uses to-be-deprecated API for getting and setting file permissions #37880
- Task executor metrics are not registered when using lazy initialization #37837
- Gradle AOT processing tasks do not use project's Java toolchain #37717
- NPE from Jetty's WebSocketUpgradeFilter when testing with
@SpringBootTest
,@AutoConfigureMockMvc
, and MockMvc #37660 - AOT processing fails when a
@WebServlet
found by scanning is annotated with@MultipartConfig
#37637 - AspectJ transaction management with compile-time weaving does not work with spring.main.lazy-initialization=true #37631
- fileMode and dirMode are not applied to all entries in an archive produced by BootJar #37587
- Managed types for Neo4j are not used in Neo4j Data auto configuration #37574
- Application fails to start when an optional config import cannot be resolved #37569
- Contrary to the documentation, setting spring.jms.listener.concurrency alone configures the maximum concurrency #37552
- Dependency management for kafka-server-common with a test classifier is missing #37541
- RepackageMojo doesn't support 1 digit numerical values for project.build.outputTimestamp #37534
-
@WebListener
does not work in a native image without additional reflection hints #36008 - Unwanted Logback status messages are sometimes logged during startup #34505
📔 Documentation
- Remove link to LiveReload website due to timeout #37690
- Refer to ActiveMQ as ActiveMQ "Classic" #37614
- Removal of spring.webflux.multipart.streaming is not documented #37608
- Document support for Java 21 #37531
- Use more idiomatic Kotlin in example for "Map Health Indicators to Micrometer Metrics" #37509
- Add Javadoc since for AbstractAotMojo.getSession() #37462
🔨 Dependency Upgrades
- Upgrade to Couchbase Client 3.4.11 #37754
- Upgrade to Dropwizard Metrics 4.2.21 #37896
- Upgrade to Infinispan 14.0.19.Final #37846
- Upgrade to Jetty 11.0.17 #37847
- Upgrade to Jetty Reactive HTTPClient 3.0.9 #37930
- Upgrade to jOOQ 3.17.16 #37848
- Upgrade to Micrometer 1.10.12 #37678
- Upgrade to Micrometer Tracing 1.0.11 #37679
- Upgrade to Neo4j Java Driver 5.13.0 #37792
- Upgrade to Netty 4.1.100.Final #37849
- Upgrade to Reactor Bom 2022.0.12 #37680
- Upgrade to RxJava3 3.1.8 #37757
- Upgrade to Spring AMQP 3.0.10 #37681
- Upgrade to Spring Data Bom 2022.0.11 #37682
- Upgrade to Spring Framework 6.0.13 #37814
- Upgrade to Spring Integration 6.0.8 #37795
- Upgrade to Spring Kafka 3.0.12 #37796
- Upgrade to Spring LDAP 3.0.6 #37683
- Upgrade to Spring Retry 2.0.4 #37684
- Upgrade to Spring Security 6.0.8 #37685
- Upgrade to Spring Session 3.0.4 #37686
- Upgrade to Tomcat 10.1.15 #37901
- Upgrade to UnboundID LDAPSDK 6.0.10 #37758
- Upgrade to Undertow 2.3.10.Final #37931
❤ Contributors
Thank you to all the contributors who worked on this release:
@bottlerocketjonny, @dependabot[bot], @erichaagdev, @esperar, @izeye, @jbertram, @michael-simons, @nielsbasjes, @onobc, @ttddyy, and @vpavic
v3.0.11
⭐ New Features
- Add TWENTY_ONE to JavaVersion enum #37363
:lady_beetle: Bug Fixes
- Saml2RelyingPartyAutoConfiguration ignores
sign-request
whenmetadata-url
is used #37481 - When SLF4J and Logback are initialized on multiple threads in parallel, startup may fail due to SubstituteLoggerFactory being considered to be a competing LoggerFactory implementation #37477
- Leaking file descriptor / socket within DomainSocket tooling #37459
- Invalid Accept header produces HTTP 500 in WelcomePageHandlerMapping #37456
- PrivateKeyParser doesn't support ed448, XDH and RSA-PSS keys #37413
- "languageVersion is final and cannot be changed" when using Gradle 8.3 and configuring the Java toolchain's language version #37343
- Spring Boot dependency management not working for ehcache when using Gradle and the dependency management plugin #37243
- Parsing OCI image names that are invalid due to the use of upper case letters is very slow #37182
- Using https with elliptic curves other than secp384r1 fails #37168
- Producing and consuming different tracing propagation formats doesn't work #37161
- AOT processing fails when a
@ConfigurationProperties-annotated
record has multiple constructors #37283 - In 3.0.x and later, Spring Security cannot be used to secure a WebSocket upgrade request when using Jetty #37115
- Local baggage is propagated when using Brave and W3C #37109
📔 Documentation
- Document that PKCS8 PEM files should be used whenever possible #37442
- Correct the description of spring.artemis.broker-url #37308
- Add default value metadata for management.metrics.export.signalfx.published-histogram-type #37252
- Polish javadoc #37142
- Add reference to Oracle Spring Boot Starters #37069
🔨 Dependency Upgrades
- Upgrade to Couchbase Client 3.4.10 #37289
- Upgrade to Groovy 4.0.15 #37384
- Upgrade to Infinispan 14.0.17.Final #37290
- Upgrade to Jakarta XML Bind 4.0.1 #37385
- Upgrade to Jetty 11.0.16 #37291
- Upgrade to Lombok 1.18.30 #37487
- Upgrade to Micrometer 1.10.11 #37255
- Upgrade to Micrometer Tracing 1.0.10 #37345
- Upgrade to Native Build Tools Plugin 0.9.27 #37416
- Upgrade to Neo4j Java Driver 5.12.0 #37352
- Upgrade to Reactor Bom 2022.0.11 #37256
- Upgrade to SLF4J 2.0.9 #37293
- Upgrade to Spring AMQP 3.0.9 #37257
- Upgrade to Spring Data Bom 2022.0.10 #37349
- Upgrade to Spring Framework 6.0.12 #37258
- Upgrade to Spring GraphQL 1.1.7 #37464
- Upgrade to Spring Kafka 3.0.11 #37294
- Upgrade to Spring Retry 2.0.3 #37279
- Upgrade to Spring Security 6.0.7 #37417
- Upgrade to Spring WS 4.0.6 #37418
- Upgrade to Tomcat 10.1.13 #37295
❤ Contributors
Thank you to all the contributors who worked on this release:
@Eng-Fouad, @dependabot[bot], @izeye, @markxnelson, @mdeinum, and @quaff
v3.0.10
⚠ Noteworthy Changes
- This release upgrades to MariaDB 3.1.4 from 3.0.x as 3.1.x is the supported version of the 3.x branch. If the upgrade is problematic and you are comfortable with the risk of 3.0.x no longer being supported, downgrade by using the
mariadb.version
property.
:lady_beetle: Bug Fixes
- Logging config URLs with query parameters are not detected as XML #37039
- server.max-http-request-header-size doesn't affect Netty server with http2 enabled #37014
- AbstractAotMojo should not add source or target if they are null #36971
- Exception message in ProcessTestAotMojo has a typo #36964
- BindableRuntimeHintsRegistrar does not generate hints for all nested types of a ConfigurationProperties type #36909
- Script-based database initialization fails with an unhelpful error message when configured with a resource that points to a directory #36785
- Artemis ConnectionFactory is not configured when CachingConnectionFactory is missing and enabled properties are false #36771
- DatabaseDriver swallows real exception #36758
- Defining a custom ElasticsearchTransport causes the auto-configured JsonpMapper to back off #36698
- Auto-configuration's session repository customization may override that of SessionRepositoryCustomizer beans #36674
- RabbitMQ smoke test is missing a test #36611
- Tomcat warns about a missing +/- prefix when enabling multiple protocols through server.ssl.enabled-protocols #36583
- management.wavefront.metrics.export properties are incomplete #36555
- management.metrics.export.signalfx properties are incomplete #36552
- JobLauncherApplicationRunner returns a success exit code even when no jobs have been run #36531
- Remove use of jakarta.annotation.PostConstruct #36528
- management.metrics.export.atlas properties are incomplete #36525
- Descriptions of started and ready time metrics contain time units but the unit may change when the metrics are exported #36515
- management.metrics.export.stackdriver properties are incomplete #36499
- Unlike other Spring Boot goals, process-aot and process-test-aot run on Maven reactor projects #35377
📔 Documentation
- Fix broken links in the documentation #37070
- Maven plugin docs contain invalid parameter for image building #37050
- Align javadoc of AbstractFilterRegistrationBean#setDispatcherTypes #36968
- Improve documentation of spring.cache.type=none #36961
- Clarify that spring.security.filter properties only apply to servlet-based web apps #36864
- Improve documentation to describe how
@EntityScan
and@Enable?Repositories
can be used to tune scanning #36861 - Describe quirks of JUL and Log4j2 in the javadoc of OutputCaptureExtension #36858
- LogbackLoggingSystem does not report suppressed exception details #36855
- Clarify table that shows how logging properties are transferred to system properties #36852
- Rework Working with NoSQL Technologies to clarify which stores are supported by Spring Data #36812
- Clarify how nested directories are treated for configtree with wildcards #36809
- Clarify the effect of using
@EnableWebMvc
#36796 - Document defaults for spring.mvc.format.* and spring.webflux.format.* properties #36792
- Documentation describes how to opt in to using the path pattern parser but it's now the default #36788
- Document that scripts for database initialization are optional by default and how they can be made mandatory #36782
- Update expected size of the jar file in the first application getting started documentation #36761
- Document
@DataR2dbcTest
support #36755 -
@since
is missing from javadoc of values added to JavaVersion since its introduction #36734 - Update Paketo builder references in documentation #36688
- Update RestTemplateBuilder#defaultHeader javadoc to reference correct client-side HTTP request class #36629
- Document that server.forward-headers-strategy property defaults to native when running on Kubernetes #36580
- Documentation of spring.data.redis.url incorrectly states that it does not override spring.data.redis.user #36491
- Review Google AppEngine documentation #33730
🔨 Dependency Upgrades
- Upgrade to AspectJ 1.9.20 #37001
- Upgrade to Caffeine 3.1.8 #36912
- Upgrade to Couchbase Client 3.4.8 #36975
- Upgrade to Dependency Management Plugin 1.1.3 #36914
- Upgrade to Groovy 4.0.14 #37056
- Upgrade to Infinispan 14.0.14.Final #36993
- Upgrade to Jersey 3.1.3 #36916
- Upgrade to jOOQ 3.17.15 #36917
- Upgrade to Lettuce 6.2.6.RELEASE #37002
- Upgrade to Logback 1.4.11 #36925
- Upgrade to MariaDB 3.1.4 #36740
- Upgrade to Micrometer 1.10.10 #36829
- Upgrade to Micrometer Tracing 1.0.9 #36830
- Upgrade to Native Build Tools Plugin 0.9.24 #36918
- Upgrade to Neo4j Java Driver 5.11.0 #36977
- Upgrade to Netty 4.1.97.Final #37086
- Upgrade to R2DBC Pool 1.0.1.RELEASE #36920
- Upgrade to Reactor Bom 2022.0.10 #36831
- Upgrade to RxJava3 3.1.7 #37087
- Upgrade to Spring AMQP 3.0.8 #36832
- Upgrade to Spring Batch 5.0.3 #36833
- Upgrade to Spring Data Bom 2022.0.9 #36834
- Upgrade to Spring Integration 6.0.7 #37061
- Upgrade to Spring Kafka 3.0.10 #36835
- Upgrade to Spring LDAP 3.0.5 #36836
- Upgrade to Spring Security 6.0.6 #36837
- Upgrade to Spring Session 3.0.3 #36838
- Upgrade to Thymeleaf 3.1.2.RELEASE #36921
- Upgrade to Thymeleaf Extras SpringSecurity 3.1.2.RELEASE #36922
- Upgrade to Tomcat 10.1.12 #36974
- Upgrade to Undertow 2.3.8.Final #37030
❤ Contributors
Thank you to all the contributors who worked on this release:
@MahatmaFatalError, @NersesAM, @chicobento, @dependabot[bot], @dreis2211, @eddumelendez, @elevne, @fzyzcjy, @itsAkshayDubey, @izeye, @jongwooo, @ls-urs-keller, @msobeck, @normandra, @omaryaya, @quaff, @rob-valor, @spa-abaudat, and @vpavic
v3.0.9
:lady_beetle: Bug Fixes
- Native reflection hints missing for nested properties declared in a superclass #36406
- Only one health group can be exposed using management.endpoint.health.group.xxx.additional-path=server:/newpath when using Jersey #36275
- MockitoPostProcessor doesn't check FactoryBean.OBJECT_TYPE_ATTRIBUTE correctly #36229
- ImportsContextCustomizer does not support AliasFor #36208
- Application fails to start when
@Import
a@ConfigurationProperties
class that is eligible for constructor binding #36175 - Saml2RelyingPartyRegistrationConfiguration can choose the wrong RelyingPartyRegistration.Builder when using a metadata file with multiple providers #36162
- ConfigurationPropertiesReportEndpoint does not display primitive wrapper types #36159
- OTel Span is missing required attributes #36155
- ConfigurationPropertyName#equals is not symmetric when element has trailing dashes #36144
- Auto-configured JacksonJsonpMapper is conditional on an ObjectMapper bean but does not use such a bean #36109
- When using Flyway 9.20.0, auto-configuration fails with a NoSuchMethodError due to the removal of Oracle-related methods from FluentConfiguration #36098
- ScheduledTasksEndpoint throws NPE if PeriodicTrigger is used with custom SchedulingConfigurer #36081
- Java system properties can not be applied to RestTemplate HttpClient connection in some cases #35815
- Excluding auto-configuration class that relates to a TemplateAvailabilityProvider causes property binding to fail for native images #35682
- Auto-configured ExemplarSampler bean only backs off when a DefaultExemplarSampler is defined #35619
📔 Documentation
- Documented Servlet container system requirements are out of date #36354
- Update the javadoc of ClientHttpRequestFactories to describe the ClientHttpRequestFactory implementations that it supports #36267
- Polish formatting in "Running Spring Batch Jobs on Startup" #36225
- Improve Kubernetes liveness and readiness probes customization documentation #36218
- Document auto-configuration of underlying HTTP client when using WebClient or RestTemplate #36214
- Polish Kafka Properties Docs #36141
- Fix typo in the Using R2DBC section of the reference documentation #36138
- Add Javadoc since to ImageReference.inTaglessForm() #36053
- Javadoc of RestTemplateBuilder.requestFactory(Function) links to deprecated ClientHttpRequestFactorySupplier #36046
- Javadoc of ConstructorBound and ConfigurationProperties links to deprecated ConstructorBinding annotation #36045
- Improve documentation for baggage propagation into MDC #34977
- Document observability auto-configuration for HTTP clients #34053
🔨 Dependency Upgrades
- Upgrade to Dependency Management Plugin 1.1.2 #36433
- Upgrade to Groovy 4.0.13 #36322
- Upgrade to Hibernate Validator 8.0.1.Final #36323
- Upgrade to Infinispan 14.0.12.Final #36324
- Upgrade to Jakarta WebSocket 2.1.1 #36325
- Upgrade to Janino 3.1.10 #36326
- Upgrade to JBoss Logging 3.5.3.Final #36327
- Upgrade to jOOQ 3.17.14 #36328
- Upgrade to Lettuce 6.2.5.RELEASE #36434
- Upgrade to Micrometer 1.10.9 #36178
- Upgrade to Micrometer Tracing 1.0.8 #36291
- Upgrade to R2DBC Postgresql 1.0.2.RELEASE #36465
- Upgrade to Rabbit AMQP Client 5.16.1 #36329
- Upgrade to Reactor Bom 2022.0.9 #36292
- Upgrade to Spring AMQP 3.0.6 #36401
- Upgrade to Spring Data Bom 2022.0.8 #36179
- Upgrade to Spring Framework 6.0.11 #36180
- Upgrade to Spring HATEOAS 2.0.6 #36453
- Upgrade to Spring Kafka 3.0.9 #36182
- Upgrade to Spring Security 6.0.5 #36293
- Upgrade to Tomcat 10.1.11 #36330
❤ Contributors
Thank you to all the contributors who worked on this release:
@Pengfei-Lu, @ThomazPassarelli, @bbulgarelli, @bedla, @dependabot[bot], @dkswnkk, @eddumelendez, @eydunn, @garyrussell, @izeye, @johnnywiller, @jonatan-ivanov, @lasselindqvist, @lmartelli, and @quaff
v3.0.8
:lady_beetle: Bug Fixes
- Spring Boot properties migrator can create circular references #35933
- Actuator loggers list endpoint throws exception on Log4J2 loggers with custom log levels #35920
- Validation is not applied for ConfigurationProperties that implement Validator and use
@ConstructorBinding
#35912 - Devtools does not support package-private main classes #35864
- Processing of
@EndpointCloudFoundryExtension
logs a warnings as it does not use@AliasFor
on its override of the endpoint attribute #35765 - Java 20 is supported but there's no value for it in the JavaVersion enum #35763
- Tracing only supports a single context propagation type #35611
- Constructor binding of
@ConfigurationProperties
to a lateinit property fails with kotlin.UninitializedPropertyAccessException #35603 - When a configuration properties bean is defined using a
@Bean
method, BindableRuntimeHintsRegistrar may incorrectly register hints for constructor binding #35564 - Enabling Spring Data Elasticsearch auditing causes application startup failure #33651
- Websockets don't work when using WebFlux with Jetty #33347
📔 Documentation
- Update description of spring-boot-starter-data-rest to clarify that it uses Spring MVC #35910
- Add
@DynamicPropertySource
to documented list of property source ordering #35908 - Move property notes up to external configuration section #35768
- Description of spring.data.mongodb.uri property incorrectly states that it overrides spring.data.mongodb.database #35689
- Improve OAuth2 Client section of docs #35679
- Document audience support in OAuth2 resource server #35633
- Description of
build-image
andbuild-image-no-fork
Maven plugin goals is inconsistent #35609 - Remove
@EnableBatchProcessing
mentions in reference documentation for sliced tests and user configuration #33435
🔨 Dependency Upgrades
- Upgrade to Couchbase Client 3.4.7 #35879
- Upgrade to Dropwizard Metrics 4.2.19 #35803
- Upgrade to Git Commit ID Plugin 5.0.1 #35804
- Upgrade to Glassfish JAXB 4.0.3 #35880
- Upgrade to Hazelcast 5.1.7 #35989
- Upgrade to HSQLDB 2.7.2 #35805
- Upgrade to Infinispan 14.0.11.Final #35990
- Upgrade to Jakarta Json 2.1.2 #35807
- Upgrade to Jakarta Mail 2.1.2 #35808
- Upgrade to JBoss Logging 3.5.1.Final #35809
- Upgrade to Logback 1.4.8 #35881
- Upgrade to Lombok 1.18.28 #35810
- Upgrade to Micrometer 1.10.8 #35734
- Upgrade to Micrometer Tracing 1.0.7 #35735
- Upgrade to Native Build Tools Plugin 0.9.23 #35991
- Upgrade to Neo4j Java Driver 5.9.0 #35867
- Upgrade to Netty 4.1.94.Final #35992
- Upgrade to Reactor Bom 2022.0.8 #35736
- Upgrade to Spring AMQP 3.0.5 #35737
- Upgrade to Spring Data Bom 2022.0.7 #35738
- Upgrade to Spring Framework 6.0.10 #35739
- Upgrade to Spring GraphQL 1.1.5 #35775
- Upgrade to Spring Integration 6.0.6 #35740
- Upgrade to Spring Kafka 3.0.8 #35993
- Upgrade to Spring LDAP 3.0.4 #35741
- Upgrade to Spring Retry 2.0.2 #35742
- Upgrade to Spring Security 6.0.4 #35743
- Upgrade to Spring Session 3.0.2 #35744
- Upgrade to Spring WS 4.0.5 #36010
- Upgrade to Tomcat 10.1.10 #35882
- Upgrade to UnboundID LDAPSDK 6.0.9 #35813
- Upgrade to Undertow 2.3.7.Final #35814
❤ Contributors
Thank you to all the contributors who worked on this release:
@ThomasKasene, @bbulgarelli, @bikash30851, @dreis2211, @izeye, @mhalbritter, @sjohnr, and @twobiers
v3.0.7
:lady_beetle: Bug Fixes
- Welcome page may return a 404 when an acceptable response cannot be produced #35553
- Defining a zipkin2.reporter.Reporter results in two reporter beans as the auto-configured AsyncReporter does not back off #35455
- developmentOnly dependencies are included in the AOT processing classpath #35433
- Hibernate 6.2 doesn't work in native-image: No available JtaPlatform candidates #35423
- In a native image, configuration property binding fails when the target has package-private getters and setters #35397
- Invalid reference format error when tagging images using Podman #35395
- WebClient auto-configuration tries to use HttpComponentsClientHttpConnector when all required classes are not present #35380
- MinIdle and MaxValidationTime properties missing for R2DBC pools #35378
- Can't use PEM encoded PKCS#8 EC keys with server.ssl.certificate-private-key #35364
-
FactoryBean.getObject
for non-singleton executed when resetting mocks #35329 - Webflux server gracefulshutdown throws NullPointerException #35269
- Health actuator mail details shows the port as -1 when using the default port #35254
- SessionRepositoryFilterConfiguration can cause early initialization of SessionRepository beans including Redis #35241
- Liveness and readiness probes return down when lazy initialization is enabled #35235
- Devtools main method search algorithm can find incorrect main method #35220
- When a WebFlux app is deployed to Cloud Foundry some metrics are lost and numerous beans are ineligible for post-processing #35170
- Treating a null Flyway-specific password as an empty string prevents the use of PGPASS for authentication #35131
- DisableObservabilityContextCustomizer can't be switched off through properties #35009
- Application yaml files cannot be loaded when they exceed 3mb #34743
-
@ServletComponentScan
causes AOT processing to fail with "Code generation is not supported for bean definitions declaring an instance supplier callback" #34563 - Tracking of artifact dependency coordinates by BootJar and BootWar may break artifact transforms in sub-projects #31216
📔 Documentation
- Polish formatting of permitAll() endpoint security Kotlin example #35456
- Wrong anchors in Maven plugin documentation #35372
- Clarify profile support when using AOT #35262
- Add reference to Tor Spring Boot Starter #35256
- Correct list of annotations that are equivalent to
@SpringBootApplication
#35230 - Harmonize references to application.yaml files in reference docs #35129
🔨 Dependency Upgrades
- Upgrade to Couchbase Client 3.4.6 #35341
- Upgrade to Groovy 4.0.12 #35342
- Upgrade to Hazelcast 5.1.6 #35427
- Upgrade to Infinispan 14.0.9.Final #35343
- Upgrade to Jackson Bom 2.14.3 #35344
- Upgrade to Jakarta Activation 2.1.2 #35345
- Upgrade to Jersey 3.1.2 #35550
- Upgrade to jOOQ 3.17.13 #35428
- Upgrade to Json-smart 2.4.11 #35551
- Upgrade to JUnit Jupiter 5.9.3 #35346
- Upgrade to Micrometer 1.10.7 #35298
- Upgrade to Micrometer Tracing 1.0.6 #35420
- Upgrade to Native Build Tools Plugin 0.9.22 #35406
- Upgrade to Neo4j Java Driver 5.8.0 #35347
- Upgrade to Netty 4.1.92.Final #35443
- Upgrade to Reactor Bom 2022.0.7 #35299
- Upgrade to SAAJ Impl 3.0.2 #35429
- Upgrade to Spring Batch 5.0.2 #35300
- Upgrade to Spring Data Bom 2022.0.6 #35301
- Upgrade to Spring Framework 6.0.9 #35302
- Upgrade to Spring GraphQL 1.1.4 #35303
- Upgrade to Spring HATEOAS 2.0.4 #35325
- Upgrade to Spring Kafka 3.0.7 #35375
- Upgrade to Spring LDAP 3.0.3 #35404
- Upgrade to Spring WS 4.0.4 #35304
- Upgrade to Undertow 2.3.6.Final #35448
❤ Contributors
Thank you to all the contributors who worked on this release:
@JunJaBoy, @aasaru, @be-hase, @davin111, @ivandimitrov8080, and @theborakompanioni
v3.0.6
:lady_beetle: Bug Fixes
- CloudFoundry integration does not use endpoint path mappings #35086
- ApplicationAvailability bean is auto-configured even if a custom one is already present #35068
- Gradle Spring Boot plugin with Kotlin DSL does not support includeProjectDependencies in bootJar > layered > dependencies configuration #35035
- Cassandra default configuration substitutions don't resolve against configuration derived from spring.data.cassandra properties #34799
- Banner placeholders use default values too soon #34792
- Nested test classes don't inherit properties from slice test annotations on enclosing class #34781
- Hints for including Liquibase changelogs in a native image are unnecessarily narrow #34729
- Unlike
@EnableBatchProcessing
, auto-configuration for Spring Batch does not enable observability of steps and jobs #34305
📔 Documentation
- Improve documentation of tracing dependencies and configuration properties #34991
- Use current Neo4j version in Testcontainers-based examples #34940
- BatchProperties has an outdated reference to JPA #34844
- Document that optional dependencies are included by default in fat jars built with Maven #34788
🔨 Dependency Upgrades
- Upgrade to Caffeine 3.1.6 #34928
- Upgrade to Couchbase Client 3.4.5 #35050
- Upgrade to GraphQL Java 19.5 #34996
- Upgrade to Groovy 4.0.11 #34911
- Upgrade to Infinispan 14.0.8.Final #34929
- Upgrade to Jetty 11.0.15 #35051
- Upgrade to jOOQ 3.17.12 #35052
- Upgrade to Lettuce 6.2.4.RELEASE #35053
- Upgrade to Logback 1.4.7 #35088
- Upgrade to Maven Resources Plugin 3.3.1 #34913
- Upgrade to Micrometer 1.10.6 #34858
- Upgrade to Micrometer Tracing 1.0.4 #34859
- Upgrade to MySQL 8.0.33 #35054
- Upgrade to Native Build Tools Plugin 0.9.21 #35055
- Upgrade to Neo4j Java Driver 5.7.0 #34930
- Upgrade to Netty 4.1.91.Final #34914
- Upgrade to Reactor Bom 2022.0.6 #34860
- Upgrade to SAAJ Impl 3.0.1 #35056
- Upgrade to Spring AMQP 3.0.4 #34950
- Upgrade to Spring Data Bom 2022.0.5 #34903
- Upgrade to Spring Framework 6.0.8 #34861
- Upgrade to Spring Integration 6.0.5 #35012
- Upgrade to Spring Kafka 3.0.6 #34951
- Upgrade to Spring LDAP 3.0.2 #34904
- Upgrade to Spring Security 6.0.3 #34952
- Upgrade to Spring WS 4.0.3 #34953
- Upgrade to Tomcat 10.1.8 #35089
- Upgrade to Undertow 2.3.5.Final #34915
- Upgrade to Yasson 3.0.3 #34916
❤ Contributors
Thank you to all the contributors who worked on this release:
@Ferioney, @RobertRad, @SeasonPanPan, @acktsap, @benelog, @dreis2211, @kdomo, @krzyk, @marbon87, and @meistermeier
v3.0.5
:lady_beetle: Bug Fixes
- EmbeddedWebServerFactoryCustomizerAutoConfiguration should not run when embedded web server is not configured #34659
- StandardConfigDataResource can import the same file twice if the classpath includes '.' #34617
- Loading application.yml fails with NoSuchMethodError when using SnakeYAML 2.0 #34515
-
@ConfigurationProperties
no longer works on a mutable Kotlin data classes #34500 - Image builds with podman fail when image buildpacks are configured #34495
- Use of
@EntityScan
causes AOT instance supplier code generation error #34371
📔 Documentation
- Document support for Java 20 #34726
- Clarify conventions for custom error pages in WebFlux #34705
- Add documentation tip showing how to configure publishRegistry Maven properties from the command line #34704
- Typo in Batch documentation: content instead of context #34646
- Update two references to old APIs #34602
- Fix Javadoc in JobLauncherApplicationRunner #34596
- Document how to get socket location for image building configuration with podman #34475
🔨 Dependency Upgrades
- Upgrade to Caffeine 3.1.5 #34662
- Upgrade to Couchbase Client 3.4.4 #34663
- Upgrade to Dropwizard Metrics 4.2.18 #34664
- Upgrade to GraphQL Java 19.4 #34718
- Upgrade to Groovy 4.0.10 #34665
- Upgrade to Infinispan 14.0.7.Final #34666
- Upgrade to Jedis 4.3.2 #34698
- Upgrade to Jetty Reactive HTTPClient 3.0.8 #34667
- Upgrade to jOOQ 3.17.10 #34699
- Upgrade to Json-smart 2.4.10 #34669
- Upgrade to Logback 1.4.6 #34670
- Upgrade to Micrometer 1.10.5 #34536
- Upgrade to Micrometer Tracing 1.0.3 #34537
- Upgrade to Netty 4.1.90.Final #34671
- Upgrade to Reactor Bom 2022.0.5 #34538
- Upgrade to SLF4J 2.0.7 #34672
- Upgrade to Spring AMQP 3.0.3 #34608
- Upgrade to Spring Data Bom 2022.0.4 #34539
- Upgrade to Spring Framework 6.0.7 #34540
- Upgrade to Spring GraphQL 1.1.3 #34541
- Upgrade to Spring HATEOAS 2.0.3 #34673
- Upgrade to Spring Integration 6.0.4 #34542
- Upgrade to Spring Kafka 3.0.5 #34543
- Upgrade to Spring Retry 2.0.1 #34544
- Upgrade to Spring Session 3.0.1 #34545
- Upgrade to Tomcat 10.1.7 #34674
- Upgrade to UnboundID LDAPSDK 6.0.8 #34675
❤ Contributors
Thank you to all the contributors who worked on this release:
@1993heqiang, @anthonydahanne, @benelog, @dsyer, @izeye, @swapy, and @terminux
v3.0.4
:lady_beetle: Bug Fixes
- Maven plugin uses timezone-local timestamps when outputTimestamp is used #34430
- org.springframework.boot.web.embedded.jetty.GracefulShutdown uses the wrong class to create its logger #34419
-
@ConfigurationProperties
with initialized nested record properties values no longer bind #34407 - Custom ConfigDataLocationResolver/ConfigDataLoader fails in 3.0.x when combined with spring-boot-devtools #34372
- defaultTracingObservationHandler is not ordered as documented #34216
- Spring Boot 3 does not provide a configuration property for configuring red metrics custom tag keys #34194
📔 Documentation
- Document support for Gradle 8 #34462
- Update Batch documentation #34437
- Add link to Failover starter #34422
- Fix typo in external-config.adoc #34414
- Fix typo #34398
- Use plugins DSL consistently in Spring Boot Gradle Plugin docs #34391
🔨 Dependency Upgrades
- Upgrade to Couchbase Client 3.4.3 #34445
- Upgrade to Dropwizard Metrics 4.2.17 #34446
- Upgrade to Jetty 11.0.14 #34447
- Upgrade to Reactor Bom 2022.0.4 #34444
- Upgrade to Spring Data Bom 2022.0.3 #34439
- Upgrade to Spring Framework 6.0.6 #34440
- Upgrade to Spring Kafka 3.0.4 #34441
❤ Contributors
Thank you to all the contributors who worked on this release:
@1993heqiang, @anandmnair, @dalbani, @fmbenhassine, @izeye, @jongwooo, and @ttddyy
v3.0.3
:lady_beetle: Bug Fixes
- ClassNotFoundException during AOT processing of Logback XML that references a variable when defining a component's class #34336
- Logback configuration errors are not reported when running as a native image #34315
- Dependency management for Spring LDAP includes spring-ldap-core-tiger which no longer exists #34299
- Kotlin ConfigurationProperties default values are not picked up when nativeRun is used #34157
- Maven Plugin's PropertiesMergingResourceTransformer closes InputStream when it should not do so #34072
- Actuator Health web endpoint broken with Gson and Java 17 #34070
- Manifests of jars built with Gradle do not have a Implementation entries #34059
- Spies are not reset after test execution when using
@SpyBean
#34044 - Using devtools with Reactive application results in slower restarts #34036
- spring-boot-dependencies manages mysql:mysql-connector-java which no longer exists #34021
- Dependency management for Mongo's Java Driver is incomplete #34019
- jOOQ DefaultConfiguration does not use TransactionProvider #33979
- ObservationFilter beans are not registered automatically #33968
- Properties Migrator does not detect properties of Map type that are marked as deprecated #33963
- Dependency management for some Angus Mail modules uses the wrong artifact ID #33947
- ElasticsearchClientAutoConfiguration causes global ObjectMapper to be overwritten #33426
📔 Documentation
- Updated documentation for
@ConfigurationProperties
bean naming rules #34192 - Document additional configuration that is required for spring.mvc.throw-exception-if-no-handler-found=true to be effective #34190
- Use Maven Central for release downloads in CLI installation documentation #34161
- Update Customizing Sanitization documentation as built-in key-based sanitization is no longer performed #34051
- Add Redis application properties example #34041
- Restore "Use Jedis Instead of Lettuce" how-to documentation #33995
- Actuator section is missing from documentation overview #33933
- Add Javadoc since to OperationParameter.getAnnotation() #33919
🔨 Dependency Upgrades
- Upgrade to Byte Buddy 1.12.23 #34255
- Upgrade to Caffeine 3.1.4 #34256
- Upgrade to Dropwizard Metrics 4.2.16 #34258
- Upgrade to Glassfish JAXB 4.0.2 #34259
- Upgrade to Groovy 4.0.9 #34260
- Upgrade to Hibernate 6.1.7.Final #34261
- Upgrade to Jackson Bom 2.14.2 #34262
- Upgrade to Jaybird 4.0.9.java11 #34263
- Upgrade to Jersey 3.1.1 #34264
- Upgrade to jOOQ 3.17.8 #34265
- Upgrade to Lettuce 6.2.3.RELEASE #34266
- Upgrade to Lombok 1.18.26 #34267
- Upgrade to Micrometer 1.10.4 #34148
- Upgrade to Micrometer Tracing 1.0.2 #34160
- Upgrade to Native Build Tools Plugin 0.9.20 #34268
- Upgrade to Neo4j Java Driver 5.4.0 #34344
- Upgrade to Netty 4.1.89.Final #34269
- Upgrade to Postgresql 42.5.4 #34270
- Upgrade to R2DBC Postgresql 1.0.1.RELEASE #34271
- Upgrade to Reactor Bom 2022.0.3 #34149
- Upgrade to Spring AMQP 3.0.2 #34322
- Upgrade to Spring Batch 5.0.1 #34150
- Upgrade to Spring Data Bom 2022.0.2 #34151
- Upgrade to Spring Framework 6.0.5 #34152
- Upgrade to Spring GraphQL 1.1.2 #34323
- Upgrade to Spring HATEOAS 2.0.2 #34272
- Upgrade to Spring Integration 6.0.3 #34039
- Upgrade to Spring Kafka 3.0.3 #34153
- Upgrade to Spring LDAP 3.0.1 #34154
- Upgrade to Spring Security 6.0.2 #34155
- Upgrade to Spring WS 4.0.2 #34156
- Upgrade to Undertow 2.3.4.Final #34273
❤ Contributors
Thank you to all the contributors who worked on this release:
@Anubhav-2000, @artembilan, @ath0s, @enimiste, @izeye, @jprinet, @krzyk, @marcel-wollschlaeger, @mhalbritter, @michaldo, and @sannanansari
v3.0.2
:lady_beetle: Bug Fixes
- Failure analysis of NoUniqueBeanDefinitionException reports "defined in null" when bean definition has no resource description #33876
-
@DeprecatedConfigurationProperty
has no effect when declared on a record component's accessor method #33871 - Devtools sets non-existent property spring.reactor.debug #33860
- Failing calls to reactive health indicators are not logged #33856
- Spring Boot 3 Native: Fails to bind properties under 'spring.groovy.template' #33847
- Diagnostics are poor when the JMX port used by the Maven start goal is in use #33845
- Inconsistent discovery of parameter names for selectors in custom actuator endpoints #33841
- OpenTelemetryAutoConfiguration should use parent-based sampler by default #33821
- SpringBootMockResolver causes AopTestUtils.getUltimateTargetObject to recurse until the stack overflows when it calls it with Spring Security's authentication manager bean #33792
- It is not possible to provide a custom TransactionProvider bean for JOOQ #33776
- Remove usage of bean definition instance supplier since not compatible with AOT #33763
- DevTools prevent startup in native image when using maven #33760
- NPE in RabbitProperties when user is given, but password not #33753
- EndpointRequestMatcher should have a toString method #33729
- SDKMAN should not use repo.spring.io for releases #33723
-
@ConfigurationProperties
on a@Bean
method does not work when the bean has a constructor that is eligible for constructor binding #33710 - Homebrew and Scoop should not use repo.spring.io for releases #33706
- Installing Homebrew formula with --head does not work #33704
- Flyway-specific DataSource cannot be created in a native image due to missing reflection hints #33692
- Remove Jetty/Netty/ApacheHttpClient checks for WebClient #33640
- Fix no effect of custom SessionRepositoryCustomizer in application context #33514
- Nested properties without a setter can no longer be bound in 3.0 #33409
📔 Documentation
- Fix typo in testing-native-application.adoc #33896
- Replace "via" in documentation and use "over" or "through" instead #33880
- Fix typo in kotlin getting started documentation #33869
- Update com.gorylenko.gradle-git-properties version to 2.4.1 in doc #33857
- Description of spring-boot-starter-websocket does not make it clear that it's Servlet-specific #33842
- Fix 'the the' typos #33756
- Fix docs with repeated words. #33749
- Update HTTP 2 documentation for Java 17 #33734
- Fix typo in getting started documentation #33732
- Fix typo in External Configuration documentation #33728
- Fix a typo in the ExitCodeGenerator documentation #33726
- Fix typo in javadoc of org.springframework.boot.web.server.LocalServerPort #33724
- Update dockerfile samples to use Java 17 #33629
- Remove the run example #33519
🔨 Dependency Upgrades
- Upgrade to Byte Buddy 1.12.22 #33898
- Upgrade to Couchbase Client 3.4.2 #33899
- Upgrade to Dropwizard Metrics 4.2.15 #33795
- Upgrade to FreeMarker 2.3.32 #33900
- Upgrade to Groovy 4.0.7 #33796
- Upgrade to Infinispan 14.0.6.Final #33901
- Upgrade to Jakarta Activation 2.1.1 #33798
- Upgrade to Jakarta Mail 2.1.1 #33799
- Upgrade to jOOQ 3.17.7 #33902
- Upgrade to JUnit Jupiter 5.9.2 #33800
- Upgrade to Kafka 3.3.2 #33903
- Upgrade to MariaDB 3.0.10 #33801
- Upgrade to Micrometer 1.10.3 #33802
- Upgrade to Micrometer Tracing 1.0.1 #33803
- Upgrade to MongoDB 4.8.2 #33904
- Upgrade to MSSQL JDBC 11.2.3.jre17 #33905
- Upgrade to MySQL 8.0.32 #33906
- Upgrade to Netty 4.1.87.Final #33907
- Upgrade to Reactor Bom 2022.0.2 #33804
- Upgrade to RxJava3 3.1.6 #33908
- Upgrade to Spring AMQP 3.0.1 #33811
- Upgrade to Spring Data 2022.0.1 #33810
- Upgrade to Spring Framework 6.0.4 #33805
- Upgrade to Spring HATEOAS 2.0.1 #33806
- Upgrade to Spring Integration 6.0.2 #33813
- Upgrade to Spring Kafka 3.0.2 #33812
- Upgrade to Spring WS 4.0.1 #33809
- Upgrade to Tomcat 10.1.5 #33909
- Upgrade to Undertow 2.3.3.Final #33807
- Upgrade to XmlUnit2 2.9.1 #33808
❤ Contributors
Thank you to all the contributors who worked on this release:
@BartR96, @IDJack, @anugrahsinghal, @asomov, @devrishal, @dreis2211, @izeye, @josephlane, @krzyk, @kvmw, @mhalbritter, @michaelweidmann, @qyqcswill, @rfigueroa, @sannanansari, @sdeleuze, @yyjstudy, and @zhangyanyue
v3.0.1
:lady_beetle: Bug Fixes
- Fix typo in LocalDevToolsAutoConfiguration logging #33615
- No warning is given when
<springProfile>
is used in a Logback<root>
block #33610 - Auto-configure PropagationWebGraphQlInterceptor for tracing propagation #33542
- WebClient instrumentation fails with IllegalArgumentException when adapting to WebClientExchangeTagsProvider #33483
- Reactive observation auto-configuration does not declare order for WebFilter #33444
- Web server fails to start due to "Resource location must not be null" when attempting to use a PKCS 11 KeyStore #33433
- Actuator health endpoint for neo4j throws NoSuchElementException and always returns Status.DOWN #33428
- Anchors in YAML configuration files throw UnsupportedOperationException #33404
- ZipkinRestTemplateSender is not customizable #33399
- AOT doesn't work with Logstash Logback Encoder #33387
- Maven process-aot goal fails when release version is set in Maven compiler plugin #33382
-
DependsOnDatabaseInitializationPostProcessor
re-declares bean dependencies at native image runtime #33374 -
@SpringBootTest
now throws a NullPointerException rather than a helpful IllegalStateException when@SpringBootConfiguration
is not found #33371 - bootBuildImage always trys to create a native image due to bootJar always adding a META-INF/native-image/argfile to the jar #33363
📔 Documentation
- Improve gradle plugin tags documentation #33617
- Improve maven plugin tags documentation #33616
- Fix typo in tomcat accesslog checkExists doc #33512
- Documented Java compiler level is wrong #33505
- Fix typo in documentation #33453
- Update instead of replace environment in bootBuildImage documentation #33424
- Update the reference docs to document the need to declare the native-maven-plugin when using buildpacks to create a native image #33422
- Document that the shutdown endpoint is not intended for use when deploying a war to a servlet container #33410
- Reinstate GraphQL testing documentaion #33407
- Description of
NEVER
in Sanitize Sensitive Values isn't formatted correctly #33398
🔨 Dependency Upgrades
- Upgrade to AspectJ 1.9.19 #33586
- Upgrade to Byte Buddy 1.12.20 #33587
- Upgrade to Couchbase Client 3.4.1 #33588
- Upgrade to Dropwizard Metrics 4.2.14 #33589
- Upgrade to Elasticsearch Client 8.5.3 #33590
- Upgrade to Hibernate 6.1.6.Final #33591
- Upgrade to HttpClient 4.5.14 #33592
- Upgrade to HttpCore 4.4.16 #33593
- Upgrade to Infinispan 14.0.4.Final #33594
- Upgrade to Jaybird 4.0.8.java11 #33595
- Upgrade to Jetty 11.0.13 #33596
- Upgrade to jOOQ 3.17.6 #33597
- Upgrade to Kotlin 1.7.22 #33598
- Upgrade to Lettuce 6.2.2.RELEASE #33599
- Upgrade to MongoDB 4.8.1 #33600
- Upgrade to MSSQL JDBC 11.2.2.jre17 #33601
- Upgrade to Native Build Tools Plugin 0.9.19 #33602
- Upgrade to Netty 4.1.86.Final #33603
- Upgrade to Reactor 2022.0.1 #33475
- Upgrade to SLF4J 2.0.6 #33604
- Upgrade to Spring for GraphQL 1.1.1 #33477
- Upgrade to Spring Framework 6.0.3 #33476
- Upgrade to Spring Integration 6.0.1 #33605
- Upgrade to Spring Kafka 3.0.1 #33480
- Upgrade to Spring Security 6.0.1 #33479
- Upgrade to Thymeleaf 3.1.1.RELEASE #33486
- Upgrade to Thymeleaf Extras SpringSecurity 3.1.1.RELEASE #33606
- Upgrade to Tomcat 10.1.4 #33167
- Upgrade to UnboundID LDAPSDK 6.0.7 #33607
- Upgrade to Undertow 2.3.2.Final #33608
❤ Contributors
Thank you to all the contributors who worked on this release:
@Artur-, @aksh1618, @candrews, @cdanger, @currenjin, @izeye, @jprinet, @lishangbu, @ohdaeho, @peter-janssen, and @shekharAggarwal
v3.0.0
See the Release notes for 3.0 for upgrade instructions and details of new features.
⭐ New Features
- Provide a configuration property for the observation patterns of Spring Integration components #33099
:lady_beetle: Bug Fixes
- io.micrometer.tracing.Tracer on the classpath breaks AOT processing for tests #33298
- Tracer library HTTP instrumentation is auto-configured unnecessarily #33287
- Auto-configuration ignores user-provided ObservationConventions #33285
-
ScheduledBeanLazyInitializationExcludeFilter
is auto-configured even when annotation-based scheduled has not been enabled #33284 - SpringBootContextLoader prints banner twice when using a
@ContextHierarchy
#33263 - Properties migrator causes an application to fail to start if it tries to map a property whose metadata data entry contains an invalid configuration property name #33250
- Wavefront MeterRegistryCustomizer is not applying application tags from application.properties #33244
- Actuator responses no longer format timestamps as ISO-8601 #33236
- Configuration property is not bound in a native image when property has get, set, and is methods #33232
- Configuration property binding does not deal with bridge methods #33212
- Contribute missing resource hints for GraphQL schema files and GraphiQL HTML page #33208
- Hints for ClientHttpRequestFactory should only be generated for matching methods #33203
- Native profile should configure execution in pluginManagement #33184
- Configuring management.server.port via a config tree results in a ConverterNotFoundException when the management context is refreshed #33169
- JBoss logging does not route directly to SLF4J when using Logback #33155
- Test with UseMainMethod.Always do not work with Kotlin main functions #33114
- Maven process-aot does not specify source and target release when compiling generated sources #33112
- Some Actuator beans are ineligible for post-processing #33110
- AOT-generated source fails to compile when Actuator is enabled on a WebFlux project #33106
-
@ContextHierarchy
should never be used with main method #33078 - Maven process-aot fails when compiler plugin has been configured with --enable-preview #33012
- Wavefront application tags differ from those used in a Spring Boot 2.x application #32844
- Maven goal
spring-boot:build-image
runs package phase twice #26455
📔 Documentation
- Document observation for R2DBC #33335
- Align Tomcat multiple connectors example with recommendation to configure SSL declaratively #33333
- Actuator document is misleading about k8s startup probe #33327
- Update documented for
@Timed
to reflect narrower support #33282 - Update reference documentation to replace mentions of tags providers and contributors with their Observation-based equivalents #33281
- Link to Micrometer's
@Timed
documentation #33266 - Clarify use of the
spring.cache.type
property with Hazelcast #33258 - Example git.commit.time in the Actuator API documentation is thousands of years in the future #33256
- Update Spring Security filter dispatcher types docs to reflect change in default value #33252
- Documentation for nested configuration properties in a native image uses
@NestedConfigurationProperty
too widely #33239 - Document that the
jar
task should not be disabled when building a native image #33238 - Document nesting configuration properties using records or Kotlin data classes and how and when to use
@NestedConfigurationProperty
#33235 - Links to Features describes sections that have moved elsewhere #33214
- Fix broken links in docs #33209
- Document the need for compilation with -parameters when targeting a native image #33182
- Remove outdated native image documentation #33109
- Mention
@RegisterReflectionForBinding
in the docs #32903
🔨 Dependency Upgrades
- Upgrade to Byte Buddy 1.12.19 #33302
- Upgrade to Caffeine 3.1.2 #33339
- Upgrade to Dropwizard Metrics 4.2.13 #33303
- Upgrade to Ehcache3 3.10.8 #33304
- Upgrade to Elasticsearch Client 8.5.1 #33225
- Upgrade to Glassfish JSTL 3.0.1 #33305
- Upgrade to Hazelcast 5.1.5 #33187
- Upgrade to HttpClient5 5.1.4 #33306
- Upgrade to HttpCore5 5.1.5 #33188
- Upgrade to Jackson 2.14.1 #33289
- Upgrade to Jackson Bom 2.14.0 #33189
- Upgrade to Janino 3.1.9 #33307
- Upgrade to Jaybird 4.0.7.java11 #33190
- Upgrade to Kotlin 1.7.21 #33191
- Upgrade to Logback 1.4.5 #33308
- Upgrade to MariaDB 3.0.9 #33192
- Upgrade to Micrometer 1.10.2 #33334
- Upgrade to MongoDB 4.8.0 #33193
- Upgrade to Native Build Tools 0.9.18 #33301
- Upgrade to Netty 4.1.85.Final #33194
- Upgrade to Postgresql 42.5.1 #33340
- Upgrade to R2DBC H2 1.0.0.RELEASE #33195
- Upgrade to R2DBC Pool 1.0.0.RELEASE #33196
- Upgrade to R2DBC Postgresql 1.0.0.RELEASE #33197
- Upgrade to R2DBC Proxy 1.0.1.RELEASE #33309
- Upgrade to REST Assured 5.2.1 #33310
- Upgrade to SLF4J 2.0.4 #33311
- Upgrade to Spring AMQP 3.0.0 #33141
- Upgrade to Spring Batch 5.0.0 #33148
- Upgrade to Spring Data 2022.0.0 #33140
- Upgrade to Spring Framework 6.0.0 #33136
- Upgrade to Spring Framework 6.0.2 #33286
- Upgrade to Spring GraphQL 1.1.0 #33145
- Upgrade to Spring HATEOAS 2.0.0 #33137
- Upgrade to Spring Integration 6.0.0 #33146
- Upgrade to Spring Kafka 3.0.0 #33142
- Upgrade to Spring LDAP 3.0.0 #33138
- Upgrade to Spring REST Docs 3.0.0 #33143
- Upgrade to Spring Retry 2.0.0 #33149
- Upgrade to Spring Security 6.0.0 #33144
- Upgrade to Spring Session 3.0.0 #33147
- Upgrade to Spring WS 4.0.0 #33139
- Upgrade to SQLite JDBC 3.39.4.1 #33312
- Upgrade to Thymeleaf 3.1.0.RELEASE #33313
- Upgrade to Thymeleaf Extras SpringSecurity 3.1.0.RELEASE #33314
- Upgrade to Yasson 3.0.2 #33201
❤ Contributors
Thank you to all the contributors who worked on this release:
@artembilan, @dreis2211, @hpoettker, @izeye, @jonatan-ivanov, @oppegard, @sdeleuze, @ttddyy, @tumit, and @vpavic
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.