Update org.springframework.boot.version to v4 (major)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| org.springframework.boot:spring-boot-maven-plugin (source) | build | major | 3.5.6 -> 4.0.0 |
| org.springframework.boot:spring-boot-dependencies (source) | import | major | 3.5.6 -> 4.0.0 |
Release Notes
spring-projects/spring-boot (org.springframework.boot:spring-boot-maven-plugin)
v4.0.0
:star: New Features
- Change tomcat and jetty runtime modules to starters #β48175
- Rename spring-boot-kotlin-serialization to align with the name of the Kotlinx module that it pulls in #β48076
:lady_beetle: Bug Fixes
- Error properties are a general web concern and should not be located beneath server.* #β48201
- With both Jackson 2 and 3 on the classpath,
@JsonTestfails due to duplicate jacksonTesterFactoryBean #β48198 - Gradle war task does not exclude starter POMs from lib-provided #β48197
- spring.test.webclient.mockrestserviceserver.enabled is not aligned with its module's name #β48193
- SslMeterBinder doesn't register metrics for dynamically added bundles if no bundles exist at bind time #β48182
- Properties bound in the child management context ignore the parent's environment prefix #β48177
- ssl.chain.expiry metrics doesn't update for dynamically registered SSL bundles #β48171
- Starter for spring-boot-micrometer-metrics is missing #β48161
- Elasticsearch client's sniffer functionality should not be enabled by default #β48155
- spring-boot-starter-elasticsearch should depend on elasticsearch-java #β48141
- Auto-configuration exclusions are checked using a different class loader to the one that loads auto-configuration classes #β48132
- New arm64 macbooks fail to bootBuildImage due to incorrect platform image #β48128
- Properties for configuring an isolated JsonMapper or ObjectMapper are incorrectly named #β48116
- Buildpack fails with recent Docker installs due to hardcoded version in URL #β48103
- Image building may fail when specifying a platform if an image has already been built with a different platform #β48099
- Default values of Kotlinx Serialization JSON configuration properties are not documented #β48097
- Custom XML converters should override defaults in HttpMessageConverters #β48096
- Kotlin serialization is used too aggressively when other JSON libraries are available #β48070
- PortInUseException incorrectly thrown on failure to bind port due to Netty IP misconfiguration #β48059
- Auto-configured JCacheMetrics cannot be customized #β48057
- WebSecurityCustomizer beans are excluded by WebMvcTest #β48055
- Deprecated EnvironmentPostProcessor does not resolve arguments #β48047
- RetryPolicySettings should refer to maxRetries, not maxAttempts #β48023
- Devtools Restarter does not work with a parameterless main method #β47996
- Dependency management for Kafka should not manage Scala 2.12 libraries #β47991
- spring-boot-mail should depend on jakarta.mail:jakarta.mail-api and org.eclipse.angus:angus-mail instead of org.eclipse.angus:jakarta.mail #β47983
- spring-boot-starter-data-mongodb-reactive has dependency on reactor-test #β47982
- Support for ReactiveElasticsearchClient is in the wrong module #β47848
:notebook_with_decorative_cover: Documentation
- Removed property spring.test.webclient.register-rest-template is still documented #β48199
- Mention support for detecting AWS ECS in "Deploying to the Cloud" #β48170
- Revise AWS section of "Deploying to the Cloud" in reference manual #β48163
- Fix typo in PortInUseException Javadoc #β48134
- Correct section about required setters in "Type-safe Configuration Properties" #β48131
- Use since attribute in configuration properties deprecation consistently #β48122
- Document EndpointJsonMapper and management.endpoints.jackson.isolated-json-mapper #β48115
- Document support for configuring servlet context init parameters using properties #β48112
- Some configuration properties are not documented in the appendix #β48095
- Clarify how warnings about soon-to-expire SSL certificates are reported #β48063
- Document how to use ContextPropagatingTaskDecorator for propagating trace context over thread boundaries #β48053
- Document the level of support for the OpenTelemetry APIs #β47960
- Document that you need to build with Java 25 for buildpack build-image Graal support #β45501
:hammer: Dependency Upgrades
- Upgrade to Cassandra Driver 4.19.2 #β48184
- Upgrade to DB2 JDBC 12.1.3.0 #β48087
- Upgrade to Elasticsearch Client 9.2.1 #β48137
- Upgrade to GraphQL Java 25.0 #β48034
- Upgrade to Hibernate 7.1.8.Final #β48150
- Upgrade to Jackson Bom 3.0.2 #β48089
- Upgrade to Jetty 12.1.4 #β48120
- Upgrade to Jetty Reactive HTTPClient 4.1.4 #β48151
- Upgrade to jOOQ 3.19.28 #β48090
- Upgrade to Kafka 4.1.1 #β48185
- Upgrade to Logback 1.5.21 #β48091
- Upgrade to Micrometer 1.16.0 #β47820
- Upgrade to Micrometer Tracing 1.6.0 #β47821
- Upgrade to MySQL 9.5.0 #β48092
- Upgrade to Native Build Tools Plugin 0.11.3 #β48051
- Upgrade to Neo4j Java Driver 6.0.2 #β47997
- Upgrade to Prometheus Client 1.4.3 #β48093
- Upgrade to Reactor Bom 2025.0.0 #β47822
- Upgrade to Spring AMQP 4.0.0 #β47823
- Upgrade to Spring Batch 6.0.0 #β47834
- Upgrade to Spring Data Bom 2025.1.0 #β47824
- Upgrade to Spring Framework 7.0.1 #β48168
- Upgrade to Spring GraphQL 2.0.0 #β47826
- Upgrade to Spring HATEOAS 3.0.0 #β47827
- Upgrade to Spring Integration 7.0.0 #β47828
- Upgrade to Spring Kafka 4.0.0 #β47829
- Upgrade to Spring LDAP 4.0.0 #β47999
- Upgrade to Spring Pulsar 2.0.0 #β47830
- Upgrade to Spring RESTDocs 4.0.0 #β47831
- Upgrade to Spring Security 7.0.0 #β47832
- Upgrade to Spring Session 4.0.0 #β48000
- Upgrade to Spring WS 5.0.0 #β47833
- Upgrade to Testcontainers 2.0.2 #β48152
- Upgrade to Tomcat 11.0.14 #β48094
:heart: Contributors
Thank you to all the contributors who worked on this release:
@βK-jun98, @βTerryTaoYY, @βfiliphr, @βhojooo, @βlinw-bai, @βnosan, @βscottfrederick, @βstevearmstrong-dev, @βstewue, and @βvpavic
v3.5.8
:warning: Noteworthy changes
- This release contains a fix to get Testcontainers working with modern Docker versions. If this causes problems in your setup, you can downgrade the minimum Docker API, effectively reverting that change.
:lady_beetle: Bug Fixes
- Gradle war task does not exclude starter POMs from lib-provided #β48196
- Testcontainers integration fails on Docker 29.0.0 #β48192
- SslMeterBinder doesn't register metrics for dynamically added bundles if no bundles exist at bind time #β48180
- Properties bound in the child management context ignore the parent's environment prefix #β48176
- ssl.chain.expiry metrics doesn't update for dynamically registered SSL bundles #β48153
- Auto-configuration exclusions are checked using a different class loader to the one that loads auto-configuration classes #β48129
- New arm64 macbooks fail to bootBuildImage due to incorrect platform image #β48127
- NullPointerException when using
@ConditionalOnSingleCandidatewith multiple manually registered singletons #β48123 - Buildpack fails with recent Docker installs due to hardcoded version in URL #β48102
- Image building may fail when specifying a platform if an image has already been built with a different platform #β48098
- Undertow's ServletContext is destroy too early, making it unusable in
@PreDestroymethods #β48061 - PortInUseException incorrectly thrown on failure to bind port due to Netty IP misconfiguration #β48058
- Auto-configured JCacheMetrics cannot be customized #β48056
- WebSecurityCustomizer beans are excluded by WebMvcTest #β48054
- Devtools Restarter does not work with a parameterless main method #β47987
- Setting 'max-uri-tags' does not prevent unlimited meter growth on any AutoConfiguredCompositeMeterRegistry #β47923
- Docker response 407 is not handled correctly resulting in no error message #β47900
- spring-boot-maven-plugin process-aot goal does not find package-private main method #β47780
:notebook_with_decorative_cover: Documentation
- Revise AWS section of "Deploying to the Cloud" in reference manual #β48156
- Fix typo in PortInUseException Javadoc #β48133
- Correct section about required setters in "Type-safe Configuration Properties" #β48130
- Document EndpointObjectMapper and management.endpoints.jackson.isolated-object-mapper #β48114
- Document support for configuring servlet context init parameters using properties #β48111
- Clarify how warnings about soon-to-expire SSL certificates are reported #β48062
- Document how to use ContextPropagatingTaskDecorator for propagating trace context over thread boundaries #β48052
- Use since attribute in configuration properties deprecation consistently #β47980
- BootstrapContext#getOrElseThrow has incorrect reference to IllegalStateException #β47905
- Clarify when BootstrapContext get methods may return null rather than throwing an exception or calling the fallback supplier #β47898
- Document that Actuator endpoint may have at most one extension of each type #β47873
- Limit Kotlin API documentation to Kotlin-specific APIs #β47859
- Adapt AOTCache documentation to JEP 514 #β47274
:hammer: Dependency Upgrades
- Downgrade to Cassandra Driver 4.19.0 #β47926
- Upgrade to AspectJ 1.9.25 #β48005
- Upgrade to Caffeine 3.2.3 #β48006
- Upgrade to Cassandra Driver 4.19.2 #β48183
- Upgrade to DB2 JDBC 12.1.3.0 #β48083
- Upgrade to Hibernate 6.6.36.Final #β48148
- Upgrade to Jackson Bom 2.19.4 #β48008
- Upgrade to Jetty 12.0.30 #β48118
- Upgrade to Jetty Reactive HTTPClient 4.0.13 #β48149
- Upgrade to jOOQ 3.19.28 #β48084
- Upgrade to Logback 1.5.21 #β48085
- Upgrade to Micrometer 1.15.6 #β48009
- Upgrade to Micrometer Tracing 1.5.6 #β48010
- Upgrade to MySQL 9.5.0 #β48011
- Upgrade to Neo4j Java Driver 5.28.10 #β48044
- Upgrade to Quartz 2.5.1 #β48012
- Upgrade to R2DBC Postgresql 1.0.9.RELEASE #β48013
- Upgrade to Reactor Bom 2024.0.12 #β48014
- Upgrade to Spring Data Bom 2025.0.6 #β48039
- Upgrade to Spring Framework 6.2.14 #β48166
- Upgrade to Spring Integration 6.5.4 #β48040
- Upgrade to Spring Kafka 3.3.11 #β48041
- Upgrade to Spring Pulsar 1.2.12 #β48042
- Upgrade to Spring Security 6.5.7 #β48043
- Upgrade to Tomcat 10.1.49 #β48086
:heart: Contributors
Thank you to all the contributors who worked on this release:
@βK-jun98, @βTerryTaoYY, @βhojooo, @βlinw-bai, @βmipo256, @βnamest504, @βngocnhan-tran1996, @βnosan, @βscottfrederick, @βsiva-sai-udaygiri, @βtschut, and @βvpavic
v3.5.7
:star: New Features
- Add TWENTY_FIVE to JavaVersion enum #β47609
:lady_beetle: Bug Fixes
- Signed jar verification fails when nested in an uber war running on an Oracle JVM #β47771
- In an uber war, value of the Sbom-Location manifest attribute does not match the SBOM's actual location #β47737
- Homebrew formula for the CLI should use libexec #β47722
- When virtual threads are enabled, embedded Jetty does not use recommended virtual thread configuration #β47717
- ClientHttpRequestFactoryRuntimeHints is missing timeout methods with Duration overloads #β47678
- OnBeanCondition no longer correctly finds annotations on scoped target proxy beans #β47635
- JavaVersion doesn't work reliably in native-image #β47620
- LiquibaseEndpoint always uses defaultSchema instead of liquibaseSchema #β47346
- Launcher fails to find main method when it is parameterless #β47311
- Package private Main class using Java 25 is not found by build plugins #β47309
- Bitnami legacy images are not automatically detected #β47275
- Maven plugin does not provide an easy way to exclude optional dependencies from uber jar #β25403
:notebook_with_decorative_cover: Documentation
- Some spring.test.* properties are not documented #β47775
- Dependency management for Maven AntRun Plugin is missing changelog link #β47744
- Developing Your First Spring Boot Application has outdated tools #β47700
- Include deprecated configuration properties in the reference documentation #β47669
- Aggregated Javadoc should link to the proper version of JakartaEE #β47593
- Update javadoc of TestRestTemplate following change to redirect behavior #β47474
- Use non-deprecated syntax to configure sourceCompatibility #β47343
- Fix link to Framework's
@Beanannotation #β47330 - Update managed dependency version override examples in documentation #β47306
:hammer: Dependency Upgrades
- Upgrade to ActiveMQ 6.1.8 #β47767
- Upgrade to Angus Mail 2.0.5 #β47525
- Upgrade to AssertJ 3.27.6 #β47526
- Upgrade to Byte Buddy 1.17.8 #β47527
- Upgrade to Cassandra Driver 4.19.1 #β47768
- Upgrade to Classmate 1.7.1 #β47528
- Upgrade to Elasticsearch Client 8.18.8 #β47671
- Upgrade to Glassfish JAXB 4.0.6 #β47529
- Upgrade to GraphQL Java 24.3 #β47755
- Upgrade to Groovy 4.0.29 #β47713
- Upgrade to Hibernate 6.6.33.Final #β47530
- Upgrade to HttpClient5 5.5.1 #β47531
- Upgrade to HttpCore5 5.3.6 #β47532
- Upgrade to Jakarta Mail 2.1.5 #β47533
- Upgrade to Jakarta XML Bind 4.0.4 #β47242
- Upgrade to Jetty 12.0.29 #β47728
- Upgrade to Jetty Reactive HTTPClient 4.0.12 #β47534
- Upgrade to jOOQ 3.19.27 #β47536
- Upgrade to Logback 1.5.20 #β47714
- Upgrade to Lombok 1.18.42 #β47538
- Upgrade to Maven Compiler Plugin 3.14.1 #β47539
- Upgrade to Micrometer 1.15.5 #β47457
- Upgrade to Micrometer Tracing 1.5.5 #β47458
- Upgrade to MongoDB 5.5.2 #β47648
- Upgrade to MSSQL JDBC 12.10.2.jre11 #β47612
- Upgrade to Netty 4.1.128.Final #β47649
- Upgrade to Postgresql 42.7.8 #β47540
- Upgrade to Pulsar 4.0.7 #β47541
- Upgrade to R2DBC H2 1.0.1.RELEASE #β47729
- Upgrade to R2DBC Postgresql 1.0.8.RELEASE #β47542
- Upgrade to Reactor Bom 2024.0.11 #β47459
- Upgrade to RxJava3 3.1.12 #β47543
- Upgrade to Spring AMQP 3.2.8 #β47614
- Upgrade to Spring Authorization Server 1.5.3 #β47460
- Upgrade to Spring Batch 5.2.4 #β47487
- Upgrade to Spring Data Bom 2025.0.5 #β47461
- Upgrade to Spring Framework 6.2.12 #β47462
- Upgrade to Spring GraphQL 1.4.3 #β47754
- Upgrade to Spring Integration 6.5.3 #β47615
- Upgrade to Spring LDAP 3.3.4 #β47463
- Upgrade to Spring Pulsar 1.2.11 #β47464
- Upgrade to Spring Security 6.5.6 #β47465
- Upgrade to Spring Session 3.5.3 #β47466
- Upgrade to Spring WS 4.1.2 #β47467
- Upgrade to Tomcat 10.1.48 #β47613
- Upgrade to Undertow 2.3.20.Final #β47545
- Upgrade to WebJars Locator Lite 1.1.2 #β47546
:heart: Contributors
Thank you to all the contributors who worked on this release:
@βDKARAGODIN, @βJinhyeokFang, @βLublanski, @βPankraz76, @βfhiyo, @βngocnhan-tran1996, @βnosan, @βscottfrederick, and @βxyraclius
Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about these updates again.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Renovate Bot.