Spring Boot 2.5.3

7月22 Spring 官方宣布 Spring Boot 2.5.3 版本发布,此次发布主要为 bug 修复和依赖升级、文档完善,除了增加 java 17 枚举版本号,没有新的特性

New Features

  • Add Java 17 to JavaVersion enum #26769

Bug Fixes

  • DataSourceBuilder throws an UnsupportedDataSourcePropertyException when trying to derive a DataSource from an unknown DataSource type #27453
  • DatabaseInitializerDetector and DependsOnDatabaseInitializationDetector implementations may be instantiated with the wrong ClassLoader #27422
  • YamlPropertySourceLoader may not use the right ClassLoader to check if SnakeYAML is present #27419
  • Setting Gson as preferred mapper breaks controller methods returning JSON Strings #27361
  • Dependency management for Prometheus's Pushgateway is incomplete #27349
  • Exception thrown from /actuator/configprops endpoint when spring.config.import=configtree:xxxx is used #27346
  • Layers configuration XSD is not available #27321
  • Redis health indicators report that Redis is up when the cluster's state is fail #27304
  • App fails to start when using Spring Batch with JDBC and lazy initialization is enabled #27221
  • Spring Session JDBC does not work when lazy initialization is enabled #27220
  • AbstractDataSourceInitializers are not detected as database initializers #27215
  • Optional file search locations with pattern throws exception if not present #27211
  • File named "config" in working directory causes IllegalStateException #27210
  • Live Reload using Devtools no longer connects #27205
  • Live Reload using Devtools no longer connects #27204
  • DurationStyle.SIMPLE.print does not work correctly with ChronoUnit.MICROS #27154
  • Since 2.5.1, a circular reference is created when one SpringLiquibase bean is configured to depend on another #27131
  • Configuration property metadata has the wrong default value for spring.netty.leak-detection #27104
  • "Cannot determine database's type as ConnectionFactory is not options-capable" error message doesn't provide enough detail #26977
  • @SpyBean does not work when used to spy on a Spring Data Repository #7033

Documentation

  • Fix reference to a configuration property in cloud.adoc #27357
  • Document auto-configured Jetty metrics #27301
  • Document that hateoas starter is spring MVC specific #27139
  • Improve javadoc of @DefaultValue #27137
  • Fix anchor rewrites containing a question mark #27107
  • Remove unnecessary unit for spring.datasource.tomcat.max-active #27103
  • Fix typo in section title #27102

Dependency Upgrades

  • Upgrade to AppEngine SDK 1.9.90 #27384
  • Upgrade to AspectJ 1.9.7 #27194
  • Upgrade to Caffeine 2.9.2 #27195
  • Upgrade to DB2 JDBC 11.5.6.0 #27196
  • Upgrade to Dropwizard Metrics 4.1.25 #27385
  • Upgrade to Infinispan 12.1.7.Final #27386
  • Upgrade to Jackson Bom 2.12.4 #27198
  • Upgrade to Jedis 3.6.3 #27448
  • Upgrade to Jetty 9.4.43.v20210629 #27199
  • Upgrade to Jetty Reactive HTTPClient 1.1.10 #27388
  • Upgrade to Johnzon 1.2.14 #27200
  • Upgrade to jOOQ 3.14.13 #27389
  • Upgrade to Kotlin 1.5.21 #27316
  • Upgrade to Kotlin Coroutines 1.5.1 #27317
  • Upgrade to Lettuce 6.1.4.RELEASE #27341
  • Upgrade to Logback 1.2.4 #27449
  • Upgrade to Micrometer 1.7.2 #27342
  • Upgrade to MySQL 8.0.26 #27450
  • Upgrade to Netty 4.1.66.Final #27390
  • Upgrade to Postgresql 42.2.23 #27202
  • Upgrade to Reactor 2020.0.9 #27162
  • Upgrade to SLF4J 1.7.32 #27451
  • Upgrade to Spring AMQP 2.3.10 #27392
  • Upgrade to Spring Data 2021.0.3 #27164
  • Upgrade to Spring Framework 5.3.9 #27163
  • Upgrade to Spring HATEOAS 1.3.3 #27184
  • Upgrade to Spring Integration 5.5.2 #27166
  • Upgrade to Spring Kafka 2.7.4 #27165
  • Upgrade to Tomcat 9.0.50 #27203
  • Upgrade to Undertow 2.2.9.Final #27452

参考

Spring Boot 2.5.3 is now available

Release v2.5.3

spring-boot
112 views
Comments
登录后评论
Sign In