v2.6.5
版本发布时间: 2022-03-24 23:15:19
spring-projects/spring-boot最新发布版本:v3.4.1(2024-12-19 21:53:46)
:mega: 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.
:star: 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
:notebook_with_decorative_cover: 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
:hammer: 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
:heart: Contributors
We'd like to thank all the contributors who worked on this release!