Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 27, 2025

Bumps com.alibaba.fastjson2:fastjson2 from 2.0.56 to 2.0.60.

Release notes

Sourced from com.alibaba.fastjson2:fastjson2's releases.

fastjson 2.0.60发布

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

Issues

  1. 修复dubbo使用时报错not support none-Serializable的问题 #3499
  2. 修复dubbo使用时字段带缺省值是序列化丢失字段的问题 #3765 #3842
  3. 增加JSONObject.getIntValue方法处理默认值 #3772
  4. JSONArray.getJSONObject行为保持和JSONObject一样 #2989
  5. 修复JSONField(deserialize = false)在public字段不生效的问题
  6. 增强日期格式反序列化支持 #3102
  7. 补充fastjson2-extension-jaxrs-jakarta的发版 #3767
  8. 修复枚举使用@ JsonProperties之后结果错误的问题 #3799
  9. 修复某些场景反序列化java.util.Collections#EMPTY_LIST报错的问题 #3828
  10. 修复JSONPath.eval(jsonString, path)和fastjson 1.x某些场景不兼容的问题 #3825
  11. 反序列化时增加Feature.DisableStringArrayUnwrapping #3757
  12. 修复codegen的问题 #3836 #3833

MAVEN依赖配置

<dependency>
    <groupId>com.alibaba.fastjson2</groupId>
    <artifactId>fastjson2</artifactId>
    <version>2.0.60</version>
</dependency>
  • android5针对优化版本
<dependency>
    <groupId>com.alibaba.fastjson2</groupId>
    <artifactId>fastjson2</artifactId>
    <version>2.0.60.android5</version>
</dependency>
  • android8针对优化版本 这个版本支持java.time和Optional
<dependency>
    <groupId>com.alibaba.fastjson2</groupId>
    <artifactId>fastjson2</artifactId>
    <version>2.0.60.android8</version>
</dependency>
  • 1.x 兼容版本
<dependency>
    <groupId>com.alibaba</groupId>
</tr></table> 

... (truncated)

Commits
  • 489a370 2.0.60 release
  • cf80f3b add benchmark
  • eaafea1 fix(codegen): Avoid double call of readFieldName for Map deserialization, for...
  • deb7abc fix(Codegen): Delay writing string field name until after null check, for iss...
  • 40ef87a fix NotWriteDefaultValue, for issue #3842
  • 7c502c1 bug fix JSONBArrayMapping write
  • 0e7ef92 #3830 当对象字段是复杂对象且值为空时WriteNulls导致空指针 (#3832)
  • b95a1b3 add feature DisableStringArrayUnwrapping
  • 93d229c Rename UnwrapStringArray feature to DisableStringArrayUnwrapping for clarity
  • c4c6d39 fix issue #3828
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [com.alibaba.fastjson2:fastjson2](https://github.com/alibaba/fastjson2) from 2.0.56 to 2.0.60.
- [Release notes](https://github.com/alibaba/fastjson2/releases)
- [Commits](alibaba/fastjson2@2.0.56...2.0.60)

---
updated-dependencies:
- dependency-name: com.alibaba.fastjson2:fastjson2
  dependency-version: 2.0.60
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant