> This page is for SDKs, 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.

## 2.10.7

**`(fix):`** Fix union serialization for enum variants: use `->value` for serialization
and `::from()` for deserialization instead of `->jsonSerialize()` / `::jsonDeserialize()`.

## 2.10.6

**`(fix):`** Fix PHPStan error for literal boolean headers by using strict null comparison
(`!== null`) instead of loose comparison (`!= null`).