API Platform 3.0 was not a feature release — it was a rewrite. Each version since has refined the architecture introduced then: state providers and processors, PHP 8 attributes, OpenAPI 3.x, and a cleaner separation between the HTTP layer and the domain. This series covers what actually changed in each release and why it matters for how you build APIs.
API Platform 4.2: JSON streamer, ObjectMapper, and autoconfigure
API Platform 4.2 arrived in September 2025. Three changes stand out: a JSON streamer for large collections that avoids buffering the entire response in memory, an ObjectMapper that replaces the manual wiring in stateOptions-based DTO flows, and autoconfiguration of #[ApiResource] without explicit service registration. JSON streamer for large collections The default Symfony serializer builds the full response in memory before writing it to the output. For a collection of 10,000 items, this means allocating a PHP array, serializing it to a string, and keeping both in memory until the response is flushed. At scale, this is the source of the OOM errors that force people to add pagination everywhere. ...