zoukankan      html  css  js  c++  java
  • Spring Boot发布2.6.2、2.5.8:升级log4j2到2.17.0

    12月22日,Spring官方发布了Spring Boot 2.5.8(包括46个错误修复、文档改进和依赖项升级)和2.6.2(包括55个错误修复、文档改进和依赖项升级)。

    这两个版本均为缺陷修复版本,值得注意的是再这两个版本中更新了最近困扰大家的log4j2版本升级,如果正在使用log4j2的小伙伴,可以做此升级。

    2.6.2版本内容

    用户已经可以通过下面的Maven坐标获取2.6.2的依赖:

    <parent>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-starter-parent</artifactId>
      <version>2.6.2</version>
      <relativePath/> <!-- lookup parent from repository -->
    </parent>
    

    缺陷修复

    • 当getter或setter被子类覆盖属性配置类型,在属性绑定期间使用的getter和setter的时候会有所不同 #29143
    • DatabaseInitializationDependencyConfigurer触发工厂Bean的饥饿初始化 #29103
    • Spring boot 2.6.0 Quartz的mysql/mariadb表不会创建 #29095
    • 用于Quartz、Session、Intergration和Batch模式平台的初始化无法完成配置 #29002
    • 当应用程序依赖thymeleaf-extras-springsecurity5,但classpath上没有Spring Security时,应用无法启动的问题 #28979
    • 在2.6.1版本中使用spring security的ResponseStatusException不再返回响应体 #28953
    • DataSourceScriptDatabaseInitializer仍然可能试图访问数据库,即使它的初始化模式为never #28931
    • 当setUseCodeAsDefaultMessage设置为true时,在spring boot 2.6.1中Hibernate验证信息被破坏。 #28930
    • 没有Tag的镜像构建包引用不默认为最新版本 #28922
    • 用Maven构建的war包中的classpath index manifest属性无效 #28904
    • 当部署到与Servlet 3.1兼容的容器时,org.springframework.boot.web.servlet.filter.ErrorPageSecurityFilter中的AbstractMethodError被触发 #28902
    • 为health端点设置time-to-live缓存没有效果 #28882
    • server.servlet.session.cookie.same-site没有应用到Spring Session的SESSION cookie上。 #28784

    如果您正在学习Spring Boot,这个连载多年还在持续更新的Spring Boot教程 不能错过哦!

    依赖升级

    • 升级 Logback 1.2.9 #29012
    • 升级 AppEngine SDK 1.9.93 #29054
    • 升级 Caffeine 2.9.3 #29055
    • 升级 Couchbase Client 3.2.4 #29056
    • 升级 DB2 JDBC 11.5.7.0 #29124
    • 升级 Dropwizard Metrics 4.2.7 #29125
    • 升级 Ehcache3 3.9.9 #29126
    • 升级 Flyway 8.0.5 #29059
    • 升级 Hazelcast 4.2.4 #29146
    • 升级 Hibernate 5.6.3.Final #29127
    • 升级 HttpAsyncClient 4.1.5 #29062
    • 升级 HttpCore 4.4.15 #29063
    • 升级 Infinispan 12.1.10.Final #29128
    • 升级 Jackson Bom 2.13.1 #29129
    • 升级 JDOM2 2.0.6.1 #29064
    • 升级 Jedis 3.7.1 #29065
    • 升级 JUnit Jupiter 5.8.2 #29066
    • 升级 Kotlin 1.6.10 #29067
    • 升级 Log4j2 2.17.0 #28984
    • 升级 Micrometer 1.8.1 #28971
    • 升级 MSSQL JDBC 9.4.1.jre8 #29068
    • 升级 Netty 4.1.72.Final #29005
    • 升级 Reactor 2020.0.14 #28969
    • 升级 Spring AMQP 2.4.1 #28995
    • 升级 Spring Framework 5.3.14 #28970
    • 升级 Spring Integration 5.5.7 #28975
    • 升级 Spring Kafka 2.8.1 #29017
    • 升级 Spring LDAP 2.3.5 #28972
    • 升级 Spring Security 5.6.1 #28973
    • 升级 Spring Session 2021.1.1 #28974
    • 升级 Spring WS 3.1.2 #29069
    • 升级 Thymeleaf 3.0.14.RELEASE #29070
    • 升级 Tomcat 9.0.56 #29071
    • 升级 Undertow 2.2.14.Final #29072
    • 升级 XmlUnit2 2.8.4 #29131

    官方公告:https://spring.io/blog/2021/12/21/spring-boot-2-6-2-available-now

    2.5.8版本内容

    用户已经可以通过下面的Maven坐标获取2.5.8的依赖:

    缺陷修复

    • DatabaseInitializationDependencyConfigurer触发工厂Bean的饥饿初始化 #28977
    • 当应用程序依赖thymeleaf-extras-springsecurity5,但classpath上没有Spring Security时,应用无法启动的问题 #28967
    • 用于Quartz、Session、Intergration和Batch模式平台的初始化无法完成配置 #28932
    • 没有Tag的镜像构建包引用不默认为最新版本 #28921
    • 当getter或setter被子类覆盖属性配置类型,在属性绑定期间使用的getter和setter的时候会有所不同 #28917
    • 用Maven构建的war包中的classpath index manifest属性无效 #28895
    • PatternParseException的行为消息失败分析中的匹配策略属性名称不正确。 #28809
    • org.elasticsearch.distribution.integ-test-zip:elasticsearch的依赖管理应声明其类型为zip #28725

    如果您正在学习Spring Boot,这个连载多年还在持续更新的Spring Boot教程 不能错过哦!

    依赖升级

    • 升级 AppEngine SDK 1.9.93 #29038
    • 升级 Caffeine 2.9.3 #29039
    • 升级 DB2 JDBC 11.5.7.0 #29117
    • 升级 Dropwizard Metrics 4.1.29 #29118
    • 升级 Ehcache3 3.9.9 #29119
    • 升级 Hazelcast 4.1.8 #29145
    • 升级 Hibernate 5.4.33 #29120
    • 升级 HttpAsyncClient 4.1.5 #29043
    • 升级 HttpCore 4.4.15 #29044
    • 升级 Infinispan 12.1.10.Final #29121
    • 升级 Jackson Bom 2.12.6 #29045
    • 升级 JDOM2 2.0.6.1 #29046
    • 升级 Kotlin 1.5.32 #29047
    • 升级 Log4j2 2.17.0 #28983
    • 升级 Logback 1.2.9 #29011
    • 升级 Micrometer 1.7.7 #28962
    • 升级 Netty 4.1.72.Final #29004
    • 升级 Reactor 2020.0.14 #28960
    • 升级 Spring AMQP 2.3.13 #28994
    • 升级 Spring Framework 5.3.14 #28961
    • 升级 Spring Integration 5.5.7 #28966
    • 升级 Spring LDAP 2.3.5 #28963
    • 升级 Spring Security 5.5.4 #28964
    • 升级 Spring Session 2021.0.4 #28965
    • 升级 Spring WS 3.1.2 #29048
    • 升级 Thymeleaf 3.0.14.RELEASE #29049
    • 升级 Tomcat 9.0.56 #29050
    • 升级 Undertow 2.2.14.Final #29051
    • 升级 XmlUnit2 2.8.4 #29123

    官方公告:https://spring.io/blog/2021/12/21/spring-boot-2-5-8-available-now

    欢迎关注我的公众号:程序猿DD。第一时间了解前沿行业消息、分享深度技术干货、获取优质学习资源

  • 相关阅读:
    可视化地图(从省级下钻到市级)
    全国疫情统计可视化地图
    |和||、&&和&
    MFC 常见问题
    * 和-> 优先级
    MFC控件CTabCtrl关联变量
    C++ #include—尖括号和双引号的区别
    C++类型转换
    VC++生成不同的随机数
    VS 2008 头文件库文件设置
  • 原文地址:https://www.cnblogs.com/didispace/p/15718362.html
Copyright © 2011-2022 走看看