Release 2.35 (#5470)

* open up API for plugins by removing internal
* use constants in entity column definition
* simplified entity management API
* bump packages
* allow installing assets and run database migrations independently
* bump to apidoc-bundle 5
* do not duplicate http method in API operationId
* new security entries in Open API definition
* changed API UI provider for Swagger to Stoplight, improved endpoint titles, hide internal endpoints
* deactivate swagger json endpoint
This commit is contained in:
Kevin Papst
2025-05-24 14:28:39 +02:00
committed by GitHub
parent 6e26a37c4d
commit 1e0fbf0b73
63 changed files with 518 additions and 529 deletions

180
composer.lock generated
View File

@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "583b9b2747672ce16a337f137a0fe507",
"content-hash": "05802c03af8f523624d93297a3a658eb",
"packages": [
{
"name": "azuyalabs/yasumi",
@@ -180,6 +180,7 @@
"issues": "https://github.com/Behat/Transliterator/issues",
"source": "https://github.com/Behat/Transliterator/tree/v1.5.0"
},
"abandoned": true,
"time": "2022-03-30T09:27:43+00:00"
},
{
@@ -945,16 +946,16 @@
},
{
"name": "doctrine/doctrine-migrations-bundle",
"version": "3.4.1",
"version": "3.4.2",
"source": {
"type": "git",
"url": "https://github.com/doctrine/DoctrineMigrationsBundle.git",
"reference": "e858ce0f5c12b266dce7dce24834448355155da7"
"reference": "5a6ac7120c2924c4c070a869d08b11ccf9e277b9"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/zipball/e858ce0f5c12b266dce7dce24834448355155da7",
"reference": "e858ce0f5c12b266dce7dce24834448355155da7",
"url": "https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/zipball/5a6ac7120c2924c4c070a869d08b11ccf9e277b9",
"reference": "5a6ac7120c2924c4c070a869d08b11ccf9e277b9",
"shasum": ""
},
"require": {
@@ -968,7 +969,6 @@
"composer/semver": "^3.0",
"doctrine/coding-standard": "^12",
"doctrine/orm": "^2.6 || ^3",
"doctrine/persistence": "^2.0 || ^3",
"phpstan/phpstan": "^1.4 || ^2",
"phpstan/phpstan-deprecation-rules": "^1 || ^2",
"phpstan/phpstan-phpunit": "^1 || ^2",
@@ -1011,7 +1011,7 @@
],
"support": {
"issues": "https://github.com/doctrine/DoctrineMigrationsBundle/issues",
"source": "https://github.com/doctrine/DoctrineMigrationsBundle/tree/3.4.1"
"source": "https://github.com/doctrine/DoctrineMigrationsBundle/tree/3.4.2"
},
"funding": [
{
@@ -1027,7 +1027,7 @@
"type": "tidelift"
}
],
"time": "2025-01-27T22:48:22+00:00"
"time": "2025-03-11T17:36:26+00:00"
},
{
"name": "doctrine/event-manager",
@@ -2463,16 +2463,16 @@
},
{
"name": "kevinpapst/tabler-bundle",
"version": "1.8.0",
"version": "1.8.1",
"source": {
"type": "git",
"url": "https://github.com/kevinpapst/TablerBundle.git",
"reference": "7cf2672d7181041efe0ccb9b1186bc0d87816735"
"reference": "a1b09b766a4bfd909217db83cab7a794b25d2cb6"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/kevinpapst/TablerBundle/zipball/7cf2672d7181041efe0ccb9b1186bc0d87816735",
"reference": "7cf2672d7181041efe0ccb9b1186bc0d87816735",
"url": "https://api.github.com/repos/kevinpapst/TablerBundle/zipball/a1b09b766a4bfd909217db83cab7a794b25d2cb6",
"reference": "a1b09b766a4bfd909217db83cab7a794b25d2cb6",
"shasum": ""
},
"require": {
@@ -2522,7 +2522,7 @@
"description": "Admin/Backend theme bundle for Symfony based on Tabler.io",
"support": {
"issues": "https://github.com/kevinpapst/TablerBundle/issues",
"source": "https://github.com/kevinpapst/TablerBundle/tree/1.8.0"
"source": "https://github.com/kevinpapst/TablerBundle/tree/1.8.1"
},
"funding": [
{
@@ -2534,7 +2534,7 @@
"type": "github"
}
],
"time": "2025-04-20T12:41:26+00:00"
"time": "2025-05-16T14:21:41+00:00"
},
{
"name": "league/csv",
@@ -3202,74 +3202,73 @@
},
{
"name": "nelmio/api-doc-bundle",
"version": "v4.38.2",
"version": "v5.2.0",
"source": {
"type": "git",
"url": "https://github.com/nelmio/NelmioApiDocBundle.git",
"reference": "fdc1cf5bc57287787db59f205a8e77485bd22072"
"reference": "f48d9cb3930a34df209547ffd86db01254d5fce8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/nelmio/NelmioApiDocBundle/zipball/fdc1cf5bc57287787db59f205a8e77485bd22072",
"reference": "fdc1cf5bc57287787db59f205a8e77485bd22072",
"url": "https://api.github.com/repos/nelmio/NelmioApiDocBundle/zipball/f48d9cb3930a34df209547ffd86db01254d5fce8",
"reference": "f48d9cb3930a34df209547ffd86db01254d5fce8",
"shasum": ""
},
"require": {
"ext-json": "*",
"php": ">=7.4",
"phpdocumentor/reflection-docblock": "^4.3.4 || ^5.0",
"php": ">=8.1",
"phpdocumentor/reflection-docblock": "^5.0",
"phpdocumentor/type-resolver": "^1.8.2",
"psr/cache": "^1.0 || ^2.0 || ^3.0",
"psr/container": "^1.0 || ^2.0",
"psr/log": "^1.0 || ^2.0 || ^3.0",
"symfony/config": "^5.4 || ^6.4 || ^7.1",
"symfony/console": "^5.4 || ^6.4 || ^7.1",
"symfony/dependency-injection": "^5.4 || ^6.4 || ^7.1",
"symfony/config": "^6.4 || ^7.1",
"symfony/console": "^6.4 || ^7.1",
"symfony/dependency-injection": "^6.4 || ^7.1",
"symfony/deprecation-contracts": "^2.1 || ^3",
"symfony/framework-bundle": "^5.4.24 || ^6.4 || ^7.1",
"symfony/http-foundation": "^5.4 || ^6.4 || ^7.1",
"symfony/http-kernel": "^5.4 || ^6.4 || ^7.1",
"symfony/options-resolver": "^5.4 || ^6.4 || ^7.1",
"symfony/property-info": "^5.4.10 || ^6.4 || ^7.1",
"symfony/routing": "^5.4 || ^6.4 || ^7.1",
"symfony/framework-bundle": "^6.4 || ^7.1",
"symfony/http-foundation": "^6.4 || ^7.1",
"symfony/http-kernel": "^6.4 || ^7.1",
"symfony/options-resolver": "^6.4 || ^7.1",
"symfony/property-info": "^6.4 || ^7.1",
"symfony/routing": "^6.4 || ^7.1",
"zircote/swagger-php": "^4.11.1 || ^5.0"
},
"conflict": {
"zircote/swagger-php": "4.8.7"
},
"require-dev": {
"api-platform/core": "^2.7.0 || ^3",
"composer/package-versions-deprecated": "1.11.99.1",
"doctrine/annotations": "^2.0",
"api-platform/core": "^3.2",
"friendsofphp/php-cs-fixer": "^3.52",
"friendsofsymfony/rest-bundle": "^2.8 || ^3.0",
"jms/serializer": "^1.14 || ^3.0",
"jms/serializer-bundle": "^2.3 || ^3.0 || ^4.0 || ^5.0",
"friendsofsymfony/rest-bundle": "^3.2.0",
"jms/serializer": "^3.32",
"jms/serializer-bundle": "^5.5",
"phpstan/phpstan": "^1.10",
"phpstan/phpstan-phpunit": "^1.3",
"phpstan/phpstan-strict-rules": "^1.5",
"phpstan/phpstan-symfony": "^1.3",
"phpunit/phpunit": "^9.6 || ^10.5",
"symfony/asset": "^5.4 || ^6.4 || ^7.1",
"symfony/browser-kit": "^5.4 || ^6.4 || ^7.1",
"symfony/cache": "^5.4 || ^6.4 || ^7.1",
"symfony/dom-crawler": "^5.4 || ^6.4 || ^7.1",
"symfony/expression-language": "^5.4 || ^6.4 || ^7.1",
"symfony/form": "^5.4 || ^6.4 || ^7.1",
"symfony/phpunit-bridge": "^6.4",
"symfony/property-access": "^5.4 || ^6.4 || ^7.1",
"symfony/security-csrf": "^5.4 || ^6.4 || ^7.1",
"symfony/serializer": "^5.4 || ^6.4 || ^7.1",
"symfony/stopwatch": "^5.4 || ^6.4 || ^7.1",
"symfony/templating": "^5.4 || ^6.4 || ^7.1",
"symfony/twig-bundle": "^5.4 || ^6.4 || ^7.1",
"symfony/uid": "^5.4 || ^6.4 || ^7.1",
"symfony/validator": "^5.4 || ^6.4 || ^7.1",
"willdurand/hateoas-bundle": "^1.0 || ^2.0"
"phpunit/phpunit": "^10.5",
"symfony/asset": "^6.4 || ^7.1",
"symfony/browser-kit": "^6.4 || ^7.1",
"symfony/cache": "^6.4 || ^7.1",
"symfony/dom-crawler": "^6.4 || ^7.1",
"symfony/expression-language": "^6.4 || ^7.1",
"symfony/finder": "^6.4 || ^7.1",
"symfony/form": "^6.4 || ^7.1",
"symfony/phpunit-bridge": "^6.4 || ^7.1",
"symfony/property-access": "^6.4 || ^7.1",
"symfony/security-csrf": "^6.4 || ^7.1",
"symfony/security-http": "^6.4 || ^7.1",
"symfony/serializer": "^6.4 || ^7.1",
"symfony/stopwatch": "^6.4 || ^7.1",
"symfony/templating": "^6.4 || ^7.1",
"symfony/twig-bundle": "^6.4 || ^7.1",
"symfony/uid": "^6.4 || ^7.1",
"symfony/validator": "^6.4 || ^7.1",
"willdurand/hateoas-bundle": "^2.7",
"willdurand/negotiation": "^3.0"
},
"suggest": {
"api-platform/core": "For using an API oriented framework.",
"doctrine/annotations": "For using doctrine annotations",
"friendsofsymfony/rest-bundle": "For using the parameters annotations.",
"jms/serializer-bundle": "For describing your models.",
"symfony/asset": "For using the Swagger UI.",
@@ -3285,7 +3284,8 @@
"type": "symfony-bundle",
"extra": {
"branch-alias": {
"dev-4.x": "4.x-dev"
"dev-4.x": "4.x-dev",
"dev-5.x": "5.x-dev"
}
},
"autoload": {
@@ -3303,7 +3303,7 @@
"homepage": "https://github.com/nelmio/NelmioApiDocBundle/contributors"
}
],
"description": "Generates documentation for your REST API from annotations and attributes",
"description": "Generates documentation for your REST API from attributes",
"keywords": [
"api",
"doc",
@@ -3312,7 +3312,7 @@
],
"support": {
"issues": "https://github.com/nelmio/NelmioApiDocBundle/issues",
"source": "https://github.com/nelmio/NelmioApiDocBundle/tree/v4.38.2"
"source": "https://github.com/nelmio/NelmioApiDocBundle/tree/v5.2.0"
},
"funding": [
{
@@ -3320,7 +3320,7 @@
"type": "github"
}
],
"time": "2025-03-24T15:00:53+00:00"
"time": "2025-05-23T21:30:13+00:00"
},
{
"name": "nelmio/cors-bundle",
@@ -6438,16 +6438,16 @@
},
{
"name": "symfony/flex",
"version": "v2.5.0",
"version": "v2.7.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/flex.git",
"reference": "8ce1acd9842abe0e9b4c4a0bd3f259859516c018"
"reference": "5d743b3b78fabe9f3146586d77b0a1f9292851fc"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/flex/zipball/8ce1acd9842abe0e9b4c4a0bd3f259859516c018",
"reference": "8ce1acd9842abe0e9b4c4a0bd3f259859516c018",
"url": "https://api.github.com/repos/symfony/flex/zipball/5d743b3b78fabe9f3146586d77b0a1f9292851fc",
"reference": "5d743b3b78fabe9f3146586d77b0a1f9292851fc",
"shasum": ""
},
"require": {
@@ -6486,7 +6486,7 @@
"description": "Composer plugin for Symfony",
"support": {
"issues": "https://github.com/symfony/flex/issues",
"source": "https://github.com/symfony/flex/tree/v2.5.0"
"source": "https://github.com/symfony/flex/tree/v2.7.0"
},
"funding": [
{
@@ -6502,7 +6502,7 @@
"type": "tidelift"
}
],
"time": "2025-03-03T07:50:46+00:00"
"time": "2025-05-23T11:41:40+00:00"
},
{
"name": "symfony/form",
@@ -10357,16 +10357,16 @@
},
{
"name": "zircote/swagger-php",
"version": "5.1.1",
"version": "5.1.3",
"source": {
"type": "git",
"url": "https://github.com/zircote/swagger-php.git",
"reference": "7a6544c60441ddb5959b91266b3a290dc28537ba"
"reference": "b8ba6bd99805c0ae09a38d1b26c1c92820509bd0"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/zircote/swagger-php/zipball/7a6544c60441ddb5959b91266b3a290dc28537ba",
"reference": "7a6544c60441ddb5959b91266b3a290dc28537ba",
"url": "https://api.github.com/repos/zircote/swagger-php/zipball/b8ba6bd99805c0ae09a38d1b26c1c92820509bd0",
"reference": "b8ba6bd99805c0ae09a38d1b26c1c92820509bd0",
"shasum": ""
},
"require": {
@@ -10437,9 +10437,9 @@
],
"support": {
"issues": "https://github.com/zircote/swagger-php/issues",
"source": "https://github.com/zircote/swagger-php/tree/5.1.1"
"source": "https://github.com/zircote/swagger-php/tree/5.1.3"
},
"time": "2025-04-27T10:02:08+00:00"
"time": "2025-05-20T03:35:10+00:00"
}
],
"packages-dev": [
@@ -11274,16 +11274,16 @@
},
{
"name": "phpstan/phpstan",
"version": "2.1.14",
"version": "2.1.17",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpstan.git",
"reference": "8f2e03099cac24ff3b379864d171c5acbfc6b9a2"
"reference": "89b5ef665716fa2a52ecd2633f21007a6a349053"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/8f2e03099cac24ff3b379864d171c5acbfc6b9a2",
"reference": "8f2e03099cac24ff3b379864d171c5acbfc6b9a2",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/89b5ef665716fa2a52ecd2633f21007a6a349053",
"reference": "89b5ef665716fa2a52ecd2633f21007a6a349053",
"shasum": ""
},
"require": {
@@ -11328,25 +11328,25 @@
"type": "github"
}
],
"time": "2025-05-02T15:32:28+00:00"
"time": "2025-05-21T20:55:28+00:00"
},
{
"name": "phpstan/phpstan-deprecation-rules",
"version": "2.0.2",
"version": "2.0.3",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpstan-deprecation-rules.git",
"reference": "9d8e7d4e32711715ad78a1fb6ec368df9af01fdf"
"reference": "468e02c9176891cc901143da118f09dc9505fc2f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan-deprecation-rules/zipball/9d8e7d4e32711715ad78a1fb6ec368df9af01fdf",
"reference": "9d8e7d4e32711715ad78a1fb6ec368df9af01fdf",
"url": "https://api.github.com/repos/phpstan/phpstan-deprecation-rules/zipball/468e02c9176891cc901143da118f09dc9505fc2f",
"reference": "468e02c9176891cc901143da118f09dc9505fc2f",
"shasum": ""
},
"require": {
"php": "^7.4 || ^8.0",
"phpstan/phpstan": "^2.1.13"
"phpstan/phpstan": "^2.1.15"
},
"require-dev": {
"php-parallel-lint/php-parallel-lint": "^1.2",
@@ -11373,9 +11373,9 @@
"description": "PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.",
"support": {
"issues": "https://github.com/phpstan/phpstan-deprecation-rules/issues",
"source": "https://github.com/phpstan/phpstan-deprecation-rules/tree/2.0.2"
"source": "https://github.com/phpstan/phpstan-deprecation-rules/tree/2.0.3"
},
"time": "2025-04-26T19:59:57+00:00"
"time": "2025-05-14T10:56:57+00:00"
},
{
"name": "phpstan/phpstan-doctrine",
@@ -11552,22 +11552,22 @@
},
{
"name": "phpstan/phpstan-symfony",
"version": "2.0.4",
"version": "2.0.6",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpstan-symfony.git",
"reference": "648087fb4dd865a09b1828a3b0396eb447665f2e"
"reference": "5005288e07583546ea00b52de4a9ac412eb869d7"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan-symfony/zipball/648087fb4dd865a09b1828a3b0396eb447665f2e",
"reference": "648087fb4dd865a09b1828a3b0396eb447665f2e",
"url": "https://api.github.com/repos/phpstan/phpstan-symfony/zipball/5005288e07583546ea00b52de4a9ac412eb869d7",
"reference": "5005288e07583546ea00b52de4a9ac412eb869d7",
"shasum": ""
},
"require": {
"ext-simplexml": "*",
"php": "^7.4 || ^8.0",
"phpstan/phpstan": "^2.1.2"
"phpstan/phpstan": "^2.1.13"
},
"conflict": {
"symfony/framework-bundle": "<3.0"
@@ -11577,7 +11577,7 @@
"phpstan/phpstan-phpunit": "^2.0",
"phpstan/phpstan-strict-rules": "^2.0",
"phpunit/phpunit": "^9.6",
"psr/container": "1.0 || 1.1.1",
"psr/container": "1.1.2",
"symfony/config": "^5.4 || ^6.1",
"symfony/console": "^5.4 || ^6.1",
"symfony/dependency-injection": "^5.4 || ^6.1",
@@ -11617,9 +11617,9 @@
"description": "Symfony Framework extensions and rules for PHPStan",
"support": {
"issues": "https://github.com/phpstan/phpstan-symfony/issues",
"source": "https://github.com/phpstan/phpstan-symfony/tree/2.0.4"
"source": "https://github.com/phpstan/phpstan-symfony/tree/2.0.6"
},
"time": "2025-03-28T12:02:03+00:00"
"time": "2025-05-14T07:00:05+00:00"
},
{
"name": "phpunit/php-code-coverage",