GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Releases · alibaba/fastjson

This repository was archived by the owner on Jul 29, 2026. It is now read-only.
Releases · alibaba/fastjson

fastjson 1.2.84版本发布

fastjson 1.2.84版本发布 Latest
Latest
@wenshao wenshao released this 29 Jul 08:24
1.2.84
72553ed

fastjson 1.2.84 Release Notes

Release Date: 29 Jul 2026
Tag: 1.2.84 (72553ed)

Security fix release, backporting the fastjson2 AutoType hardening to the 1.2.x line. All users parsing untrusted JSON are strongly recommended to upgrade.

Security Fixes

  1. Reject type names containing URL-special characters (:/!) in ParserConfig.checkAutoType and TypeUtils.loadClass, so a non-class-name string never reaches the class loader
  2. Verify the accept name text after a whitelist hash match, so a hash collision alone cannot whitelist a type name
  3. An accept prefix no longer covers ClassLoader/DataSource/RowSet gadget base types; only an accept entry naming the type in full is an explicit opt-in
  4. Fixed deny classes being cached by loadClass before the blacklist check, so a repeated checkAutoType call could return a blacklisted class from the cache

Maven Dependency Configuration

<dependency>
    <groupId>com.alibaba</groupId>
    <artifactId>fastjson</artifactId>
    <version>1.2.84</version>
</dependency>
中文版本

概述

安全修复版本,将 fastjson2 的 AutoType 加固回移到 1.2.x 版本线。强烈建议所有解析不可信 JSON 的用户升级。

安全修复

  1. 在 ParserConfig.checkAutoType 和 TypeUtils.loadClass 中拒绝包含 URL 特殊字符(:/!)的类型名,非类名字符串不再可能到达类加载器
  2. 白名单 hash 命中后增加 accept 名称文本回验,仅 hash 碰撞无法再绕过白名单
  3. accept 前缀不再覆盖 ClassLoader/DataSource/RowSet 等危险基类;只有完整类名的 accept 条目才视为显式放行
  4. 修复危险类在黑名单检查前被 loadClass 缓存的问题:此前重复调用 checkAutoType 可能从缓存中直接返回黑名单类

Maven 依赖配置

<dependency>
    <groupId>com.alibaba</groupId>
    <artifactId>fastjson</artifactId>
    <version>1.2.84</version>
</dependency>
Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

lltx, TeaDrinkerPlus, xqhgit, KwokRoot, Hyperkopite, nadirvishun, ahgaoyong, qigeqigeqi, lijinxin210935, hurried1y, and 4 more reacted with thumbs up emoji MunMunMiao, enpitsuLin, q1jun, ahgaoyong, and PangJayoo reacted with laugh emoji ahgaoyong reacted with hooray emoji ahgaoyong reacted with heart emoji ahgaoyong, liangyueliangyue, bbbdywan, and AVA258 reacted with rocket emoji Ziyear reacted with eyes emoji
All reactions
  • 👍 14 reactions
  • 😄 5 reactions
  • 🎉 1 reaction
  • ❤️ 1 reaction
  • 🚀 4 reactions
  • 👀 1 reaction
21 people reacted

FASTJSON 1.2.83版本发布(安全修复)

FASTJSON 1.2.83版本发布(安全修复)
@wenshao wenshao released this 23 May 01:10
1.2.83
26f13f8

这是一个安全修复版本,修复最近收到在特定场景下可以绕过autoType关闭限制的漏洞,建议fastjson用户尽快采取安全措施保障系统安全。

安全修复方案 :https://github.com/alibaba/fastjson/wiki/security_update_20220523

FASTJSON2已经发布并且提供兼容包,性能更好也更安全,升级指南 https://github.com/alibaba/fastjson2/wiki/fastjson_1_upgrade_cn

Issues

  1. 安全加固
  2. 修复JDK17下setAccessible报错的问题 #4077
  • 下载 https://repo1.maven.org/maven2/com/alibaba/fastjson/1.2.83/
  • 文档 https://github.com/alibaba/fastjson/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98
  • 源码 https://github.com/alibaba/fastjson/tree/1.2.83
  • 2.0.x Releases https://github.com/alibaba/fastjson2/releases
Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

zondacker, Dragon1573, lazhua, liangpeiyuan, lngg057, ReasonDuan, magestacks, doubila, ethanxlau, Lsn800, and 10 more reacted with thumbs up emoji YanHuaye1999, Lsn800, and soulfly001 reacted with heart emoji metowolf, jasnzhuang, passport4869, YanHuaye1999, zondacker, Dragon1573, and ZYX2018 reacted with rocket emoji 15380831711, OOJ2003, Sbriny, ZYX2018, soulfly001, and a6697238 reacted with eyes emoji
All reactions
  • 👍 20 reactions
  • ❤️ 3 reactions
  • 🚀 7 reactions
  • 👀 6 reactions
27 people reacted

fastjson 1.2.79版本发布,BUG修复

fastjson 1.2.79版本发布,BUG修复
@wenshao wenshao released this 19 Dec 12:33
1.2.79
6460f65

这又是一个bug fixed的版本,大家按需升级

