Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Apr 12, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 11, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
api-platform/core (source) 3.4.17 -> 4.1.7 age adoption passing confidence

Release Notes

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

v4.1.7

Compare Source

What's Changed

New Contributors

Full Changelog: api-platform/core@v4.1.6...v4.1.7

v4.1.6

Compare Source

Bug fixes
  • 44e560839 fix(laravel): undefined variable app
Features

v4.1.5

Compare Source

Bug fixes

v4.1.4

Compare Source

Bug fixes

v4.1.3

Compare Source

Bug fixes

v4.1.2

Compare Source

Bug fixes

v4.1.1

Compare Source

Bug fixes
Features

Also contains v4.0.20 changes.

v4.1.0

Compare Source

Bug fixes
Features

v4.0.22

Compare Source

Bug fixes

v4.0.21

Compare Source

Bug fixes
Features

v4.0.20

Compare Source

Bug fixes
  • 284937039 fix(doctrine): mapping ArrayAccess deprecation (#​6982)
  • a434173b8 fix(doctrine): Add a proper exception when a doctrine manager could not be found for a resource class (#​6995)
Features

v4.0.19

Compare Source

Bug fixes

Compatibility with Laravel 12.

v4.0.18

Compare Source

Bug fixes
Features

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
Features

v4.0.1

Compare Source

Bug fixes

Compatibility with Laravel 12.

v4.0.0

Compare Source

Bug fixes
Features

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 renovate bot force-pushed the renovate/api-platform-core-4.x branch from 85b6aea to b4b3c14 Compare April 11, 2025 20:31
@BacLuc
Copy link
Contributor

BacLuc commented Apr 11, 2025

@usu
Copy link
Member

usu commented Apr 11, 2025

Locally, the test below fails for me. On CI, all tests pass properly. Can someone try to reproduce at local machine?

There was 1 failure:

1) App\Tests\Api\Checklists\DeleteChecklistTest::testDeleteChecklisIsDeniedWhenUsedInChecklistNode
Failed asserting that an array has the subset Array &0 [
    'title' => 'An error occurred',
    'detail' => 'checklistItems[0].checklistNodes: It's not possible to delete a checklist item as long as checklist nodes are referencing it.',
].
--- Expected
+++ Actual
@@ @@
 array (
   'type' => 'https://tools.ietf.org/html/rfc2616#section-10',
   'title' => 'An error occurred',
-  'detail' => 'checklistItems[0].checklistNodes: It\'s not possible to delete a checklist item as long as checklist nodes are referencing it.',
+  'detail' => 'checklistItems[2].checklistNodes: It\'s not possible to delete a checklist item as long as checklist nodes are referencing it.',
   'violations' =>
   array (
     0 =>

@usu usu requested a review from pmattmann April 11, 2025 23:29
@usu usu requested a review from a team April 12, 2025 07:05
@usu
Copy link
Member

usu commented Apr 12, 2025

Locally, the test below fails for me. On CI, all tests pass properly. Can someone try to reproduce at local machine?

There was 1 failure:

1) App\Tests\Api\Checklists\DeleteChecklistTest::testDeleteChecklisIsDeniedWhenUsedInChecklistNode
Failed asserting that an array has the subset Array &0 [
    'title' => 'An error occurred',
    'detail' => 'checklistItems[0].checklistNodes: It's not possible to delete a checklist item as long as checklist nodes are referencing it.',
].
--- Expected
+++ Actual
@@ @@
 array (
   'type' => 'https://tools.ietf.org/html/rfc2616#section-10',
   'title' => 'An error occurred',
-  'detail' => 'checklistItems[0].checklistNodes: It\'s not possible to delete a checklist item as long as checklist nodes are referencing it.',
+  'detail' => 'checklistItems[2].checklistNodes: It\'s not possible to delete a checklist item as long as checklist nodes are referencing it.',
   'violations' =>
   array (
     0 =>

Seemed to have been some temporary issue. Failure is gone after rebuilding containers

@manuelmeister manuelmeister added the deploy! Creates a feature branch deployment for this PR label Apr 12, 2025
Copy link

github-actions bot commented Apr 12, 2025

Feature branch deployment currently inactive.

If the PR is still open, you can add the deploy! label to this PR to trigger a feature branch deployment.

Copy link
Contributor Author

renovate bot commented Apr 12, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@usu usu enabled auto-merge April 12, 2025 11:56
@usu usu temporarily deployed to feature-branch April 12, 2025 12:01 — with GitHub Actions Inactive
@usu usu added this pull request to the merge queue Apr 12, 2025
Merged via the queue into devel with commit fc93977 Apr 12, 2025
56 of 58 checks passed
@usu usu deleted the renovate/api-platform-core-4.x branch April 12, 2025 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deploy! Creates a feature branch deployment for this PR renovate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants