NyanFisher
changed the title
Implement quantization for Decimal type when encode
Draft: Implement quantization for Decimal type when encode
NyanFisher
changed the title
Draft: Implement quantization for Decimal type when encode
Implement quantization for Decimal type when encode
NyanFisher
changed the title
Implement quantization for Decimal type when encode
Draft: Implement quantization for Decimal type when encode
NyanFisher
changed the title
Draft: Implement quantization for Decimal type when encode
Add callable support for decimal_format option
- Add in_decimal_callable flag to EncoderState to track when we're inside a decimal_format callable - Raise TypeError if decimal_format callable returns a value containing a Decimal (would cause infinite recursion) - Add documentation with examples for decimal_format callable usage - Update stubs to allow Any return type from decimal_format callable
Siyet
mentioned this pull request
Open
Siyet
mentioned this pull request
Merged
pull Bot pushed a commit to Future-Outlier/msgspec that referenced this pull request
Jul 3, 2026Batches the changelog entries accumulated since the 0.21.1 release, following the usual pre-release batching practice (like msgspec#1020). Covers merged user-facing changes through msgspec#1109/msgspec#978/msgspec#1105; internal CI/benchmarking/test-infra changes are intentionally omitted. Also records the move to the msgspec GitHub organization. --------- Co-authored-by: Siyet <Siyet@users.noreply.github.com>