Releases: spring-projects/spring-boot
v2.7.15
⚠️ Noteworthy Changes
- This release upgrades to MariaDB 3.1.4 from 3.0.x to restore compatibility with Java 8. If the upgrade is problematic and Java 8 compatibility is not a requirement, downgrade to 3.0.x by using the
mariadb.version
property
🐞 Bug Fixes
- Artemis ConnectionFactory is not configured when CachingConnectionFactory is missing and enabled properties are false #36767
- server.max-http-request-header-size doesn't affect Netty server with http2 enabled #36766
- LogbackLoggingSystem does not report suppressed exception details #36645
- Tomcat warns about a missing +/- prefix when enabling multiple protocols through server.ssl.enabled-protocols #36572
- Descriptions of started and ready time metrics contain time units but the unit may change when the metrics are exported #36507
- management.metrics.export.wavefront properties are incomplete #36498
- management.metrics.export.signalfx properties are incomplete #36497
- management.metrics.export.atlas properties are incomplete #36496
- Script-based database initialization fails with an unhelpful error message when configured with a resource that points to a directory #36386
- JobLauncherApplicationRunner returns a success exit code even when no jobs have been run #36060
- DatabaseDriver swallows real exception #34728
- Application Context initialized twice during test when exception thrown during initialization #24888
📔 Documentation
- Maven plugin docs contain invalid parameter for image building #37048
- Align javadoc of AbstractFilterRegistrationBean#setDispatcherTypes #36965
- Update RestTemplateBuilder#defaultHeader javadoc to reference correct client-side HTTP request class #36614
@since
is missing from javadoc of values added to JavaVersion since its introduction #36608- Document that server.forward-headers-strategy property defaults to native when running on Kubernetes #36564
- Clarify the effect of using
@EnableWebMvc
#36506 - Documentation of spring.redis.url incorrectly states that it does not override spring.redis.user #36477
- Improve documentation to describe how
@EntityScan
and@Enable?Repositories
can be used to tune scanning #36282 - Document that scripts for database initialization are optional by default and how they can be made mandatory #36176
- Document
@DataR2dbcTest
support #35014 - Update expected size of the jar file in the first application getting started documentation #34514
- Improve documentation of spring.cache.type=none #33694
- Clarify that spring.security.filter properties only apply to servlet-based web apps #33551
- Describe quirks of JUL and Log4j2 in the javadoc of OutputCaptureExtension #32562
- Documentation describes how to opt in to using the path pattern parser but it's now the default #32557
- Clarify table that shows how logging properties are transferred to system properties #32160
- Rework Working with NoSQL Technologies to clarify which stores are supported by Spring Data #29694
- Clarify how nested directories are treated for configtree with wildcards #28203
- Document defaults for spring.mvc.format.* and spring.webflux.format.* properties #30041
🔨 Dependency Upgrades
- Upgrade to Elasticsearch 7.17.12 #36870
- Upgrade to Groovy 3.0.19 #37055
- Upgrade to MariaDB 3.1.4 #36394
- Upgrade to Micrometer 1.9.14 #36824
- Upgrade to Netty 4.1.97.Final #37085
- Upgrade to Reactor Bom 2020.0.35 #36825
- Upgrade to Spring AMQP 2.4.15 #36826
- Upgrade to Spring Batch 4.3.9 #36827
- Upgrade to Spring Data Bom 2021.2.15 #36828
- Upgrade to Tomcat 9.0.79 #36992
- Upgrade to Undertow 2.2.26.Final #37029
❤️ Contributors
Thank you to all the contributors who worked on this release:
@MahatmaFatalError, @NersesAM, @chicobento, @dependabot[bot], @dreis2211, @eddumelendez, @elevne, @fzyzcjy, @itsAkshayDubey, @izeye, @msobeck, @rob-valor, @spa-abaudat, and @vpavic
v3.2.0-M1
⭐ New Features
- Use Docker CLI context to determine daemon host address for image building #36445
- Move configuration extension properties to dedicated Flyway sub-namespaces #36444
- Configure SQL Server Flyway extension only if flyway-sqlserver is available #36440
- Add property for base time unit in OTLP registry #36393
- Auto-configure Spring GraphQL's AnnotatedControllerConfigurer to use the application task executor #36388
- Configure WebFlux's support for blocking execution to use the auto-configured AsyncTaskExecutor #36331
- Deprecate DelegatingApplicationContextInitializer and DelegatingApplicationListener in favour of registering each delegate programatically or in spring.factories #36251
- Add support for RestClient #36213
- Auto-configure ObservationRegistry in ScheduledTaskRegistrar for scheduled tasks observations #36119
- Support JDK HttpClient in ClientHttpRequestFactories #36118
- Support Jetty in ClientHttpRequestFactories #36116
- Change server log message to have "port" or "ports" rather than "ports(s)" #36103
- Change B3 extraction format to single #36061
- Remove code that was deprecated in 3.0 for removal in 3.2 #36034
- Replace LoggingSystemProperties constants with an Enum #36015
- Allow key password to be set for a PemSslStoreBundle #35983
- Remove support for configuring request body buffering when using RestTemplate #35980
- Add property to limit Jetty's maximum connections #35899
- Provide a configuration property and condition to control the use of virtual threads #35892
- Support custom token validators for OAuth2 Resource Server auto-configuration #35874
- When virtual threads are enabled, auto-configure an AsyncTaskExecutor that uses them #35710
- When virtual threads are enabled, configure Tomcat to use them #35704
- When virtual threads are enabled, configure Jetty to use them #35703
- Enable providing custom OtlpHttpSpanExporter #35596
- Include the application name on each log line when it is available #35593
- Provide more control over the OTel SpanProcessors #35560
- Add auto-configuration for ObservedAspect #35191
- Deprecate auto-configuration for InfluxDB #35190
- Add service connection support for ActiveMQ #35080
- Allow WebServers to be stopped and restarted #34955
- Add a property to disable Observations starting with a prefix #34802
- Custom ObservationHandler beans need to be registered after infrastructure handlers #34399
- Automatically log correlation IDs when Micrometer tracing is being used #33280
- Create configuration property for common low cardinality KeyValues in Observations #33241
- Provide a configuration property for configuring Flyway's use of transactional locks with PostgreSQL #32629
🐞 Bug Fixes
- Native reflection hints missing for nested properties declared in a superclass #36449
- Connecting to Mongo fails with an UnknownHostException when spring.data.mongodb.additional-hosts is configured #36446
- Auto-configured ExemplarSampler bean only backs off when a DefaultExemplarSampler is defined #36430
- OTel Span is missing required attributes #36425
- Auto-configured JacksonJsonpMapper is conditional on an ObjectMapper bean but does not use such a bean #36410
- Application fails to start when
@Import
ing a@ConfigurationProperties
class that is eligible for constructor binding #36360 - Mongo auto-configuration fails when username or password properties contain a colon (
:
) or at-sign (@
) #36294 - Only one health group can be exposed using management.endpoint.health.group.xxx.additional-path=server:/newpath when using Jersey #36277
- MockitoPostProcessor doesn't check FactoryBean.OBJECT_TYPE_ATTRIBUTE correctly #36232
- ImportsContextCustomizer does not support AliasFor #36210
- Saml2RelyingPartyRegistrationConfiguration can choose the wrong RelyingPartyRegistration.Builder when using a metadata file with multiple providers #36164
- ConfigurationPropertiesReportEndpoint does not display primitive wrapper types #36161
- ConfigurationPropertyName#equals is not symmetric when element has trailing dashes #36146
- Methods in KafkaConnectionDetails are named inconsistently #36133
- ScheduledTasksEndpoint throws NPE if PeriodicTrigger is used with custom SchedulingConfigurer #36130
- Java system properties can not be applied to RestTemplate HttpClient connection in some cases #36124
- Excluding auto-configuration class that relates to a TemplateAvailabilityProvider causes property binding to fail for native images #36122
- When using Flyway 9.20.0, auto-configuration fails with a NoSuchMethodError due to the removal of Oracle-related methods from FluentConfiguration #36100
- Dependency management for Selenium 4.8.x is incorrect #36093
- Slice test annotations do not include SslAutoConfiguration #36056
@AutoConfigureObservability
has unintentional consequences on integration tests #35354@ConfigurationPropertiesBinding
converters are not invoked for target types that can be converted by ObjectToObjectConverter #34631
📔 Documentation
- Documented Servlet container system requirements are out of date #36356
- Update the javadoc of ClientHttpRequestFactories to describe the ClientHttpRequestFactory implementations that it supports #36269
- Polish formatting in "Running Spring Batch Jobs on Startup" #36234
- Improve Kubernetes liveness and readiness probes customization documentation #36220
- Document auto-configuration of underlying HTTP client when using WebClient or RestTemplate #36216
- Polish Kafka Properties Docs #36143
- Fix typo in the Using R2DBC section of the reference documentation #36140
- Document observability auto-configuration for HTTP clients #36132
- Improve documentation for baggage propagation into MDC #36113
- Add Javadoc since to ImageReference.inTaglessForm() [#36055](https://github.com/spring-pr...
v3.1.2
🐞 Bug Fixes
- Native reflection hints missing for nested properties declared in a superclass #36448
- Connecting to Mongo fails with an UnknownHostException when spring.data.mongodb.additional-hosts is configured #36441
- Auto-configured ExemplarSampler bean only backs off when a DefaultExemplarSampler is defined #36429
- OTel Span is missing required attributes #36423
- Auto-configured JacksonJsonpMapper is conditional on an ObjectMapper bean but does not use such a bean #36409
- Application fails to start when
@Import
ing a@ConfigurationProperties
class that is eligible for constructor binding #36359 - Only one health group can be exposed using management.endpoint.health.group.xxx.additional-path=server:/newpath when using Jersey #36276
- Mongo auto-configuration fails when username or password properties contains a colon (
:
) or at-sign (@
) #36261 - MockitoPostProcessor doesn't check FactoryBean.OBJECT_TYPE_ATTRIBUTE correctly #36230
- ImportsContextCustomizer does not support AliasFor #36209
- Saml2RelyingPartyRegistrationConfiguration can choose the wrong RelyingPartyRegistration.Builder when using a metadata file with multiple providers #36163
- ConfigurationPropertiesReportEndpoint does not display primitive wrapper types #36160
- ConfigurationPropertyName#equals is not symmetric when element has trailing dashes #36145
- ScheduledTasksEndpoint throws NPE if PeriodicTrigger is used with custom SchedulingConfigurer #36129
- Java system properties can not be applied to RestTemplate HttpClient connection in some cases #36123
- Excluding auto-configuration class that relates to a TemplateAvailabilityProvider causes property binding to fail for native images #36121
- When using Flyway 9.20.0, auto-configuration fails with a NoSuchMethodError due to the removal of Oracle-related methods from FluentConfiguration #36099
- Dependency management for Selenium 4.8.x is incorrect #36077
- Slice test annotations do not include SslAutoConfiguration #36038
- Methods in KafkaConnectionDetails are named inconsistently #35733
📔 Documentation
- Documented Servlet container system requirements are out of date #36355
- Update the javadoc of ClientHttpRequestFactories to describe the ClientHttpRequestFactory implementations that it supports #36268
- Polish formatting in "Running Spring Batch Jobs on Startup" #36233
- Improve Kubernetes liveness and readiness probes customization documentation #36219
- Document auto-configuration of underlying HTTP client when using WebClient or RestTemplate #36215
- Polish Kafka Properties Docs #36142
- Fix typo in the Using R2DBC section of the reference documentation #36139
- Document observability auto-configuration for HTTP clients #36131
- Improve documentation for baggage propagation into MDC #36112
- Javadoc of RestTemplateBuilder.requestFactory(Function) links to deprecated ClientHttpRequestFactorySupplier #36097
- Javadoc of ConstructorBound and ConfigurationProperties links to deprecated ConstructorBinding annotation #36095
- Add Javadoc since to ImageReference.inTaglessForm() #36054
- Fix typo in docker compose service connections note #36016
🔨 Dependency Upgrades
- Upgrade to ActiveMQ 5.18.2 #36332
- Upgrade to Dependency Management Plugin 1.1.2 #36435
- Upgrade to Groovy 4.0.13 #36333
- Upgrade to Hibernate 6.2.6.Final #36334
- Upgrade to Hibernate Validator 8.0.1.Final #36335
- Upgrade to Infinispan 14.0.12.Final #36336
- Upgrade to Jakarta WebSocket 2.1.1 #36337
- Upgrade to Janino 3.1.10 #36338
- Upgrade to JBoss Logging 3.5.3.Final #36339
- Upgrade to jOOQ 3.18.5 #36340
- Upgrade to Lettuce 6.2.5.RELEASE #36436
- Upgrade to Micrometer 1.11.2 #36183
- Upgrade to Micrometer Tracing 1.1.3 #36296
- Upgrade to R2DBC MSSQL 1.0.2.RELEASE #36467
- Upgrade to R2DBC Postgresql 1.0.2.RELEASE #36469
- Upgrade to Rabbit AMQP Client 5.17.1 #36341
- Upgrade to Reactor Bom 2022.0.9 #36297
- Upgrade to Spring AMQP 3.0.6 #36403
- Upgrade to Spring Data Bom 2023.0.2 #36184
- Upgrade to Spring Framework 6.0.11 #36185
- Upgrade to Spring GraphQL 1.2.2 #36186
- Upgrade to Spring HATEOAS 2.1.2 #36454
- Upgrade to Spring Integration 6.1.2 #36404
- Upgrade to Spring Kafka 3.0.9 #36187
- Upgrade to Spring Security 6.1.2 #36298
- Upgrade to Tomcat 10.1.11 #36342
❤️ Contributors
Thank you to all the contributors who worked on this release:
@Pengfei-Lu, @ThomazPassarelli, @bbulgarelli, @bedla, @dependabot[bot], @dkswnkk, @dreis2211, @eddumelendez, @eydunn, @garyrussell, @izeye, @johnnywiller, @jonatan-ivanov, @jstansel, @lasselindqvist, @lmartelli, and @quaff
v3.0.9
🐞 Bug Fixes
- Native reflection hints missing for nested properties declared in a superclass #36406
- Only one health group can be exposed using management.endpoint.health.group.xxx.additional-path=server:/newpath when using Jersey #36275
- MockitoPostProcessor doesn't check FactoryBean.OBJECT_TYPE_ATTRIBUTE correctly #36229
- ImportsContextCustomizer does not support AliasFor #36208
- Application fails to start when
@Import
a@ConfigurationProperties
class that is eligible for constructor binding #36175 - Saml2RelyingPartyRegistrationConfiguration can choose the wrong RelyingPartyRegistration.Builder when using a metadata file with multiple providers #36162
- ConfigurationPropertiesReportEndpoint does not display primitive wrapper types #36159
- OTel Span is missing required attributes #36155
- ConfigurationPropertyName#equals is not symmetric when element has trailing dashes #36144
- Auto-configured JacksonJsonpMapper is conditional on an ObjectMapper bean but does not use such a bean #36109
- When using Flyway 9.20.0, auto-configuration fails with a NoSuchMethodError due to the removal of Oracle-related methods from FluentConfiguration #36098
- ScheduledTasksEndpoint throws NPE if PeriodicTrigger is used with custom SchedulingConfigurer #36081
- Java system properties can not be applied to RestTemplate HttpClient connection in some cases #35815
- Excluding auto-configuration class that relates to a TemplateAvailabilityProvider causes property binding to fail for native images #35682
- Auto-configured ExemplarSampler bean only backs off when a DefaultExemplarSampler is defined #35619
📔 Documentation
- Documented Servlet container system requirements are out of date #36354
- Update the javadoc of ClientHttpRequestFactories to describe the ClientHttpRequestFactory implementations that it supports #36267
- Polish formatting in "Running Spring Batch Jobs on Startup" #36225
- Improve Kubernetes liveness and readiness probes customization documentation #36218
- Document auto-configuration of underlying HTTP client when using WebClient or RestTemplate #36214
- Polish Kafka Properties Docs #36141
- Fix typo in the Using R2DBC section of the reference documentation #36138
- Add Javadoc since to ImageReference.inTaglessForm() #36053
- Javadoc of RestTemplateBuilder.requestFactory(Function) links to deprecated ClientHttpRequestFactorySupplier #36046
- Javadoc of ConstructorBound and ConfigurationProperties links to deprecated ConstructorBinding annotation #36045
- Improve documentation for baggage propagation into MDC #34977
- Document observability auto-configuration for HTTP clients #34053
🔨 Dependency Upgrades
- Upgrade to Dependency Management Plugin 1.1.2 #36433
- Upgrade to Groovy 4.0.13 #36322
- Upgrade to Hibernate Validator 8.0.1.Final #36323
- Upgrade to Infinispan 14.0.12.Final #36324
- Upgrade to Jakarta WebSocket 2.1.1 #36325
- Upgrade to Janino 3.1.10 #36326
- Upgrade to JBoss Logging 3.5.3.Final #36327
- Upgrade to jOOQ 3.17.14 #36328
- Upgrade to Lettuce 6.2.5.RELEASE #36434
- Upgrade to Micrometer 1.10.9 #36178
- Upgrade to Micrometer Tracing 1.0.8 #36291
- Upgrade to R2DBC Postgresql 1.0.2.RELEASE #36465
- Upgrade to Rabbit AMQP Client 5.16.1 #36329
- Upgrade to Reactor Bom 2022.0.9 #36292
- Upgrade to Spring AMQP 3.0.6 #36401
- Upgrade to Spring Data Bom 2022.0.8 #36179
- Upgrade to Spring Framework 6.0.11 #36180
- Upgrade to Spring HATEOAS 2.0.6 #36453
- Upgrade to Spring Kafka 3.0.9 #36182
- Upgrade to Spring Security 6.0.5 #36293
- Upgrade to Tomcat 10.1.11 #36330
❤️ Contributors
Thank you to all the contributors who worked on this release:
@Pengfei-Lu, @ThomazPassarelli, @bbulgarelli, @bedla, @dependabot[bot], @dkswnkk, @eddumelendez, @eydunn, @garyrussell, @izeye, @johnnywiller, @jonatan-ivanov, @lasselindqvist, @lmartelli, and @quaff
v2.7.14
🐞 Bug Fixes
- Only one health group can be exposed using management.endpoint.health.group.xxx.additional-path=server:/newpath when using Jersey #36250
- MockitoPostProcessor doesn't check FactoryBean.OBJECT_TYPE_ATTRIBUTE correctly #36224
- ConfigurationPropertiesReportEndpoint does not display primitive wrapper types #36076
- When using Flyway 9.20.0, auto-configuration fails with a NoSuchMethodError due to the removal of Oracle-related methods from FluentConfiguration #36029
- Saml2RelyingPartyRegistrationConfiguration can choose the wrong RelyingPartyRegistration.Builder when using a metadata file with multiple providers #35902
- ImportsContextCustomizer does not support AliasFor #34917
- ConfigurationPropertyName#equals is not symmetric when element has trailing dashes #34804
📔 Documentation
- Add Javadoc since to ImageReference.inTaglessForm() #36048
- Polish Kafka Properties Docs #36032
- Fix typo in the Using R2DBC section of the reference documentation #36019
- Improve Kubernetes liveness and readiness probes customization documentation #34978
- Document auto-configuration of underlying HTTP client when using WebClient or RestTemplate #34136
🔨 Dependency Upgrades
- Upgrade to Elasticsearch 7.17.11 #36311
- Upgrade to Groovy 3.0.18 #36312
- Upgrade to Janino 3.1.10 #36313
- Upgrade to Johnzon 1.2.21 #36314
- Upgrade to Micrometer 1.9.13 #36171
- Upgrade to Neo4j Java Driver 4.4.12 #36315
- Upgrade to Rabbit AMQP Client 5.14.3 #36316
- Upgrade to Reactor Bom 2020.0.34 #36172
- Upgrade to Spring AMQP 2.4.14 #36399
- Upgrade to Spring Data Bom 2021.2.14 #36173
- Upgrade to Spring Framework 5.3.29 #36174
- Upgrade to Spring HATEOAS 1.5.5 #36413
- Upgrade to Spring Security 5.7.10 #36295
- Upgrade to Tomcat 9.0.78 #36317
❤️ Contributors
Thank you to all the contributors who worked on this release:
@ThomazPassarelli, @bbulgarelli, @bedla, @dependabot[bot], @dkswnkk, @eydunn, @garyrussell, @izeye, @lasselindqvist, @lmartelli, and @quaff
v3.1.1
🐞 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 [#35...
v3.0.8
🐞 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
v2.7.13
🐞 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:
v3.1.0
⭐ New Features
- Result from SpringApplication.from(...) may need to provide access to more details in the future #35451
- Ensure that Flyway uses SLF4J by default and provide a configuration property to override the setting #35158
🐞 Bug Fixes
- Welcome page may return a 404 when an acceptable response cannot be produced #35554
- Docker compose dependency causes failures during Maven AOT processing #35548
- Defining a zipkin2.reporter.Reporter results in two reporter beans as the auto-configured AsyncReporter does not back off #35546
- Docker compose service readiness checks cannot be bypassed #35545
- Many spring.security.oauth2.authorizationserver properties do not have default values #35460
- Default for spring.flway.execute-in-transaction is not aligned with Flyway's default #35447
- developmentOnly dependencies are included in the AOT processing classpath #35444
- Restarts are slow when using spring-boot-devtools and spring-boot-docker-compose #35435
- Hibernate 6.2 doesn't work in native-image: No available JtaPlatform candidates #35425
- In a native image, configuration property binding fails when the target has package-private getters and setters #35400
- Invalid reference format error when tagging images using Podman #35396
- App startup fails with confusing message when a Docker Compose file is not found #35383
- WebClient auto-configuration tries to use HttpComponentsClientHttpConnector when all required classes are not present #35381
- MinIdle and MaxValidationTime properties missing for R2DBC pools #35379
- spring.data.mongodb.replica-set-name is not applied correctly #35370
- Anonymous requests to the token endpoint are redirected to the Spring Security login page instead of receiving a 401 response #35368
- Application yaml files cannot be loaded when they exceed 3mb #35367
- Can't use PEM encoded PKCS#8 EC keys with server.ssl.certificate-private-key #35365
- DisableObservabilityContextCustomizer can't be switched off through properties #35360
FactoryBean.getObject
for non-singleton executed when resetting mocks #35330- Tracking of artifact dependency coordinates by BootJar and BootWar may break artifact transforms in sub-projects #35328
📔 Documentation
- Javadoc since version for ImageReference is wrong #35459
- Polish formatting of permitAll() endpoint security Kotlin example #35457
- Improve Kotlin Testcontainers samples #35446
- Improve documentation for including Docker Compose support #35384
- Wrong anchors in Maven plugin documentation #35373
- Fix typo #35369
- Formatting issue in the Maven plugin documentation #35349
- Clarify profile support when using AOT #35321
🔨 Dependency Upgrades
- Upgrade to Couchbase Client 3.4.6 #35350
- Upgrade to Groovy 4.0.12 #35351
- Upgrade to jOOQ 3.18.4 #35431
- Upgrade to Micrometer 1.11.0 #35305
- Upgrade to Micrometer Tracing 1.1.1 #35421
- Upgrade to Native Build Tools Plugin 0.9.22 #35407
- Upgrade to Neo4j Java Driver 5.8.0 #35352
- Upgrade to Reactor Bom 2022.0.7 #35307
- Upgrade to SAAJ Impl 3.0.2 #35432
- Upgrade to Spring Authorization Server 1.1.0 #35308
- Upgrade to Spring Batch 5.0.2 #35309
- Upgrade to Spring Data Bom 2023.0.0 #35310
- Upgrade to Spring Framework 6.0.9 #35311
- Upgrade to Spring GraphQL 1.2.0 #35312
- Upgrade to Spring HATEOAS 2.1.0 #35313
- Upgrade to Spring Integration 6.1.0 #35314
- Upgrade to Spring Kafka 3.0.7 #35376
- Upgrade to Spring LDAP 3.1.0 #35315
- Upgrade to Spring Security 6.1.0 #35316
- Upgrade to Spring Session 3.1.0 #35317
- Upgrade to Spring WS 4.0.4 #35318
- Upgrade to Undertow 2.3.6.Final #35450
❤️ Contributors
Thank you to all the contributors who worked on this release:
@Ckram, @JunJaBoy, @TheHound, @bclozel, @be-hase, @davin111, @dreis2211, @izeye, @quaff, @scordio, @sdeleuze, and @sjohnr
v3.0.7
🐞 Bug Fixes
- Welcome page may return a 404 when an acceptable response cannot be produced #35553
- Defining a zipkin2.reporter.Reporter results in two reporter beans as the auto-configured AsyncReporter does not back off #35455
- developmentOnly dependencies are included in the AOT processing classpath #35433
- Hibernate 6.2 doesn't work in native-image: No available JtaPlatform candidates #35423
- In a native image, configuration property binding fails when the target has package-private getters and setters #35397
- Invalid reference format error when tagging images using Podman #35395
- WebClient auto-configuration tries to use HttpComponentsClientHttpConnector when all required classes are not present #35380
- MinIdle and MaxValidationTime properties missing for R2DBC pools #35378
- Can't use PEM encoded PKCS#8 EC keys with server.ssl.certificate-private-key #35364
FactoryBean.getObject
for non-singleton executed when resetting mocks #35329- Webflux server gracefulshutdown throws NullPointerException #35269
- Health actuator mail details shows the port as -1 when using the default port #35254
- SessionRepositoryFilterConfiguration can cause early initialization of SessionRepository beans including Redis #35241
- Liveness and readiness probes return down when lazy initialization is enabled #35235
- Devtools main method search algorithm can find incorrect main method #35220
- When a WebFlux app is deployed to Cloud Foundry some metrics are lost and numerous beans are ineligible for post-processing #35170
- Treating a null Flyway-specific password as an empty string prevents the use of PGPASS for authentication #35131
- DisableObservabilityContextCustomizer can't be switched off through properties #35009
- Application yaml files cannot be loaded when they exceed 3mb #34743
@ServletComponentScan
causes AOT processing to fail with "Code generation is not supported for bean definitions declaring an instance supplier callback" #34563- Tracking of artifact dependency coordinates by BootJar and BootWar may break artifact transforms in sub-projects #31216
📔 Documentation
- Polish formatting of permitAll() endpoint security Kotlin example #35456
- Wrong anchors in Maven plugin documentation #35372
- Clarify profile support when using AOT #35262
- Add reference to Tor Spring Boot Starter #35256
- Correct list of annotations that are equivalent to
@SpringBootApplication
#35230 - Harmonize references to application.yaml files in reference docs #35129
🔨 Dependency Upgrades
- Upgrade to Couchbase Client 3.4.6 #35341
- Upgrade to Groovy 4.0.12 #35342
- Upgrade to Hazelcast 5.1.6 #35427
- Upgrade to Infinispan 14.0.9.Final #35343
- Upgrade to Jackson Bom 2.14.3 #35344
- Upgrade to Jakarta Activation 2.1.2 #35345
- Upgrade to Jersey 3.1.2 #35550
- Upgrade to jOOQ 3.17.13 #35428
- Upgrade to Json-smart 2.4.11 #35551
- Upgrade to JUnit Jupiter 5.9.3 #35346
- Upgrade to Micrometer 1.10.7 #35298
- Upgrade to Micrometer Tracing 1.0.6 #35420
- Upgrade to Native Build Tools Plugin 0.9.22 #35406
- Upgrade to Neo4j Java Driver 5.8.0 #35347
- Upgrade to Netty 4.1.92.Final #35443
- Upgrade to Reactor Bom 2022.0.7 #35299
- Upgrade to SAAJ Impl 3.0.2 #35429
- Upgrade to Spring Batch 5.0.2 #35300
- Upgrade to Spring Data Bom 2022.0.6 #35301
- Upgrade to Spring Framework 6.0.9 #35302
- Upgrade to Spring GraphQL 1.1.4 #35303
- Upgrade to Spring HATEOAS 2.0.4 #35325
- Upgrade to Spring Kafka 3.0.7 #35375
- Upgrade to Spring LDAP 3.0.3 #35404
- Upgrade to Spring WS 4.0.4 #35304
- Upgrade to Undertow 2.3.6.Final #35448
❤️ Contributors
Thank you to all the contributors who worked on this release:
@JunJaBoy, @aasaru, @be-hase, @davin111, @ivandimitrov8080, and @theborakompanioni