docs: 4.4 Content-Type charset + drop dead Symfony <=6.4 branch (#2329) · api-platform/docs@8f3361b · GitHub
Skip to content

Commit 8f3361b

Browse files
authored
docs: 4.4 Content-Type charset + drop dead Symfony <=6.4 branch (#2329)
* docs(content-negotiation): document 4.4 charset change Since 4.4 (core #8226), Content-Type only gets `; charset=utf-8` for text/* and application/xml; JSON-family media types no longer carry it. Verified against formatContentType() in src/State/Util/HttpResponseHeadersTrait.php at upstream/4.4. * docs(serialization): drop unreachable Symfony <=6.4 branch Symfony floor is ^7.4 || ^8.0 since core #8397 (verified in src/Symfony/composer.json at upstream/4.4), so the annotations branch is unreachable and the >=7.0 branch is unconditional. Collapse both into a single attributes-only instruction. * docs(getting-started): state PHP/Symfony version floor No page stated the supported versions. Add PHP >=8.2 and Symfony ^7.4 || ^8.0, taken from composer.json and src/Symfony/composer.json at upstream/4.4.
1 parent 779f487 commit 8f3361b

3 files changed

Lines changed: 39 additions & 33 deletions

File tree

‎core/content-negotiation.md‎

Lines changed: 34 additions & 0 deletions

‎core/getting-started.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
You can choose your preferred stack between Symfony, Laravel, or bootstrapping the API Platform core
66
library manually.
77

8+
API Platform requires PHP 8.2 or higher. The Symfony variant requires Symfony `^7.4` or `^8.0`.
9+
810
> [!CAUTION] If you are migrating from an older version of API Platform, make sure you read the
911
> [Upgrade Guide](upgrade-guide.md).
1012

‎core/serialization.md‎

Lines changed: 3 additions & 33 deletions

0 commit comments

Comments
 (0)