Skip to content

Merge 3.0 onto main#5033

Merged
soyuka merged 37 commits into
api-platform:mainfrom
soyuka:main
Sep 29, 2022
Merged

Merge 3.0 onto main#5033
soyuka merged 37 commits into
api-platform:mainfrom
soyuka:main

Conversation

@soyuka

@soyuka soyuka commented Sep 29, 2022

Copy link
Copy Markdown
Member

No description provided.

lchrusciel and others added 30 commits September 16, 2022 11:23
…form#4953)

* fix(metadata): resource name collection missing deprecation

* fix(metadata): [Minor] Removal of empty lines and adding class to exclusion

Co-authored-by: Loïc Frémont <lc.fremont@gmail.com>
…ustom operation classes

* fix(metadata): do not auto-generate NotExposed operation when using custom operation classes

* Update src/Metadata/Resource/Factory/NotExposedOperationResourceMetadataCollectionFactory.php

Co-authored-by: Antoine Bluchet <soyuka@users.noreply.github.com>
Co-authored-by: ArnoudThibaut <thibaut.arnoud@gmail.com>
api-platform#4963)

* fix(symfony): missing deprecations related to Ulid and Uuid normalizers in constructors and dependency injection

* fix(symfony): missing deprecations related to Ulid and Uuid normalizers in constructors and dependency injection

* fix tests

* test: expect deprecation

Co-authored-by: soyuka <soyuka@users.noreply.github.com>
* fix(symfony): resource class directories bc break

* review
we only want the first commit to be linted
* fix: compatibility with PHP 8.2

* fix cs
Fixes an issue with the use of `EMPTY_ARRAY_AS_OBJECT` and
`PRESERVE_EMPTY_OBJECTS` in the serialization context.
Since the CollectionNormalizer was taking over the serialization
of all iterables, the Symfony serializer was not
called when normalizing a "raw" collection.
Adding a better supports method fixes the issue.
The supports method is not cacheable anymore since it relies on the context.
* ignore api_platform.state.item_provider when Doctrine is not enabled (api-platform#4954)

* fix(symfony): metadata cache is broken in dev/prod

Co-authored-by: Dmitri Goosens <1250047+dgoosens@users.noreply.github.com>
Co-authored-by: Emmanuel BALLERY <emmanuel.ballery@gmail.com>
@soyuka
soyuka merged commit 8108899 into api-platform:main Sep 29, 2022
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.