Skip to content

Comments

test import#8

Open
cr3a7ure wants to merge 4123 commits intocr3a7ure:2021from
api-platform:main
Open

test import#8
cr3a7ure wants to merge 4123 commits intocr3a7ure:2021from
api-platform:main

Conversation

@cr3a7ure
Copy link
Owner

Q A
Bug fix? yes/no
New feature? yes/no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets api-platform#1234, api-platform#5678
License MIT
Doc PR api-platform/docs#1234

jsampedro77 and others added 29 commits October 31, 2025 10:47
Co-authored-by: Nicolas LAURENT <aegypius@users.noreply.github.com>
Co-authored-by: Javier Sampedro <jsampedro77@gmail.com>
fix(laravel): serializer attributes on Eloquent methods (#7416)
fixes #7289
fixes #7338
fix(validator): custom message was not translated (#7424)
fixes #7336
fix(serializer): resilient denormalizeRelation capability (#7474)
fix(doctrine): properly set properties according to interface (#7487)
fix(graphql): stateOptions to get filter class (#7485)
Co-authored-by: Giorgio Premi <giorgio.premi@libraesva.com>
soyuka and others added 30 commits February 13, 2026 12:38
Co-authored-by: Antoine Bluchet <soyuka@users.noreply.github.com>
Co-authored-by: soyuka <soyuka@users.noreply.github.com>
…solution (#7756)

* fix(serializer): prevent context leakage with service-based entity resolution (#7733)

| Q             | A
| ------------- | ---
| Branch?       | 4.2
| Tickets       | Fixes #7733
| License       | MIT
| Doc PR        | ∅

* Create OperationResourceResolverInterface service to validate entity-to-resource mappings
* Add framework-specific decorators (Doctrine, Eloquent) to handle stateOptions validation
* Remove force_resource_class propagation to nested objects preventing DateTimeImmutable issues
# Conflicts:
#	CHANGELOG.md
#	src/JsonLd/Serializer/ItemNormalizer.php
#	src/Metadata/Tests/Property/Factory/SerializerPropertyMetadataFactoryTest.php
#	src/Serializer/AbstractItemNormalizer.php
#	src/Symfony/Bundle/Resources/config/jsonld.php
…ge (#7764)

| Q             | A
| ------------- | ---
| Branch?       | main
| Tickets       | ∅
| License       | MIT
| Doc PR        | ∅

* Revert output+item_uri_template early-return from d70eec5 back to 40ad568's approach
* Use operation shortName directly for item_uri_template @type instead of resource-level lookup
* Fixes @type being "Recipe" instead of "ItemRecipe" when operation has explicit shortName
Co-authored-by: GeLo <eric.geloen@rapid-flyer.com>
| Q             | A
| ------------- | ---
| Branch?       | main
| Tickets       | ∅
| License       | MIT
| Doc PR        | ∅

ObjectMapperProvider only handled PaginatorInterface, but ODM's
PartialPaginator implements PartialPaginatorInterface which doesn't
extend PaginatorInterface, causing mapping to fail on the paginator
object itself.
…7773)

* fix(hydra): hide search key when there is parameter without filter

* Update tests
* fix(hydra): unique class @id with subClassOf for semantic types

| Q             | A
| ------------- | ---
| Branch?       | main
| Tickets       | ∅
| License       | MIT
| Doc PR        | ∅

* Always use #ShortName as Hydra class @id instead of schema.org type URIs
* Expose semantic types via rdfs:subClassOf to prevent api-doc-parser conflation
* Property ranges now consistently reference #ShortName instead of type URIs
…er (#7759)

* Migrate IriFilter to use NestedPropertyHelperTrait for nested properties
* Migrate AbstractUuidFilter from OrmPropertyHelperTrait to NestedPropertyHelperTrait
* Add comprehensive tests for nested filtering with both filters
…7774)

* SplObjectStorage keyed by entity only allowed one update per entity;
  replaced with array to support multiple entries per resource
* storeObjectToPublish iterates all resources in the metadata collection
  and stores a separate entry for each one that has mercure enabled
* publishUpdate uses the specific operation for normalization context
  and IRI resolution

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
…Interface (#7776)

* feat: use values from ProblemExceptionInterface

* Add test case to JsonProblemTest

* Apply change to State/ApiResource/Error.php as well

* Fix StrictParametersTest in line with detail of ParameterNotSupportedException
#7763)

* fix(symfony): use AsCommand description parameter for console commands

| Q             | A
| ------------- | ---
| Branch?       | 4.2
| Tickets       | Closes #7616
| License       | MIT
| Doc PR        | ∅

Move command descriptions from configure() to AsCommand attribute to follow
Symfony 6+ best practices and eliminate deprecation warnings in Symfony 8.
…uration option (#7775)

* feat: add global defaults.normalization_context.gen_id configuration option

* Adds global genId option support

Allows configuring the `genId` option globally via `defaults.normalization_context`.

Adds new functional tests to verify that `genId` works as expected when configured globally,
and that the `genId` option on `ApiProperty` takes precedence over the global option.

* lint

* fix unit tests

---------

Co-authored-by: Olivier Massot <olivier.massot@2iopenservice.fr>
Follow-up to 4fc0805 which removed the incorrect shortName 'ItemRecipe'
from the Recipe fixture. The test assertions were not updated accordingly
and broke during the 4.2 merge.
…Os (#7779)

Co-authored-by: Matteo Beccati <matteo@beccati.com>
Co-authored-by: Vincent Langlet <vincentlanglet@hotmail.fr>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Fixes #7705
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.