Releases: api-platform/core
v4.0.6
What's Changed
- fix(hydra): hydra context changed by @valentin-dassonville in #6710
- fix(laravel): collection relations other than HasMany by @amermchaudhary in #6737
- feat(laravel): use laravel cache setting by @toitzi in #6751
- fix(symfony): ECMA-262 pattern with RegExp validator by @soyuka in #6733
- fix(hydra): iri template when using query parameter by @soyuka in #6742
- fix(laravel): jsonapi error serialization by @soyuka in #6755
- fix(metadata): providing parameter constraints skips automatic ones by @GeLoLabs in #6756
- Merge 3.4 by @soyuka in #6758
New Contributors
- @valentin-dassonville made their first contribution in #6710
- @amermchaudhary made their first contribution in #6737
- @GeLoLabs made their first contribution in #6756
Full Changelog: v4.0.5...v4.0.6
v3.4.5
v4.0.5
What's Changed
- fix(jsonld): prefix error @type with hydra: by @soyuka in #6721
- fix(jsonschema): handle @id when genId is false by @ViPErCZ in #6716
- fix(laravel): make command writes to app instead of src by @vinceAmstoutz in #6723
- fix(graphql): register query parameter arguments with filters by @soyuka in #6726
- fix: use stateOptions when retrieving a Parameter filter by @vinceAmstoutz in #6728
- fix(symfony): fetch api-platform/symfony version debug bar by @soyuka in #6722
- fix: multiple parameter provider #6673 by @soyuka in #6732
New Contributors
Full Changelog: v4.0.4...v4.0.5
v3.4.4
What's Changed
- fix(jsonld): prefix error @type with hydra: by @soyuka in #6721
- fix(jsonschema): handle @id when genId is false by @ViPErCZ in #6716
- fix(graphql): register query parameter arguments with filters by @soyuka in #6727
- fix: use stateOptions when retrieving a Parameter filter by @vinceAmstoutz in #6728
- fix(symfony): fetch api-platform/symfony version debug bar by @soyuka in #6722
- fix: multiple parameter provider #6673 by @soyuka in #6732
New Contributors
Full Changelog: v3.4.3...v3.4.4
v4.0.4
What's Changed
- fix: check that api-platform/ramsey-uuid is installed before registering related services by @dunglas in #6696
- fix: remove hydra prefix by @dannyvw in #6699
- test(laravel): call factories, debug is now false by default by @soyuka in #6702
- fix(hydra): hydra_prefix on errors by @soyuka in #6704
- fix(laravel): skip resource path when not available by @soyuka in #6697
- fix(symfony): metadata aware name converter has 0 arguments by default by @soyuka in #6711
- doc: error guide remove useless configuration by @soyuka in #6712
- fix(laravel): match integer type by @GregoireHebert in #6715
- fix(laravel): openapi Options binding by @cay89 in #6714
- fix(laravel): allow serializer attributes through ApiProperty by @soyuka in #6680
- feat(laravel): command to generate state providers/processors by @vinceAmstoutz in #6708
New Contributors
- @cay89 made their first contribution in #6714
- @vinceAmstoutz made their first contribution in #6708
Full Changelog: v4.0.3...v4.0.4
v3.4.3
What's Changed
- fix: check that api-platform/ramsey-uuid is installed before registering related services by @dunglas in #6696
- fix: remove hydra prefix by @dannyvw in #6699
- fix(hydra): hydra_prefix on errors by @soyuka in #6704
- fix(symfony): metadata aware name converter has 0 arguments by default by @soyuka in #6711
- doc: error guide remove useless configuration by @soyuka in #6712
Full Changelog: v3.4.2...v3.4.3
v4.0.3
What's Changed
- [Laravel]: Fix authorization swagger ui by @toitzi in #6661
- Laravel: Use
Model::qualifyColumn()
instead of$table.$column
by @GromNaN in #6658 - Fix: route registration of EntrypointController should be after GraphQL's EntrypointController by @BurningDog in #6667
- fix(laravel): eloquent accessors by @soyuka in #6668
- fix(laravel): fix hiding/showing relationships by @toitzi in #6679
- fix(laravel): fixes to secure a graphql endpoint by @soyuka in #6691
Note
For GraphQL with Laravel #6691 is giving some details about how security works while we're working on updating our documentation
New Contributors
- @BurningDog made their first contribution in #6667
- @rmikalkenas made their first contribution in #6683
Full Changelog: v4.0.2...v4.0.3
v3.4.2
What's Changed
- fix: remove "hydra:" remaining prefix by @vincentchalamon in #6624
- fix(metadata): parameter provider in a long running http worker by @rmikalkenas in #6683
- fix(jsonapi): fixed definition name to allow using the same class names in different namespaces by @nightio in #6676
- fix(elasticsearch): Allow ES 7 by @dannyvw in #6689
- fix(metadata): overwriting XML ApiResource definition by YAML ApiResource definition by @GSadee in #6660
- fix(metadata): using parameters in fromClass and toClass uriVariables' options by @GSadee in #6663
- fix(metadata): passing class as parameter in XML ApiResource's definition by @GSadee in #6659
Warning
Hydra prefix on errors is breaking, read title
not hydra:title
. The hydra_prefix
flag doesn't apply to errors as it provided redundant information (both hydra:title
and title
were available)
New Contributors
- @rmikalkenas made their first contribution in #6683
Full Changelog: v3.4.1...v3.4.2
v3.3.14
What's Changed
- style: cs-fixer update by @soyuka in #6568
- fix(doctrine): use parameter.property as filter value key by @nikophil in #6572
- perf: skip context data added in #5758 by @soyuka in #6612
- fix: count TraversablePaginator by @nikophil in #6611
- fix(jsonapi): fixed definition name to allow using the same class names in different namespaces by @nightio in #6676
Full Changelog: v3.3.12...v3.3.14
v4.0.0
Notes
Supports > PHP 8.2
What's Changed
Laravel support is out! Check out our website https://api-platform.com/ or the https://api-platform.com/docs/laravel/ documentation.
- feat(laravel): laravel component by @soyuka in #5882
- fix(laravel): SwaggerUI title by @dunglas in #6527
- fix(laravel): Eloquent date and datetime type detection by @dunglas in #6529
- feat(laravel): policy, auth and gate by @soyuka in #6523
- fix(laravel): do not normalize exception originalTrace by @soyuka in #6533
- fix(laravel): identitifer is not writable unless marked as writable by @soyuka in #6531
- fix(laravel): snake case props by @dunglas in #6532
- fix(laravel): Eloquent PropertyAccessor by @dunglas in #6536
- feat(laravel): search filter by @soyuka in #6534
- fix(laravel): api_doc route regex by @dunglas in #6540
- fix(laravel): visible and hidden fields support by @dunglas in #6538
- fix(laravel): entrypoint serialization by @dunglas in #6541
- feat(laravel): provide a trait in addition to the annotation by @dunglas in #6543
- feat(laravel): supports more Eloquent types by @dunglas in #6544
- feat(laravel): enable graphQl support by @soyuka in #6550
- fix(laravel): entrypoint with doc formats by @soyuka in #6552
- fix(laravel): cache metadata, add trace on debug mode by @soyuka in #6555
- feat(doctrine): add new filter for filtering an entity using PHP backed enum, resolves #6506 by @mremi in #6547
- fix: remove PUT from default operations by @soyuka in #6570
- fix(laravel): disable GraphQL by default and fix provider by @dunglas in #6585
- fix(laravel): register HydraPartialCollectionViewNormalizer by @dunglas in #6588
- feat(laravel): eloquent filters (search, date, equals, or) by @soyuka in #6593
- fix(laravel): docs _format and open swagger ui by @soyuka in #6595
- Various Laravel fixes (defaults, serializer context) by @soyuka in #6601
- feat(laravel): parameter validator + security by @soyuka in #6603
- fix(laravel): remove json api provider by @soyuka in #6605
- fix(state): remove resource_class change by @soyuka in #6607
- feat(laravel): eloquent filters date range by @NathanPesneau in #6606
- fix(laravel): wrong filter dependency by @dunglas in #6614
- Feat/laravel parameter validator by @NathanPesneau in #6610
- fix(laravel): validate enum schema within filter by @soyuka in #6615
- feat(laravel): add CSV support by @dunglas in #6617
- fix: swagger ui with route identifier by @soyuka in #6616
- fix(laravel): call authorize on delete but not validation by @soyuka in #6618
New Contributors
- @piotrgradzinski made their first contribution in #6419
- @mremi made their first contribution in #6547
- @NathanPesneau made their first contribution in #6606
Full Changelog: v3.4.0...v4.0.0