Comparing main...5.0 · api-platform/core · GitHub
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: api-platform/core
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: api-platform/core
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5.0
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 5 commits
  • 11 files changed
  • 1 contributor

Commits on Oct 19, 2026

  1. fix(jsonapi): reject malformed request documents (#8736)

    A request body that is not a JSON:API document, has no data object,
    or has non-object attributes/relationships was accepted with 201 or
    crashed in array_merge() with a 500. Return 400 instead. A missing
    type is still accepted.
    
    Refs #8703
    soyuka authored Oct 19, 2026
    Configuration menu
    Copy the full SHA
    c1e21bb View commit details
    Browse the repository at this point in the history
  2. fix(httpcache): keep purging relations after a skipped one (#8738)

    gatherRelationTags() returned on the first association it had to skip
    (non-resource target, unreadable property, unmapped ObjectMapper
    target), so the tags of every later association were never purged.
    soyuka authored Oct 19, 2026
    Configuration menu
    Copy the full SHA
    db299e9 View commit details
    Browse the repository at this point in the history
  3. fix(jsonapi): declare items on no-pagination collection data schema (#…

    …8727)
    
    JsonApiCollectionBaseSchemaNoPagination declared `data` as
    `type: array` without `items`, which OpenAPI 3.0 validators reject.
    The concrete collection schema still narrows it through allOf.
    
    Fixes #8699
    soyuka authored Oct 19, 2026
    Configuration menu
    Copy the full SHA
    82496b3 View commit details
    Browse the repository at this point in the history
  4. fix(jsonapi): document non-exposed relations in included schema (#8734)

    Related resources whose only operation is NotExposed were dropped from
    the included anyOf, leaving an empty (invalid) anyOf although the
    serializer emits them. Reference their own definition like any other
    target.
    
    Fixes #8700
    soyuka authored Oct 19, 2026
    Configuration menu
    Copy the full SHA
    e03a71b View commit details
    Browse the repository at this point in the history
  5. fix(jsonapi): split schema relationships on the input/output class (#…

    …8728)
    
    * fix(jsonapi): split schema relationships on the input/output class
    
    The attributes/relationships split was computed on the resource class,
    so an input DTO property holding plain objects was documented as
    resource linkage while the denormalizer reads it from attributes.
    
    Fixes #8698
    
    * test(jsonapi): instantiate definition name factory without arguments
    soyuka authored Oct 19, 2026
    Configuration menu
    Copy the full SHA
    1ad0bb4 View commit details
    Browse the repository at this point in the history
Loading