diff --git a/api/composer.json b/api/composer.json index 4d2e6d63..c8bda0b5 100644 --- a/api/composer.json +++ b/api/composer.json @@ -5,7 +5,7 @@ "php": ">=8.3", "ext-ctype": "*", "ext-iconv": "*", - "api-platform/core": "^3.4@alpha", + "api-platform/core": "^4.0@alpha", "doctrine/common": "^3.4", "doctrine/doctrine-bundle": "^2.11", "doctrine/doctrine-fixtures-bundle": "^3.5", diff --git a/api/composer.lock b/api/composer.lock index 5f8f1754..eaacc66f 100644 --- a/api/composer.lock +++ b/api/composer.lock @@ -4,20 +4,20 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "c1a85d641d133cd9ebc9d5114409c9ad", + "content-hash": "834f9e7aa8d6da7fd041cc59325d62fc", "packages": [ { "name": "api-platform/core", - "version": "v3.4.0-alpha.1", + "version": "v4.0.0-alpha.3", "source": { "type": "git", "url": "https://github.com/api-platform/core.git", - "reference": "4b5ea85e2cf33d2c0d6afa7ce38ab1bf819bb771" + "reference": "93911b1039fffc5c5c9fe30529b75487e9786252" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/api-platform/core/zipball/4b5ea85e2cf33d2c0d6afa7ce38ab1bf819bb771", - "reference": "4b5ea85e2cf33d2c0d6afa7ce38ab1bf819bb771", + "url": "https://api.github.com/repos/api-platform/core/zipball/93911b1039fffc5c5c9fe30529b75487e9786252", + "reference": "93911b1039fffc5c5c9fe30529b75487e9786252", "shasum": "" }, "require": { @@ -33,7 +33,7 @@ "symfony/serializer": "^6.4 || ^7.1", "symfony/translation-contracts": "^3.3", "symfony/web-link": "^6.4 || ^7.1", - "willdurand/negotiation": "^3.0" + "willdurand/negotiation": "^3.1" }, "conflict": { "doctrine/common": "<3.2.2", @@ -41,43 +41,67 @@ "doctrine/mongodb-odm": "<2.4", "doctrine/orm": "<2.14.0", "doctrine/persistence": "<1.3", - "elasticsearch/elasticsearch": ">=8.0,<8.4", "phpspec/prophecy": "<1.15", "phpunit/phpunit": "<9.5", "symfony/framework-bundle": "6.4.6 || 7.1.6", "symfony/var-exporter": "<6.1.1" }, "require-dev": { + "api-platform/doctrine-common": "@dev || ^3.2 || ^4.0", + "api-platform/doctrine-odm": "@dev || ^3.2 || ^4.0", + "api-platform/doctrine-orm": "@dev || ^3.2 || ^4.0", + "api-platform/documentation": "@dev || ^3.2 || ^4.0", + "api-platform/elasticsearch": "@dev || ^3.2 || ^4.0", + "api-platform/graphql": "@dev || ^3.2 || ^4.0", + "api-platform/http-cache": "@dev || ^3.2 || ^4.0", + "api-platform/hydra": "@dev || ^3.2 || ^4.0", + "api-platform/json-api": "@dev || ^3.2 || ^4.0", + "api-platform/json-schema": "@dev || ^3.2 || ^4.0", + "api-platform/jsonld": "@dev || ^3.2 || ^4.0", + "api-platform/metadata": "@dev || ^3.2 || ^4.0", + "api-platform/openapi": "@dev || ^3.2 || ^4.0", + "api-platform/ramsey-uuid": "@dev || ^3.2 || ^4.0", + "api-platform/serializer": "@dev || ^3.2 || ^4.0", + "api-platform/state": "@dev || ^3.2 || ^4.0", + "api-platform/validator": "@dev || ^3.2 || ^4.0", "behat/behat": "^3.11", "behat/mink": "^1.9", "doctrine/cache": "^1.11 || ^2.1", "doctrine/common": "^3.2.2", - "doctrine/dbal": "^3.4.0 || ^4.0", - "doctrine/doctrine-bundle": "^1.12 || ^2.0", - "doctrine/mongodb-odm": "^2.2", + "doctrine/dbal": "^4.0", + "doctrine/doctrine-bundle": "^2.11", + "doctrine/mongodb-odm": "^2.6", "doctrine/mongodb-odm-bundle": "^4.0 || ^5.0", - "doctrine/orm": "^2.14 || ^3.0", - "elasticsearch/elasticsearch": "^7.11 || ^8.4", + "doctrine/orm": "^2.17 || ^3.0", + "elasticsearch/elasticsearch": "^8.4", "friends-of-behat/mink-browserkit-driver": "^1.3.1", "friends-of-behat/mink-extension": "^2.2", "friends-of-behat/symfony-extension": "^2.1", - "guzzlehttp/guzzle": "^6.0 || ^7.1", + "guzzlehttp/guzzle": "^6.0 || ^7.0", + "illuminate/config": "^11.0", + "illuminate/contracts": "^11.0", + "illuminate/database": "^11.0", + "illuminate/http": "^11.0", + "illuminate/pagination": "^11.0", + "illuminate/routing": "^11.0", + "illuminate/support": "^11.0", "jangregor/phpstan-prophecy": "^1.0", - "justinrainbow/json-schema": "^5.2.1", - "phpspec/prophecy-phpunit": "^2.0", + "justinrainbow/json-schema": "^5.2.11", + "laravel/framework": "^11.0", + "orchestra/testbench": "^9.1", + "phpspec/prophecy-phpunit": "^2.2", "phpstan/extension-installer": "^1.1", "phpstan/phpdoc-parser": "^1.13", "phpstan/phpstan": "^1.10", "phpstan/phpstan-doctrine": "^1.0", "phpstan/phpstan-phpunit": "^1.0", "phpstan/phpstan-symfony": "^1.0", - "phpunit/phpunit": "^9.6", + "phpunit/phpunit": "^11.2", "psr/log": "^1.0 || ^2.0 || ^3.0", - "ramsey/uuid": "^3.9.7 || ^4.0", - "ramsey/uuid-doctrine": "^1.4 || ^2.0 || ^3.0", - "sebastian/comparator": "<5.0", - "soyuka/contexts": "v3.3.9", - "soyuka/pmu": "^0.0.4", + "ramsey/uuid": "^4.0", + "ramsey/uuid-doctrine": "^2.0", + "soyuka/contexts": "^3.3.10", + "soyuka/pmu": "^0.0.5", "soyuka/stubs-mongodb": "^1.0", "symfony/asset": "^6.4 || ^7.1", "symfony/browser-kit": "^6.4 || ^7.1", @@ -86,7 +110,7 @@ "symfony/console": "^6.4 || ^7.1", "symfony/css-selector": "^6.4 || ^7.1", "symfony/dependency-injection": "^6.4 || ^7.1", - "symfony/doctrine-bridge": "^6.4 || ^7.1", + "symfony/doctrine-bridge": "^6.4.2 || ^7.1.2", "symfony/dom-crawler": "^6.4 || ^7.1", "symfony/error-handler": "^6.4 || ^7.1", "symfony/event-dispatcher": "^6.4 || ^7.1", @@ -99,7 +123,6 @@ "symfony/maker-bundle": "^1.24", "symfony/mercure-bundle": "*", "symfony/messenger": "^6.4 || ^7.1", - "symfony/phpunit-bridge": "^6.4.1 || ^7.1", "symfony/routing": "^6.4 || ^7.1", "symfony/security-bundle": "^6.4 || ^7.1", "symfony/security-core": "^6.4 || ^7.1", @@ -111,7 +134,7 @@ "symfony/web-profiler-bundle": "^6.4 || ^7.1", "symfony/yaml": "^6.4 || ^7.1", "twig/twig": "^1.42.3 || ^2.12 || ^3.0", - "webonyx/graphql-php": "^14.0 || ^15.0" + "webonyx/graphql-php": "^15.0" }, "suggest": { "doctrine/mongodb-odm-bundle": "To support MongoDB. Only versions 4.0 and later are supported.", @@ -153,12 +176,13 @@ "api-platform/graphql", "api-platform/http-cache", "api-platform/documentation", - "api-platform/parameter-validator", "api-platform/ramsey-uuid", "api-platform/serializer", "api-platform/state", "api-platform/symfony", - "api-platform/validator" + "api-platform/validator", + "api-platform/laravel", + "api-platform/json-api" ] }, "autoload": { @@ -192,9 +216,9 @@ ], "support": { "issues": "https://github.com/api-platform/core/issues", - "source": "https://github.com/api-platform/core/tree/v3.4.0-alpha.1" + "source": "https://github.com/api-platform/core/tree/v4.0.0-alpha.3" }, - "time": "2024-08-10T08:17:16+00:00" + "time": "2024-08-13T09:38:46+00:00" }, { "name": "brick/math", diff --git a/api/config/packages/api_platform.yaml b/api/config/packages/api_platform.yaml index 92347958..b6681a86 100644 --- a/api/config/packages/api_platform.yaml +++ b/api/config/packages/api_platform.yaml @@ -1,6 +1,6 @@ api_platform: title: API Platform's demo - version: 3.4.0 + version: 4.0.0-alpha description: | This is a demo application of the [API Platform](https://api-platform.com) framework. [Its source code](https://github.com/api-platform/demo) includes various examples, check it out! @@ -28,9 +28,6 @@ api_platform: extra_properties: standard_put: true rfc_7807_compliant_errors: true - use_symfony_listeners: false - event_listeners_backward_compatibility_layer: false - keep_legacy_inflector: false oauth: enabled: true clientId: '%env(OIDC_SWAGGER_CLIENT_ID)%' diff --git a/helm/api-platform/Chart.yaml b/helm/api-platform/Chart.yaml index 59a2ecce..d8929a45 100644 --- a/helm/api-platform/Chart.yaml +++ b/helm/api-platform/Chart.yaml @@ -17,12 +17,12 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 3.4.0 +version: 4.0.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. -appVersion: 3.4.0 +appVersion: 4.0.0 dependencies: - name: postgresql