Update spring boot to v3 (major)
This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
org.springframework.boot:spring-boot-starter-test (source) |
2.6.4 -> 3.1.1
|
||||
org.springframework.boot:spring-boot-devtools (source) |
2.6.4 -> 3.1.1
|
||||
org.springframework.boot:spring-boot-starter-log4j2 (source) |
2.6.4 -> 3.1.1
|
||||
org.springframework.boot:spring-boot-starter-web (source) |
2.6.4 -> 3.1.1
|
||||
org.springframework.boot:spring-boot-starter-quartz (source) |
2.6.4 -> 3.1.1
|
||||
org.springframework.boot:spring-boot-starter-mail (source) |
2.6.4 -> 3.1.1
|
||||
org.springframework.boot (source) |
2.6.3 -> 3.1.1
|
Release Notes
spring-projects/spring-boot
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.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
v2.7.13
:lady_beetle: Bug Fixes
- Spring Boot properties migrator can create circular references #35919
- Devtools does not support package-private main classes #35858
- Java 20 is supported but there's no value for it in the JavaVersion enum #35758
- Processing of
@EndpointCloudFoundryExtension
logs a warnings as it does not use@AliasFor
on its override of the endpoint attribute #35716 - Actuator loggers list endpoint throws exception on Log4J2 loggers with custom log levels #35227
- Validation is not applied for ConfigurationProperties that implement Validator and use
@ConstructorBinding
#33669
📔 Documentation
- Description of spring.data.mongodb.uri property incorrectly states that it overrides spring.data.mongodb.database #35686
- Update description of spring-boot-starter-data-rest to clarify that it uses Spring MVC #35678
- Move property notes up to external configuration section #35662
- Document audience support in OAuth2 resource server #35286
- Add
@DynamicPropertySource
to documented list of property source ordering #32901
🔨 Dependency Upgrades
- Upgrade to Dropwizard Metrics 4.2.19 #35794
- Upgrade to Hazelcast 5.1.7 #35987
- Upgrade to Infinispan 13.0.18.Final #35795
- Upgrade to Lombok 1.18.28 #35796
- Upgrade to Micrometer 1.9.12 #35725
- Upgrade to Netty 4.1.94.Final #35988
- Upgrade to Reactor Bom 2020.0.33 #35726
- Upgrade to Spring AMQP 2.4.13 #35727
- Upgrade to Spring Data Bom 2021.2.13 #35728
- Upgrade to Spring Framework 5.3.28 #35729
- Upgrade to Spring Security 5.7.9 #35730
- Upgrade to Spring Session Bom 2021.2.2 #35731
- Upgrade to Tomcat 9.0.76 #35799
- Upgrade to UnboundID LDAPSDK 6.0.9 #35800
- Upgrade to Undertow 2.2.25.Final #35801
❤ Contributors
Thank you to all the contributors who worked on this release:
@bbulgarelli, @bikash30851, and @twobiers
v2.7.12
:lady_beetle: 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:
@JunJaBoy, @aasaru, @davin111, and @ivandimitrov8080
v2.7.11
:lady_beetle: 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
v2.7.10
:lady_beetle: Bug Fixes
- Some of the deprecated spring.security.saml2.relyingparty.registration.*.identityprovider.* properties are ignored #34525
- Maven plugin uses timezone-local timestamps when outputTimestamp is used #34424
- Loading application.yml fails with NoSuchMethodError when using SnakeYAML 2.0 #34405
- EmbeddedWebServerFactoryCustomizerAutoConfiguration should not run when embedded web server is not configured #34332
- Image builds with podman fail when image buildpacks are configured #34324
- org.springframework.boot.web.embedded.jetty.GracefulShutdown uses the wrong class to create its logger #34220
- StandardConfigDataResource can import the same file twice if the classpath includes '.' #34212
📔 Documentation
- Document support for Java 20 #34642
- Update two references to old APIs #34567
- Clarify conventions for custom error pages in WebFlux #34534
- Add documentation tip showing how to configure publishRegistry Maven properties from the command line #34517
- Document support for Gradle 8 #34458
- Document how to get socket location for image building configuration with podman #34435
- Fix typo in Encrypting Properties #34386
- Use plugins DSL consistently in Spring Boot Gradle Plugin docs #34048
- Add link to Failover starter #32943
🔨 Dependency Upgrades
- Upgrade to Dropwizard Metrics 4.2.18 #34648
- Upgrade to GraphQL Java 18.4 #34717
- Upgrade to Groovy 3.0.16 #34649
- Upgrade to Jetty 9.4.51.v20230217 #34651
- Upgrade to Jetty Reactive HTTPClient 1.1.14 #34650
- Upgrade to Json-smart 2.4.10 #34652
- Upgrade to Micrometer 1.9.9 #34528
- Upgrade to Netty 4.1.90.Final #34653
- Upgrade to Reactor Bom 2020.0.30 #34529
- Upgrade to Spring AMQP 2.4.11 #34607
- Upgrade to Spring Data Bom 2021.2.10 #34530
- Upgrade to Spring Framework 5.3.26 #34531
- Upgrade to Spring GraphQL 1.0.4 #34532
- Upgrade to Spring HATEOAS 1.5.4 #34654
- Upgrade to Spring Integration 5.5.17 #34722
- Upgrade to Spring Session Bom 2021.2.1 #34533
- Upgrade to Tomcat 9.0.73 #34655
- Upgrade to UnboundID LDAPSDK 6.0.8 #34656
❤ Contributors
Thank you to all the contributors who worked on this release:
@1993heqiang, @anandmnair, @anthonydahanne, @dsyer, @izeye, @jongwooo, and @terminux
v2.7.9
:lady_beetle: Bug Fixes
- Maven Plugin's PropertiesMergingResourceTransformer closes InputStream when it should not do so #34063
- Actuator Health web endpoint broken with Gson and Java 17 #34030
- Dependency management for Mongo's Java Driver is incomplete #33941
- Using devtools with Reactive application results in slower restarts #33855
- Spies are not reset after test execution when using
@SpyBean
#33830 - Properties Migrator does not detect properties of Map type that are marked as deprecated #27854
📔 Documentation
- Updated documentation for
@ConfigurationProperties
bean naming rules #34029 - Restore "Use Jedis Instead of Lettuce" how-to documentation #33994
- Add Redis application properties example #33965
- Use Maven Central for release downloads in CLI installation documentation #33962
- Actuator section is missing from documentation overview #33932
- Add Javadoc since to OperationParameter.getAnnotation() #33914
- Document additional configuration that is required for spring.mvc.throw-exception-if-no-handler-found=true to be effective #31660
🔨 Dependency Upgrades
- Upgrade to ActiveMQ 5.16.6 #34238
- Upgrade to Byte Buddy 1.12.23 #34239
- Upgrade to Dropwizard Metrics 4.2.16 #34240
- Upgrade to Elasticsearch 7.17.9 #34241
- Upgrade to Glassfish JAXB 2.3.8 #34242
- Upgrade to Groovy 3.0.15 #34243
- Upgrade to Hibernate 5.6.15.Final #34244
- Upgrade to Jackson Bom 2.13.5 #34245
- Upgrade to Jaybird 4.0.9.java8 #34246
- Upgrade to Lombok 1.18.26 #34247
- Upgrade to Micrometer 1.9.8 #34141
- Upgrade to Netty 4.1.89.Final #34248
- Upgrade to Reactor Bom 2020.0.28 #34142
- Upgrade to Spring AMQP 2.4.10 #34321
- Upgrade to Spring Batch 4.3.8 #34143
- Upgrade to Spring Data Bom 2021.2.8 #34144
- Upgrade to Spring HATEOAS 1.5.3 #34249
- Upgrade to Spring Security 5.7.7 #34145
- Upgrade to Undertow 2.2.23.Final #34250
❤ Contributors
Thank you to all the contributors who worked on this release:
@Anubhav-2000, @enimiste, @izeye, @jprinet, @marcel-wollschlaeger, @mhalbritter, @michaldo, and @sannanansari
v2.7.8
⭐ Noteworthy
- The coordinates of the MySQL JDBC driver have changed from
mysql:mysql-connector-java
tocom.mysql:mysql-connector-j
.
:lady_beetle: Bug Fixes
- Devtools sets non-existent property spring.reactor.debug #33858
- Failing calls to reactive health indicators are not logged #33774
- Failure analysis of NoUniqueBeanDefinitionException reports "defined in null" when bean definition has no resource description #33765
- NPE in RabbitProperties when user is given, but password not #33752
- SDKMAN should not use repo.spring.io for releases #33708
- Homebrew and Scoop should not use repo.spring.io for releases #33702
- EndpointRequestMatcher should have a toString method #33690
- It is not possible to provide a custom TransactionProvider bean for JOOQ #32899
- SpringBootMockResolver causes AopTestUtils.getUltimateTargetObject to recurse until the stack overflows when it calls it with Spring Security's authentication manager bean #32632
- Inconsistent discovery of parameter names for selectors in custom actuator endpoints #31240
-
@DeprecatedConfigurationProperty
has no effect when declared on a record component's accessor method #29526 - Headless mode is forced when banner.* file is present. #28803
- Diagnostics are poor when the JMX port used by the Maven start goal is in use #24044
📔 Documentation
- Replace "via" in documentation and use "over" or "through" instead #33878
- Fix typo in kotlin getting started documentation #33867
- Update com.gorylenko.gradle-git-properties version to 2.4.1 in doc #33838
- Fix 'the the' typos #33736
- Fix typo in javadoc of org.springframework.boot.web.server.LocalServerPort #33683
- Fix a typo in the ExitCodeGenerator documentation #33658
- Fix typo in External Configuration documentation #33630
- Update getting started documentation to use
@SpringBootApplication
#32795 - Description of spring-boot-starter-websocket does not make it clear that it's Servlet-specific #32493
🔨 Dependency Upgrades
- Upgrade to Byte Buddy 1.12.22 #33887
- Upgrade to Dropwizard Metrics 4.2.15 #33779
- Upgrade to FreeMarker 2.3.32 #33888
- Upgrade to Groovy 3.0.14 #33780
- Upgrade to Infinispan 13.0.15.Final #33781
- Upgrade to Jolokia 1.7.2 #33782
- Upgrade to MariaDB 3.0.10 #33783
- Upgrade to Micrometer 1.9.7 #33784
- Upgrade to MSSQL JDBC 10.2.3.jre8 #33889
- Upgrade to MySQL 8.0.32 #33890
- Upgrade to Netty 4.1.87.Final #33891
- Upgrade to Reactor Bom 2020.0.27 #33785
- Upgrade to Spring AMQP 2.4.9 #33790
- Upgrade to Spring Data 2021.2.7 #33788
- Upgrade to Spring Framework 5.3.25 #33786
- Upgrade to Spring WS 3.1.5 #33789
- Upgrade to Tomcat 9.0.71 #33892
- Upgrade to XmlUnit2 2.9.1 #33787
❤ Contributors
Thank you to all the contributors who worked on this release:
@BartR96, @devrishal, @dreis2211, @izeye, @josephlane, @kvmw, @mhalbritter, @sannanansari, @sdeleuze, @yyjstudy, and @zhangyanyue
v2.7.7
:lady_beetle: Bug Fixes
- Fix typo in LocalDevToolsAutoConfiguration logging #33569
- Web server fails to start due to "Resource location must not be null" when attempting to use a PKCS 11 KeyStore #32179
📔 Documentation
- Improve gradle plugin tags documentation #33614
- Improve maven plugin tags documentation #33609
- Fix typo in tomcat accesslog checkExists doc #33460
- Document that the shutdown endpoint is not intended for use when deploying a war to a servlet container #17398
🔨 Dependency Upgrades
- Upgrade to Byte Buddy 1.12.20 #33570
- Upgrade to Dropwizard Metrics 4.2.14 #33571
- Upgrade to Elasticsearch 7.17.8 #33572
- Upgrade to HttpClient 4.5.14 #33573
- Upgrade to HttpCore 4.4.16 #33574
- Upgrade to Infinispan 13.0.14.Final #33575
- Upgrade to Jaybird 4.0.8.java8 #33576
- Upgrade to Jetty 9.4.50.v20221201 #33577
- Upgrade to MSSQL JDBC 10.2.2.jre8 #33578
- Upgrade to Neo4j Java Driver 4.4.11 #33579
- Upgrade to Netty 4.1.86.Final #33580
- Upgrade to Reactor 2020.0.26 #33543
- Upgrade to Spring Integration 5.5.16 #33581
- Upgrade to Spring Security 5.7.6 #33544
- Upgrade to Thymeleaf Extras SpringSecurity 3.0.5.RELEASE #33582
- Upgrade to Tomcat 9.0.70 #33583
- Upgrade to UnboundID LDAPSDK 6.0.7 #33584
- Upgrade to Undertow 2.2.22.Final #33585
❤ Contributors
Thank you to all the contributors who worked on this release:
@Artur-, @aksh1618, @cdanger, @currenjin, @jprinet, and @shekharAggarwal
v2.7.6
:lady_beetle: Bug Fixes
-
ScheduledBeanLazyInitializationExcludeFilter
is auto-configured even when annotation-based scheduled has not been enabled #33283 - SpringBootContextLoader prints banner twice when using a
@ContextHierarchy
#33262 - 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 #33249
- Configuration property binding does not deal with bridge methods #33211
- Configuring management.server.port via a config tree results in a ConverterNotFoundException when the management context is refreshed #33168
- Dependency management for XMLUnit is incomplete #32999
- Spring Boot's Lettuce metrics enable histrograms by default and it's hard to switch them off #32989
- Dependency management for Selenium is incomplete #32861
- NumberFormatException when configuring spring.redis.sentinel.nodes with an IPv6 address #32836
📔 Documentation
- Align Tomcat multiple connectors example with recommendation to configure SSL declaratively #33331
- ConditionalOnClass not working for Bean methods on Java 8 #33328
- Actuator document is misleading about k8s startup probe #33326
- Link to Micrometer's
@Timed
documentation #33265 - Clarify use of the
spring.cache.type
property with Hazelcast #33257 - Example git.commit.time in the Actuator API documentation is thousands of years in the future #33255
- Links to Features describes sections that have moved elsewhere #33213
- Fix kafka streams auto start description typo in reference docs #33101
- OAuth 2 configuration example uses unrecognized value for authorization grant type #33068
- Fix typos in logging.adoc #32820
- Harmonize code sample in the "Type-safe Configuration Properties" section #32818
🔨 Dependency Upgrades
- Upgrade to Byte Buddy 1.12.19 #33272
- Upgrade to Dropwizard Metrics 4.2.13 #33321
- Upgrade to Ehcache3 3.10.8 #33322
- Upgrade to Elasticsearch 7.17.7 #33171
- Upgrade to Hazelcast 5.1.5 #33172
- Upgrade to Hibernate 5.6.14.Final #33173
- Upgrade to HttpClient5 5.1.4 #33323
- Upgrade to HttpCore5 5.1.5 #33174
- Upgrade to Janino 3.1.9 #33274
- Upgrade to Jaybird 4.0.7.java8 #33175
- Upgrade to MariaDB 3.0.9 #33176
- Upgrade to Micrometer 1.9.6 #33129
- Upgrade to Netty 4.1.85.Final #33177
- Upgrade to Postgresql 42.3.8 #33338
- Upgrade to Reactor 2020.0.25 #33130
- Upgrade to Spring AMQP 2.4.8 #33223
- Upgrade to Spring Data 2021.2.6 #33132
- Upgrade to Spring Framework 5.3.24 #33131
- Upgrade to Spring GraphQL 1.0.3 #33150
- Upgrade to Spring Kafka 2.8.11 #33133
- Upgrade to Spring REST Docs 2.0.7.RELEASE #33134
- Upgrade to Spring Security 5.7.5 #33178
- Upgrade to Spring WS 3.1.4 #33179
- Upgrade to Tomcat 9.0.69 #33180
❤ Contributors
Thank you to all the contributors who worked on this release:
@EricGao888, @biergit, @dreis2211, @eurythmia, @hpoettker, @iamgd67, @izeye, @jamessoun93, and @sdeleuze
v2.7.5
:lady_beetle: Bug Fixes
- Multi-Document-Separators "#---" comment checks do not account for '!' prefixed comments #32777
- Actuator configprops endpoint does not display DataSize properties correctly #32775
-
@Bean
methods in KafkaAutoConfiguration provide less type information than they could #32773 - PEM formatted elliptic-curve TLS keys are an unrecognized private key format #32681
- Assertion calls on CapturedOutput with Kotlin are very slow #32575
- Empty
@DefaultValue
cannot be used on collections, maps, arrays or optional values #32563 - CouchbaseReactiveHealthIndicator uses blocking API to retrieve the cluster diagnostics #32513
- BootBuildImage's archiveFile property is annotated as an
@Input
but should be annotated as an@InputFile
#32499
📔 Documentation
- Remove redundant
@ExtendWith
(SpringExtension.class) from MyJmxTests example #32515
🔨 Dependency Upgrades
- Upgrade to Byte Buddy 1.12.18 #32697
- Upgrade to Dependency Management Plugin 1.0.15.RELEASE #32786
- Upgrade to Ehcache3 3.10.2 #32663
- Upgrade to Embedded Mongo 3.4.11 #32664
- Upgrade to Glassfish JAXB 2.3.7 #32787
- Upgrade to Hazelcast 5.1.4 #32698
- Upgrade to Hibernate 5.6.12.Final #32665
- Upgrade to Infinispan 13.0.12.Final #32788
- Upgrade to Jackson Bom 2.13.4.20221013 #32724
- Upgrade to Jetty Reactive HTTPClient 1.1.13 #32699
- Upgrade to Lettuce 6.1.10.RELEASE #32666
- Upgrade to Micrometer 1.9.5 #32591
- Upgrade to MySQL 8.0.31 and extend dependency management to new Maven identifiers #32781
- Upgrade to Netty 4.1.84.Final #32700
- Upgrade to Reactor 2020.0.24 #32592
- Upgrade to Spring Data 2021.2.5 #32595
- Upgrade to Spring Kafka 2.8.10 #32596
- Upgrade to Spring Retry 1.3.4 #32594
- Upgrade to Spring Security 5.7.4 #32597
- Upgrade to Tomcat 9.0.68 #32667
- Upgrade to Undertow 2.2.20.Final #32668
❤ Contributors
We'd like to thank all the contributors who worked on this release!
v2.7.4
⭐ New Features
- Add NINETEEN to JavaVersion enum #32260
:lady_beetle: Bug Fixes
- DataSource logging in H2 console auto-configuration causes Hikari's threads to have the wrong thread context class loader #32406
- Hazelcast auto-configuration recognizes hazelcast.xml and hazelcast.yaml files but not hazelcast.yml #32247
- Detection of PeriodStyle.ISO8601 does not support lower-case input #32244
- Detection of DurationStyle.ISO8601 does not support lower-case input #32231
- YAML timestamps not handled properly with SnakeYaml 1.31 #32229
- Hazelcast shutdown logs are not available out-of-the-box #32184
- Netty 'spring.netty leak detection' default property value is always applied to resource leak detector #32145
- Error "/var/run/docker.sock: connect: permission denied" occurs when building an image using podman on Fedora with SELinux enabled #32000
📔 Documentation
- Document support for JDK 19 #32402
- Clarify documentation of config sub-directory from which external application properties are read #32291
- Clarify documentation on disabling web client request metrics #32198
- Kotlin sample is missing for constructor binding #32177
- Remove out-of-date link from auto-configuration documentation #32174
- Improve
@ConditionalOnClass
javadoc regarding use on@Bean
methods #32167 - Document classpath* location for looking up GraphQL schemas across modules #31772
🔨 Dependency Upgrades
- Upgrade to Byte Buddy 1.12.17 #32454
- Upgrade to Couchbase Client 3.3.4 #32315
- Upgrade to Dependency Management Plugin 1.0.14.RELEASE #32459
- Upgrade to Dropwizard Metrics 4.2.12 #32316
- Upgrade to Ehcache3 3.10.1 #32317
- Upgrade to Elasticsearch 7.17.6 #32318
- Upgrade to Embedded Mongo 3.4.9 #32319
- Upgrade to Groovy 3.0.13 #32443
- Upgrade to Hibernate 5.6.11.Final #32320
- Upgrade to Hibernate Validator 6.2.5.Final #32321
- Upgrade to Infinispan 13.0.11.Final #32322
- Upgrade to Jackson Bom 2.13.4 #32323
- Upgrade to Janino 3.1.8 #32324
- Upgrade to Jetty 9.4.49.v20220914 #32444
- Upgrade to Johnzon 1.2.19 #32325
- Upgrade to Kafka 3.1.2 #32326
- Upgrade to MariaDB 3.0.8 #32445
- Upgrade to Micrometer 1.9.4 #32272
- Upgrade to Netty 4.1.82.Final #32327
- Upgrade to Postgresql 42.3.7 #32243
- Upgrade to R2DBC Bom Borca-SR2 #32328
- Upgrade to Reactor 2020.0.23 #32273
- Upgrade to RSocket 1.1.3 #32380
- Upgrade to Spring AMQP 2.4.7 #32276
- Upgrade to Spring Batch 4.3.7 #32278
- Upgrade to Spring Data 2021.2.3 #32275
- Upgrade to Spring Framework 5.3.23 #32274
- Upgrade to Spring GraphQL 1.0.2 #32426
- Upgrade to Spring HATEOAS 1.5.2 #32378
- Upgrade to Spring Integration 5.5.15 #32453
- Upgrade to Spring Kafka 2.8.9 #32277
- Upgrade to UnboundID LDAPSDK 6.0.6 #32329
❤ Contributors
We'd like to thank all the contributors who worked on this release!
- @ldziedziul
- @jprinet
- @thegeekyasian
- @neilstevenson
- @obfischer
- @valentine-dev
- @dsyer
- @russellyou
v2.7.3
:lady_beetle: Bug Fixes
- Misleading error message when using JarMode Layertools and the source is not an archive #32097
- ClassNotFoundException can be thrown for classes in nested jars when under GC pressure #32085
- Flyway auto-configuration fails with Flyway 9 #32034
- BasicJsonParser does not protect against deeply nested maps #32031
- OptionalLiveReloadServer logs the wrong port number when it is configured to use an ephemeral port #31984
- Servlet WebServerStartStopLifecycle doesn't set running to false on stop #31967
- JUL-based logging performed during close of application context is lost #31963
- The hash of spring-boot-jarmode-layertools.jar that's added to a fat jar doesn't match the hash of the equivalent published artifact #31949
- management.endpoint.health.probes.add-additional-paths has no effect when configuration properties have already created the liveness and/or readiness groups #31926
- UnsupportedDataSourcePropertyException is thrown when attempting to set jdbcUrl for C3P0 #31921
- Dev Tools restart failures caused by a too short quiet period are hard to diagnose #31906
- HealthContributor beans managed by a CompositeHealthContributor are recreated on each call #31879
- Dependency management for REST Assured is incomplete #31877
- Jar Handler never clears MROTOCOL_HANDLER system property #31875
- BasicJsonParser can fail with a timeout or stackoverflow with malformed map JSON #31873
- BasicJsonParser can fail with a stackoverflow exception #31871
📔 Documentation
- Review Git contribution documentation #32099
- Documentation for Maven Plugin classifier has an unresolved external reference #32043
- Update Static Content reference documentation to reflect the DefaultServlet no longer being enabled by default #32026
- Example log output is out-of-date and inconsistent #31987
- Document that Undertow's record-request-start-time server option must be enabled for %D to work in access logging #31976
- Update documentation on using H2C to consider running behind a proxy that's performing TLS termination #31974
- Some properties in the Common Application Properties appendix have no description #31971
- Fix links in documentations #31951
- External configuration documentation uses incorrect placeholder syntax #31943
- server.reactive.session.cookie properties are not listed in the application properties appendix #31914
- Remove documentation and metadata references to ConfigFileApplicationListener #31901
- Metadata for 'spring.beaninfo.ignore' has incorrect SourceType #31899
- Remove reference to nitrite-spring-boot-starter #31893
- Remove reference to Azure Application Insights #31890
- Fix typos in code and documentation #31865
🔨 Dependency Upgrades
- Upgrade to Byte Buddy 1.12.13 #32013
- Upgrade to Couchbase Client 3.3.3 #32014
- Upgrade to Dependency Management Plugin 1.0.13.RELEASE #32056
- Upgrade to Dropwizard Metrics 4.2.11 #32015
- Upgrade to Embedded Mongo 3.4.8 #32016
- Upgrade to GraphQL Java 18.3 #31945
- Upgrade to Groovy 3.0.12 #32017
- Upgrade to Gson 2.9.1 #32018
- Upgrade to Hazelcast 5.1.3 #32019
- Upgrade to Hibernate Validator 6.2.4.Final #32020
- Upgrade to MariaDB 3.0.7 #32021
- Upgrade to Maven Javadoc Plugin 3.4.1 #32089
- Upgrade to Micrometer 1.9.3 #32022
- Upgrade to MySQL 8.0.30 #32023
- Upgrade to Reactor 2020.0.22 #32038
- Upgrade to Spring Security 5.7.3 #32040
- Upgrade to Undertow 2.2.19.Final #32090
❤ Contributors
We'd like to thank all the contributors who worked on this release!
- @dreis2211
- @marcwrobel
- @ionascustefanciprian
- @vilmos
- @Kalpesh-18
- @nilshartmann
- @vpavic
- @adrianbob
- @aoyvx
v2.7.2
:lady_beetle: Bug Fixes
- Publishing a docker image to a private registry fails without authentication #31824
- In a non-reactive application, health indicators in a parent context are not found #31818
- Dependency management for Derby is incomplete #31814
- ApplicationPid doesn't log a warning if it takes a long time to return #31810
- A router function with attributes causes /actuator/mappings to return a 500 response due to an UnsupportedOperationException #31806
- InstanceAlreadyExistsException when using Actuator with multiple context and JMX enabled #31804
- Using 'ImportAutoConfigurationImportSelector' in the jar package loaded by a custom class loader throws ClassNotFoundException #31801
- GraphQL auto-configuration does not configure the GrapQlSource with SubscriptionExceptionResolver beans #31794
- Trailing whitespace in the value of a property is hard to identify in failure analysis descriptions #31780
- Log4j2's shutdown hook is not disabled when using Log4j 2.18 or later #31732
- HTTP Server and Data repositories metrics record null for the description #31706
- Deprecation hint for spring.data.mongodb.grid-fs-database is located in the wrong section #31690
- Image building fails with latest Paketo base builder and additional buildpacks configured #31558
- Tomcat fails to start when PEM files are used and key-store-password is not specified #31253
📔 Documentation
- Clarify how docker image publishing registry is determined #31826
- Fix typo in "HTTP and WebSocket" section of GraphQL documentation #31518
🔨 Dependency Upgrades
- Upgrade to AppEngine SDK 1.9.98 #31790
- Upgrade to Byte Buddy 1.12.12 #31735
- Upgrade to Couchbase Client 3.3.2 #31736
- Upgrade to Dependency Management Plugin 1.0.12.RELEASE #31556
- Upgrade to Embedded Mongo 3.4.7 #31830
- Upgrade to GraphQL Java 18.2 #31812
- Upgrade to Hibernate 5.6.10.Final #31738
- Upgrade to HttpCore5 5.1.4 #31739
- Upgrade to Jetty Reactive HTTPClient 1.1.12 #31740
- Upgrade to JsonAssert 1.5.1 #31741
- Upgrade to Kotlin Coroutines 1.6.4 #31742
- Upgrade to Lettuce 6.1.9.RELEASE #31743
- Upgrade to MariaDB 3.0.6 #31744
- Upgrade to Micrometer 1.9.2 #31614
- Upgrade to Neo4j Java Driver 4.4.9 #31745
- Upgrade to Netty 4.1.79.Final #31746
- Upgrade to Reactor 2020.0.21 #31608
- Upgrade to SendGrid 4.9.3 #31747
- Upgrade to Spring Data 2021.2.2 #31615
- Upgrade to Spring Framework 5.3.22 #31613
- Upgrade to Spring GraphQL 1.0.1 #31616
- Upgrade to Spring Integration 5.5.14 #31800
- Upgrade to Spring Kafka 2.8.8 #31786
- Upgrade to Tomcat 9.0.65 #31831
❤ Contributors
We'd like to thank all the contributors who worked on this release!
- @TheoCaldas
- @izeye
- @jakubskalak
- @felixscheinost
- @dependabot[bot]
- @naveensrinivasan
- @sonallux
- @aoyvx
v2.7.1
:lady_beetle: Bug Fixes
- Values in a spring.data.cassandra.config file can't override some defaults defined in CassandraProperties #31503
-
@RestControllerAdvice
@ExceptionHandler
Inconsistent behavior with@RestControllerEndpoint
#31501 - Malformed json causes BasicJsonParser to throw a NullPointerException #31499
- Metadata generated by the configuration properties annotation processor can miss inherited properties from nested classes #31484
- JarFile implementation calls close early which breaks verification of signed unpacked nested jars on Oracle JDK #31395
- Health indicators that take a long time to respond are difficult to diagnose #31384
- Custom Converter annotated with
@ConfigurationPropertiesBinding
does not get selected if targetType has a static factory method different return type #31341 - Tomcat server.max-http-header-size property is ignored when using HTTP/2 #31329
- OAuth2 Resource Server Auto-Configuration can only configure a single JWS algorithm #31321
- Maven shade plugin configuration in spring-boot-starter-parent does not append META-INF/spring/*.imports files #31316
- GraphQL RouterFunctions are unordered which prevents other functions from being ordered after them #31314
- spring-boot-dependencies manages spring-ldap-ldif-batch which no longer exists #31254
- Dependency task can fail due to BootJar and BootWar afterResolve hooks #31213
- MimeMappings does not include application/wasm #31188
- spring-configuration-metadata.json is missing for additional-spring-configuration-metadata.json after switching from
@Configuration
to@AutoConfiguration
#31186 - Binder(ConfigurationPropertySource... sources) does not assert that sources contains only non-null elements #31183
- WebMvcMetricsFilter stopped working since 2.7.0 #31150
- Dependency management for mimepull is redundant and the managed version is incompatible with Java 8 #31145
- layers.xsd is out of sync with the documentation and implementation for including and excluding module dependencies #31128
📔 Documentation
- Make SpringApplication Kotlin samples idiomatic #31463
- Harmonize Kotlin example #31458
- Remove duplicate content from "The Spring WebFlux Framework" section #31381
- Document that property placeholders should use the canonical property name form #31369
- Fix typos in the reference documentation #31366
- Enable Links for the Javadoc of the Gradle Plugin #31362
- Remove "earlier in this chapter" from places where content is now elsewhere in the documentation #31360
- Restore custom favicon documentation #31358
- Document that when using Lombok it must be configured to run before spring-boot-configuration-processor #31356
- Use Lambda-based API in Spring Security examples #31354
- Fix typo in name of imports file in javadoc of ImportCandidates.from #31277
- Typos in documentation ("spring-factories" instead of "spring.factories") #31206
- Fix Custom Layers Configuration section title in Maven plugin docs #31180
- org.springframework.boot.actuate.autoconfigure.metrics.graphql has no package info #31140
- Update Dynatrace Micrometer registry documentation #31132
🔨 Dependency Upgrades
- Upgrade to AppEngine SDK 1.9.97 #31421
- Upgrade to Byte Buddy 1.12.11 #31508
- Upgrade to Couchbase Client 3.3.1 #31422
- Upgrade to Dropwizard Metrics 4.2.10 #31488
- Upgrade to Elasticsearch 7.17.4 #31423
- Upgrade to Embedded Mongo 3.4.6 #31424
- Upgrade to Flyway 8.5.13 #31425
- Upgrade to Groovy 3.0.11 #31426
- Upgrade to H2 2.1.214 #31427
- Upgrade to Hazelcast 5.1.2 #31428
- Upgrade to Jetty 9.4.48.v20220622 #31509
- Upgrade to jOOQ 3.14.16 #31429
- Upgrade to Kotlin Coroutines 1.6.3 #31490
- Upgrade to MariaDB 3.0.5 #31431
- Upgrade to Micrometer 1.9.1 #31372
- Upgrade to MongoDB 4.6.1 #31432
- Upgrade to Neo4j Java Driver 4.4.6 #31433
- Upgrade to Netty 4.1.78.Final #31434
- Upgrade to Postgresql 42.3.6 #31435
- Upgrade to Reactive Streams 1.0.4 #31436
- Upgrade to Reactor 2020.0.20 #31371
- Upgrade to Solr 8.11.2 #31491
- Upgrade to Spring AMQP 2.4.6 #31376
- Upgrade to Spring Data 2021.2.1 #31374
- Upgrade to Spring Framework 5.3.21 #31319
- Upgrade to Spring HATEOAS 1.5.1 #31465
- Upgrade to Spring Integration 5.5.13 #31483
- Upgrade to Spring Kafka 2.8.7 #31377
- Upgrade to Spring LDAP 2.4.1 #31373
- Upgrade to Spring Security 5.7.2 #31375
- Upgrade to Tomcat 9.0.64 #31437
- Upgrade to Undertow 2.2.18.Final #31438
❤ Contributors
We'd like to thank all the contributors who worked on this release!
- @sdeleuze
- @1993heqiang
- @hpoettker
- @naveensrinivasan
- @vpavic
- @izeye
- @ningenMe
- @larsgrefer
- @anthonyvdotbe
- @pirgeo
- @jprinet
- @dalbani
- @ittays
- @eddumelendez
- @youribonnaffe
- @matei-cernaianu
- @tudormarc
- @abel533
- @terminux
v2.7.0
See the Release notes for 2.7 for upgrade instructions and details of new features.
⭐ New Features
- Revert to using "application/json" as default MIME type for GraphQL while remaining compatible with "application/graphql+json" #30860
- Allow customization of single logout in auto-configured SAML relying party registration #30128
:lady_beetle: Bug Fixes
- Default properties configured on SpringApplication have higher precedence than properties configured with
@PropertySource
#31093 - A failure when an instrumented WebClient records metrics causes the request to fail #31089
- Dependency management for Artemis is incomplete #31079
- Configuration properties for Statsd's buffered and step properties are missing #31059
- Debug logging for requests to WebFlux-based Actuator endpoints does not identify the endpoint #30887
-
@ConditionalOnProperty
meta annotation with@AliasFor
does not work #30874 - Event handling in JobExecutionExitCodeGenerator is not thread-safe #30846
- Hibernate service loading logs HHH000505 warnings for ServiceConfigurationError with Gradle-built jars since 2.5.10 when using Java 11 or later #30791
- Cryptic startup failure with bare LOGGING_LEVEL environment variable #30789
- SearchStrategy argument of MethodValidationExcludeFilter byAnnotation(Class, SearchStrategy) is not used #30787
- spring.security.saml2.relyingparty.registration..asserting-party. properties contain unwanted hyphen in asserting-party #30785
- DevTools sets deprecated spring.mustache.cache property #30774
📔 Documentation
- Extend documentation on Datadog metrics #30997
- Fix link to Upgrading From 1.x in multi-page documentation #30995
- Document support for Java 18 #30782
🔨 Dependency Upgrades
- Upgrade to ActiveMQ 5.16.5 #30927
- Upgrade to Byte Buddy 1.12.10 #30928
- Upgrade to Cassandra Driver 4.14.1 #30929
- Upgrade to Couchbase Client 3.2.7 #30930
- Upgrade to Couchbase Client 3.3.0 #31031
- Upgrade to Elasticsearch 7.17.3 #30931
- Upgrade to Flyway 8.5.11 #31080
- Upgrade to GraphQL Java 18.1 #30859
- Upgrade to Hibernate 5.6.9.Final #31081
- Upgrade to Infinispan 13.0.10.Final #30933
- Upgrade to Jackson Bom 2.13.3 #31046
- Upgrade to Jaybird 4.0.6.java8 #30934
- Upgrade to Johnzon 1.2.18 #30935
- Upgrade to Kafka 3.1.1 #31047
- Upgrade to Micrometer 1.9.0 #31013
- Upgrade to Mockito 4.5.1 #30936
- Upgrade to MSSQL JDBC 10.2.1.jre8 #31048
- Upgrade to MySQL 8.0.29 #30937
- Upgrade to Netty 4.1.77.Final #30938
- Upgrade to Postgresql 42.3.5 #30939
- Upgrade to Reactor Bom 2020.0.19 #30940
- Upgrade to Selenium 4.1.4 #30941
- Upgrade to Selenium HtmlUnit 3.61.0 #30855
- Upgrade to SendGrid 4.9.2 #31116
- Upgrade to Spring AMQP 2.4.5 #31022
- Upgrade to Spring Batch 4.3.6 #31020
- Upgrade to Spring Data 2021.2.0 #31015
- Upgrade to Spring for GraphQL 1.0.0 #30858
- Upgrade to Spring Framework 5.3.20 #31014
- Upgrade to Spring HATEOAS 1.5.0 #31016
- Upgrade to Spring Integration 5.5.12 #31062
- Upgrade to Spring Kafka 2.8.6 #31018
- Upgrade to Spring LDAP 2.4.0 #31017
- Upgrade to Spring Security 5.7.1 #31100
- Upgrade to Spring Session Bom 2021.2.0 #31021
- Upgrade to Tomcat 9.0.63 #31082
- Upgrade to UnboundID LDAPSDK 6.0.5 #30942
❤ Contributors
We'd like to thank all the contributors who worked on this release!
- @izeye
- @luojianet
- @marcwrobel
- @eddumelendez
- @mmoayyed
- @ssobue
- @christophejan
- @dugenkui03
- @denisw
- @terminux
v2.6.15
:lady_beetle: 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.6.14
:lady_beetle: Bug Fixes
-
ScheduledBeanLazyInitializationExcludeFilter
is auto-configured even when annotation-based scheduled has not been enabled #33276 - Configuration property binding does not deal with bridge methods #33105
- SpringBootContextLoader prints banner twice when using a
@ContextHierarchy
#33079 - Dependency management for XMLUnit is incomplete #32998
- Spring Boot's Lettuce metrics enable histrograms by default and it's hard to switch them off #32985
- Configuring management.server.port via a config tree results in a ConverterNotFoundException when the management context is refreshed #32941
- NumberFormatException when configuring spring.redis.sentinel.nodes with an IPv6 address #32762
- 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 #32729
- Dependency management for Selenium is incomplete #32721
📔 Documentation
- Link to Micrometer's
@Timed
documentation #33264 - Clarify use of the
spring.cache.type
property with Hazelcast #33245 - Example git.commit.time in the Actuator API documentation is thousands of years in the future #33237
- Links to Features describes sections that have moved elsewhere #33207
- Fix kafka streams auto start description typo in reference docs #33098
- OAuth 2 configuration example uses unrecognized value for authorization grant type #32931
- Fix typos in logging.adoc #32812
- Harmonize code sample in the "Type-safe Configuration Properties" section #32644
- Align Tomcat multiple connectors example with recommendation to configure SSL declaratively #28707
- Actuator document is misleading about k8s startup probe #28432
- ConditionalOnClass not working for Bean methods on Java 8 #27846
🔨 Dependency Upgrades
- Upgrade to Dropwizard Metrics 4.2.13 #33319
- Upgrade to Hibernate 5.6.14.Final #33157
- Upgrade to HttpClient5 5.1.4 #33320
- Upgrade to HttpCore5 5.1.5 #33158
- Upgrade to Janino 3.1.9 #33271
- Upgrade to Jaybird 4.0.7.java8 #33159
- Upgrade to MariaDB 2.7.7 #33160
- Upgrade to Micrometer 1.8.12 #33122
- Upgrade to Netty 4.1.85.Final #33161
- Upgrade to Postgresql 42.3.8 #33337
- Upgrade to Reactor 2020.0.25 #33123
- Upgrade to Spring AMQP 2.4.8 #33222
- Upgrade to Spring Data 2021.1.10 #33125
- Upgrade to Spring Framework 5.3.24 #33124
- Upgrade to Spring Kafka 2.8.11 #33126
- Upgrade to Spring REST Docs 2.0.7.RELEASE #33127
- Upgrade to Spring Security 5.6.9 #33162
- Upgrade to Spring WS 3.1.4 #33163
- Upgrade to Tomcat 9.0.69 #33164
❤ Contributors
Thank you to all the contributors who worked on this release:
@EricGao888, @dreis2211, @eurythmia, @hpoettker, @iamgd67, @jamessoun93, and @sdeleuze
v2.6.13
:lady_beetle: Bug Fixes
-
@Bean
methods in KafkaAutoConfiguration provide less type information than they could #32770 - PEM formatted elliptic-curve TLS keys are an unrecognized private key format #32646
- Actuator configprops endpoint does not display DataSize properties correctly #32645
- Empty
@DefaultValue
cannot be used on collections, maps, arrays or optional values #32559 - Multi-Document-Separators "#---" comment checks do not account for '!' prefixed comments #32521
- CouchbaseReactiveHealthIndicator uses blocking API to retrieve the cluster diagnostics #32505
- BootBuildImage's archiveFile property is annotated as an
@Input
but should be annotated as an@InputFile
#32495 - Assertion calls on CapturedOutput with Kotlin are very slow #32033
📔 Documentation
- Remove redundant
@ExtendWith
(SpringExtension.class) from MyJmxTests example #32476
🔨 Dependency Upgrades
- Upgrade to Dependency Management Plugin 1.0.15.RELEASE #32784
- Upgrade to Ehcache3 3.9.10 #32648
- Upgrade to Glassfish JAXB 2.3.7 #32785
- Upgrade to Hibernate 5.6.12.Final #32649
- Upgrade to Jackson Bom 2.13.4.20221013 #32722
- Upgrade to Jetty Reactive HTTPClient 1.1.13 #32723
- Upgrade to Lettuce 6.1.10.RELEASE #32669
- Upgrade to Micrometer 1.8.11 #32586
- Upgrade to MySQL 8.0.31 and extend dependency management to new Maven identifiers #32747
- Upgrade to Netty 4.1.84.Final #32695
- Upgrade to Reactor 2020.0.24 #32587
- Upgrade to Spring Data 2021.1.9 #32588
- Upgrade to Spring Kafka 2.8.10 #32589
- Upgrade to Spring Retry 1.3.4 #32593
- Upgrade to Spring Security 5.6.8 #32590
- Upgrade to Tomcat 9.0.68 #32650
- Upgrade to Undertow 2.2.20.Final #32651
❤ Contributors
We'd like to thank all the contributors who worked on this release!
v2.6.12
⭐ New Features
- Add NINETEEN to JavaVersion enum #32226
:lady_beetle: Bug Fixes
- DataSource logging in H2 console auto-configuration causes Hikari's threads to have the wrong thread context class loader #32382
- Detection of PeriodStyle.ISO8601 does not support lower-case input #32235
- YAML timestamps not handled properly with SnakeYaml 1.31 #32228
- Detection of DurationStyle.ISO8601 does not support lower-case input #32223
- Netty 'spring.netty leak detection' default property value is always applied to resource leak detector #32144
- Hazelcast auto-configuration recognizes hazelcast.xml and hazelcast.yaml files but not hazelcast.yml #32142
📔 Documentation
- Document support for JDK 19 #32259
- Clarify documentation of config sub-directory from which external application properties are read #32224
- Improve
@ConditionalOnClass
javadoc regarding use on@Bean
methods #32166 - Clarify documentation on disabling web client request metrics #32136
🔨 Dependency Upgrades
- Upgrade to Dependency Management Plugin 1.0.14.RELEASE #32458
- Upgrade to Dropwizard Metrics 4.2.12 #32305
- Upgrade to Groovy 3.0.13 #32440
- Upgrade to Hibernate 5.6.11.Final #32306
- Upgrade to Hibernate Validator 6.2.5.Final #32307
- Upgrade to Jackson Bom 2.13.4 #32308
- Upgrade to Janino 3.1.8 #32309
- Upgrade to Jetty 9.4.49.v20220914 #32441
- Upgrade to Johnzon 1.2.19 #32310
- Upgrade to Kafka 3.0.2 #32311
- Upgrade to Micrometer 1.8.10 #32265
- Upgrade to Netty 4.1.82.Final #32312
- Upgrade to Postgresql 42.3.7 #32242
- Upgrade to Rector 2020.0.23 #32266
- Upgrade to RSocket 1.1.3 #32379
- Upgrade to Spring AMQP 2.4.7 #32269
- Upgrade to Spring Batch 4.3.7 #32271
- Upgrade to Spring Data 2021.1.7 #32268
- Upgrade to Spring Framework 5.3.23 #32267
- Upgrade to Spring HATEOAS 1.4.5 #32400
- Upgrade to Spring Integration 5.5.15 #32452
- Upgrade to Spring Kafka 2.8.9 #32270
❤ Contributors
We'd like to thank all the contributors who worked on this release!
v2.6.11
:lady_beetle: Bug Fixes
- BasicJsonParser does not protect against deeply nested maps #32029
- Misleading error message when using JarMode Layertools and the source is not an archive #31997
- OptionalLiveReloadServer logs the wrong port number when it is configured to use an ephemeral port #31983
- Servlet WebServerStartStopLifecycle doesn't set running to false on stop #31966
- UnsupportedDataSourcePropertyException is thrown when attempting to set jdbcUrl for C3P0 #31920
- Jar Handler never clears MROTOCOL_HANDLER system property #31870
- BasicJsonParser can fail with a timeout or stackoverflow with malformed map JSON #31869
- BasicJsonParser can fail with a stackoverflow exception #31868
- Dependency management for REST Assured is incomplete #31864
- The hash of spring-boot-jarmode-layertools.jar that's added to a fat jar doesn't match the hash of the equivalent published artifact #31862
- ClassNotFoundException can be thrown for classes in nested jars when under GC pressure #31853
- HealthContributor beans managed by a CompositeHealthContributor are recreated on each call #31676
- Dev Tools restart failures caused by a too short quiet period are hard to diagnose #31579
- management.endpoint.health.probes.add-additional-paths has no effect when configuration properties have already created the liveness and/or readiness groups #30612
- JUL-based logging performed during close of application context is lost #9457
📔 Documentation
- Update Static Content reference documentation to reflect the DefaultServlet no longer being enabled by default #32004
- External configuration documentation uses incorrect placeholder syntax #31941
- Some properties in the Common Application Properties appendix have no description #31916
- server.reactive.session.cookie properties are not listed in the application properties appendix #31912
- Review Git contribution documentation #31904
- Metadata for 'spring.beaninfo.ignore' has incorrect SourceType #31898
- Remove documentation and metadata references to ConfigFileApplicationListener #31895
- Remove reference to nitrite-spring-boot-starter #31892
- Remove reference to Azure Application Insights #31889
- Fix links in documentations #31887
- Fix typos in code and documentation #31734
- Document that Undertow's record-request-start-time server option must be enabled for %D to work in access logging #31103
- Documentation for Maven Plugin classifier has an unresolved external reference #29171
- Example log output is out-of-date and inconsistent #28208
- Update documentation on using H2C to consider running behind a proxy that's performing TLS termination #25855
🔨 Dependency Upgrades
- Upgrade to Dependency Management Plugin 1.0.13.RELEASE #32055
- Upgrade to Dropwizard Metrics 4.2.11 #32007
- Upgrade to Groovy 3.0.12 #32008
- Upgrade to Hibernate Validator 6.2.4.Final #32009
- Upgrade to Micrometer 1.8.9 #32010
- Upgrade to MySQL 8.0.30 #32011
- Upgrade to Netty tcNative 2.0.54.Final #32012
- Upgrade to Reactor 2020.0.22 #32037
- Upgrade to Spring Security 5.6.7 #32039
- Upgrade to Undertow 2.2.19.Final #32087
❤ Contributors
We'd like to thank all the contributors who worked on this release!
- @dreis2211
- @marcwrobel
- @ionascustefanciprian
- @vilmos
- @Kalpesh-18
- @nilshartmann
- @terminux
- @aoyvx
- @adrianbob
v2.6.10
:lady_beetle: Bug Fixes
- Using 'ImportAutoConfigurationImportSelector' in the jar package loaded by a custom class loader throws ClassNotFoundException #31798
- A router function with attributes causes /actuator/mappings to return a 500 response due to an UnsupportedOperationException #31784
- Log4j2's shutdown hook is not disabled when using Log4j 2.18 or later #31719
- InstanceAlreadyExistsException when using Actuator with multiple context and JMX enabled #31718
- Deprecation hint for spring.data.mongodb.grid-fs-database is located in the wrong section #31689
- ApplicationPid doesn't log a warning if it takes a long time to return #31572
- Trailing whitespace in the value of a property is hard to identify in failure analysis descriptions #31571
- Dependency management for Derby is incomplete #31570
- HTTP Server and Data repositories metrics record null for the description #31516
- Image building fails with latest Paketo base builder and additional buildpacks configured #31233
- Publishing a docker image to a private registry fails without authentication #28844
- In a non-reactive application, health indicators in a parent context are not found #27308
📔 Documentation
- Clarify how docker image publishing registry is determined #31820
🔨 Dependency Upgrades
- Upgrade to AppEngine SDK 1.9.98 #31788
- Upgrade to Dependency Management Plugin 1.0.12.RELEASE #31555
- Upgrade to Hibernate 5.6.10.Final #31724
- Upgrade to HttpCore5 5.1.4 #31725
- Upgrade to Jetty Reactive HTTPClient 1.1.12 #31726
- Upgrade to JsonAssert 1.5.1 #31727
- Upgrade to Lettuce 6.1.9.RELEASE #31728
- Upgrade to MariaDB 2.7.6 #31729
- Upgrade to Micrometer 1.8.8 #31612
- Upgrade to Neo4j Java Driver 4.4.9 #31730
- Upgrade to Netty 4.1.79.Final #31731
- Upgrade to Reactor 2020.0.21 #31607
- Upgrade to Spring Data 2021.1.6 #31611
- Upgrade to Spring Framework 5.3.22 #31610
- Upgrade to Spring Integration 5.5.14 #31799
- Upgrade to Spring Kafka 2.8.8 #31785
- Upgrade to Tomcat 9.0.65 #31829
❤ Contributors
We'd like to thank all the contributors who worked on this release!
v2.6.9
:lady_beetle: Bug Fixes
-
@RestControllerAdvice
@ExceptionHandler
Inconsistent behavior with@RestControllerEndpoint
#31495 - Tomcat server.max-http-header-size property is ignored when using HTTP/2 #31322
- Malformed json causes BasicJsonParser to throw a NullPointerException #31301
- Values in a spring.data.cassandra.config file can't override some defaults defined in CassandraProperties #31238
- Health indicators that take a long time to respond are difficult to diagnose #31231
- layers.xsd is out of sync with the documentation and implementation for including and excluding module dependencies #31127
- MimeMappings does not include application/wasm #30885
- Binder(ConfigurationPropertySource... sources) does not assert that sources contains only non-null elements #30878
- Dependency task can fail to BootJar and BootWar afterResolve hooks #30586
- JarFile implementation calls close early which breaks verification of signed unpacked nested jars on Oracle JDK #29356
- Custom Converter annotated with
@ConfigurationPropertiesBinding
does not get selected if targetType has a static factory method different return type #28592 - Metadata generated by the configuration properties annotation processor can miss inherited properties from nested classes #21626
📔 Documentation
- Remove duplicate content from "The Spring WebFlux Framework" section #31378
- Fix typos in the reference documentation #31328
- Document that property placeholders should use the canonical property name form #31309
- Enable Links for the Javadoc of the Gradle Plugin #31279
- Remove "earlier in this chapter" from places where content is now elsewhere in the documentation #31276
- Restore custom favicon documentation #31224
- Typos in documentation ("spring-factories" instead of "spring.factories") #31203
- Document that when using Lombok it must be configured to run before spring-boot-configuration-processor #31190
- Fix Custom Layers Configuration section title in Maven plugin docs #31172
- Use Lambda-based API in Spring Security examples #31143
🔨 Dependency Upgrades
- Upgrade to AppEngine SDK 1.9.97 #31410
- Upgrade to Dropwizard Metrics 4.2.10 #31486
- Upgrade to Groovy 3.0.11 #31411
- Upgrade to Infinispan 12.1.12.Final #31412
- Upgrade to Jetty 9.4.48.v20220622 #31507
- Upgrade to jOOQ 3.14.16 #31413
- Upgrade to Micrometer 1.8.7 #31347
- Upgrade to Neo4j Java Driver 4.4.6 #31414
- Upgrade to Netty 4.1.78.Final #31415
- Upgrade to Netty tcNative 2.0.53.Final #31416
- Upgrade to Postgresql 42.3.6 #31417
- Upgrade to Reactive Streams 1.0.4 #31418
- Upgrade to Reactor 2020.0.20 #31346
- Upgrade to Spring AMQP 2.4.6 #31348
- Upgrade to Spring Data 2021.1.5 #31349
- Upgrade to Spring Framework 5.3.21 #31318
- Upgrade to Spring HATEOAS 1.4.4 #31464
- Upgrade to Spring Integration 5.5.13 #31482
- Upgrade to Spring Kafka 2.8.7 #31350
- Upgrade to Spring Security 5.6.6 #31351
- Upgrade to Tomcat 9.0.64 #31419
- Upgrade to Undertow 2.2.18.Final #31420
❤ Contributors
We'd like to thank all the contributors who worked on this release!
- @1993heqiang
- @hpoettker
- @naveensrinivasan
- @vpavic
- @larsgrefer
- @anthonyvdotbe
- @jprinet
- @dalbani
- @ittays
- @eddumelendez
- @matei-cernaianu
- @tudormarc
- @abel533
- @terminux
v2.6.8
:lady_beetle: Bug Fixes
- Default properties configured on SpringApplication have higher precedence than properties configured with
@PropertySource
#31092 - A failure when an instrumented WebClient records metrics causes the request to fail #31088
- Dependency management for Artemis is incomplete #31078
- Configuration properties for Statsd's buffered and step properties are missing #31058
- Debug logging for requests to WebFlux-based Actuator endpoints does not identify the endpoint #30886
-
@ConditionalOnProperty
meta annotation with@AliasFor
does not work #30873 - Event handling in JobExecutionExitCodeGenerator is not thread-safe #30845
- Hibernate service loading logs HHH000505 warnings for ServiceConfigurationError with Gradle-built jars since 2.5.10 when using Java 11 or later #30790
- Cryptic startup failure with bare LOGGING_LEVEL environment variable #30788
- SearchStrategy argument of MethodValidationExcludeFilter byAnnotation(Class, SearchStrategy) is not used #30786
📔 Documentation
- Extend documentation on Datadog metrics #30996
- Fix link to Upgrading From 1.x in multi-page documentation #30994
- Document support for Java 18 #30781
🔨 Dependency Upgrades
- Upgrade to ActiveMQ 5.16.5 #30917
- Upgrade to Couchbase Client 3.2.7 #30918
- Upgrade to Hazelcast 4.2.5 #30919
- Upgrade to Hibernate 5.6.9.Final #31041
- Upgrade to Jackson Bom 2.13.3 #31042
- Upgrade to Jaybird 4.0.6.java8 #30920
- Upgrade to Johnzon 1.2.18 #30921
- Upgrade to Micrometer 1.8.6 #31007
- Upgrade to MySQL 8.0.29 #30922
- Upgrade to Netty 4.1.77.Final #30923
- Upgrade to Netty tcNative 2.0.52.Final #30924
- Upgrade to Postgresql 42.3.5 #30925
- Upgrade to Reactor Bom 2020.0.19 #30926
- Upgrade to Spring AMQP 2.4.5 #31009
- Upgrade to Spring Batch 4.3.6 #31011
- Upgrade to Spring Framework 5.3.20 #31043
- Upgrade to Spring HATEOAS 1.4.3 #31008
- Upgrade to Spring Integration 5.5.12 #31061
- Upgrade to Spring Kafka 2.8.6 #31010
- Upgrade to Spring LDAP 2.3.8.RELEASE #31044
- Upgrade to Spring Security 5.6.5 #31102
- Upgrade to Tomcat 9.0.63 #31071
❤ Contributors
We'd like to thank all the contributors who worked on this release!
v2.6.7
:lady_beetle: Bug Fixes
- bootBuildInfo fails with a NullPointerException when an additional property has a null value #30670
-
@SpringBootTest
(webEnvironment = WebEnvironment.NONE) is overridden by spring.main.web-application-type in application.properties #30666 - Spring Boot does not respect WebApplicationType.REACTIVE in tests with a mock web environment #30664
- NullPointerException is thrown when accessing /actuator/configprops if a class annotated with both
@Configuration
and@ConfigurationProperties
has a static@Bean
method #30581 - ApplicationAvailabilityBean is not thread-safe #30553
- Incorrect Neo4j username property replacement hint by spring-boot-properties-migrator #30551
- Add Tomcat locale mapping for Japanese to preserve UTF-8 charset #30541
📔 Documentation
- Update doc samples to reflect AdoptOpenJDK move to the Eclipse Foundation #30749
- Fix incorrect link in kafka.adoc #30674
- Move Jetty 9 specific exclusions to the correct dependency #30583
- Add missing configuration metadata for "management.endpoint.health.probes.add-additional-paths" #30562
- Update list of default internal proxies in Web Server howto #30544
- Polish documentation #30526
🔨 Dependency Upgrades
- Upgrade to AppEngine SDK 1.9.96 #30682
- Upgrade to Hibernate 5.6.8.Final #30683
- Upgrade to Jackson 2.13.2.1 #30743
- Upgrade to Janino 3.1.7 #30755
- Upgrade to Jetty 9.4.46.v20220331 #30684
- Upgrade to Kotlin 1.6.21 #30756
- Upgrade to Lombok 1.18.24 #30757
- Upgrade to Micrometer 1.8.5 #30597
- Upgrade to Netty 4.1.76.Final #30686
- Upgrade to Pooled JMS 1.2.4 #30687
- Upgrade to Postgresql 42.3.4 #30758
- Upgrade to Reactor 2020.0.18 #30596
- Upgrade to RSocket 1.1.2 #30688
- Upgrade to Spring AMQP 2.4.4 #30701
- Upgrade to Spring Data 2021.1.4 #30602
- Upgrade to Spring Framework 5.3.19 #30517
- Upgrade to Spring HATEOAS 1.4.2 #30744
- Upgrade to Spring Integration 5.5.11 #30702
- Upgrade to Spring Kafka 2.8.5 #30600
- Upgrade to Spring LDAP 2.3.7 #30598
- Upgrade to Spring Retry 1.3.3 #30599
- Upgrade to Spring Security 5.6.3 #30601
- Upgrade to Spring Session 2021.1.3 #30603
- Upgrade to Tomcat 9.0.62 #30689
- Upgrade to Undertow 2.2.17.Final #30690
❤ Contributors
We'd like to thank all the contributors who worked on this release!
- @chessvivek
- @rfigueroa
- @izeye
- @jprinet
- @qxo
- @dalbani
- @luozhenyu
- @chanhyeong
- @dugenkui03
- @chrisrhut
- @terminux
v2.6.6
:lady_beetle: Bug Fixes
- MustacheAutoConfiguration in a Servlet web application fails with a ClassNotFoundException when Spring MVC is not on the classpath #30475
📔 Documentation
- Javadoc of org.springframework.boot.gradle.plugin.ResolveMainClassName.setClasspath(Object) is inaccurate #30469
- Document that
@DefaultValue
can be used on a record component #30465 - Remove redundant Javadoc #30446
🔨 Dependency Upgrades
❤ Contributors
We'd like to thank all the contributors who worked on this release!
v2.6.5
📣 Noteworthy
- This release upgrades to Kafka 3.0.1 which enables idempotence by default. See the updated Spring Boot 2.6 release notes for further details.
⭐ New Features
- Add EIGHTEEN to JavaVersion enum #30132
:lady_beetle: Bug Fixes
- ConfigurationPropertyName#equals is not symmetric when adapt has removed trailing characters from an element #30392
- Thymeleaf auto-configuration in a reactive application can fail due to duplicate templateEngine beans #30385
- server.tomcat.keep-alive-timeout is not applied to HTTP/2 #30321
- Setting spring.mustache.enabled to false has no effect #30256
- bootWar is configured eagerly #30213
- Actuator
@ReadOperation
on Flux cancels request after first element emitted #30161 - Unnecessary allocations in Prometheus scraping endpoint #30125
- No metrics are bound for R2DBC ConnectionPools that have been wrapped #30100
- Condition evaluation report entry for a
@ConditionalOnSingleCandidate
that does not match due to multiple primary beans isn't as clear as it could be #30098 - Generated password are logged without an "unsuitable for production use" note #30070
- Dependency management for Netty tcNative is incomplete leading to possible version conflicts #30038
- Files in META-INF are not found when deploying a Gradle-built executable war to a servlet container #30036
- Dependency management for Apache Kafka is incomplete #30031
- spring-boot-configuration-processor fails compilation due to
@DefaultValue
with a long value and generates invalid metadata for byte and short properties with out-of-range default values #30022
📔 Documentation
- Add Apache Kafka to the description of the Messaging section #30389
- Default value of spring.thymeleaf.reactive.media-types is not documented #30387
- Clarify type matching that is performed when using
@MockBean
and@SpyBean
#30382 - Fix links to Spring Security Reference Guide in Accessing the H2 Console in a Secured Application #30349
- Document how to access the H2 Console in a secured web application #30346
- Add Netty in "Enable HTTP Response Compression" #30344
- Fix JsonSerializer example in reference guide #30330
- WebSockets section missing in reference guide #30231
- Include default Dev Tools properties in the reference documentation #30166
- Document the WebSocket-related exclusions that are required to use Jetty 10 #30149
- Fix typo #30120
- Add documentation for spring.profiles.include #30114
- Document when config data properties are invalid #30113
- Document the scalar types supported by MapBinder #30111
- Document how to rely on ServletContext with an embedded container setup #30109
- Anchor tag for Spring HATEOAS does not redirect properly #30106
- Clarify that build plugins or the CLI does not have an auto-compile feature #30093
- Document how to structure configurations so that
@Bean
methods are included in slice tests #30091 - Remove non-existent spring.data.cassandra.connection.connection-timeout property from the documentation #30080
- Clarify actuator security documentation #30065
- Use Gradle's task configuration avoidance APIs in the main reference docs #30059
- Use Gradle's task configuration avoidance APIs in the Gradle Plugin's reference docs #30057
- Improve property placeholder documentation to mention environment variables and default values #30050
- Polish web examples in reference doc #30048
- Add links to Spring Boot for Apache Geode to the reference documentation #30018
- Document plugging in custom sanitisation rules with a SanitizingFunction bean #29950
🔨 Dependency Upgrades
- Upgrade to Couchbase Client 3.2.6 #30237
- Upgrade to Dropwizard Metrics 4.2.9 #30238
- Upgrade to Groovy 3.0.10 #30239
- Upgrade to Hibernate 5.6.7.Final #30338
- Upgrade to Hibernate Validator 6.2.3.Final #30241
- Upgrade to Jackson Bom 2.13.2 #30242
- Upgrade to Kafka 3.0.1 #30243
- Upgrade to Lettuce 6.1.8.RELEASE #30339
- Upgrade to Log4j2 2.17.2 #30244
- Upgrade to Logback 1.2.11 #30245
- Upgrade to Micrometer 1.8.4 #30178
- Upgrade to Neo4j Java Driver 4.4.5 #30326
- Upgrade to Netty 4.1.75.Final #30246
- Upgrade to Netty tcNative 2.0.51.Final #30247
- Upgrade to R2DBC Bom Arabba-SR13 #30340
- Upgrade to Reactor 2020.0.17 #30176
- Upgrade to Spring AMQP 2.4.3 #30180
- Upgrade to Spring Data 2021.1.3 #30179
- Upgrade to Spring Framework 5.3.17 #30177
- Upgrade to Spring Integration 5.5.10 #30183
- Upgrade to Spring Kafka 2.8.4 #30181
- Upgrade to Spring Retry 1.3.2 #30248
- Upgrade to Spring WS 3.1.3 #30182
- Upgrade to Tomcat 9.0.60 #30249
❤ Contributors
We'd like to thank all the contributors who worked on this release!
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.