> This page is for SDK, version Legacy.
> For other versions, use one of these documentation indexes:
> - Current (default): https://buildwithfern.com/learn/sdks/current/llms.txt
> - Legacy: https://buildwithfern.com/learn/sdks/legacy/llms.txt

> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt.

## 4.6.1

**`(fix):`** 修复无区别联合反序列化器错误分类载荷的问题。生成的反序列化器现在在尝试转换为每个变体之前检查 JSON 对象中是否存在所有必需的线键，防止当 Jackson 的构建器静默接受缺失的必需字段时第一个变体总是获胜。

**`(fix):`** 将基于类型的 WebSocket 消息分派切换替换为基于形状的试验反序列化。消息现在通过在尝试 Jackson 转换之前检查必需字段的存在和字面量值来匹配。这正确处理了多个消息模式共享相同判别器值的 AsyncAPI 通道（例如，两个具有不相交必需字段的"History"变体）。