Releases: spring-projects/spring-boot
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
🐞 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.7
🐞 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
v2.7.12
🐞 Bug Fixes
- Welcome page may return a 404 when an acceptable response cannot be produced #35552
- Invalid reference format error when tagging images using Podman #35358
FactoryBean.getObject
for non-singleton executed when resetting mocks #35324- Can't use PEM encoded PKCS#8 EC keys with server.ssl.certificate-private-key #35322
- Webflux server gracefulshutdown throws NullPointerException #35264
- Health actuator mail details shows the port as -1 when using the default port #35247
- SessionRepositoryFilterConfiguration can cause early initialization of SessionRepository beans including Redis #35240
- Devtools main method search algorithm can find incorrect main method #35214
- When a WebFlux app is deployed to Cloud Foundry some metrics are lost and numerous beans are ineligible for post-processing #35163
- Liveness and readiness probes return down when lazy initialization is enabled #35161
- Treating a null Flyway-specific password as an empty string prevents the use of PGPASS for authentication #35110
- WebClient auto-configuration tries to use HttpComponentsClientHttpConnector when all required classes are not present #34964
- MinIdle and MaxValidationTime properties missing for R2DBC pools #34724
📔 Documentation
- Polish formatting of permitAll() endpoint security Kotlin example #35454
- Wrong anchors in Maven plugin documentation #35371
- Correct list of annotations that are equivalent to
@SpringBootApplication
#35180 - Harmonize references to application.yaml files in reference docs #34628
🔨 Dependency Upgrades
- Upgrade to Elasticsearch 7.17.10 #35339
- Upgrade to Hazelcast 5.1.6 #35440
- Upgrade to Johnzon 1.2.20 #35340
- Upgrade to Json-smart 2.4.11 #35549
- Upgrade to Micrometer 1.9.11 #35290
- Upgrade to Netty 4.1.92.Final #35441
- Upgrade to Reactor Bom 2020.0.32 #35291
- Upgrade to Spring Data Bom 2021.2.12 #35292
- Upgrade to Spring Integration 5.5.18 #35294
- Upgrade to Tomcat 9.0.75 #35442
❤️ Contributors
Thank you to all the contributors who worked on this release:
v2.6.15
🐞 Bug Fixes
- Welcome page may return a 404 when an acceptable response cannot be produced #35561
- Loading application.yml fails with NoSuchMethodError when using SnakeYAML 2.0 #35415
- CloudFoundry integration does not use endpoint path mappings #35412
🔨 Dependency Upgrades
- Upgrade to ActiveMQ 5.16.6 #35507
- Upgrade to Dropwizard Metrics 4.2.18 #35508
- Upgrade to FreeMarker 2.3.32 #35509
- Upgrade to Glassfish JAXB 2.3.8 #35510
- Upgrade to Groovy 3.0.17 #35511
- Upgrade to Hazelcast 4.2.7 #35512
- Upgrade to Hibernate 5.6.15.Final #35513
- Upgrade to HttpClient 4.5.14 #35514
- Upgrade to HttpCore 4.4.16 #35515
- Upgrade to Infinispan 12.1.14.Final #35516
- Upgrade to Jackson Bom 2.13.5 #35517
- Upgrade to Jaybird 4.0.9.java8 #35518
- Upgrade to Jetty 9.4.51.v20230217 #35520
- Upgrade to Jetty Reactive HTTPClient 1.1.14 #35519
- Upgrade to Johnzon 1.2.20 #35521
- Upgrade to Jolokia 1.7.2 #35522
- Upgrade to Json-smart 2.4.10 #35523
- Upgrade to Logback 1.2.12 #35524
- Upgrade to Lombok 1.18.26 #35525
- Upgrade to MariaDB 2.7.9 #35526
- Upgrade to Micrometer 1.8.13 #35527
- Upgrade to MySQL 8.0.33 #35528
- Upgrade to Neo4j Java Driver 4.4.11 #35529
- Upgrade to Netty 4.1.92.Final #35530
- Upgrade to Netty tcNative 2.0.61.Final #35531
- Upgrade to Reactor Bom 2020.0.32 #35532
- Upgrade to Spring AMQP 2.4.12 #35533
- Upgrade to Spring Batch 4.3.8 #35534
- Upgrade to Spring Framework 5.3.27 #35535
- Upgrade to Spring Integration 5.5.18 #35536
- Upgrade to Spring Security 5.6.10 #35537
- Upgrade to Spring WS 3.1.6 #35538
- Upgrade to Thymeleaf Extras SpringSecurity 3.0.5.RELEASE #35539
- Upgrade to Tomcat 9.0.75 #35540
- Upgrade to Undertow 2.2.24.Final #35541
v2.5.15
🐞 Bug Fixes
- Welcome page may return a 404 when an acceptable response cannot be produced #35559
- Loading application.yml fails with NoSuchMethodError when using SnakeYAML 2.0 #35414
- CloudFoundry integration does not use endpoint path mappings #35411
🔨 Dependency Upgrades
- Upgrade to ActiveMQ 5.16.6 #35461
- Upgrade to AppEngine SDK 1.9.98 #35462
- Upgrade to Dependency Management Plugin 1.0.15.RELEASE #35463
- Upgrade to Dropwizard Metrics 4.1.36 #35464
- Upgrade to Ehcache3 3.9.10 #35465
- Upgrade to FreeMarker 2.3.32 #35466
- Upgrade to Glassfish JAXB 2.3.8 #35467
- Upgrade to Groovy 3.0.17 #35468
- Upgrade to Hazelcast 4.1.10 #35469
- Upgrade to Hibernate Validator 6.2.5.Final #35470
- Upgrade to HttpClient 4.5.14 #35471
- Upgrade to HttpCore 4.4.16 #35472
- Upgrade to HttpCore5 5.1.5 #35473
- Upgrade to Infinispan 12.1.14.Final #35474
- Upgrade to Jackson Bom 2.12.7.20221012 #35475
- Upgrade to Janino 3.1.9 #35476
- Upgrade to Jaybird 4.0.9.java8 #35477
- Upgrade to Jetty 9.4.51.v20230217 #35479
- Upgrade to Jetty Reactive HTTPClient 1.1.14 #35478
- Upgrade to Johnzon 1.2.20 #35480
- Upgrade to jOOQ 3.14.16 #35481
- Upgrade to Json-smart 2.4.10 #35482
- Upgrade to JsonAssert 1.5.1 #35483
- Upgrade to Lettuce 6.1.10.RELEASE #35484
- Upgrade to Logback 1.2.12 #35485
- Upgrade to Lombok 1.18.26 #35486
- Upgrade to MariaDB 2.7.9 #35487
- Upgrade to MySQL 8.0.33 #35488
- Upgrade to Netty 4.1.92.Final #35489
- Upgrade to Netty tcNative 2.0.61.Final #35490
- Upgrade to Postgresql 42.2.27 #35491
- Upgrade to Reactive Streams 1.0.4 #35492
- Upgrade to Reactor Bom 2020.0.32 #35493
- Upgrade to RSocket 1.1.3 #35494
- Upgrade to Spring Batch 4.3.8 #35495
- Upgrade to Spring Data Bom 2021.0.12 #35496
- Upgrade to Spring Framework 5.3.27 #35497
- Upgrade to Spring Integration 5.5.18 #35498
- Upgrade to Spring RESTDocs 2.0.7.RELEASE #35499
- Upgrade to Spring Retry 1.3.4 #35500
- Upgrade to Spring WS 3.1.6 #35501
- Upgrade to Thymeleaf Extras SpringSecurity 3.0.5.RELEASE #35502
- Upgrade to Tomcat 9.0.75 #35503
- Upgrade to Undertow 2.2.24.Final #35504
v3.1.0-RC2
⭐ New Features
- Provide a Gradle task for running an application using the test source set's output and runtime classpath #35248
- Support import of idomatic testcontainer declaration classes #35245
- Change DockerComposeProperties shutdown default to stop #35239
- Reduce the volume of Logback's output before the logging system is initialized #35238
- Improve testcontainers lifecycle to Initialize containers first and destroy them last #35223
- Apply TestcontainersLifecycleApplicationContextInitializer automatically for context tests #35222
- Don't call close methods for reusable testcontainers #35210
- Add manifest entry to indicate that a jar has been built for native image #35205
- SpringApplication.from(...) should provide access to the created context #35203
- Provide a Maven goal for running an application using a main class from src/test/java and the test runtime classpath #35202
- Allow testcontainer beans to also contribute properties #35201
- Remove service connection support for InfluxDB #35189
- Support Brave's joint spans #35165
- Reinstate dependency management for io.r2dbc:r2dbc-mssql #35159
- Add SSL bundle support to Elasticsearch auto-configuration #35155
- Allow Couchbase SSL to be enabled without custom trust material #35147
- Add Docker Compose service connection support for SQL Server using JDBC #35146
- Add Docker Compose service connection support for Oracle Database using JDBC #35145
- Add Docker Compose service connection support for SQL Server using R2DBC #35144
- Add Docker Compose service connection support for Oracle Database using R2DBC #35143
- Add Docker Compose service connection support for Liquibase #35141
- Add Docker Compose service connection support for Flyway #35138
- Add Docker Compose service connection support for Cassandra #35136
- Deprecate Couchbase SSL keystore properties #35135
- Add service connection from Testcontainers Zipkin #35107
- Add SSL bundle support to Redis auto-configuration #34815
🐞 Bug Fixes
- Webflux server gracefulshutdown throws NullPointerException #35270
- Health actuator mail details does not show default port #35255
- SessionRepositoryFilterConfiguration can cause early initialization of SessionRepository beans including Redis #35242
- Liveness and readiness probes return down when lazy initialization is enabled #35237
- Devtools main method search algorithm can find incorrect main method #35221
- TestTypeExcludeFilter is not applied when using SpringApplication.from #35206
- When a WebFlux app is deployed to Cloud Foundry some metrics are lost and numerous beans are ineligible for post-processing #35171
@ServiceConnection
annotation causes early bean initialization #35168@ServletComponentScan
causes AOT processing to fail with "Code generation is not supported for bean definitions declaring an instance supplier callback" #35160- Treating a null Flyway-specific password as an empty string prevents the use of PGPASS for authentication #35132
- Containers managed by TestcontainersLifecycleBeanPostProcessor are closed twice #35120
- spring-boot-testcontainers does not add org.testcontainers:testcontainers to the compile classpath of consumers #35119
- Testcontainers JDBC URL doesn't work with Spring Boot 3.1.0-RC1 #35109
- Kafka autoconfiguration fails to resolve spring.kafka.bootstrap-servers when using Testcontainers' KafkaContainer #34770
📔 Documentation
- Add reference to Tor Spring Boot Starter #35272
- Correct list of annotations that are equivalent to
@SpringBootApplication
#35231 - Harmonize references to application.yaml files in reference docs #35130
- Fix typo in testing docs #35128
- Add Kotlin samples to SSL bundle documentation #35105
- Consider reworking documentation around efficient deployment #32905
- Update getting started with alternative gradle instructions #32779
🔨 Dependency Upgrades
- Upgrade to Elasticsearch Client 8.7.1 #35274
- Upgrade to Hibernate 6.2.2.Final #35275
- Upgrade to Infinispan 14.0.9.Final #35276
- Upgrade to Jackson Bom 2.15.0 #35277
- Upgrade to Jakarta Activation 2.1.2 #35278
- Upgrade to JUnit Jupiter 5.9.3 #35279
- Upgrade to Kotlin 1.8.21 #35280
- Upgrade to MariaDB 3.1.4 #35281
- Upgrade to Mockito 5.3.1 #35282
- Upgrade to Netty 4.1.92.Final #35283
- Upgrade to R2DBC MySQL 1.0.1 #35284
❤️ Contributors
Thank you to all the contributors who worked on this release:
@aasaru, @deejay1, @eddumelendez, @ivandimitrov8080, @jonatan-ivanov, @quaff, and @theborakompanioni
v3.1.0-RC1
⭐ New Features
- Reintroduce support for ActiveMQ #35048
- Add SSL bundle support to MongoDB auto-configuration #35042
- Allow maven to filter spring-boot-docker-compose module #35027
- Allow LogLevel to be used easily with commons logging #35024
- Provide auto-configuration for testcontainer service connections #35022
- Support testcontainers lifecycle methods when used as Spring beans #35021
- Add SpringApplication.from(...) support #35019
- Refactor
@ServiceConnection
so that technology specific annotations are not required #35017 - Add aggregation temporality to OtlpProperties #34958
- Add properties to support device grant with Spring Authorization Server #34957
- Allow to customize opentelemetry SdkTracerProvider #34945
- Reinstate dependency management for R2DBC MySQL driver #34927
- Add Testcontainers integration for OracleContainer with R2DBC #34852
- Allow MockServerRestTemplateCustomizer to configure MockRestServiceServer's content buffering #34833
- Provide centralized configuration of SSL properties #34814
- Add SSL bundle support to Couchbase auto-configuration #34811
- Add SSL bundle support to RestTemplateBuilder auto-configuration #34810
- Fail more gracefully when a service connection is configured on a non-static field #34795
- Allow the application directory in an image built with buildpacks to be configurable #34786
- Add service connection from Testcontainers Redpanda #34780
- Auto-configure property-based
?ConnectionDetails
beans when there is no existing?ConnectionDetails
bean #34776 - Offer a way to customize the converters used by Spring Batch without extending DefaultBatchConfiguration #34769
- Create dedicated spring-boot-testcontainers module #34757
- Add support for additional colors in Log4j2 and Logback #34749
- Provide support for auto-configuring service connections from Docker Compose #34747
- Rename OAuth2ClientPropertiesRegistrationAdapter to align with PropertyMapper name #34714
- Allow components that are called before context refresh to use SpringApplication's shutdown handlers #34627
- Reinstate dependency management for org.mariadb:r2dbc-mariadb as it now supports R2DBC 1.0 #34625
- Add auto-configuration for OTLP span exporter #34508
- Prevent startup if a health indicator referenced in a health group does not exist #34360
- Allow docker image creation timestamp to be configurable #28798
- Add SSL bundle support to Cassandra auto-configuration #25602
- Provide a mechanism for customising the auto-configured NimbusJwtDecoders #20750
- Add SSL bundle support to WebClient auto-configuration #18556
🐞 Bug Fixes
- CloudFoundry integration does not use endpoint path mappings #35087
- ApplicationAvailability bean is auto-configured even if a custom one is already present #35069
- Gradle Spring Boot plugin with Kotlin DSL does not support includeProjectDependencies in bootJar > layered > dependencies configuration #35036
- Hints for including Liquibase changelogs in a native image are unnecessarily narrow #34936
- Unlike
@EnableBatchProcessing
, auto-configuration for Spring Batch does not enable observability of steps and jobs #34867 - Cassandra default configuration substitutions don't resolve against configuration derived from spring.data.cassandra properties #34800
- Banner placeholders use default values too soon #34793
- Service connections from a test class's enclosing class are not found #34790
- spring-boot-starter-oauth2-authorization-server is missing from spring-boot-dependencies #34785
- Nested test classes don't inherit properties from slice test annotations on enclosing class #34782
- DataSource auto-configuration does not use the driver class name from JdbcConnectionDetails #34777
- Maven compiler plugin configuration should not include source and target as maven.compiler.release is already set #34761
📔 Documentation
- Improve documentation of tracing dependencies and configuration properties #35040
- Add missing containers configuration reference to code snippet #35031
- Document docker compose support #35026
- Move testcontainers documentation from howto to features #35018
- Use current Neo4j version in Testcontainers-based examples #34941
- BatchProperties has an outdated reference to JPA #34937
- Document that optional dependencies are included by default in fat jars built with Maven #34789
- Document requirement for Maven 3.6.3 or later #34759
🔨 Dependency Upgrades
- Upgrade to Brave 5.15.1 #34999
- Upgrade to Byte Buddy 1.14.4 #34873
- Upgrade to Caffeine 3.1.6 #34931
- Upgrade to Couchbase Client 3.4.5 #35060
- Upgrade to Elasticsearch Client 8.7.0 #34979
- Upgrade to Flyway 9.16.3 #34990
- Upgrade to GraphQL Java 20.2 #34987
- Upgrade to Groovy 4.0.11 #34874
- Upgrade to Hazelcast 5.2.3 #34875
- Upgrade to Hibernate 6.2.1.Final #35000
- Upgrade to Infinispan 14.0.8.Final #34932
- Upgrade to Jackson Bom 2.15.0-rc3 #35061
- Upgrade to Jaxen 2.0.0 #35001
- Upgrade to Jaybird 5.0.1.java11 #35002
- Upgrade to Jetty 11.0.15 #34981
- Upgrade to jOOQ 3.18.3 #34982
- Upgrade to Json Path 2.8.0 #34878
- Upgrade to Kotlin 1.8.20 #34879
- Upgrade to Lettuce 6.2.4.RELEASE #35062
- Upgrade to Logback 1.4.7 #35093
- Upgrade to Maven Deploy Plugin 3.1.1 #34880
- Upgrade to Mav...
v3.0.6
🐞 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
v2.7.11
🐞 Bug Fixes
- CloudFoundry integration does not use endpoint path mappings #35085
- Gradle Spring Boot plugin with Kotlin DSL does not support includeProjectDependencies in bootJar > layered > dependencies configuration #35033
- Banner placeholders use default values too soon #34764
- Cassandra default configuration substitutions don't resolve against configuration derived from spring.data.cassandra properties #34643
- ApplicationAvailability bean is auto-configured even if a custom one is already present #34347
- Nested test classes don't inherit properties from slice test annotations on enclosing class #33317
📔 Documentation
- Use current Neo4j version in Testcontainers-based examples #34775
- Clarify servlet container compatibility #34697
- Document that optional dependencies are included by default in fat jars built with Maven #34636
🔨 Dependency Upgrades
- Upgrade to DB2 JDBC 11.5.8.0 #34906
- Upgrade to GraphQL Java 18.5 #34995
- Upgrade to Groovy 3.0.17 #34907
- Upgrade to Logback 1.2.12 #34908
- Upgrade to Micrometer 1.9.10 #34855
- Upgrade to MySQL 8.0.33 #35057
- Upgrade to Netty 4.1.91.Final #34909
- Upgrade to Reactor Bom 2020.0.31 #34856
- Upgrade to Spring AMQP 2.4.12 #34947
- Upgrade to Spring Data Bom 2021.2.11 #34902
- Upgrade to Spring Framework 5.3.27 #34857
- Upgrade to Spring Security 5.7.8 #34948
- Upgrade to Spring WS 3.1.6 #34949
- Upgrade to Tomcat 9.0.74 #35058
- Upgrade to Undertow 2.2.24.Final #34910
❤️ Contributors
Thank you to all the contributors who worked on this release:
@SeasonPanPan, @acktsap, @dreis2211, @jgslima, @krzyk, and @meistermeier
v3.1.0-M2
⭐ New Features
- Provide dependency management for Testcontainers #34712
- Configure support for GraphQL pagination and sorting #34677
- Reduce the boilerplate that's required in tests that use a service in a Testcontainers-managed container #34658
- Allow auto-configuration to consume service connection information from sources other than configuration properties #34657
- Add SanitizableData withSanitizedValue #34615
- Configure exception resolver for
@GraphQlExceptionHandler
methods #34526 - Switch from single topic for fixed delays to single topic for same intervals in Spring Kafka retry configuration. #34504
- Remove final from ProblemDetailsExceptionHandler classes to allow proxying #34503
- Rename version property for Git Commit ID Maven plugin from git-commit-id-plugin.version to git-commit-id-maven-plugin.version #34397
- Add build-info skip support #34393
- Add support for CNB platform API 0.11 #34383
- Configure maven.compiler.release in spring-boot-starter-parent to prevent impossible JDK API usage #34365
- Revert support for allowing JoranConfigurators to be passed ahead of time to Logback #34361
- Add management.wavefront.application.custom-tags property #34223
- Add RabbitTemplateCustomizer to allow customization of RabbitTemplates #34050
- Add Spring Authorization Server support #34003
🐞 Bug Fixes
- Use of
@EntityScan
causes AOT instance supplier code generation error #34731 - EmbeddedWebServerFactoryCustomizerAutoConfiguration should not run when embedded web server is not configured #34660
- StandardConfigDataResource can import the same file twice if the classpath includes '.' #34618
@ConfigurationProperties
no longer works on a mutable Kotlin data classes #34611- Loading application.yml fails with NoSuchMethodError when using SnakeYAML 2.0 #34516
- Image builds with podman fail when image buildpacks are configured #34496
- Maven plugin uses timezone-local timestamps when outputTimestamp is used #34431
- Spring Boot 3 does not provide a configuration property for configuring red metrics custom tag keys #34425
- org.springframework.boot.web.embedded.jetty.GracefulShutdown uses the wrong class to create its logger #34420
@ConfigurationProperties
with initialized nested record properties values no longer bind #34411- Custom ConfigDataLocationResolver/ConfigDataLoader fails in 3.0.x when combined with spring-boot-devtools #34375
- defaultTracingObservationHandler is not ordered as documented #34370
📔 Documentation
- Document support for Java 20 #34727
- Typo in Batch documentation: content instead of context #34707
- Clarify conventions for custom error pages in WebFlux #34706
- Fix Javadoc in JobLauncherApplicationRunner #34604
- Update two references to old APIs #34603
- Document how to get socket location for image building configuration with podman #34476
- Document support for Gradle 8 #34463
- Update Batch documentation #34456
- Add link to Failover starter #34423
- Fix typo in OpenTelemetry section #34416
- Fix typo in Encrypting Properties #34415
- Use plugins DSL consistently in Spring Boot Gradle Plugin docs #34392
🔨 Dependency Upgrades
- Upgrade to Byte Buddy 1.14.2 #34679
- Upgrade to Caffeine 3.1.5 #34571
- Upgrade to Couchbase Client 3.4.4 #34680
- Upgrade to Dropwizard Metrics 4.2.18 #34681
- Upgrade to Flyway 9.15.2 #34573
- Upgrade to GraphQL Java 20.1 #34715
- Upgrade to Groovy 4.0.10 #34683
- Upgrade to Infinispan 14.0.7.Final #34684
- Upgrade to Jedis 4.3.2 #34700
- Upgrade to Jetty 11.0.14 #34575
- Upgrade to Jetty Reactive HTTPClient 3.0.8 #34574
- Upgrade to jOOQ 3.18.1 #34701
- Upgrade to Json-smart 2.4.10 #34685
- Upgrade to Liquibase 4.20.0 #34578
- Upgrade to Logback 1.4.6 #34686
- Upgrade to MariaDB 3.1.3 #34716
- Upgrade to Maven Compiler Plugin 3.11.0 #34579
- Upgrade to Maven Help Plugin 3.4.0 #34687
- Upgrade to Micrometer 1.11.0-M2 #34546
- Upgrade to Micrometer Tracing 1.1.0-M2 #34547
- Upgrade to Netty 4.1.90.Final #34688
- Upgrade to OpenTelemetry 1.24.0 #34581
- Upgrade to Oracle R2DBC 1.1.1 #34723
- Upgrade to Postgresql 42.6.0 #34689
- Upgrade to Rabbit AMQP Client 5.17.0 #34702
- Upgrade to Reactor Bom 2022.0.5 #34553
- Upgrade to Selenium HtmlUnit 4.8.1.1 #34690
- Upgrade to SLF4J 2.0.7 #34691
- Upgrade to Spring AMQP 3.0.3 #34610
- Upgrade to Spring Data Bom 2023.0.0-M3 #34548
- Upgrade to Spring Framework 6.0.7 #34554
- Upgrade to Spring GraphQL 1.2.0-M1 #34550
- Upgrade to Spring HATEOAS 2.1.0-M1 #34703
- Upgrade to Spring Integration 6.1.0-M2 #34552
- Upgrade to Spring Kafka 3.0.5 #34555
- Upgrade to Spring Retry 2.0.1 #34556
- Upgrade to Spring Security 6.1.0-M2 #34549
- Upgrade to Spring Session 3.1.0-M1 #34551
- Upgrade to SQLite JDBC 3.41.2.0 #34725
- Upgrade to Tomcat 10.1.7 #34582
- Upgrade to UnboundID LDAPSDK 6.0.8 #34583
❤️ Contributors
Thank you to all the co...