packagist api-platform/core v5.0.4

4 hours ago

What's Changed

  • fix(metadata): allow GraphQL operations in parameter attributes on properties by @Maxcastel in #8621
  • fix(doctrine): use a portable LIKE escape char by @soyuka in #8671
  • fix(doctrine): use ON for arbitrary join in links by @soyuka in #8672
  • fix(doctrine): left join nested props in OrFilter by @soyuka in #8674
  • fix(jsonschema): emit an empty schema for mixed by @soyuka in #8670
  • feat(metadata): accept operation class names in parameter operations by @Maxcastel in #8624
  • fix(metadata): operation parameters take precedence over parameter attributes on properties by @Maxcastel in #8623
  • fix(state): avoid deprecated PartialDenormalizationException::getErrors() by @dualfroz in #8663
  • fix(doctrine): accept SortDirection enum in ordering by @nozarashi20 in #8662
  • chore(serializer): fix phpstan narrowing by @soyuka in #8673
  • fix(state): restore 422 for empty scalar params by @soyuka in #8675
  • fix(validator): returns 422 for backed enum errors by @VincentLanglet in #8656
  • fix(laravel): accept null on an optional belongsTo by @devtechedge in #8666
  • fix(json-schema): use allOf for intersection types by @soyuka in #8653
  • fix(json-schema): keep operation groups in context by @soyuka in #8643
  • fix(json-schema): nested gen_id follows the property by @soyuka in #8644
  • fix(json-schema): nested resource ignores output DTO by @soyuka in #8652
  • Add support for GroupSequence by @VincentLanglet in #8645
  • test(hydra): stub resolver without with() for PHPUnit 13 by @soyuka in #8707
  • test: import ApiPlatform\Test\ApiTestCase by @soyuka in #8708
  • fix(symfony): reset the skolem IRI converter between requests by @silverbackdan in #8681
  • fix(metadata): Put::withAllowCreate() and Link::withFromProperty() return a new instance by @Maxcastel in #8685
  • fix(metadata): do not override the parameter provider with the filter provider by @Maxcastel in #8689
  • fix(metadata): apply defaults that use a can* getter by @Maxcastel in #8691
  • fix(metadata): keep queryParameterValidationEnabled on ApiResource by @Maxcastel in #8692
  • fix(metadata): pass stateOptions and map to the GraphQL QueryCollection parent constructor by @Maxcastel in #8693
  • fix(metadata): copy contentNegotiation in withOperation() by @Maxcastel in #8694
  • fix(doctrine): read the column default option with doctrine/orm 3 by @Maxcastel in #8705
  • fix(metadata): keep explicit readableLink and writableLink on collections of non-resource classes by @Maxcastel in #8706
  • fix(doctrine): put-create under a slug parent link by @soyuka in #8688
  • fix(symfony): reset the Mercure publisher between requests by @KevinMartinsDev in #8684
  • fix(doctrine): accept resolved resources in links by @soyuka in #8687
  • test(laravel): use createOne() for the for() relation by @soyuka in #8718

New Contributors

Full Changelog: v5.0.3...v5.0.4

Don't miss a new core release

NewReleases is sending notifications on new releases.