MisakaTAT / Shiro

基于OneBot协议的QQ机器人快速开发框架
GNU Affero General Public License v3.0
242 stars 31 forks source link

⬆️ Bump com.alibaba.fastjson2:fastjson2 from 2.0.49 to 2.0.50 #223

Closed dependabot[bot] closed 6 months ago

dependabot[bot] commented 6 months ago

Bumps com.alibaba.fastjson2:fastjson2 from 2.0.49 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 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)