Issues

  1. 修复引入MethodInheritanceComparator导致某些场景序列化报错的问题
  2. 增强JDK 9兼容
  3. 修复JSONArray/JSONObject的equals方法在内部对象map/list相同时不直接返回true的问题

相关链接

  • 下载 https://repo1.maven.org/maven2/com/alibaba/fastjson/1.2.79/
  • 文档 https://github.com/alibaba/fastjson/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98
  • 源码 https://github.com/alibaba/fastjson/tree/1.2.79
Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

Nagisa12321, Dragon1573, melin, wenshao, Keepkeep, SpringStudent, parzulpan, YellowTuDo, hpyperry, eternalcomet, and 3 more reacted with thumbs up emoji la3rence, Dragon1573, wenshao, SpringStudent, marxhxxx, johnyannj, yangsong0925, and tututuhao reacted with eyes emoji
All reactions
  • 👍 13 reactions
  • 👀 8 reactions
18 people reacted

fastjson 1.2.76版本发布,BUG修复增强兼容

fastjson 1.2.76版本发布,BUG修复增强兼容
@wenshao wenshao released this 05 Apr 10:41
1.2.76
dbc4a95

这又是一个bug fixed的版本,大家按需升级

Issues

  1. 修复一些直接抛RuntimeException的问题 #3631
  2. parser自动识别gzip bytes #3614
  3. 修复Throwable继承类属性不支持自动类型转换问题 #3217
  4. 修复PrettyFormat情况下引用计算不对的问题 #3672
  5. 修复AutoType不兼容LinkedHashMap的问题
  6. 增强对Enum类型的自定类型转换
  7. 修复deserializeUsing在泛型某些场景不能正常工作的问题 #3693
  8. 提升JSONReader性能,减少小对象创建 #3627
  9. 增强对JSONPath对filter的支持 #3629
  10. JSONPath支持忽略NullValue的选项 #3607
  11. 增强对定制化enum的支持 #3601
  12. 增强对java.time.Instant和org.joda.time.Instant的支持 #3539
  13. 修复Parser某些场景不能识别引用的问题

相关链接

  • 下载 https://repo1.maven.org/maven2/com/alibaba/fastjson/1.2.76/
  • 文档 https://github.com/alibaba/fastjson/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98
  • 源码 https://github.com/alibaba/fastjson/tree/1.2.76
Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

comdotwww, SamLinBIT, ultimateHandsomeBoy666, Yuanxdxindong, Jadyhill, zkna, realize-me, renyiwei-xinyi, wucaifei, Angry-Rabbit, and 5 more reacted with thumbs up emoji
All reactions
  • 👍 15 reactions
15 people reacted

fastjson 1.2.75版本发布,例行Bug修复

fastjson 1.2.75版本发布,例行Bug修复
@wenshao wenshao released this 05 Nov 13:21
1.2.75
af60554

这又是一个Bug修复版本,大家按需升级

Issues

  1. 修复@configuration配置导致序列化死循环的问题 #3469
  2. 修复某些场景使用TypeReference反序列化导致死循环的问题
  3. mixin支持@jsoncreator配置
  4. 修复某些情况反序列化引用计算不对的问题
  5. 增强对JSONPath的支持 #3493
  6. 修复某些场景JSONValidator返回结果不对的问题

相关链接

  • 下载 https://repo1.maven.org/maven2/com/alibaba/fastjson/1.2.75/
  • 文档 https://github.com/alibaba/fastjson/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98
  • 源码 https://github.com/alibaba/fastjson/tree/1.2.75
Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

All reactions

fastjson 1.2.74版本发布,例行Bug修复

fastjson 1.2.74版本发布,例行Bug修复
@wenshao wenshao released this 08 Oct 14:04
1.2.74
52dc346

这又是一个Bug修复版本,大家按需升级

Issues

  1. 修复序列化时BeforeFilter/AfterFilter某些场景报空指针异常的问题 #3373 #3475
  2. TypeUtils float/double转换为BigInteger/BigDecimal时判断isNan和isInfinite
  3. 支持通过启动参数和fastjson.properties配置fastjson.auto.discoverable, 解决某些场景fastjson与jackson冲突问题
  4. 增强对Jdk8日期格式化支持 #3288
  5. 修复某些场景对泛型推导不正确的问题 #3448
  6. 修复JSONValidator某些场景结果不对的问题 #3453 #3460
  7. 序列化增加对org.json.JSONObject的支持

相关链接

  • 下载 https://repo1.maven.org/maven2/com/alibaba/fastjson/1.2.74/
  • 文档 https://github.com/alibaba/fastjson/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98
  • 源码 https://github.com/alibaba/fastjson/tree/1.2.74
Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

ZengCS reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
1 person reacted

fastjson 1.2.73版本发布, Bug修复提升兼容

fastjson 1.2.73版本发布, Bug修复提升兼容
@wenshao wenshao released this 26 Jul 15:49
1.2.73
e697d4a

这个是一个小版本升级,修复最近升级过程中遇到的一些Bug和兼容问题。

