packagist api-platform/core v4.3.0-alpha.2

8 hours ago

What's Changed

  • fix(jsonld): restore item_uri_template @type resolution after 4.2 merge by @soyuka in #7764
  • Various fixes by @soyuka in #7765
  • fix(elasticsearch): mono-repo v9 support by @GeLoLabs in #7766
  • fix: remove extra empty lines insertion in SymfonyServiceClassConstantFixer by @Maxcastel in #7761
  • fix(state): handle partial pagination with object mapper by @soyuka in #7769
  • test(openapi): add openapi test for normalization with attributes by @Maxcastel in #7772
  • fix(hydra): hide search key when there is parameter without filter by @VincentLanglet in #7773
  • fix(hydra): unique class @id with subClassOf for semantic types by @soyuka in #7771
  • feat(doctrine): add nested relation support to IriFilter and UuidFilter by @soyuka in #7759
  • fix(symfony): publish mercure updates for all resources of an entity by @soyuka in #7774
  • Use values from ProblemExceptionInterface by @bonroyage in #7776
  • fix(symfony): use AsCommand description parameter for console commands by @soyuka in #7763
  • feat(serializer): global defaults.normalization_context.gen_id configuration option by @olinox14 in #7775
  • fix(doctrine): enforce api-platform/serializer dependency by @soyuka in #7781

⚠️ Notes

Hydra class @id now always uses #ShortName (#7771): Hydra documentation classes now consistently use #ShortName as their @id instead of schema.org type URIs (e.g. schema:Product). This properly resolves class identifier collisions when multiple resources shared the same semantic type, which previously caused api-doc-parser conflation. Semantic types configured via types are now exposed through rdfs:subClassOf. Clients should expect class @id and property range changes in the Hydra documentation if resources had custom types configured.

New Contributors

Full Changelog: v4.3.0-alpha.1...v4.3.0-alpha.2

Don't miss a new core release

NewReleases is sending notifications on new releases.