Tags: api-platform/graphql
Tags
Merge 4.1 into 4.2 # Conflicts: # CHANGELOG.md # src/GraphQl/composer.json # src/Hal/Tests/Serializer/ItemNormalizerTest.php # src/Hal/composer.json # src/JsonApi/Tests/Serializer/ItemNormalizerTest.php # src/JsonApi/composer.json # src/Serializer/AbstractItemNormalizer.php
fix(serializer): bump min serializer dep and fix phpstan probe typing - Bump api-platform/serializer min to ^4.3.7 in JsonApi, Hal and GraphQl composer.json so they pull a serializer release that exposes the new protected isCacheKeySafe() method on AbstractItemNormalizer. - Change createCacheKeySafeProbe() return type to object so PHPStan can resolve probeIsCacheKeySafe() on the anonymous AbstractItemNormalizer subclass.
fix(graphql): accept FilterInterface instance in QueryParameter (#7972) | Q | A | ------------- | --- | Branch? | 4.3 | Tickets | refs #7966 | License | MIT | Doc PR | ∅ FieldsBuilder called filterLocator->has() with whatever QueryParameter::$filter returned, crashing on object-form filters (new SortFilter()) when the parameter key contained '['. A resolveFilter() helper now handles both string service ids and FilterInterface instances, applied at every locator site.
chore: allow phpunit ^11.5 for PHP 8.2 compatibility PHPUnit 12 requires PHP 8.3+. Widen the constraint in the root and each component composer.json so PHP 8.2 resolves to 11.5 (LTS) and 8.3+ to 12.x. Removes the per-job "Force PHPUnit 11.5" workaround steps from CI. | Q | A | ------------- | --- | Branch? | 4.3 | Tickets | ∅ | License | MIT | Doc PR | ∅
chore: allow phpunit ^11.5 for PHP 8.2 compatibility PHPUnit 12 requires PHP 8.3+. Widen the constraint in the root and each component composer.json so PHP 8.2 resolves to 11.5 (LTS) and 8.3+ to 12.x. Removes the per-job "Force PHPUnit 11.5" workaround steps from CI. | Q | A | ------------- | --- | Branch? | 4.3 | Tickets | ∅ | License | MIT | Doc PR | ∅
PreviousNext