Skip to content

docs: 4.4 release gaps (HTTP QUERY, ItemDenormalizer, legacy filters) - #2341

Merged
soyuka merged 3 commits into
api-platform:4.4from
soyuka:docs/4.4-release-fixes
Sep 16, 2026
Merged

soyuka merged 3 commits into
api-platform:4.4from
soyuka:docs/4.4-release-fixes

Conversation

@soyuka

@soyuka soyuka commented Sep 16, 2026

Copy link
Copy Markdown
Member

Documentation gaps found while checking the 4.4 docs against the v4.4.0 section of the core changelog.

HTTP QUERY

4.4 ships the HTTP QUERY method (#8531), but the 4.4 branch documented nothing about it. The section was written for main in #2324 and never backported. This backports it, without the "Criteria DTOs" subsection: that subsection puts #[QueryParameter] on class properties, and QueryParameter gains Attribute::TARGET_PROPERTY only in 5.0.

ItemDenormalizer

ItemNormalizer::denormalize() now calls trigger_deprecation('api-platform/core', '4.4', ...) in the default, JSON-LD, JSON:API and GraphQL normalizers. Nothing documented the replacement. The upgrade guide now lists the four ItemDenormalizer classes and the four denormalizer service ids to decorate.

Legacy filter examples

These pages still taught #[ApiFilter] with SearchFilter and OrderFilter as the current way to filter:

  • admin/schema.md
  • admin/performance.md
  • admin/handling-relations.md
  • core/pagination.md
  • core/graphql.md

They now use QueryParameter with ExactFilter, PartialSearchFilter, SortFilter and RangeFilter. The four dead links to ../core/filters.md#apifilter-attribute in admin/schema.md point at headings that exist.

Two GraphQL examples changed shape, because SortFilter is one parameter per sorted property and has no shared order list argument. The Nesting Separator example keeps a dotted parameter key, since FieldsBuilder::buildParameterArgTree() applies the separator to the key, not to the property.

Prettier and markdownlint pass on every changed file.

The item normalizers deprecate denormalize() in 4.4. Document the
replacement classes and the denormalizer service ids to decorate.
admin/schema.md, admin/performance.md, admin/handling-relations.md,
core/pagination.md and core/graphql.md taught the legacy filter API
that 4.4 deprecates. Also repairs four dead links to a filters.md
anchor that no longer exists.
@soyuka
soyuka merged commit 545a21b into api-platform:4.4 Sep 16, 2026
3 checks passed
@soyuka
soyuka deleted the docs/4.4-release-fixes branch September 16, 2026 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant