Repository navigation
fix(bean): 将完整类型与复制兼容修复同步至5.0.3 - #390
Merged
Merged
Conversation
为2.20维护线提供完整ResolvableType转换入口。 回移嵌套泛型、继承上下文、record转换器与异常语义修复。 保留克隆、匹配数组键及原键域比较器的既有契约。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
为平台 2.20 使用的 hsweb 5.0.3 维护线提供完整 ResolvableType 转换能力,避免 Core 1.3.3-SNAPSHOT 调用新重载时出现 NoSuchMethodError。保留 5.0.3 的依赖与 Java 17 基线,未引入 5.0.4 的整体升级。
回移已在 5.0.x 候选验证的公共 owner 修复:嵌套 Map/List/泛型数组、继承类型变量、已注册 record 转换器优先级、规范构造失败的业务/fatal 语义,以及兼容 Cloneable 属性、数组键和 TreeMap 比较器。原三参 Converter 接口和旧自定义实现继续可用;不增加业务 DTO 特判。
验证:FastBeanCopier 116 项通过;配套 Core、Supports 和平台 2.20 的联合回归结果见关联 PR。本次主转换源码与 hsweb #389 的已验证候选一致,API 添加以默认重载保持旧实现可用。旧 5.0.3 缓存缺少 API 的反例与新候选 Jar 的成功调用均已验证。
需要先合入并发布包含本 PR 的 hsweb-core 5.0.3-SNAPSHOT,再构建依赖它的 Core 1.3.3-SNAPSHOT。5.0.4 维护线对应 #389。同名旧 SNAPSHOT 不能代替新产物。
配套 Core #135 与 Components 2.20 #1788。未发布 Maven 或部署。