Issues

  1. 修复AfterFilter某些场景会抛空指针的问题 #3217 #3150
  2. 提升JSONValidator的性能
  3. 修复在带T的定制日期格式时不生效的问题 #3361
  4. 修复JSONObject.get和contains方法对Boolean/Character/UUID类型Key行为和Number类型不一致
  5. 修复传入ParameteredTypeImpl导致内存泄露的问题
  6. 修复JSONValidator某些场景结果不对的问题 #3343
  7. 修复某些场景引用计算不对的问题 #3336
  8. 修复NumberDeserializer不支持~Feature.UseBigDecimal的问题 #3326
  9. 修复JSONArray做Java反序列化是某些场景报错的问题
  10. 修复JSONObject.toJavaObject某些场景JSONField不起作用的问题 #3313
  11. 增强支持castToDate支持 #3309
  12. 增强对Kotlin的支持
  13. 修复泛型方法重载后类型丢失的问题 #3227
  14. 修复对Moneta对BigDecimal类型兼容的问题 #3318
  15. 修复1.2.71~1.2.72版本某些场景key大小写敏感的问题 #3312

相关链接

  • 下载 https://repo1.maven.org/maven2/com/alibaba/fastjson/1.2.73/
  • 文档 https://github.com/alibaba/fastjson/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98
  • 源码 https://github.com/alibaba/fastjson/tree/1.2.73
  • 安全漏洞升级方案 https://github.com/alibaba/fastjson/wiki/security_update_20200601
Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

All reactions

fastjson 1.2.72版本发布,兼容JDK5/6/7

fastjson 1.2.72版本发布,兼容JDK5/6/7
@wenshao wenshao released this 27 Jun 03:47
1.2.72
36e0322

1.2.72在1.2.71的版本上修复对kotlin和JDK 5/6/7支持的问题

Issues

  1. 修复对JDK 5/6/7版本不支持的问题 #3280
  2. 增强对JDK 11 immutable collection的支持
  3. 新增加Parser Feature TrimStringFieldValue #3279
  4. 增强对对日期格式的识别 #3282
  5. 序列化忽略InputStream & Reader类型的字段
  6. 修复Joda日期类型不支持SerializerFeature WriteDateUseDateFormat的问题
  7. 修复某些场景下JSONValidator校验结果不对的问题 #3296 #3293
  8. 修复Map类型字段设置parseFeatures = Feature.DisableSpecialKeyDetect无效的问题 #3138
  9. 增强对kotlin的支持 #3274

相关链接

  • 下载 https://repo1.maven.org/maven2/com/alibaba/fastjson/1.2.72/
  • 文档 https://github.com/alibaba/fastjson/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98
  • 源码 https://github.com/alibaba/fastjson/tree/1.2.72
  • 安全漏洞升级方案 https://github.com/alibaba/fastjson/wiki/security_update_20200601
Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

All reactions

fastjson 1.2.71版本发布,修复对kotlin支持和兼容JDK5

fastjson 1.2.71版本发布,修复对kotlin支持和兼容JDK5
@wenshao wenshao released this 14 Jun 15:28
1.2.71
c619a78

1.2.71在1.2.70的版本上修复对kotlin和JDK 5支持的问题。

Issues

  1. 修复对kotlin支持的bug #3223 #3248
  2. 支持JSONPatch
  3. 修复JSONValidator某些场景getType结果不对的问题
  4. 修复对下划线字段智能匹配的问题
  5. 修复对带对特别字符引用不支持的问题
  6. parseArray方法支持config
  7. 增强对JSONPath的支持
  8. 补充安全黑名单,无新增利用,预防性补充。
  9. 增强BigInteger和BigDecimal的边界检测
  10. JSONType支持配置AutoTypeCheckHandler
  11. 增强对enum类型的定制化序列化反序列化支持 https://github.com/alibaba/fastjson/wiki/enum_custom_serialization

相关链接

  • 下载 https://repo1.maven.org/maven2/com/alibaba/fastjson/1.2.71/
  • 文档 https://github.com/alibaba/fastjson/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98
  • 源码 https://github.com/alibaba/fastjson/tree/1.2.71
  • 安全漏洞升级方案 https://github.com/alibaba/fastjson/wiki/security_update_20200601
Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

All reactions

fastjson 1.2.70版本发布,提升兼容性

fastjson 1.2.70版本发布,提升兼容性
@wenshao wenshao released this 01 Jun 00:35
1.2.70
d191d46

这是一个小的改进版本,主要是在1.2.69上做bug fixed,提升兼容性。

Issue

  1. 修复toJavaObject某些场景结果不对的问题
  2. 增强对kotlin的支持
  3. 增强对protobuf的支持
  4. 修复JSONPath set方法不能自动类型转换的问题
  5. 修复序列化有循环引用key带特殊字符结果不对的问题
  6. 安全加固,增加autoType黑名单

相关链接

  • 下载 https://repo1.maven.org/maven2/com/alibaba/fastjson/1.2.70/
  • 文档 https://github.com/alibaba/fastjson/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98
  • 源码 https://github.com/alibaba/fastjson/tree/1.2.70
  • 安全漏洞升级方案 https://github.com/alibaba/fastjson/wiki/security_update_20200601
Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

All reactions
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.