Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Jun 13, 2022

Bumps fastjson from 1.2.76 to 2.0.7.

Release notes

Sourced from fastjson's releases.

fastjson 2.0.7发布,修复BUG提升兼容性

1. FASTJSON 2.0介绍

FASTJSON 2.0是FASTJSON项目的重要升级,目标是为下一个十年提供一个高性能的JSON库,同一套API支持JSON/JSONB两种协议,JSONPath是一等公民,支持全量解析和部分解析,支持Java服务端、客户端Android、大数据场景。

2. FASTJSON 2.0.7版本 介绍

经过很多用户在生产环境验证,2.0.7已经具备生产可用的能力,但由于是初期版本,使用到生产还需要仔细观察验证,如果遇到问题反馈提issue到 https://github.com/alibaba/fastjson2/issues

2.0.7继续提升的兼容性,如果不想改代码的同学,可以尝试直接使用2.0.7的兼容包升级,兼容包是计划长期维护的,如果发现问题提issue反馈。

Issues

  1. 修复了部分场景JSON.isValid方法在某些场景不能识别非法JSON格式的问题 #410
  2. 修复JSONPath.set在已有值存在时缺省采用DuplicateKeyValueAsArray行为的问题 #431
  3. 修复JSONPath.set在父层次对象不存在时结果不对的问题 #424
  4. 提升了fastjson 1.x的兼容性 #432
  5. 修复了filter导致WriteClassName失效的问题 #411
  6. 修复了不能LocalDate/LocalTime不能智能匹配日期格式的问题 #LocalDate #356 #416 #425
  7. 优化常见日期类型的序列化和反序列化性能 #137
  8. 修复了List类型不支持非数组单个元素输入的问题 #409 #426
  9. 修复某些场景Exception类型字段不能正确反序列化的问题 #362
  10. 修复了WriteClassName启用后,Byte/Short/Float/Double/Long/Date在某些场景反序列化类型丢失的问题 #412 #381 #454
  11. 修复了报错是文案不友好的问题 #414
  12. 修复了日期类型对日期格式支持不完整的问题 #413
  13. 修复了Float/Double序列化NaN/INFINITY/NEGATIVE_INFINITY不以null输出的问题 #423
  14. BigDecimal类型支持MongoDB Decimal128格式 #427
  15. 修复boolean不支持空字符串输入的问题 #429
  16. 新增JSONWriter.Feature.NotWriteEmptyArray,支持序列化时不输出空集合和空数组
  17. 修复不可见字符输出格式不对的问题 #435
  18. 修复JSONWriter.Feature.FieldBased打开时JSONField在某些类型字段上不生效的问题 #445
  19. 提升fastjson 1.x API的兼容性 #446
  20. 修复某些场景Kotlin序列化Map类型报错的问题 #440

2.1 定制序列化介绍

FASTJSON2支持完善的定制序列化反序列化功能

3. MAVEN依赖配置

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 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)

Bumps [fastjson](https://github.com/alibaba/fastjson2) from 1.2.76 to 2.0.7.
- [Release notes](https://github.com/alibaba/fastjson2/releases)
- [Commits](https://github.com/alibaba/fastjson2/commits/2.0.7)

---
updated-dependencies:
- dependency-name: com.alibaba:fastjson
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 13, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jun 27, 2022

Superseded by #37.

@dependabot dependabot bot closed this Jun 27, 2022
@dependabot dependabot bot deleted the dependabot/maven/com.alibaba-fastjson-2.0.7 branch June 27, 2022 12:13
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants