Skip to content
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

Bump com.alibaba.fastjson2:fastjson2 from 2.0.48 to 2.0.50 #4921

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 27, 2024

Bumps com.alibaba.fastjson2:fastjson2 from 2.0.48 to 2.0.50.

Release notes

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

fastjson 2.0.50发布

这又是一个例行月度更新的BUG FIX版本,大家按需升级。这个版本继续优化了JIT生成的代码,性能有提升,并且支持配置全局配置在JIT时去掉不必要功能的代码生成,提升性能。

注意已知问题

  • 当parseObject制定Filter时会导致OOM(会尽快发布2.0.51版本修复,或者先回退到2.0.49版本)

Issues

  1. 支持全局配置JIT参数提升性能 https://github.com/alibaba/fastjson2/wiki/jit_optimization
  2. 修复JDK8 ARM服务器下序列化boolean类型偶发结果不对的问题 #2210 #2502
  3. 修复org.bson.types.Decimal128转double报错的问题 #2558
  4. 内置android proguard rules,减少用户手动添加规则 #2511 #2466
  5. 修复org.joda.time.DateTime使用JSONB序列化和反序列化报错的问题 #2563
  6. 修复序列化包括java.security.ProtectionDomain字段对象报错的问题 #2562
  7. 修复序列化配置WriteNonStringValueAsString在Boolean类型不生效的问题 #2560
  8. 修复JSON.tJSON在格式为"millis"时处理Date类型报错的问题 #2550
  9. 修复不支持fastjson 1.x JSONField#unwrap配置的问题 #2551 #2525
  10. 修复在某些场景不能识别复杂Jackson Annotation JsonSubTypes的问题 #2548
  11. 修复反序列化enum类型输入不存在负数数值时报错的问题 #2531 #2536
  12. 修复反序列化ImmutableCollection字段报错的问题 #2532
  13. 修复兼容包某些场景报错的问题 #2542 #2537 #2534 #2526 #2521 #2520 #2476 #2440 #2450
  14. 修复Android API Leval < 24时序列化boolean类型报错的问题 #2497
  15. 反序列化boolean类型支持更多输入格式 #2493
  16. 修复部分PropertyNamingStrategy不起作用的问题 #2478 #2459
  17. 修复LinkedMultiValueMap类型反序列化结果类型不对的问题 #2489
  18. 修复反序列化Set类型报错的问题 #2475
  19. 修复JDK17模块化使用报错的问题 #2451
  20. 修复序列化java.sql.Timestamp带millis和不带millis时格式不同的问题 #2460
  21. 修复int/long类型不能识别带千分符字符串的问题 #2461
  22. 修复序列化hutool中CaseInsensitiveMap/CaseInsensitiveLinkedMap类型结果不对的问题 #2458
  23. 支持通过JSONFactory. setDefaultWriterAlphabetic全局配置保持字段顺序输出
  24. 修复序列化java.time.Period结果不对的问题 #2446
  25. 修复JSON.toJSON会导致部分Field类型丢失的问题 #2447
  26. 新增将Properties对象转换为Java对象的支持 #2442

2. MAVEN依赖配置

<dependency>
    <groupId>com.alibaba.fastjson2</groupId>
    <artifactId>fastjson2</artifactId>
    <version>2.0.50</version>
</dependency>
  • android5针对优化版本
<dependency>
    <groupId>com.alibaba.fastjson2</groupId>
    <artifactId>fastjson2</artifactId>
    <version>2.0.50.android5</version>
</dependency>
</tr></table> 

... (truncated)

Commits
  • 93bf266 2.0.50 release
  • 760cd52 fix serialize & deserialize org.joda.time.DateTime with jsonb
  • fd68be8 update fury to 0.5.0
  • ec566bd support jackson annotation JsonTypeInfo on interface, for issue #2548
  • 77c1c44 add 'java.security.ProtectionDomain' to ignore properties
  • a3ea6c9 fix WriteNonStringValueAsString not work on Boolean type, for issue #2560
  • 7f22132 fix #2558 (#2559)
  • 45cc6b3 fix toJSON date field error, for issue #2550
  • 8dee60c fix fastjson 1.x JSONField#unwrapped not work, for issue #2551
  • 3198ef5 Issue2535问题fixed
  • Additional commits viewable in compare view

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

@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels May 27, 2024
Copy link

codecov bot commented May 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 16.47%. Comparing base (1c22c16) to head (ef1bd65).
Report is 6 commits behind head on master.

Current head ef1bd65 differs from pull request most recent head 5ee6819

Please upload reports for the commit 5ee6819 to get more accurate results.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #4921      +/-   ##
============================================
- Coverage     16.50%   16.47%   -0.04%     
+ Complexity     1823     1821       -2     
============================================
  Files           910      910              
  Lines         32420    32408      -12     
  Branches       2796     2785      -11     
============================================
- Hits           5350     5338      -12     
+ Misses        26551    26547       -4     
- Partials        519      523       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/gradle/com.alibaba.fastjson2-fastjson2-2.0.50 branch from ef1bd65 to 5ee6819 Compare May 27, 2024 03:10
@Pil0tXia
Copy link
Member

当parseObject制定Filter时会导致OOM(会尽快发布2.0.51版本修复,或者先回退到2.0.49版本)

Not acceptable. Wait for 2.0.51 and closing.

@Pil0tXia Pil0tXia closed this May 27, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github May 27, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/gradle/com.alibaba.fastjson2-fastjson2-2.0.50 branch May 27, 2024 03:11
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.

None yet

1 participant