包阅导读总结
1. 关键词:Spring 生态系统、版本发布、Bug 修复、依赖升级、新功能
2. 总结:2024 年 6 月 17 日这周,Spring 生态系统有众多项目发布新版本,包括 Spring Boot、Spring Security 等,各版本带来了文档改进、Bug 修复、依赖升级和新功能等。
3. 主要内容:
– Spring Boot
– 发布 3.3.1 和 3.2.7 版本,改进文档,解决部分问题,如 Tomcat Http11Nio2Protocol 类和 DataSourceProperties 类相关问题。
– Spring Framework
– 发布 6.1.10 版本,提供错误修复、文档改进和新特性,如 PersistenceExceptionTranslationInterceptor 类和对“连接重置”异常短语的支持。
– Spring Security
– 发布 6.3.1、6.2.5 和 5.8.13 版本,进行了 Bug 修复、依赖升级和新功能添加,如增强日志和更新 ldap.adoc 文件。
– Spring Authorization Server
– 发布 1.3.1 和 1.2.5 版本,解决了依赖升级和一些问题,如 ClassNotFoundException 和 X509 客户端证书认证问题。
– Spring for GraphQL
– 发布 1.3.1 和 1.2.7 版本,提供错误修复、文档改进、依赖升级和新功能,如支持 Reactor Flux 类返回。
– Spring Session
– 发布 3.3.1 和 3.2.4 版本,进行依赖升级,解决用户定义的自定义实现问题。
– Spring Integration
– 发布 6.3.1 和 6.2.6 版本,进行错误修复、文档改进、依赖升级和新增功能,如为 ZeroMqMessageHandler 类提供可选主题。
– Spring Modulith
– 发布 1.2.1 和 1.1.6 版本,改进接口配置,解决命名接口检测问题,进行依赖升级。
– Spring AMQP
– 发布 3.1.6 版本,进行依赖升级和问题解决,如 ActiveObjectCounter 类的 release 方法和 RabbitFuture 类的优化。
– Spring for Apache Kafka
– 发布 3.2.1 和 3.1.6 版本,提供错误修复、依赖升级和添加新功能,如添加跟踪头。
– Spring for Apache Pulsar
– 发布 1.1.1 和 1.0.7 版本,进行大量依赖升级。
– Spring Tools
– 发布 4.23.1 版本,解决了一些重要问题,如添加设置和处理 VSCode 中的异常。
思维导图:
文章来源:infoq.com
作者:Michael Redlich
发布时间:2024/6/24 0:00
语言:英文
总字数:974字
预计阅读时间:4分钟
评分:88分
标签:spring releases jun17 2024,开发,架构与设计,DevOps,人工智能
以下为原文内容
本内容来源于用户推荐转载,旨在分享知识与观点,如有侵权请联系删除 联系邮箱 media@ilingban.com
There was a flurry of activity in the Spring ecosystem during the week of June 17th, 2024, highlighting point releases of: Spring Boot 3.3.1 and 3.2.7; Spring Security 6.3.1, 6.2.5 and 5.8.13; Spring Session 3.3.1 and 3.2.4; and Spring Modulith 1.2.1, 1.1.6 and 1.0.9.
Spring Boot
The release of Spring Boot versions 3.3.1 and 3.2.7 deliver improvements in documentation, dependency upgrades and resolutions to notable issues such as: an IllegalArgumentException
when trying to use an instance of the Tomcat Http11Nio2Protocol
class with Spring Boot-configured SSL; and an instance of the DataSourceProperties
class fails to bind if the java.sql
module isn’t included. Further details on these releases may be found in the release notes for version 3.3.1 and version 3.2.7.
Spring Framework
Spring Framework 6.1.10, the tenth maintenance release, provides bug fixes (that include regressions from version 6.1.9), improvements in documentation and new features: an instance of the PersistenceExceptionTranslationInterceptor
class now defensively retrieves PersistenceExceptionTranslator
interface beans to cover scenarios where the translator has not been initialized before shutdown; and support for all “connection reset” exception phrases from the DisconnectedClientHelper
class. This version is included in the release of Spring Boot 3.2.7 and 3.3.1. More details on this release may be found in the release notes.
Spring Security
Versions 6.3.1, 6.2.5 and 5.8.13 of Spring Security have been released that ship with bug fixes, dependency upgrades, build updates and new features such as: enhanced logging from within the check()
method, defined in the RequestMatcherDelegatingAuthorizationManager
class, that did not provide useful information; and an update to the ldap.adoc
file to include the required dependencies to avoid issues that developers have experienced while setting up LDAP. Further details on these releases may be found in the release notes for version 6.3.1, version 6.2.5 and version 5.8.13.
Spring Authorization Server
Versions 1.3.1 and 1.2.5 of Spring Authorization Server have been released featuring dependency upgrades and resolutions to issues: a ClassNotFoundException
due to AOT hints preventing compilation when using JdbcOAuth2AuthorizationService
or JdbcRegisteredClientRepository
classes; and authentication for an X509 client certificate enforces the value assigned to the client_id
field in the YAML configuration file without first checking on client authentication method. More details on these releases may be found in the release notes for version 1.3.1 and version 1.2.5.
Spring for GraphQL
Versions 1.3.1 and 1.2.7 of Spring for GraphQL have been released providing bug fixes, improvements in documentation, dependency upgrades and new features: support for returning instances of the Reactor Flux
class from methods annotated with @EntityMapping
to complement existing support for List
, Mono<List>
and CompletableFuture<List>
; and allow the use of GraphQL Java 21.x in the Spring for GraphQL 1.2 release train. These versions are included in the release of Spring Boot 3.2.7 and 3.3.1, respectively. Further details on these releases may be found in the release notes for version 1.3.1 and version 1.2.7.
Spring Session
Versions 3.3.1 and 3.2.4 of Spring Session have been released with dependency upgrades and a new feature that resolves an issue in which a default implementation of the UserDetails
interface, User
, is returned instead of a user-defined custom implementation. More details on these releases may be found in the release notes for version 3.3.1 and version 3.2.4.
Spring Integration
Versions 6.3.1 and 6.2.6 of Spring Integration have been released featuring bug fixes, improvements in documentation, dependency upgrades and a new feature that provides the ZeroMqMessageHandler
class with an optional topic for distributing messages into subscriptions that must be wrapped with an additional empty frame. This would complement the existing default topic. Further details on these releases may be found in the release notes for version 6.3.1 and version 6.2.6.
Spring Modulith
Versions 1.2.1 and 1.1.6 of Spring Modulith have been released featuring: an improved configuration of the ApplicationModuleDetectionStrategy
interface via the spring.modulith.detection-strategy
property that will accept values direct-sub-packages
(default) or explicitly-annotated
; a resolution to named interface detection accidentally picking up nested declarations in a nested interfaces scenario; and dependency upgrades to Spring Boot 3.3.1 and 3.2.7, respectively. More details on these releases may be found in the release notes for version 1.2.1 and version 1.1.6.
Spring AMQP
Version 3.1.6 of Spring AMQP has been released featuring dependency upgrades and resolutions to issues: the release()
method, defined in the ActiveObjectCounter
class, is unreachable due to the SimpleMessageListenerContainer
class not having released the consumer
variable; and elimination of an interrupted thread after performing target logic by moving the cancelTimeoutTaskIfAny()
method, defined in the RabbitFuture
class, into a finally
block. Further details on this release may be found in the release notes.
Spring for Apache Kafka
Versions 3.2.1 and 3.1.6 of Spring for Apache Kafka have been released providing bug fixes, dependency upgrades and a new feature that adds tracing headers, now mapped to a string, in the AbstractKafkaHeaderMapper
class after the migration from Sleuth to Micrometer. These versions are included in the release of Spring Boot 3.2.7 and 3.3.1, respectively. More details on these releases may be found in the release notes for version 3.2.1 and version 3.1.6.
Spring for Apache Pulsar
Versions 1.1.1 and 1.0.7 of Spring for Apache Pulsar have been released featuring numerous dependency upgrades that include: Micrometer Metrics 1.13.1 and 1.12.7, respectively; Reactive Client for Apache Pulsar 0.5.6; and Spring Framework 6.1.9. These versions are included in the release of Spring Boot 3.2.7 and 3.3.1, respectively. Further details on these releases may be found in the release notes for version 1.1.1 and version 1.0.7.
Spring Tools
Less than a week after the release of version 4.23.0, version 4.23.1 of Spring Tools has been released to deliver important fixes such as: adding preferences/settings for enabling/disabling JPQL, HQL and SQL syntax validation as well as severities for syntax problems inside Spring Data queries that were missing; and a StackOverflowException
from within the AnnotationHierarchies
class upon opening a Spring Boot project in VSCode. More details on this release may be found in the release notes.