Skip to content

fix(deps): update dependency com.alibaba:fastjson to v2.0.57 #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 31, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.alibaba:fastjson 2.0.56 -> 2.0.57 age adoption passing confidence

Release Notes

alibaba/fastjson2 (com.alibaba:fastjson)

v2.0.57: Fastjson 2.0.57版本发布

Compare Source

这又是一个定期维护的功能增强BUG FIX版本,大家按需升级。

Issues

  1. 修复单引号反序列化时不支持忽略大小写匹配的问题 #​3381
  2. 修复UseBigDecimalForDoubles解析浮点数结果不对的问题 #​3382
  3. JSONArray/JSONObject增加getLocalDate/getLocalDateTime系列方法 #​3337
  4. 修复序列化Kotlin类忽略private field的问题 #​3287
  5. 修复某些场景toJSON/toJavaObject缺失字段的问题 #​2227
  6. 修复反序列化java.util.SubList报错的问题 #​3364
  7. 修复SeeAlso父类是接口反序列化报错的问题 #​3357 #​3440
  8. 修复反序列化record不支持alternateNames的问题 #​3351
  9. 修复2.0.56引入的字段多导致jit报错的问题 #​3367
  10. 修复无上海时区环境报错的问题 #​3450
  11. 修复2.0.56引入的非规范Double.NaN序列化报错的问题 #​3449
  12. 修复某些场景不支持注释的问题 #​3446
  13. 修复多层List字段序列化报错的问题 #​3444 #​3433
  14. 修复2.0.54引入的不匹配类型反序列化String结果不对的问题 #​3438
  15. 兼容fastjson 1.x,序列化忽略ClassLoader类型字段
  16. 修复非当前ClassLoader类型toJavaObject导致ClassNotFound的问题 #​3420
  17. 修复输入类型为Object.class时,reference解析不生效的问题 #​3452

MAVEN依赖配置

<dependency>
    <groupId>com.alibaba.fastjson2</groupId>
    <artifactId>fastjson2</artifactId>
    <version>2.0.57</version>
</dependency>
  • android5针对优化版本
<dependency>
    <groupId>com.alibaba.fastjson2</groupId>
    <artifactId>fastjson2</artifactId>
    <version>2.0.57.android5</version>
</dependency>
  • android8针对优化版本
    这个版本支持java.time和Optional
<dependency>
    <groupId>com.alibaba.fastjson2</groupId>
    <artifactId>fastjson2</artifactId>
    <version>2.0.57.android8</version>
</dependency>
  • 1.x 兼容版本
<dependency>
    <groupId>com.alibaba</groupId>
    <artifactId>fastjson</artifactId>
    <version>2.0.57</version>
</dependency>
  • Spring 5 extension配置
<dependency>
    <groupId>com.alibaba.fastjson2</groupId>
    <artifactId>fastjson2-extension-spring5</artifactId>
    <version>2.0.57</version>
</dependency>
  • Spring 6 extension配置
<dependency>
    <groupId>com.alibaba.fastjson2</groupId>
    <artifactId>fastjson2-extension-spring6</artifactId>
    <version>2.0.57</version>
</dependency>

3. 相关链接


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants