Skip to content

Comments

fix(deps): update dependency api-platform/core to v4 (main)#139

Closed
renovate[bot] wants to merge 1 commit intomainfrom
renovate/main-api-platform-core-4.x
Closed

fix(deps): update dependency api-platform/core to v4 (main)#139
renovate[bot] wants to merge 1 commit intomainfrom
renovate/main-api-platform-core-4.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 26, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
api-platform/core (source) ^3.0 -> ^4.0 age adoption passing confidence

Release Notes

api-platform/core (api-platform/core)

v4.0.18

Compare Source

What's Changed

New Contributors

Full Changelog: api-platform/core@v4.0.17...v4.0.18

v4.0.17

Compare Source

Bug fixes

To save some time during cache warmup we recommend to define uri variables such as: uriVariables: ['id']. More details at #​6954.

Features

v4.0.16

Compare Source

Bug fixes
  • dc4fc84ba fix(graphql): securityAfterResolver not called
Features

v4.0.15

Compare Source

Bug fixes
  • 36cee399c fix(state): skip Content-Location header for GET requests (#​6901)
  • dba9de197 fix(symfony): fix property restrictions for root resource with dynamic validation groups (#​6908)
Features

Also contains v3.4.15 changes.

v4.0.14

Compare Source

Bug fixes
  • 97cdb6b3f fix(state): remove ProcessorInterface laravel specific type
  • b12a0d005 fix(graphql): register types for parameter args (#​6895)

Also contains v3.4.14 changes.

v4.0.13

Compare Source

Bug fixes

Also contains v3.4.10 changes.

v4.0.12

Compare Source

Bug fixes

Also contains v3.4.9 changes.

v4.0.11

Compare Source

Bug fixes

Also contains v3.4.8 changes.

v4.0.10

Compare Source

Bug fixes

Also contains v3.4.7 changes.

v4.0.9

Compare Source

Bug fixes

Also contains v3.4.6 changes.

v4.0.8

Compare Source

Bug fixes

v4.0.7

Compare Source

Bug fixes
  • 17c916c3a fix(symfony): BackedEnumProvider typo fix (#​6769)
  • 216d9ccaa fix(serializer): fetch type on normalization error when possible (#​6761)
  • 2f967d934 fix(doctrine): throw an exception when a filter is not found in a parameter (#​6767)
  • 6c9b508b0 fix(laravel): remove link header when jsonld is not enabled (#​6768)
  • 736ca045e fix(validator): allow to pass both a ConstraintViolationList and a previous exception (#​6762)
  • 9ac3661b6 fix(hydra): store and use hydra context in a local variable (#​6765)

v4.0.6

Compare Source

Bug fixes

v4.0.5

Compare Source

Bug fixes

v4.0.4

Compare Source

Bug fixes
Features

v4.0.3

Compare Source

Bug fixes
  • 025f63e69 fix(laravel): route registration of EntrypointController should be last (#​6667)
  • 2b4937a3e fix(laravel): eloquent accessors (#​6668)
  • 4312a1f55 fix(metadata): register parameters on graphql operations
  • 6d4e24883 fix(laravel): hiding/showing relationships (#​6679)
  • 85306f2f5 fix(laravel): swagger ui authentication (#​6661)
  • a6e37068e fix(laravel): use Model::qualifyColumn instead of hardcoding $table.$column (#​6658)
  • b0d5a2ade fix(laravel): register global middleware to secure non-rest routes
  • f9d96e546 fix(metadata): graphql can be disabled but with an existing operation
Features

v4.0.2

Compare Source

Bug fixes
  • 219199db3 fix(symfony): missing alias to serializer context builder interface (#​6643)
  • 5f943e3bb fix(graphql): wrong exception namespace (#​6647)
  • 72a0b669a fix(serializer): remove serializer context builder interface
  • 88bd8c3e1 fix(laravel): installation command, fix config overwrites (#​6649)
  • 93314b08d fix(serializer): allow state's SerializerFilterContextBuilderInterface (#​6632)
  • 9a0afc917 fix(serializer): remove unnecessary dependency
  • c47e2996e fix: default format and standard_put values
  • e327f5f69 fix(symfony): namespace of path segment name generator services (#​6642)

Notes:

standard_put=true is now the default, you can set it to false using extra_properties.defaults

v4.0.1

Compare Source

Bug fixes

To save some time during cache warmup we recommend to define uri variables such as: uriVariables: ['id']. More details at #​6954.

Features

v4.0.0

Compare Source

Bug fixes
Features

v3.4.16

Compare Source

Bug fixes
  • dc4fc84ba fix(graphql): securityAfterResolver not called
  • 9eb5c4e94 fix(symfony): suggest DocumentationAction as replacement for deprecated SwaggerUiAction (#​6894)

v3.4.15

Compare Source

Bug fixes
  • ab03b5544 fix(openapi): typing issue with openapiContext in #[ApiProperty] (#​6910)

v3.4.14

Compare Source

Bug fixes

I mispublished a v3.4.13 on some repositories to fix them all I bumped 3.4.10 to 3.4.14
More details at #​6888.

v3.4.11

Compare Source

v3.4.10

Compare Source

Bug fixes
  • 2ee5eb496 fix(symfony): mercure exception formatting by calling array_keys() (#​6879)

v3.4.9

Compare Source

Bug fixes
Notes
  • Parameter::getValue() now takes a default value as argument getValue(mixed $default = new ParameterNotFound()): mixed
  • Parametes::get(string $key, string $parameterClass = QueryParameter::class) (but also has and remove) now has a default value as second argument to QueryParameter::class
  • Constraint violation had the wrong message when using property, fixed by using the key instead

v3.4.8

Compare Source

Bug fixes
  • 4d7deeaf7 fix(jsonld): check if supportedTypes exists (#​6825)
  • 5111935d4 fix(symfony): object typed property schema collection restriction (#​6823)
  • 6bf894f6f fix(serializer): use attribute denormalization context for constructor arguments (#​6821)
  • 86c97cac3 fix(symfony): symfony 7.2 deprecations (#​6835)
  • d312eae7e fix(doctrine): fixed orm datefilter applying inner join when no filtering values have been provided (#​6849)

v3.4.7

Compare Source

Bug fixes
  • 2d25e79e0 fix(symfony): unset item_uri_template when serializing an error (#​6816)

v3.4.6

Compare Source

Bug fixes

v3.4.5

Compare Source

Bug fixes

v3.4.4

Compare Source

Bug fixes

v3.4.3

Compare Source

Bug fixes
  • 3ca599158 fix(hydra): hydra_prefix on errors (#​6704)
  • f7f605dc8 fix: check that api-platform/ramsey-uuid is installed before registering related services (#​6696)
  • fbb53e5e3 fix(symfony): metadata aware name converter has 0 arguments by default (#​6711)

v3.4.2

Compare Source

Bug fixes
  • 0ca76fc89 fix(elasticsearch): allow elasticsearch 7 (#​6689)
  • 15d61c4b7 fix(metadata): using parameters in fromClass and toClass uriVariables' options (#​6663)
  • 2e2044636 fix(metadata): parameter provider in a long running http worker (#​6683)
  • 4c58b33e8 fix(jsonapi): fixed definition name to allow using the same class names in different namespaces (#​6676)
  • 4f5f56756 fix: remove hydra prefix on errors (#​6624)
  • afe7d47d7 fix(metadata): passing class as parameter in XML ApiResource's definition (#​6659)
  • b93ee467c fix(metadata): overwriting XML ApiResource definition by YAML ApiResource definition (#​6660)

v3.4.1

Compare Source

Bug fixes
  • dc4fc84ba fix(graphql): securityAfterResolver not called
  • 9eb5c4e94 fix(symfony): suggest DocumentationAction as replacement for deprecated SwaggerUiAction (#​6894)

v3.4.0

Compare Source

Deprecations:

Namespaces like ApiPlatform/Api or ApiPlatform/Util are deprecated and will be removed in 4.0.
You should now install api-platform/symfony instead of api-platform/core.

Read the upgrade guide for detailed steps.

Bug fixes

Various fixes for components isolation.

Features

v3.3.15

Compare Source

Bug fixes
  • dc4fc84ba fix(graphql): securityAfterResolver not called
  • 9eb5c4e94 fix(symfony): suggest DocumentationAction as replacement for deprecated SwaggerUiAction (#​6894)

v3.3.14

Compare Source

Bug fixes
  • 4c58b33e8 fix(jsonapi): fixed definition name to allow using the same class names in different namespaces (#​6676)

v3.3.13

Compare Source

Bug fixes

v3.3.12

Compare Source

Bug fixes
  • 0a461d749 fix(symfony): allow schema restriction for collection like property from choice constraint (#​6520)
  • 0e91b0451 fix: use correct class in FilterValidationException deprecation message (#​6549)
  • 2da8dd326 fix(symfony): replace tagged by tagged_iterator
  • 3b42c9ff2 fix: deserialization path for not denormalizable relations collected errors (#​6537)
  • 41deeb4e4 fix(symfony): fix debug:api-resource command for class with multiple resources with same uriTemplate (#​6505)
  • 52fd9818b fix(elasticsearch): change normalize return type to compatible with other normalizers (#​6493)
  • b3d7c0768 fix(openapi): allow null return type parameter

v3.3.11

Compare Source

Features

v3.3.10

Compare Source

Bug fixes

v3.3.9

Compare Source

Bug fixes

v3.3.8

Compare Source

Bug fixes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

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

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

🔕 Ignore: Close this PR and you won't be reminded about this update again.


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

This PR was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Contributor Author

renovate bot commented Feb 26, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: composer.lock
Command failed: composer update api-platform/core:4.0.18 --with-dependencies --ignore-platform-req='ext-*' --ignore-platform-req='lib-*' --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins
Loading composer repositories with package information
Dependency symfony/property-access is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Dependency symfony/property-info is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Dependency symfony/serializer is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Dependency symfony/web-link is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Dependency symfony/mime is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires api-platform/core ^4.0 -> satisfiable by api-platform/core[v4.0.18].
    - api-platform/core v4.0.18 requires php >=8.2 -> your php version (8.1; overridden via config.platform, same as actual) does not satisfy that requirement.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

@renovate renovate bot force-pushed the renovate/main-api-platform-core-4.x branch from 56d17f7 to 4b467a3 Compare February 27, 2025 07:12
@renovate renovate bot changed the title Update dependency api-platform/core to v4 (main) fix(deps): update dependency api-platform/core to v4 (main) Feb 27, 2025
@CybotTM CybotTM closed this Feb 27, 2025
@renovate
Copy link
Contributor Author

renovate bot commented Feb 27, 2025

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 4.x releases. But if you manually upgrade to 4.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/main-api-platform-core-4.x branch February 27, 2025 07:34
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.

1 participant