WriteThemFirst / approvals-java

Approval testing library for Java. Alleviates the burden of hand-writing assertions.
GNU General Public License v3.0
8 stars 4 forks source link

⬆️ Bump fastjson from 1.2.76 to 2.0.13 #184

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps fastjson from 1.2.76 to 2.0.13.

Release notes

Sourced from fastjson's releases.

fastjson 2.0.13发布,Bug修复进一步提升性能

又是一个BUG修复提升性能的版本,这次距离上次发布3周,随着越来越稳定,发布周期间隔会逐步拉长到1个月以上。

2.0.13版本的性能有进一步提升,反序列化性能比2.0.12版本提升了6%,对fastjson 1.x也有了进一步提升。

详细性能测试报告看这里: https://github.com/alibaba/fastjson2/wiki/fastjson_benchmark

Issues

  1. 支持通过Feature配置将byte[]序列化为base64字符串 #702
  2. 支持自动识别并过滤thrift对象的isSetXXX方法 #707
  3. 修复List类型字段反序列化不支持输入null的问题 #732
  4. 增强对接口类型反序列化的支持 #698
  5. 提供通过配置JSONType.alphabetic = true支持不排序序列化 #279 #713
  6. 增强对首字母大写的setter方法输入字段名首字母小写格式的支持,提升对fastjson 1.x的兼容 #546 #607 #743
  7. 修复JSONObject.getObject对输入参数为List.class结果不对的问题 #541
  8. 修复某些场景enum序列化mixin不起作用的问题 #703
  9. 修复JSONPath.arrayAdd方法当path不存在时不自动创建的问题 #708
  10. 修复JSON. parseArray处理非法JSON格式某些场景会OOM的问题 #709
  11. 修复某些场景处理非法JSON不报错的问题 #711
  12. 修复序列化会忽略Boolean isXXX方法的问题 #673
  13. 修复识别jackson JsonIgnore(value=false)处理结果不对的问题 #716
  14. 修复android下未引入kotlin-reflect会报错的问题 #715 #736
  15. 修复JSONPath.contains不能识别null值的问题 #643
  16. JSON.toJSONString方法支持传入JSONWriter.Context参数 #719
  17. 修复enum类型不能正确识别jackson JsonCreator的问题 #725
  18. 修复某些场景JSONObject.toJavaObject报错的问题 #728
  19. 修复输入时间格式错误报错不准确的问题 #727
  20. 修复 @​JSONType(writeEnumAsJavaBean = true) 序列化枚举结果不对的问题 #730
  21. 增加 JSONWrieter.Feature.IgnoreNonFieldGetter ,兼容fastjson 1.x SerializerFeature.IgnoreNonFieldGetter #733
  22. 增强JSONPath对过滤表达式的支持 #742
  23. 修复某些场景下JSONB 序列化长字符串报数组越界的问题 #744
  24. 新增加了JSONReader#hasComma方法 #747

MAVEN依赖配置

<dependency>
    <groupId>com.alibaba.fastjson2</groupId>
    <artifactId>fastjson2</artifactId>
    <version>2.0.13</version>
</dependency>
  • GraalVM版本
<dependency>
    <groupId>com.alibaba.fastjson2</groupId>
    <artifactId>fastjson2</artifactId>
    <version>2.0.13.graal</version>
</dependency>
</tr></table> 

... (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)