Skip to content

fix(deps): update all non-major dependencies

Bekerle, Patrizio requested to merge renovate/all-minor-patch into main

This MR contains the following updates:

Package Type Update Change
api-platform/core (source) require minor 2.5.10 -> 2.6.3
friendsofphp/php-cs-fixer require-dev patch 2.18.2 -> 2.18.3
phpstan/phpstan require-dev patch 0.12.80 -> 0.12.81
vimeo/psalm require-dev patch 4.6.2 -> 4.6.3

Release Notes

api-platform/core

v2.6.3

Compare Source

  • Identifiers: Re-allow POST operations even if no identifier is defined (#​4052)
  • Hydra: Fix partial pagination which no longer returns the hydra:next property (#​4015)
  • Security: Use a NullToken when using the new authenticator manager in the resource access checker (#​4067)
  • Mercure: Do not use data in options when deleting (#​4056)
  • Doctrine: Support for foreign identifiers (#​4042)
  • Doctrine: Support for binary UUID in search filter (#​3774)
  • Doctrine: Do not add join or lookup for search filter with empty value (#​3703)
  • Doctrine: Reduce code duplication in search filter (#​3541)
  • JSON Schema: Allow generating documentation when property and method start from "is" (property isActive and method isActive) (#​4064)
  • OpenAPI: Fix missing 422 responses in the documentation (#​4086)
  • OpenAPI: Fix error when schema is empty (#​4051)
  • OpenAPI: Do not set scheme to oauth2 when generating securitySchemes (#​4073)
  • OpenAPI: Fix missing $ref when no type is used in context (#​4076)
  • GraphQL: Fix "Resource class cannot be determined." error when a null iterable field is returned (#​4092)
  • Metadata: Check the output class when calculating serializer groups (#​3696)

v2.6.2

Compare Source

  • Validation: properties regex pattern is now compliant with ECMA 262 (#​4027)
  • OpenApi: normalizer is now backward compatible (#​4016), fix the name converter issue changing OpenApi properties (#​4019)
  • Identifiers: Break after transforming the identifier (#​3985), use the identifiers context to transform with multiple classes (#​4029)
  • JsonSchema: Revert ALLOW_EXTRA_ATTRIBUTE=false as it is a BC break and will be done in 3.0 instead see #​3881 (#​4007)
  • Subresource: fix ApiSubresource maxDepth option (#​3986), recursive issue in the profiler (#​4023)
  • OpenApi: Allow requestBody and parameters via the openapi_context (#​4001), make openapi_context work on subresources (#​4004), sort paths (#​4013)
  • Config: Allow disabling OpenAPI and Swagger UI without loosing the schema (#​3968 and #​4018), fix pagination defaults (#​4011)
  • DataPersister: context propagation fix (#​3983)

v2.6.1

Compare Source

  • Fix defaults when using attributes (#​3978)

v2.6.0

Compare Source

  • Cache: adds a max_header_length configuration (#​2865)
  • Cache: support stale-while-revalidate and stale-if-error cache control headers (#​3439)
  • Config: Add an option to set global default values (#​3151)
  • DTO: Add ApiPlatform\Core\DataTransformer\DataTransformerInitializerInterface to pre-hydrate inputs (#​3701)
  • DTO: Improve Input/Output support (#​3231)
  • Data Persisters: Add previous_data to the context passed to persisters when available (#​3752)
  • Data Persister: Add a ResumableDataPersisterInterface that allows to call multiple persisters (#​3912)
  • Debug: Display API Platform's version in the debug bar (#​3235)
  • Docs: Make asset_package configurable (#​3764)
  • Doctrine: Allow searching on multiple values on every strategies (#​3786)
  • Elasticsearch: The Paginator class constructor now receives the denormalization context to support denormalizing documents using serialization groups. This change may cause potential BC breaks for existing applications as denormalization was previously done without serialization groups.
  • GraphQL: BC New syntax for the filters' arguments to preserve the order: order: [{foo: 'asc'}, {bar: 'desc'}] (#​3468)
  • GraphQL: BC operation is now operationName to follow the standard (#​3568)
  • GraphQL: BC paginationType is now pagination_type (#​3614)
  • GraphQL: Add page-based pagination (#​3175, #​3517)
  • GraphQL: Allow formatting GraphQL errors based on exceptions (#​3063)
  • GraphQL: Errors thrown from the GraphQL library can now be handled (#​3632, #​3643)
  • GraphQL: Possibility to add a custom description for queries, mutations and subscriptions (#​3477, #​3514)
  • GraphQL: Subscription support with Mercure (#​3321)
  • GraphQL: Support for field name conversion (serialized name) (#​3455, #​3516)
  • Hydra: Sort entries in the API entrypoint (#​3091)
  • Identifiers: Add Symfony Uid support (#​3715)
  • IriConverter: BC Fix double encoding in IRIs - may cause breaking change as some characters no longer encoded in output (#​3552)
  • JSON-LD: Add an iri_only attribute to simplify documents structure (useful when using Vulcain) (#​3275)
  • Exception: Response error codes can be specified via the ApiPlatform\Core\Exception\ErrorCodeSerializableInterface (#​2922)
  • Mercure: Add a normalization_context option in mercure attribute (#​3772)
  • Messenger: Add a context stamp containing contextual data (#​3157)
  • Metadata: Deprecate InheritedPropertyMetadataFactory (#​3273)
  • Metadata: Improve and simplify identifiers management (#​3825)
  • Metadata: Support the Symfony Serializer's @Ignore annotation (#​3820)
  • Metadata: Support using annotations as PHP 8 attributes (#​3869, #​3868, #​3851)
  • Metadata: Throw an error when no identifier is defined (#​3871)
  • Metadata: Use id as default identifier if none provided (#​3874)
  • MongoDB: Mercure support (#​3290)
  • MongoDB: Possibility to add execute options (aggregate command fields) for a resource, like allowDiskUse (#​3144)
  • OpenAPI: Add default values of PHP properties to the documentation (#​2386)
  • OpenAPI: BC Replace all characters other than [a-zA-Z0-9\.\-_] to . in definition names to be compliant with OpenAPI 3.0 (#​3669)
  • OpenAPI: Refactor OpenAPI v3 support, OpenAPI v2 (aka Swagger) is deprecated (#​3407)
  • Order: Support default order for a specific custom operation (#​3784)
  • PATCH: Support patching deep objects (#​3847)
  • Router: UrlGenerator strategy configuration via url_generation_strategy (#​3198)
  • Routing: Add stateless ApiResource attribute (#​3436)
  • Security: Add support for access control rule on attributes (#​3503)
  • Subresources: resourceClass can now be defined as a container parameter in XML and YAML definitions
  • Symfony: improved 5.x support with fewer deprecations (#​3589)
  • Symfony: Allow using ItemNormalizer without Symfony SecurityBundle (#​3801)
  • Symfony: Lazy load all commands (#​3798)
  • Tests: adds a method to retrieve the CookieJar in the test Client getCookieJar
  • Tests: Fix the registration of the test.api_platform.client service when the FrameworkBundle bundle is registered after the ApiPlatformBundle bundle (#​3928)
  • Validator: Add the violation code to the violation properties (#​3857)
  • Validator: Allow customizing the validation error status code. BC Status code for validation errors is now 422, use exception_to_status to fallback to 400 if needed (#​3808)
  • Validator: Autoconfiguration of validation groups generator via ApiPlatform\Core\Validator\ValidationGroupsGeneratorInterface
  • Validator: Deprecate using a validation groups generator service not implementing ApiPlatform\Core\Bridge\Symfony\Validator\ValidationGroupsGeneratorInterface (#​3346)
  • Validator: Property validation through OpenAPI (#​33329)
  • Validator: Query filters and parameters are validated (#​1723)
  • ExceptionInterface now extends \Throwable (#​3217)
FriendsOfPHP/PHP-CS-Fixer

v2.18.3

Compare Source

  • bug #​5484 NullableTypeDeclarationForDefaultNullValueFixer - handle mixed pseudotype (keradus)
  • minor #​5470 Disable CI fail-fast (mvorisek)
  • minor #​5491 Support php8 static return type for NoSuperfluousPhpdocTagsFixer (tigitz)
  • minor #​5494 BinaryOperatorSpacesFixer - extend examples (keradus)
  • minor #​5499 DX: add TODOs for PHP requirements cleanup (keradus)
  • minor #​5500 DX: Test that Transformers are adding only CustomTokens that they define and nothing else (keradus)
  • minor #​5507 Fix quoting in exception message (gquemener)
  • minor #​5514 DX: PHP 7.0 integration test - solve TODO for random_api_migration usage (keradus)
  • minor #​5515 DX: do not override getConfigurationDefinition (keradus)
  • minor #​5516 DX: AbstractDoctrineAnnotationFixer - no need for import aliases (keradus)
  • minor #​5518 DX: minor typing and validation fixes (keradus)
  • minor #​5522 Token - add handling json_encode crash (keradus)
  • minor #​5523 DX: EregToPregFixer - fix sorting (keradus)
  • minor #​5528 DX: code cleanup (keradus)
phpstan/phpstan

v0.12.81

Compare Source

Improvements 🔧

  • Support for running PHPStan without any arguments (phpstan/phpstan-src@469a8c3)
    • You can run PHPStan just by executing vendor/bin/phpstan, if you satisfy two conditions:
      • You have phpstan.neon (or phpstan.neon.dist) in your current working directory
      • This configuration file contains rule level parameter, and paths to analyse
  • Fix support for classes named after pseudotypes in PHPDocs (#​365), thanks @​stof!
    • This means that existing classes with names like Resource or Never are now correctly recognized in PHPDocs and have priority over PHP's resource type and PHPStan's never pseudotype
  • Understand noreturn in PHPDoc as NeverType (phpstan/phpstan-src@bce31f0)
  • Docker - support ARM architecture (#​4663)

Bugfixes 🐛

Function signature fixes 🤖

vimeo/psalm

v4.6.3

Compare Source

Features

Bugfixes

  • Improving handling of nested template types in class strings (#​5290)
  • Language Server Allow static methods to be autocompleted on instances (#​5210, #​5295)
  • Language Server Fix inferred type caching bug when editing neighbouring methods (#​5297)
  • Fix JSON reports containing UTF-8 strings – thanks @​danog (#​5300)
  • Improve callmap for gd functions in PHP 8 – thanks @​iluuu1994 (#​5271)
  • improvements to mysql_init and PDOStatement::fetchAll return type – thanks @​morozov (#​5306, #​5317)
  • WeakMap is now generic – thanks @​weirdan (#​5313)
  • Allow iterable coercion from a generic object (#​5310)
  • Fix an issue with method memoisation (#​5317)
  • Allow ReflectionParameter::getType() to return non-null if a ReflectionParameter::hasType() call returns true (#​5258)
  • Undefined variables can now be tracked in arrow functions – thanks @​weirdan (#​5343)
  • ImplicitToStringCast is now emitted in more places – thanks @​weirdan (#​5344)
  • variable usage in bool to int casts are now tracked – thanks @​weirdan (#​5349)
  • explode return type is improved – thanks @​weirdan (#​5350)
  • ceil just returns a float, thanks @​simPod (#​5355)
  • improved return type for min and max – thanks @​orklah
  • Psalm startup variables are now shielded from plugins that change global variables – thanks @​weirdan! (#​5366)
  • fixed integer overflow that could cause a Psalm crash – thanks @​orklah (#​5369)
  • @​orklah fixed a bug where Psalm would not accurately type the output of array_map when given a callable (#​5373)
  • prevented an edge-case where calling the constructor of a genericised class could poison Psalm's internal cache (b549989)

Renovate configuration

📅 Schedule: "before 3am on Monday" (UTC).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This MR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Merge request reports