NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #3545 most downloaded on Packagist
Provides powerful methods to read/write data structures from/into JSON streams.
Latest stable
v8.1.10
Last release 25 days ago
28 Oct 2026
Ships fairly regularly
a new release about every 3 weeks
Nearly every release is documented
notes for 38 of 38 stable releases
Nothing withdrawn
no release was ever pulled
2 years old
47 releases · first in 2025
Drag across the ruler to compare, or tap a release to open it.
feature #66568 Deprecate autowiring aliases named after implementations (@nicolas-grekas)
Changelog (https://github.com/symfony/json-streamer/compare/v8.1.10...v8.2.0-BETA1)
Type::map() (@mtarld)BcMath\Number and GMP value object support (@mtarld)Your coding agent can read these notes before it upgrades. Set up the MCP server →
bug #67587 Reject scalar values of the wrong type instead of converting them (@nicolas-grekas)
Changelog (https://github.com/symfony/json-streamer/compare/v8.1.9...v8.1.10)
null handling in the string reader and reject it on non-nullable types (@mtarld)[SECURITY] Security release
bug #66744 Keep streamable resources for the compiler passes that run after StreamablePass (@nicolas-grekas)
Changelog (https://github.com/symfony/json-streamer/compare/v8.1.8...v8.1.9)
bug #66417 Escape types in generated PHP comments (@thomas-chauchefoin-tob)
Changelog (https://github.com/symfony/json-streamer/compare/v8.1.7...v8.1.8)
bug #65795 Fix generator stream exhaustion on chunked file reading (@vlastv)
Changelog (https://github.com/symfony/json-streamer/compare/v8.1.4...v8.1.7)
bug #65032 Fix escaping, float precision and error reporting when writing JSON (@ousamabenyounes)
Changelog (https://github.com/symfony/json-streamer/compare/v8.1.2...v8.1.4)
bug #65026 Drop the unbounded process-global key cache in Splitter (@nicolas-grekas)
Changelog (https://github.com/symfony/json-streamer/compare/v8.1.1...v8.1.2)
minor #64524 Make tests compatible with PHPUnit 13.2 and Twig 3.28 (@nicolas-grekas)
Changelog (https://github.com/symfony/json-streamer/compare/v8.1.0...v8.1.1)
Changelog (https://github.com/symfony/json-streamer/compare/v8.1.0-BETA3...v8.1.0) * no significant changes
Changelog (https://github.com/symfony/json-streamer/compare/v8.1.0-BETA3...v8.1.0)
DateTimeZone value object support with DateTimeZoneValueObjectTransformerDateInterval value object support with DateIntervalValueObjectTransformerDateTimeValueObjectTransformerDateTimeTypePropertyMetadataLoader (both Read and Write), date times are handled as value objectsDateTimeToStringValueTransformer and StringToDateTimeValueTransformer, use DateTimeValueObjectTransformer insteadValueTransformerInterface, use PropertyValueTransformerInterface instead$defaultOptions to JsonStreamReader and JsonStreamWriterLexer::MAX_DEPTH consistently with json_decode()bug #64241 Various fixes and hardenings (@nicolas-grekas)
Changelog (https://github.com/symfony/json-streamer/compare/v8.1.0-BETA1...v8.1.0-BETA3)
feature #63879 Add DateTimeZone value object support (@mtarld)
Changelog (https://github.com/symfony/json-streamer/compare/v8.0.8...v8.1.0-BETA1)
DateTimeZone value object support (@mtarld)DateInterval value object support (@mtarld)bug #65026 Drop the unbounded process-global key cache in Splitter (@nicolas-grekas)
Changelog (https://github.com/symfony/json-streamer/compare/v8.0.14...v8.0.15)
minor #64524 Make tests compatible with PHPUnit 13.2 and Twig 3.28 (@nicolas-grekas)
Changelog (https://github.com/symfony/json-streamer/compare/v8.0.9...v8.0.14)
bug #63624 Fix lazy instantiation for internal PHP classes (@Maxcastel)
Changelog (https://github.com/symfony/json-streamer/compare/v8.0.7...v8.0.8)
bug #63509 Fix missing generator for shared types in self-referencing objects (@mtarld)
Changelog (https://github.com/symfony/json-streamer/compare/v8.0.6...v8.0.7)
bug #63294 Fix DateTime handling in union types (@mtarld)
Changelog (https://github.com/symfony/json-streamer/compare/v8.0.5...v8.0.6)
bug #63159 Fix exponential resource class memory growth (mtarld)
Changelog (https://github.com/symfony/json-streamer/compare/v8.0.3...v8.0.4)
bug symfony/symfony#62735 [JsonStreamer] Fix the generated PHP code when using array shape (@sukei)
Changelog (https://github.com/symfony/json-streamer/compare/v8.0.2...v8.0.3)
bug symfony/symfony#62388 [TypeInfo] Simple array should be array type (@matijn-made)
Changelog (https://github.com/symfony/json-streamer/compare/v8.0.0...v8.0.1)
Changelog (https://github.com/symfony/json-streamer/compare/v8.0.0-RC3...v8.0.0) * no significant changes
Changelog (https://github.com/symfony/json-streamer/compare/v8.0.0-RC3...v8.0.0)
bug symfony/symfony#62063 [JsonStreamer] Rebuild cache on class update (@mtarld)
Changelog (https://github.com/symfony/json-streamer/compare/v8.0.0-BETA2...v8.0.0-RC1)
feature symfony/symfony#61880 [JsonStreamer] Merge PropertyMetadata value transformers (@mtarld)
Changelog (https://github.com/symfony/json-streamer/compare/v7.3.4...v8.0.0-BETA1)
PropertyMetadata value transformers (@mtarld)include_null_properties option (@mtarld)LazyGhostTrait and LazyProxyTrait in favor of native lazy objects (@nicolas-grekas)nikic/php-parser dependency (@mtarld)bug #67587 Reject scalar values of the wrong type instead of converting them (@nicolas-grekas)
Changelog (https://github.com/symfony/json-streamer/compare/v7.4.20...v7.4.22)
null handling in the string reader and reject it on non-nullable types (@mtarld)[SECURITY] Security release
bug #66417 Escape types in generated PHP comments (@thomas-chauchefoin-tob)
Changelog (https://github.com/symfony/json-streamer/compare/v7.4.19...v7.4.20)
bug #65795 Fix generator stream exhaustion on chunked file reading (@vlastv)
Changelog (https://github.com/symfony/json-streamer/compare/v7.4.16...v7.4.19)
bug #65032 Fix escaping, float precision and error reporting when writing JSON (@ousamabenyounes)
Changelog (https://github.com/symfony/json-streamer/compare/v7.4.15...v7.4.16)
bug #65026 Drop the unbounded process-global key cache in Splitter (@nicolas-grekas)
Changelog (https://github.com/symfony/json-streamer/compare/v7.4.14...v7.4.15)
minor #64524 Make tests compatible with PHPUnit 13.2 and Twig 3.28 (@nicolas-grekas)
Changelog (https://github.com/symfony/json-streamer/compare/v7.4.9...v7.4.14)
bug #63624 Fix lazy instantiation for internal PHP classes (@Maxcastel)
Changelog (https://github.com/symfony/json-streamer/compare/v7.4.7...v7.4.8)
bug #63509 Fix missing generator for shared types in self-referencing objects (@mtarld)
Changelog (https://github.com/symfony/json-streamer/compare/v7.4.6...v7.4.7)
bug #63294 Fix DateTime handling in union types (@mtarld)
Changelog (https://github.com/symfony/json-streamer/compare/v7.4.5...v7.4.6)
bug #63159 Fix exponential resource class memory growth (mtarld)
Changelog (https://github.com/symfony/json-streamer/compare/v7.4.3...v7.4.4)
bug symfony/symfony#62735 [JsonStreamer] Fix the generated PHP code when using array shape (@sukei)
Changelog (https://github.com/symfony/json-streamer/compare/v7.4.2...v7.4.3)
bug symfony/symfony#62388 [TypeInfo] Simple array should be array type (@matijn-made)
Changelog (https://github.com/symfony/json-streamer/compare/v7.4.0...v7.4.1)
Changelog (https://github.com/symfony/json-streamer/compare/v7.4.0-RC3...v7.4.0) * no significant changes
Changelog (https://github.com/symfony/json-streamer/compare/v7.4.0-RC3...v7.4.0)
@experimental anymorenikic/php-parser dependency_current_object to the context passed to value transformers during write operationsinclude_null_properties option to encode the properties with null valuePropertyMetadata::$streamToNativeValueTransformers, use PropertyMetadata::$valueTransformers insteadPropertyMetadata::getNativeToStreamValueTransformer() and PropertyMetadata::getStreamToNativeValueTransformers(), use PropertyMetadata::getValueTransformers() insteadPropertyMetadata::withNativeToStreamValueTransformers() and PropertyMetadata::withStreamToNativeValueTransformers(), use PropertyMetadata::withValueTransformers() insteadPropertyMetadata::withAdditionalNativeToStreamValueTransformer() and PropertyMetadata::withAdditionalStreamToNativeValueTransformer, use PropertyMetadata::withAdditionalValueTransformer() insteadbug symfony/symfony#62063 [JsonStreamer] Rebuild cache on class update (@mtarld)
Changelog (https://github.com/symfony/json-streamer/compare/v7.4.0-BETA2...v7.4.0-RC1)
feature symfony/symfony#61880 [JsonStreamer] Merge PropertyMetadata value transformers (@mtarld)
Changelog (https://github.com/symfony/json-streamer/compare/v7.3.4...v7.4.0-BETA1)
PropertyMetadata value transformers (@mtarld)include_null_properties option (@mtarld)nikic/php-parser dependency (@mtarld)bug #63159 Fix exponential resource class memory growth (mtarld)
Changelog (https://github.com/symfony/json-streamer/compare/v7.3.9...v7.3.10)
bug symfony/symfony#62388 [TypeInfo] Simple array should be array type (@matijn-made)
Changelog (https://github.com/symfony/json-streamer/compare/v7.3.7...v7.3.8)
Changelog (https://github.com/symfony/json-streamer/compare/v7.3.4...v7.3.5) * no significant changes
Changelog (https://github.com/symfony/json-streamer/compare/v7.3.4...v7.3.5)
bug symfony/symfony#61580 [JsonStreamer] Fix encoding iterable lists (@mtarld)
Changelog (https://github.com/symfony/json-streamer/compare/v7.3.3...v7.3.4)
bug symfony/symfony#61375 [TypeInfo] Fix converting list to string (@ruudk)
Changelog (https://github.com/symfony/json-streamer/compare/v7.3.2...v7.3.3)
bug symfony/symfony#61001 [JsonStreamer] Fix nested generated foreach loops (@mttsch)
Changelog (https://github.com/symfony/json-streamer/compare/v7.3.1...v7.3.2)
Changelog (https://github.com/symfony/json-streamer/compare/v7.3.0...v7.3.1) * no significant changes
Changelog (https://github.com/symfony/json-streamer/compare/v7.3.0...v7.3.1)
Changelog (https://github.com/symfony/json-streamer/compare/v7.3.0-RC1...v7.3.0) * no significant changes
Changelog (https://github.com/symfony/json-streamer/compare/v7.3.0-RC1...v7.3.0)
Changelog (https://github.com/symfony/json-streamer/compare/v7.3.0-BETA2...v7.3.0-RC1) * no significant changes
Changelog (https://github.com/symfony/json-streamer/compare/v7.3.0-BETA2...v7.3.0-RC1)
feature symfony/symfony#59655 [JsonPath] Add the component (@alexandre-daubois)
Changelog (https://github.com/symfony/json-streamer/compare/v7.2.6...v7.3.0-BETA1)
JsonStreamer (@mtarld)One column per month.