diff --git a/.bunnyshell/docker/php/Dockerfile b/.bunnyshell/docker/php/Dockerfile index 78df60e65c..9634e6ca5f 100644 --- a/.bunnyshell/docker/php/Dockerfile +++ b/.bunnyshell/docker/php/Dockerfile @@ -1,10 +1,10 @@ # the different stages of this Dockerfile are meant to be built into separate images # https://docs.docker.com/compose/compose-file/#target -ARG PHP_VERSION=8.1 -ARG NODE_VERSION=16 -ARG ALPINE_VERSION=3.15 -ARG COMPOSER_VERSION=2.4 +ARG PHP_VERSION=8.2 +ARG NODE_VERSION=18 +ARG ALPINE_VERSION=3.18 +ARG COMPOSER_VERSION=2.6 ARG PHP_EXTENSION_INSTALLER_VERSION=latest FROM composer:${COMPOSER_VERSION} AS composer diff --git a/.github/workflows/ci_e2e-custom.yaml b/.github/workflows/ci_e2e-custom.yaml index bafe2326e2..5e491b614f 100644 --- a/.github/workflows/ci_e2e-custom.yaml +++ b/.github/workflows/ci_e2e-custom.yaml @@ -19,7 +19,7 @@ jobs: strategy: fail-fast: false matrix: - php: [ "8.1" ] + php: [ "8.2" ] symfony: [ "^6.4" ] mysql: [ "8.0" ] @@ -53,6 +53,17 @@ jobs: run: | composer config minimum-stability dev composer config prefer-stable true + + - name: Prepare manifest.json files + run: | + mkdir -p public/build/admin + mkdir -p public/build/shop + mkdir -p public/build/app/admin + mkdir -p public/build/app/shop + echo "{}" > public/build/admin/manifest.json + echo "{}" > public/build/shop/manifest.json + echo "{}" > public/build/app/admin/manifest.json + echo "{}" > public/build/app/shop/manifest.json - name: Build application uses: SyliusLabs/BuildTestAppAction@v2.2 diff --git a/.github/workflows/ci_e2e-mariadb.yaml b/.github/workflows/ci_e2e-mariadb.yaml index b8c7c4ecc8..5033d756f3 100644 --- a/.github/workflows/ci_e2e-mariadb.yaml +++ b/.github/workflows/ci_e2e-mariadb.yaml @@ -72,7 +72,18 @@ jobs: - name: "Checkout" if: "${{ inputs.branch == '' }}" uses: actions/checkout@v3 - + + - name: Prepare manifest.json files + run: | + mkdir -p public/build/admin + mkdir -p public/build/shop + mkdir -p public/build/app/admin + mkdir -p public/build/app/shop + echo "{}" > public/build/admin/manifest.json + echo "{}" > public/build/shop/manifest.json + echo "{}" > public/build/app/admin/manifest.json + echo "{}" > public/build/app/shop/manifest.json + - name: Build application uses: SyliusLabs/BuildTestAppAction@v2.2 with: diff --git a/.github/workflows/ci_e2e-mysql.yaml b/.github/workflows/ci_e2e-mysql.yaml index fe2928eed2..47e0b521f4 100644 --- a/.github/workflows/ci_e2e-mysql.yaml +++ b/.github/workflows/ci_e2e-mysql.yaml @@ -77,6 +77,17 @@ jobs: if: matrix.twig == '^2.12' run: composer require --no-update --no-scripts --no-interaction "twig/twig:${{ matrix.twig }}" + - name: Prepare manifest.json files + run: | + mkdir -p public/build/admin + mkdir -p public/build/shop + mkdir -p public/build/app/admin + mkdir -p public/build/app/shop + echo "{}" > public/build/admin/manifest.json + echo "{}" > public/build/shop/manifest.json + echo "{}" > public/build/app/admin/manifest.json + echo "{}" > public/build/app/shop/manifest.json + - name: Build application uses: SyliusLabs/BuildTestAppAction@v2.2 with: diff --git a/.github/workflows/ci_e2e-pgsql.yaml b/.github/workflows/ci_e2e-pgsql.yaml index 1f40a70e14..1c3de2f9a5 100644 --- a/.github/workflows/ci_e2e-pgsql.yaml +++ b/.github/workflows/ci_e2e-pgsql.yaml @@ -63,7 +63,18 @@ jobs: - name: "Checkout" if: "${{ inputs.branch == '' }}" uses: actions/checkout@v3 - + + - name: Prepare manifest.json files + run: | + mkdir -p public/build/admin + mkdir -p public/build/shop + mkdir -p public/build/app/admin + mkdir -p public/build/app/shop + echo "{}" > public/build/admin/manifest.json + echo "{}" > public/build/shop/manifest.json + echo "{}" > public/build/app/admin/manifest.json + echo "{}" > public/build/app/shop/manifest.json + - name: Build application uses: SyliusLabs/BuildTestAppAction@v2.2 with: diff --git a/.github/workflows/ci_e2e-unstable.yaml b/.github/workflows/ci_e2e-unstable.yaml index ad1daacbf5..36a73b9e82 100644 --- a/.github/workflows/ci_e2e-unstable.yaml +++ b/.github/workflows/ci_e2e-unstable.yaml @@ -35,7 +35,18 @@ jobs: run: | composer config minimum-stability dev composer config prefer-stable false - + + - name: Prepare manifest.json files + run: | + mkdir -p public/build/admin + mkdir -p public/build/shop + mkdir -p public/build/app/admin + mkdir -p public/build/app/shop + echo "{}" > public/build/admin/manifest.json + echo "{}" > public/build/shop/manifest.json + echo "{}" > public/build/app/admin/manifest.json + echo "{}" > public/build/app/shop/manifest.json + - name: Build application uses: SyliusLabs/BuildTestAppAction@v2.2 with: diff --git a/.github/workflows/ci_packages-unstable.yaml b/.github/workflows/ci_packages-unstable.yaml index 7b84c19346..0d2dfe591d 100644 --- a/.github/workflows/ci_packages-unstable.yaml +++ b/.github/workflows/ci_packages-unstable.yaml @@ -40,7 +40,7 @@ jobs: matrix: ${{ fromJson(needs.get-matrix.outputs.matrix) }} env: - COMPOSER_ROOT_VERSION: "dev-master" + COMPOSER_ROOT_VERSION: "dev-main" SYMFONY_VERSION: "${{ matrix.symfony }}" UNSTABLE: "yes" diff --git a/.github/workflows/ci_packages.yaml b/.github/workflows/ci_packages.yaml index ac1005cf58..f1e3a09a31 100644 --- a/.github/workflows/ci_packages.yaml +++ b/.github/workflows/ci_packages.yaml @@ -38,29 +38,6 @@ jobs: path: '.github/workflows/matrix.json' prop_path: '${{ inputs.type }}.packages' - get-matrix-swiftmailer: - runs-on: ubuntu-latest - name: "Get matrix (Swiftmailer)" - outputs: - matrix: ${{ steps.matrix.outputs.prop }} - steps: - - name: "Checkout (With Branch)" - if: "${{ inputs.branch != '' }}" - uses: actions/checkout@v3 - with: - ref: ${{ inputs.branch }} - - - name: "Checkout" - if: "${{ inputs.branch == '' }}" - uses: actions/checkout@v3 - - - name: "Get matrix" - id: matrix - uses: notiz-dev/github-action-json-property@release - with: - path: '.github/workflows/matrix.json' - prop_path: '${{ inputs.type }}.packages-swiftmailer' - test: needs: get-matrix runs-on: ubuntu-latest @@ -72,7 +49,7 @@ jobs: matrix: ${{ fromJson(needs.get-matrix.outputs.matrix) }} env: - COMPOSER_ROOT_VERSION: "dev-master" + COMPOSER_ROOT_VERSION: "dev-main" SYMFONY_VERSION: "${{ matrix.symfony }}" UNSTABLE: "no" @@ -117,63 +94,3 @@ jobs: - name: "Run pipeline" run: find src/Sylius -mindepth 3 -maxdepth 3 -type f -name composer.json -exec dirname '{}' \; | sed -e 's/src\/Sylius\///g' | sort | jq --raw-input . | jq --slurp . | jq -c . | xargs -0 vendor/bin/robo ci:packages - - test_with_swiftmailer: - needs: get-matrix-swiftmailer - runs-on: ubuntu-latest - name: "PHP ${{ matrix.php }}, Symfony ${{ matrix.symfony }}, Swiftmailer" - timeout-minutes: 25 - - strategy: - fail-fast: false - matrix: ${{fromJson(needs.get-matrix-swiftmailer.outputs.matrix)}} - - env: - APP_ENV: "test_with_swiftmailer" - COMPOSER_ROOT_VERSION: "dev-master" - SYMFONY_VERSION: "${{ matrix.symfony }}" - USE_SWIFTMAILER: "yes" - UNSTABLE: "no" - PACKAGES: '["Bundle/CoreBundle", "Bundle/ApiBundle", "Bundle/AdminBundle"]' - - steps: - - name: "Checkout (With Branch)" - if: "${{ inputs.branch != '' }}" - uses: actions/checkout@v3 - with: - ref: ${{ inputs.branch }} - - - name: "Checkout" - if: "${{ inputs.branch == '' }}" - uses: actions/checkout@v3 - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: "${{ matrix.php }}" - coverage: none - - - name: Restrict Symfony version - if: matrix.symfony != '' - run: | - composer global config --no-plugins allow-plugins.symfony/flex true - composer global require --no-progress --no-scripts --no-plugins "symfony/flex:1.18.5" - composer config extra.symfony.require "${{ matrix.symfony }}" - - - name: Get Composer cache directory - id: composer-cache - run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - - - name: Cache Composer - uses: actions/cache@v3 - with: - path: ${{ steps.composer-cache.outputs.dir }} - key: "${{ github.run_id }}-${{ runner.os }}-${{ hashFiles('composer.json') }}-symfony-${{ matrix.symfony }}-" - restore-keys: | - "${{ github.run_id }}-${{ runner.os }}-${{ hashFiles('composer.json') }}-symfony-${{ matrix.symfony }}-" - - - name: Install dependencies - run: composer update --no-interaction --no-scripts - - - name: "Run pipeline" - run: vendor/bin/robo ci:packages '${{ env.PACKAGES }}' diff --git a/.github/workflows/matrix.json b/.github/workflows/matrix.json index 9168c13afb..a08b8e6d7e 100644 --- a/.github/workflows/matrix.json +++ b/.github/workflows/matrix.json @@ -2,11 +2,6 @@ "minimal": { "static-checks": { "include": [ - { - "php": "8.0", - "symfony": "^5.4", - "api-platform": "^2.7.10" - }, { "php": "8.2", "symfony": "^6.4", @@ -16,11 +11,6 @@ }, "e2e-mariadb": { "include": [ - { - "php": "8.0", - "symfony": "^5.4", - "mariadb": "10.4.10" - }, { "php": "8.2", "symfony": "^6.4", @@ -31,13 +21,6 @@ }, "e2e-mysql": { "include": [ - { - "php": "8.0", - "symfony": "^5.4", - "api-platform": "^2.7.10", - "mysql": "5.7", - "twig": "^2.12" - }, { "php": "8.2", "symfony": "^6.4", @@ -49,11 +32,6 @@ }, "e2e-pgsql": { "include": [ - { - "php": "8.0", - "symfony": "^5.4", - "postgres": "13.9" - }, { "php": "8.2", "symfony": "^6.4", @@ -63,10 +41,6 @@ }, "packages": { "include": [ - { - "php": "8.0", - "symfony": "^5.4" - }, { "php": "8.2", "symfony": "^6.4" @@ -84,73 +58,30 @@ }, "full": { "static-checks": { - "php": [ "8.0", "8.1", "8.2" ], - "symfony": [ "^5.4", "^6.4" ], - "api-platform": [ "^2.7.10" ], - "exclude": [ - { - "php": "8.0", - "symfony": "^6.4" - } - ] + "php": [ "8.2" ], + "symfony": [ "^6.4" ], + "api-platform": [ "^2.7.10" ] }, "e2e-mariadb": { - "php": [ "8.0", "8.1", "8.2" ], - "symfony": [ "^5.4", "^6.4" ], - "mariadb": [ "10.4.10" ], - "exclude": [ - { - "php": "8.0", - "symfony": "^6.4" - } - ] + "php": [ "8.2" ], + "symfony": [ "^6.4" ], + "mariadb": [ "10.4.10" ] }, "e2e-mysql": { - "php": [ "8.0", "8.1", "8.2" ], - "symfony": [ "^5.4", "^6.4" ], + "php": [ "8.2" ], + "symfony": [ "^6.4" ], "api-platform": [ "^2.7.10" ], "mysql": [ "5.7", "8.0" ], - "twig": [ "^3.3" ], - "include": [ - { - "php": "8.0", - "symfony": "^5.4", - "api-platform": "^2.7.10", - "mysql": "5.7", - "twig": "^2.12" - } - ], - "exclude": [ - { - "php": "8.0", - "symfony": "^6.4" - } - ] + "twig": [ "^3.3" ] }, "e2e-pgsql": { - "php": [ "8.0", "8.1", "8.2" ], - "symfony": [ "^5.4", "^6.4" ], - "postgres": [ "13.9", "14.6" ], - "exclude": [ - { - "php": "8.0", - "symfony": "^6.4" - } - ] + "php": [ "8.2" ], + "symfony": [ "^6.4" ], + "postgres": [ "13.9", "14.6" ] }, "packages": { - "php": [ "8.0", "8.1", "8.2" ], - "symfony": [ "^5.4", "^6.4" ], - "exclude": [ - { - "php": "8.0", - "symfony": "^6.4" - } - ] - }, - "packages-swiftmailer": { - "php": [ "8.0", "8.1" ], - "symfony": [ "^5.4" ] + "php": [ "8.2" ], + "symfony": [ "^6.4" ] } } } diff --git a/.gitignore b/.gitignore index fb2dea6195..a6f5cf3588 100644 --- a/.gitignore +++ b/.gitignore @@ -59,4 +59,5 @@ docker-compose.override.yml npm-debug.log yarn-error.log yarn.lock +package-lock.json ###< symfony/webpack-encore-bundle ### diff --git a/.symfony.insight.yaml b/.symfony.insight.yaml deleted file mode 100644 index eb78109208..0000000000 --- a/.symfony.insight.yaml +++ /dev/null @@ -1,9 +0,0 @@ -php_version: 7.4 - -pre_composer_script: | - #!/bin/bash - composer config platform.php 7.4.8 - -commit_failure_conditions: - - "pr.severity.critical > 0" - - "pr.severity.major > 0" diff --git a/CHANGELOG-1.0.md b/CHANGELOG-1.0.md deleted file mode 100644 index 3d0fa27646..0000000000 --- a/CHANGELOG-1.0.md +++ /dev/null @@ -1,327 +0,0 @@ -# CHANGELOG FOR `1.0.X` - -## v1.0.18 (2018-07-10) - -#### TL;DR - -- Fixing the application after not-so-perfect security issue fix in the last release - -#### Details - -- [See the diff since the last patch release](https://github.com/Sylius/Sylius/compare/v1.0.17...v1.0.18) - -## v1.0.17 (2018-07-08) - -#### TL;DR - -- **SECURITY FIX:** Added CSRF protection for the following action: - - - marking order's payment as completed - - marking order's payment as refunded - - marking product review as accepted - - marking product review as rejected - -#### Details - -- [#9475](https://github.com/Sylius/Sylius/pull/9475) Make Stalebot less annoying (@Zales0123) -- [#9515](https://github.com/Sylius/Sylius/pull/9515) [Documentation] Fix typos (@adrienlucas) -- [#9491](https://github.com/Sylius/Sylius/pull/9491) [Documentation] Document Forum in the support section (@CoderMaggie) - -## v1.0.16 (2018-06-12) - -#### TL;DR - -- This is the last bugfix release of `1.0` branch -- Lots of bugfixes - -#### Details - -- [#9418](https://github.com/Sylius/Sylius/pull/9418) Update Model.ProductOption.yml (@severino32) -- [#9419](https://github.com/Sylius/Sylius/pull/9419) Moved IE css polyfills (@czende) -- [#9424](https://github.com/Sylius/Sylius/pull/9424) Lazy load Doctrine event listeners (@teohhanhui) -- [#9436](https://github.com/Sylius/Sylius/pull/9436) [Addressing] Fix default validation groups of AddressType (@vvasiloi) -- [#9444](https://github.com/Sylius/Sylius/pull/9444) [Documentation] Fixed typo in note about --force-with-lease flag (@pmikolajek) -- [#9462](https://github.com/Sylius/Sylius/pull/9462) Remove two redundant services from CoreBundle (@jafaronly) -- [#9464](https://github.com/Sylius/Sylius/pull/9464) Fixed typo in PayumController (@qkdreyer) -- [#9465](https://github.com/Sylius/Sylius/pull/9465) [Documentation] Fix deprecated link to repository (@CoderMaggie) -- [#9466](https://github.com/Sylius/Sylius/pull/9466) Document "event" option in resource routing (@Zales0123) -- [#9467](https://github.com/Sylius/Sylius/pull/9467) Update outdated method prototype('array') with arrayPrototype() (@jafaronly) -- [#9470](https://github.com/Sylius/Sylius/pull/9470) [Documentation] Updated link to Payum docs (@pogorivan) -- [#9477](https://github.com/Sylius/Sylius/pull/9477) Remove labels descriptions in docs (@pamil) - -## v1.0.15 (2018-05-21) - -- [#9334](https://github.com/Sylius/Sylius/pull/9334) Quote usage of !!int to remove deprecation warning (@stefandoorn) -- [#9335](https://github.com/Sylius/Sylius/pull/9335) Make sure controller services are public (@teohhanhui) -- [#9339](https://github.com/Sylius/Sylius/pull/9339) Fix product repository's service id in docs (@hectorj) -- [#9344](https://github.com/Sylius/Sylius/pull/9344) Fix exception controller config (@teohhanhui) -- [#9349](https://github.com/Sylius/Sylius/pull/9349) [Grid] Default parameters for "default" grid action (@Zales0123) -- [#9350](https://github.com/Sylius/Sylius/pull/9350) Readme enhancements (@pamil) -- [#9354](https://github.com/Sylius/Sylius/pull/9354) Order update error flash message typo (@czende) -- [#9356](https://github.com/Sylius/Sylius/pull/9356) [Components] Fix links for documentation in readme (@Jibbarth) -- [#9371](https://github.com/Sylius/Sylius/pull/9371) Fix sourcemaps (@teohhanhui) -- [#9379](https://github.com/Sylius/Sylius/pull/9379) Replace outdated "Symfony2" with "Symfony" in package descriptions (@pamil) -- [#9397](https://github.com/Sylius/Sylius/pull/9397) Add missing replacements to composer.json (@jordisala1991) -- [#9404](https://github.com/Sylius/Sylius/pull/9404) Update node-sass for compatibility with Node.js 10 (@teohhanhui) - -## v1.0.14 (2018-04-13) - -- [#9323](https://github.com/Sylius/Sylius/pull/9323) formatting content in a email message (@axzx) -- [#9322](https://github.com/Sylius/Sylius/pull/9322) Make build passing again (@pamil) -- [#9316](https://github.com/Sylius/Sylius/pull/9316) Correct minor typo in docs (@cedricziel) -- [#9315](https://github.com/Sylius/Sylius/pull/9315) [DOC] Minor documentation changes for product reviews (@cedricziel) -- [#9314](https://github.com/Sylius/Sylius/pull/9314) Minor doc fix (@cedricziel) -- [#9312](https://github.com/Sylius/Sylius/pull/9312) Fix JS error when autocomplete field is empty (@teohhanhui) -- [#9308](https://github.com/Sylius/Sylius/pull/9308) [Adjustment] Inject adjustment types that shall be cleared (@Zales0123) -- [#9302](https://github.com/Sylius/Sylius/pull/9302) willdurand/hateoas 2.12 version update (#9302) (@bartoszpietrzak1994) -- [#9300](https://github.com/Sylius/Sylius/pull/9300) Outdated method reference removed from docs (@bartoszpietrzak1994) -- [#9295](https://github.com/Sylius/Sylius/pull/9295) Cleanup PrioritizedCompositeServicePass definition name (@diimpp) -- [#9284](https://github.com/Sylius/Sylius/pull/9284) [Grid] Filtering orders bug (@Zales0123) -- [#9268](https://github.com/Sylius/Sylius/pull/9268) Documentation - Use nullable return type (@Holicz) - -## v1.0.13 (2018-04-04) - -- [#9298](https://github.com/Sylius/Sylius/pull/9298) Define conflicts with incompatible dependencies versions (@pamil) -- [#9287](https://github.com/Sylius/Sylius/pull/9287) Fix wrong CustomerInterface type in PHPDoc (@teohhanhui) -- [#9281](https://github.com/Sylius/Sylius/pull/9281) [Behat] Handle multiple notifications in NotificationChecker (@Zales0123) -- [#9264](https://github.com/Sylius/Sylius/pull/9264) [Documentation][CookBook] Specific SyliusBundles extension (@Zales0123, @Adraesh) -- [#9267](https://github.com/Sylius/Sylius/pull/9267) Add PaymentMethod::instructions option to fixtures (@stefandoorn) -- [#9269](https://github.com/Sylius/Sylius/pull/9269) Fix wrong Balrog of Morgoth name (@Zales0123) - -## v1.0.12 (2018-03-16) - -- [#9265](https://github.com/Sylius/Sylius/pull/9265) Run PHPStan in Travis CI (@pamil) -- [#9260](https://github.com/Sylius/Sylius/pull/9260) Remove "incenteev/composer-parameter-handler" from packages dependencies (@pamil) -- [#9259](https://github.com/Sylius/Sylius/pull/9259) Various composer.json enhancements (@pamil) -- [#9256](https://github.com/Sylius/Sylius/pull/9256) PHPUnit ^6.5 for packages (@pamil) -- [#9248](https://github.com/Sylius/Sylius/pull/9248) Update to PHPUnit ^6.5 (@pamil) -- [#9247](https://github.com/Sylius/Sylius/pull/9247) Update to ApiTestCase ^2.0 and PHPUnit ^6.0 (@pamil) -- [#9244](https://github.com/Sylius/Sylius/pull/9244) Remove composer.lock (@pamil) -- [#9135](https://github.com/Sylius/Sylius/pull/9135) Fixed Customer API docs with invalid "groups" parameter (@gorkalaucirica) -- [#9176](https://github.com/Sylius/Sylius/pull/9176) [Documentation] Customizing Factory (@GitProdEnv) -- [#9237](https://github.com/Sylius/Sylius/pull/9237) Fix select province in checkout address (@serieznyi) -- [#9233](https://github.com/Sylius/Sylius/pull/9233) [AttributeBundle] Fixing composer.json for ramsey/uuid (@David-Crty) -- [#9235](https://github.com/Sylius/Sylius/pull/9235) [ResourceBundle] make controller public by default (@bendavies) -- [#9236](https://github.com/Sylius/Sylius/pull/9236) [ResourceBundle] make sylius.translatable_entity_locale_assigner public (@bendavies) -- [#9238](https://github.com/Sylius/Sylius/pull/9238) Make tests green again (@pamil) -- [#9219](https://github.com/Sylius/Sylius/pull/9219) Improve flags support (@shadypierre) -- [#9194](https://github.com/Sylius/Sylius/pull/9194) [Documentation][Cookbook]Adding validation for image uploads (@Mipme) -- [#9211](https://github.com/Sylius/Sylius/pull/9211) Bring extra care for the documentation! (@pamil) -- [#9181](https://github.com/Sylius/Sylius/pull/9181) Remove surprising redundant x sign from docblock (@damonsson) - -## v1.0.11 (2018-02-26) - -- [#9195](https://github.com/Sylius/Sylius/pull/9195) [Documentation][GridBundle]Wrong definition of sortable attribute (@Mipme) -- [#9145](https://github.com/Sylius/Sylius/pull/9145) Run Travis with readonly project directories (@pamil) -- [#9206](https://github.com/Sylius/Sylius/pull/9206) [Documentation] Translatable model - Fix titles and add template support (@shadypierre) -- [#9204](https://github.com/Sylius/Sylius/pull/9204) Fix invalid use of count by checking for an array (@venyii) -- [#9189](https://github.com/Sylius/Sylius/pull/9189) [Documentation] Add more rules to the contribution guide + Fix CMS cookbook (@CoderMaggie) -- [#9188](https://github.com/Sylius/Sylius/pull/9188) [Behat] Remove some unused methods in Behat pages (@Zales0123) -- [#9155](https://github.com/Sylius/Sylius/pull/9155) [Documentation] Add CMS integration cookbook (@bitbager) - -## v1.0.10 (2018-02-09) - -- [#9166](https://github.com/Sylius/Sylius/pull/9166) Add required parameters to the Route generation (@GitProdEnv) -- [#9164](https://github.com/Sylius/Sylius/pull/9164) Sylius.org becomes sylius.com (@pamil) -- [#9169](https://github.com/Sylius/Sylius/pull/9169) Allow for using Doctrine ORM >=2.6 (@pamil) -- [#9162](https://github.com/Sylius/Sylius/pull/9162) Update all occurrences of .dev to .test (@jackbentley) -- [#9161](https://github.com/Sylius/Sylius/pull/9161) Make images removal tests great again (@pamil) -- [#9157](https://github.com/Sylius/Sylius/pull/9157) Make Travis tests more reliable (@pamil) -- [#9153](https://github.com/Sylius/Sylius/pull/9153) Semantic fixes in SyliusTaxonomyBundle docs (@Zales0123) -- [#9149](https://github.com/Sylius/Sylius/pull/9149) Fix typo in UPGRADE file (@alcaeus) -- [#9147](https://github.com/Sylius/Sylius/pull/9147) Remove pre-1.0 changelog entries (@pamil) - -## v1.0.9 (2018-02-02) - -- [#9144](https://github.com/Sylius/Sylius/pull/9144) Remove RFC label from stalebot's whitelist (@pamil) -- [#9143](https://github.com/Sylius/Sylius/pull/9143) Allow nullable product variants (@pamil, @bitbager) -- [#9136](https://github.com/Sylius/Sylius/pull/9136) Make packages providing Twig extensions conflict with Twig 1.x (@pamil) -- [#9068](https://github.com/Sylius/Sylius/pull/9068) Random codebase fixes (@pamil) -- [#9139](https://github.com/Sylius/Sylius/pull/9139) [Documentation] Fix URL to docs in Bundles README (@RadnoK) -- [#9137](https://github.com/Sylius/Sylius/pull/9137) [Documentation] Fix typo (@willy-ahva) -- [#9130](https://github.com/Sylius/Sylius/pull/9130) [Documentation] Add warning about trusted proxies when using stripe behind lb with https (@reyostallenberg) -- [#9131](https://github.com/Sylius/Sylius/pull/9131) [Admin] Fix wrong source currency translation (@Zales0123) -- [#9133](https://github.com/Sylius/Sylius/pull/9133) Fix return typehint for TaxonTranslation (@diimpp) -- [#9110](https://github.com/Sylius/Sylius/pull/9110) [Documentation] Fixed Docblock in Taxon document (@thekonz) -- [#9127](https://github.com/Sylius/Sylius/pull/9127) Use random_*() instead of rand(), mt_rand() and microtime() (@pamil) -- [#9125](https://github.com/Sylius/Sylius/pull/9125) Make lightbox label translatable (fixes #9099) (@stefandoorn) -- [#9108](https://github.com/Sylius/Sylius/pull/9108) [Documentation] Update required selenium version (@lchrusciel) - -## v1.0.8 (2018-01-12) - -- [#9101](https://github.com/Sylius/Sylius/pull/9101) Fix wrong target-entity in exchange-rate entity (@alcaeus) -- [#9097](https://github.com/Sylius/Sylius/pull/9097) Fix UI form add button issue collection in a collection (@wadjeroudi) -- [#9095](https://github.com/Sylius/Sylius/pull/9095) Prevent the kernel response listener for cart from continuing when the session is not actually started. (@Hailong) -- [#9096](https://github.com/Sylius/Sylius/pull/9096) PHP 7.2 support, finally! (@pamil) -- [#9090](https://github.com/Sylius/Sylius/pull/9090) Update README.md (@landsman) -- [#9084](https://github.com/Sylius/Sylius/pull/9084) Minor enhancements to product review API pull request (@pamil) -- [#9085](https://github.com/Sylius/Sylius/pull/9085) Fix referenced state machine configuration path (@pamil) -- [#9079](https://github.com/Sylius/Sylius/pull/9079) [Travis] Run a full build for tags (@pamil) - -## v1.0.7 (2017-12-30) - -- [#9075](https://github.com/Sylius/Sylius/pull/9075) Test sylius:install command on Travis (@pamil) -- [#9071](https://github.com/Sylius/Sylius/pull/9071) Update composer.json (1.0) (@pamil) -- [#9069](https://github.com/Sylius/Sylius/pull/9069) Extend Travis build matrix & setup extra jobs running nightly (1.0) (@pamil) -- [#9065](https://github.com/Sylius/Sylius/pull/9065) Various Travis changes (@pamil) -- [#9048](https://github.com/Sylius/Sylius/pull/9048) Exclude the web/media directory from firewall restrict list. (@Hailong) -- [#9063](https://github.com/Sylius/Sylius/pull/9063) Require Symfony ^3.4 in components & bundles (@pamil) -- [#9055](https://github.com/Sylius/Sylius/pull/9055) Remove PHP <= 7.1 Polyfills (@stefandoorn) -- [#9052](https://github.com/Sylius/Sylius/pull/9052) Fixes history issue when adding to cart (@gabriel-cardoso) -- [#9061](https://github.com/Sylius/Sylius/pull/9061) Require Symfony ^3.4 (@pamil) -- [#9060](https://github.com/Sylius/Sylius/pull/9060) Remove the need for using sudo on Travis (@pamil) -- [#9059](https://github.com/Sylius/Sylius/pull/9059) Make Travis use the most recent Chromedriver (@pamil) - -## v1.0.6 (2017-12-22) - -- [#9023](https://github.com/Sylius/Sylius/pull/9023) [Documenation] Turn off bundles fixes (@lchrusciel) -- [#9045](https://github.com/Sylius/Sylius/pull/9045) [Grid] Fixes broken table when all item actions are disabled (@Tetragramat) -- [#9033](https://github.com/Sylius/Sylius/pull/9033) Add info about constraints / validation groups when using form extensions (closes #7862) (@stefandoorn) -- [#9036](https://github.com/Sylius/Sylius/pull/9036) [Core] Fix customer order addresses saver (@GSadee) -- [#9024](https://github.com/Sylius/Sylius/pull/9024) [Documenation] Update plugin mapping recommendation (@lchrusciel) -- [#9034](https://github.com/Sylius/Sylius/pull/9034) [MailerBundle] Simplify tests (@odolbeau) -- [#9027](https://github.com/Sylius/Sylius/pull/9027) [Documentation] Update plugin name (@lchrusciel) -- [#9025](https://github.com/Sylius/Sylius/pull/9025) [Travis] Use old Trusty image (@lchrusciel) -- [#9012](https://github.com/Sylius/Sylius/pull/9012) [Documentation][MailerBundle] Clean installation part (@odolbeau) -- [#9021](https://github.com/Sylius/Sylius/pull/9021) [Documentation] [Order] Fixes in Order component documentation: typo in models.rst and wording in processors.rst (@dgreda) -- [#9018](https://github.com/Sylius/Sylius/pull/9018) Use Null Coalesce Operator (@carusogabriel) -- [#9020](https://github.com/Sylius/Sylius/pull/9020) Restrict packages to use Symfony's DI in ^3.2 version for tests (@pamil) -- [#9015](https://github.com/Sylius/Sylius/pull/9015) Removing gender from documentation (@mbklnd) -- [#9000](https://github.com/Sylius/Sylius/pull/9000) Fixed: Breadcrumbs links for Taxon and Product views (@igormukhingmailcom) - -## v1.0.5 (2017-12-04) - -- [#8996](https://github.com/Sylius/Sylius/pull/8996) Setup "Stale" probot (@pamil) -- [#8998](https://github.com/Sylius/Sylius/pull/8998) Syntax error fix in doc code snippet (@t-geindre) -- [#8997](https://github.com/Sylius/Sylius/pull/8997) PHPDoc fixes (@JanTvrdik) -- [#8978](https://github.com/Sylius/Sylius/pull/8978) Decouple reviews customer (@kochen) -- [#8992](https://github.com/Sylius/Sylius/pull/8992) Change "Support Request" label to "Help Wanted" (@pamil) -- [#8990](https://github.com/Sylius/Sylius/pull/8990) [Documentation] Remove facebook group (@lchrusciel) -- [#8979](https://github.com/Sylius/Sylius/pull/8979) ensure we return null rather than void in SyliusPluginTrait::getContainerExtension (@lsmith77) -- [#8951](https://github.com/Sylius/Sylius/pull/8951) Community organization (@pamil) - -## v1.0.4 (2017-11-17) - -- [#8968](https://github.com/Sylius/Sylius/pull/8968) Security release 1.0.4 - allowing to update to Symfony 3.3.13 (@pamil) - -## v1.0.3 (2017-11-10) - -- [#8954](https://github.com/Sylius/Sylius/pull/8954) Add more accurate select jQuery selector (@PapsOu) -- [#8952](https://github.com/Sylius/Sylius/pull/8952) Suspend PHP 7.2 support (@pamil) -- [#8858](https://github.com/Sylius/Sylius/pull/8858) [Bug] [Admin] fixed filter reset after changing grid page limits - third branch (@doctorx32) -- [#8878](https://github.com/Sylius/Sylius/pull/8878) Add more accurate select jQuery selector (@PapsOu) -- [#8924](https://github.com/Sylius/Sylius/pull/8924) Improved parse alias exception message (@william-nedbase) -- [#8903](https://github.com/Sylius/Sylius/pull/8903) Plugin naming convention RFC implementation (closes #8848) (@stefandoorn) -- [#8945](https://github.com/Sylius/Sylius/pull/8945) [Travis] Use Ubuntu Trusty (@castler, @pamil) -- [#8941](https://github.com/Sylius/Sylius/pull/8941) [Documentation] Rework Cookbook organization (@CoderMaggie) -- [#8933](https://github.com/Sylius/Sylius/pull/8933) [Documentation] Theme assets installing tip (@CoderMaggie) -- [#8934](https://github.com/Sylius/Sylius/pull/8934) [Documentation] Branching strategy (@CoderMaggie) -- [#8940](https://github.com/Sylius/Sylius/pull/8940) Change bulk action implementation and remove the need for a BC break (@pamil) -- [#8937](https://github.com/Sylius/Sylius/pull/8937) Fix wrong use statement for ProductInterface (@stefandoorn) -- [#8915](https://github.com/Sylius/Sylius/pull/8915) [Travis] Update Yarn to stable 1.2.1, use Node v6 (@venyii) -- [#8931](https://github.com/Sylius/Sylius/pull/8931) [Behat] fix typo in contact context (@loic425) -- [#8926](https://github.com/Sylius/Sylius/pull/8926) Fix: Old interface names used in product documentation (@nbjohan) -- [#8912](https://github.com/Sylius/Sylius/pull/8912) Update UPGRADE file mentioning risky changes made between v1.0.1 and v1.0.2 releases (@pamil) -- [#8491](https://github.com/Sylius/Sylius/pull/8491) [Admin] Mass deletion on admin grid (fixes #93) (@GSadee, @stefandoorn) -- [#8874](https://github.com/Sylius/Sylius/pull/8874) [Order][OrderItem] Immutable product/variant names (@GSadee, @johnrisby) -- [#8901](https://github.com/Sylius/Sylius/pull/8901) Backwards compatibility promise (@pamil) -- [#8911](https://github.com/Sylius/Sylius/pull/8911) Change 1.0 version to 1.0.3-DEV (@pamil) - -## v1.0.2 (2017-10-27) - -- [#8908](https://github.com/Sylius/Sylius/pull/8908) Support for PHP 7.2 (@pamil) -- [#8905](https://github.com/Sylius/Sylius/pull/8905) [Documentation] Fix form extension link (@Snake-Tn) -- [#8876](https://github.com/Sylius/Sylius/pull/8876) Narrow typehints for models - part 1 (@pamil) -- [#8906](https://github.com/Sylius/Sylius/pull/8906) [Documentation] Fix channel assignment example on a payment method (@GSadee, @PapsOu) -- [#8895](https://github.com/Sylius/Sylius/pull/8895) Remove the remaining author docblocks (@pamil) -- [#8766](https://github.com/Sylius/Sylius/pull/8766) [ProductAttribute] Make select attribute translatable (@GSadee, @Lowlo) -- [#8882](https://github.com/Sylius/Sylius/pull/8882) Remove all author docblocks (@Zales0123) -- [#8887](https://github.com/Sylius/Sylius/pull/8887) [Docs] Mention hostname configuration for multiple channels (@Zales0123) -- [#8879](https://github.com/Sylius/Sylius/pull/8879) Change Symfony2 to Symfony (@edamov) -- [#8775](https://github.com/Sylius/Sylius/pull/8775) [ProductAttribute] Fix displaying attributes depending on locales and channels (@GSadee) -- [#8869](https://github.com/Sylius/Sylius/pull/8869) [AdminApi] Fix nullable ClientInterface return type in admin api (@venyii) -- [#8856](https://github.com/Sylius/Sylius/pull/8856) remove send on different moment and add section links (@kochen) -- [#8868](https://github.com/Sylius/Sylius/pull/8868) [Travis] Allow failures for PHP 7.2 builds (@pamil) -- [#8771](https://github.com/Sylius/Sylius/pull/8771) Make Sylius compatible with PHP 7.2 (@stefandoorn) -- [#8823](https://github.com/Sylius/Sylius/pull/8823) [Documentation][Cookbook] Cloudways deployment guide (@CoderMaggie, @shahroznawaz) -- [#8860](https://github.com/Sylius/Sylius/pull/8860) [Customer] Fix typo in serializer file (@igormukhingmailcom) -- [#8851](https://github.com/Sylius/Sylius/pull/8851) Optimise Travis builds (@pamil) -- [#8855](https://github.com/Sylius/Sylius/pull/8855) Do not check links while building documentation (@pamil) -- [#8840](https://github.com/Sylius/Sylius/pull/8840) Clean the not Fulfilled Table before each collection (@nstapelbroek) -- [#8829](https://github.com/Sylius/Sylius/pull/8829) Add missing event response. (@liverbool) -- [#8715](https://github.com/Sylius/Sylius/pull/8715) [Documentation] Explain how to contribute using vagrant (@loicmobizel) -- [#8832](https://github.com/Sylius/Sylius/pull/8832) Random codebase enhancements (@pamil) -- [#8844](https://github.com/Sylius/Sylius/pull/8844) [Documentation] Add typehints to customization guide (@GSadee) -- [#8846](https://github.com/Sylius/Sylius/pull/8846) Update comment in the PR template (@GSadee) -- [#8680](https://github.com/Sylius/Sylius/pull/8680) add sylius version to the footer in admin (@gabiudrescu) -- [#8842](https://github.com/Sylius/Sylius/pull/8842) Added missing return type in customization/controller docs (@kejwmen) -- [#8843](https://github.com/Sylius/Sylius/pull/8843) Allow to use environmental variables to populate parameters (@pamil) -- [#8826](https://github.com/Sylius/Sylius/pull/8826) [Documentation][Locale] Component docs fix (@nightrainlily) -- [#8830](https://github.com/Sylius/Sylius/pull/8830) [Documentation] Custom Promotion Rule Checker Fix (@CoderMaggie, @flochntrl) -- [#8827](https://github.com/Sylius/Sylius/pull/8827) [Documentation][Book] Product attributes fix (@garbetjie) -- [#8825](https://github.com/Sylius/Sylius/pull/8825) [BUGFIX][Documentation] Restrict Sphinx version contraints (@CoderMaggie) -- [#8820](https://github.com/Sylius/Sylius/pull/8820) Change 1.0 branch version to v1.0.2-DEV (@pamil) - -## v1.0.1 (2017-10-11) - -- [#8815](https://github.com/Sylius/Sylius/pull/8815) Revert "Changed CustomerChoiceType for a ResourceToIdentifierTransformer in OrderType of SyliusAdminApiBundle" -- [#8814](https://github.com/Sylius/Sylius/pull/8814) [Documentation] Updated platform sh guide (1.0 branch backport) (@lchrusciel, @Crell) -- [#8798](https://github.com/Sylius/Sylius/pull/8798) [Installation] Add setting a username during installation (@GSadee) -- [#8751](https://github.com/Sylius/Sylius/pull/8751) [ProductAttribute] Fix select product attribute choice value delete (@GSadee) -- [#8809](https://github.com/Sylius/Sylius/pull/8809) PHPStan: initial config & first fixes (@pamil) -- [#8812](https://github.com/Sylius/Sylius/pull/8812) [Installation] Add setting an email as username during installation (@GSadee) -- [#8755](https://github.com/Sylius/Sylius/pull/8755) [Attribute] Configuration validation of text and select attributes (@GSadee) -- [#8807](https://github.com/Sylius/Sylius/pull/8807) [Documentation] Remove outdated exchange rate info from Order docs (@venyii) -- [#8800](https://github.com/Sylius/Sylius/pull/8800) Mention ^PHP7.1 requirement when installing Sylius (closes 8765) (@stefandoorn) -- [#8777](https://github.com/Sylius/Sylius/pull/8777) Move user impersonated listener to shop bundle (@GSadee) -- [#8770](https://github.com/Sylius/Sylius/pull/8770) Run security:check to actively check issues in Composer dependencies (@stefandoorn) -- [#8804](https://github.com/Sylius/Sylius/pull/8804) [tests] Remove duplicate scenario (@juukie) -- [#8796](https://github.com/Sylius/Sylius/pull/8796) [Documentation] Quick typo fix (@GSadee) -- [#8790](https://github.com/Sylius/Sylius/pull/8790) [Documentation] Update docs about creating custom tax calculators (@GSadee) -- [#8786](https://github.com/Sylius/Sylius/pull/8786) [Documentation] Update docs about creating custom shipping calculators (@GSadee) -- [#8791](https://github.com/Sylius/Sylius/pull/8791) [Documentation] Clarification of how to install assets in a new theme (@johnrisby) -- [#8778](https://github.com/Sylius/Sylius/pull/8778) Changed CustomerChoiceType for a ResourceToIdentifierTransformer in OrderType of SyliusAdminApiBundle (@jdeveloper) -- [#8773](https://github.com/Sylius/Sylius/pull/8773) [Behat] Remove unnecessary current channel context (@GSadee) -- [#8779](https://github.com/Sylius/Sylius/pull/8779) [ProductImage] Fix association between images and variants (@GSadee) -- [#8782](https://github.com/Sylius/Sylius/pull/8782) [UserBundle] Decouple UserBundle from CoreBundle (@GSadee) -- [#8774](https://github.com/Sylius/Sylius/pull/8774) [Documentation] Update PR template in contribution guide (@GSadee) -- [#8783](https://github.com/Sylius/Sylius/pull/8783) [Documentation] Update locales page in book (@GSadee) -- [#8762](https://github.com/Sylius/Sylius/pull/8762) [Bug][Admin] Avoid deleting Product Variant when removing the associa… (@ylastapis) -- [#8678](https://github.com/Sylius/Sylius/pull/8678) [ReviewBundle] Recalculate subject rating on review post create event (@loicmobizel) -- [#8756](https://github.com/Sylius/Sylius/pull/8756) [Documentation] Updated platform sh guide (@lchrusciel, @Crell) -- [#8737](https://github.com/Sylius/Sylius/pull/8737) [ProductAttribute] Fix select product attribute choice value rename (@GSadee) -- [#8750](https://github.com/Sylius/Sylius/pull/8750) Fixed a typo in docs (@dborsatto) -- [#8743](https://github.com/Sylius/Sylius/pull/8743) Load lazy taxon tree using a single click (@pamil) -- [#8749](https://github.com/Sylius/Sylius/pull/8749) Add coding standard section to docs (@pamil) -- [#8746](https://github.com/Sylius/Sylius/pull/8746) Use sylius-labs/coding-standard (@pamil) -- [#8742](https://github.com/Sylius/Sylius/pull/8742) Do flush after enabling a user in user registration listener (@pamil) -- [#8738](https://github.com/Sylius/Sylius/pull/8738) Make contributing easier - issues & pull requests templates (@pamil) -- [#8741](https://github.com/Sylius/Sylius/pull/8741) Do not close sidebar when clicking outside of it (@pamil) -- [#8740](https://github.com/Sylius/Sylius/pull/8740) Add missing license headers (@pamil) -- [#8733](https://github.com/Sylius/Sylius/pull/8733) Adjust coding standard settings (@pamil) -- [#8723](https://github.com/Sylius/Sylius/pull/8723) Add even more coding standard fixers (@pamil) -- [#8729](https://github.com/Sylius/Sylius/pull/8729) [Docs] Typos in SyliusTaxationBundle (@juukie) -- [#8725](https://github.com/Sylius/Sylius/pull/8725) [Mailer] Added missing PHPDoc argument (@sweoggy) -- [#8718](https://github.com/Sylius/Sylius/pull/8718) Do not crash admin while listing partially shipped orders (@pamil) -- [#8722](https://github.com/Sylius/Sylius/pull/8722) [Documentation] Fix broken link to UPGRADE file (@GSadee) -- [#8714](https://github.com/Sylius/Sylius/pull/8714) Set up upgrade file for 1.1 (@pamil) -- [#8713](https://github.com/Sylius/Sylius/pull/8713) Update contributing guide (@pamil) -- [#8712](https://github.com/Sylius/Sylius/pull/8712) Partition changelog & upgrade files (@pamil) -- [#8716](https://github.com/Sylius/Sylius/pull/8716) [Behat] Minor typo fix (@GSadee) -- [#8664](https://github.com/Sylius/Sylius/pull/8664) [Documentation / README] Simplified installation guide (@bpolaszek) -- [#8705](https://github.com/Sylius/Sylius/pull/8705) Fix coding standard (@pamil) -- [#8706](https://github.com/Sylius/Sylius/pull/8706) Enhance README (@pamil) -- [#8707](https://github.com/Sylius/Sylius/pull/8707) Update CHANGELOG (@pamil) -- [#8697](https://github.com/Sylius/Sylius/pull/8697) [Documentation] Non-existent action used (@kate-kate) -- [#8687](https://github.com/Sylius/Sylius/pull/8687) [Travis] Validating yarn packages on travis tests suite (@loicmobizel) -- [#8686](https://github.com/Sylius/Sylius/pull/8686) gitignore webserver pid files (@gabiudrescu) -- [#8696](https://github.com/Sylius/Sylius/pull/8696) [Documentation] Syntax typo fix (@kate-kate) -- [#8685](https://github.com/Sylius/Sylius/pull/8685) [Fixtures] Docs & tests about disabling listeners / fixtures in a suite (@pamil) -- [#8682](https://github.com/Sylius/Sylius/pull/8682) Gitignore webserver pid files (@gabiudrescu) -- [#8677](https://github.com/Sylius/Sylius/pull/8677) [Docs] Corrections on OrderItemQuantityModifier (@juukie) -- [#8675](https://github.com/Sylius/Sylius/pull/8675) Treat `dev-master` as 1.1 (@pamil) -- [#8663](https://github.com/Sylius/Sylius/pull/8663) [Documentation] Fix PHP min version (@kochen) -- [#8646](https://github.com/Sylius/Sylius/pull/8646) [ResourceBundle] Fix variable name (@plozmun) -- [#8662](https://github.com/Sylius/Sylius/pull/8662) fix link to BitBager PayUPlugin (@kochen) -- [#8668](https://github.com/Sylius/Sylius/pull/8668) Typo's (@juukie) -- [#8660](https://github.com/Sylius/Sylius/pull/8660) Make README great again (@pamil) diff --git a/CHANGELOG-1.1.md b/CHANGELOG-1.1.md deleted file mode 100644 index 6b9f5398c2..0000000000 --- a/CHANGELOG-1.1.md +++ /dev/null @@ -1,319 +0,0 @@ -# CHANGELOG FOR `1.1.X` - -## v1.1.18 (2019-05-07) - -#### TL;DR - -- Fixed the build and extracted some packages from Sylius core. - -#### Details - -- [#10259](https://github.com/Sylius/Sylius/issues/10259) [BuildFix] Ignore psalm annotations ([@Zales0123](https://github.com/Zales0123)) -- [#10325](https://github.com/Sylius/Sylius/issues/10325) Extract Mailer component & bundle ([@pamil](https://github.com/pamil)) -- [#10326](https://github.com/Sylius/Sylius/issues/10326) [WIP] Extract Grid component & bundle ([@pamil](https://github.com/pamil)) -- [#10327](https://github.com/Sylius/Sylius/issues/10327) [WIP] Extract Resource component & bundle ([@pamil](https://github.com/pamil)) -- [#10340](https://github.com/Sylius/Sylius/issues/10340) Fix #9646 by removing lambdas in JS file ([@tchapi](https://github.com/tchapi)) - -## v1.1.17 (2019-03-04) - -#### TL;DR - -- Fixed the build and extracted some packages from Sylius core. - -#### Details - -- [#10141](https://github.com/Sylius/Sylius/issues/10141) [1.1] Fix select attributes according to recent Symfony form changes ([@Zales0123](https://github.com/Zales0123)) -- [#10182](https://github.com/Sylius/Sylius/issues/10182) Extract FixturesBundle ([@pamil](https://github.com/pamil)) -- [#10184](https://github.com/Sylius/Sylius/issues/10184) Extract ThemeBundle ([@pamil](https://github.com/pamil)) -- [#10188](https://github.com/Sylius/Sylius/issues/10188) Extract Registry component ([@pamil](https://github.com/pamil)) - -## v1.1.16 (2018-11-28) - -#### TL;DR - -- This is the security release according to problems with `dominictarr/event-stream` library - -#### Details - -- [#9972](https://github.com/Sylius/Sylius/pull/9972) Update gulp-livereload (@kulczy) - -## v1.1.15 (2018-10-11) - -#### TL;DR - -- This is the last bugfix release of the `1.1` branch - -#### Details - -- [#8093](https://github.com/Sylius/Sylius/pull/8093) [Order] Fixed sylius:remove-expired-carts help (@sweoggy) -- [#8494](https://github.com/Sylius/Sylius/pull/8494) set gender `u` as default value - resolves #8493 (@pamil, @kochen) -- [#9627](https://github.com/Sylius/Sylius/pull/9627) Narrow down selectors to prevent unexpected bugs (@teohhanhui) -- [#9646](https://github.com/Sylius/Sylius/pull/9646) [Admin][Product edit] Change the value of the taxons individually when checked/unchecked. (@sbarbat) -- [#9727](https://github.com/Sylius/Sylius/pull/9727) Do not stale issues selected to Roadmap (@Zales0123) -- [#9743](https://github.com/Sylius/Sylius/pull/9743) Update shipments.rst (@hmonglee) -- [#9755](https://github.com/Sylius/Sylius/pull/9755) [Documentation] Fix API example for creating a taxon (@pamil) -- [#9756](https://github.com/Sylius/Sylius/pull/9756) Allow for null hostname in ChannelFixture (@pamil) -- [#9757](https://github.com/Sylius/Sylius/pull/9757) Make ArrayGridProvider more performant & suitable for PHP-PM (@pamil) -- [#9759](https://github.com/Sylius/Sylius/pull/9759) [GridBundle] Do not put unnecessary "andWhere" in ExpressionBuilder (@pamil) -- [#9760](https://github.com/Sylius/Sylius/pull/9760) [CoreBundle] Make sure promotion action/rule amount is an integer (@pamil) -- [#9761](https://github.com/Sylius/Sylius/pull/9761) [ThemeBundle] Replace "symfony/symfony" dependency with specific Symfony packages (@pamil) -- [#9762](https://github.com/Sylius/Sylius/pull/9762) [Grid] Fix getting enabled grid items (@pamil) -- [#9763](https://github.com/Sylius/Sylius/pull/9763) Update "Configuring taxation" docs (@pamil) -- [#9764](https://github.com/Sylius/Sylius/pull/9764) [ShippingBundle] Add validation for ShippingMethod calculator (@pamil) -- [#9765](https://github.com/Sylius/Sylius/pull/9765) Keep the existing pagination when changing sorting on product list page (@pamil) -- [#9772](https://github.com/Sylius/Sylius/pull/9772) Fix doubled province id on checkout addressing page (@pamil) -- [#9774](https://github.com/Sylius/Sylius/pull/9774) Ask for confirmation when cancelling an order (@pamil) -- [#9775](https://github.com/Sylius/Sylius/pull/9775) Limit products shown in associated products autocomplete field (@pamil) -- [#9776](https://github.com/Sylius/Sylius/pull/9776) [Core] Make implicit dependency explicit (@pamil) -- [#9803](https://github.com/Sylius/Sylius/pull/9803) `purge_mode` has been rename to `mode` (@Prometee) - -## v1.1.14 (2018-09-24) - -#### Details - -- [#9687](https://github.com/Sylius/Sylius/pull/9687) [Core][Fixture] Fix for ignored geographical zone scope (@SebLours) -- [#9700](https://github.com/Sylius/Sylius/pull/9700) Allow to use Pagerfanta in both ^1.0 and ^2.0 (@pamil) -- [#9683](https://github.com/Sylius/Sylius/pull/9683) Do not run tests if not needed (@pamil) -- [#9709](https://github.com/Sylius/Sylius/pull/9709) Fix typo in filename (@stefandoorn) -- [#9708](https://github.com/Sylius/Sylius/pull/9708) Fix typo in Behat feature (@stefandoorn) -- [#9714](https://github.com/Sylius/Sylius/pull/9714) Fix docs build (@pamil) -- [#9691](https://github.com/Sylius/Sylius/pull/9691) Fixing Typo in Documentation (@bhargavmehta) - -## v1.1.13 (2018-08-27) - -#### Details - -- [#9635](https://github.com/Sylius/Sylius/pull/9635) Updated a word in documentation to read better (@mbklnd) -- [#9662](https://github.com/Sylius/Sylius/pull/9662) Fix Grids archive ability to work on multi-param urls (@diimpp) -- [#9667](https://github.com/Sylius/Sylius/pull/9667) [UI] Fix icons on checkout (@lchrusciel) - -## v1.1.12 (2018-08-13) - -#### TL;DR - -- Database migrations support MySQL 8 ([#9622](https://github.com/Sylius/Sylius/pull/9622)) - -#### Details - -- [#9622](https://github.com/Sylius/Sylius/pull/9622) Quote row_number identifier for MySQL queries (@alcaeus) -- [#9624](https://github.com/Sylius/Sylius/pull/9624) Fix missing "required" class on some form fields (@teohhanhui) -- [#9634](https://github.com/Sylius/Sylius/pull/9634) [Core] Fix OrderItemNamesSetter specification (@Zales0123) - -## v1.1.11 (2018-07-27) - -#### TL;DR - -- There's a new [plugin development guide](https://docs.sylius.com/en/1.1/plugins/plugin-development-guide/index.html) ([#9592](https://github.com/Sylius/Sylius/pull/9592)) -- Fixed compatibility with PHP-PM ([#9613](https://github.com/Sylius/Sylius/pull/9613), [#9608](https://github.com/Sylius/Sylius/pull/9608)) -- Fixed buggy shop user removal in the admin panel ([#9618](https://github.com/Sylius/Sylius/pull/9618)) - -#### Details - -- [#9193](https://github.com/Sylius/Sylius/pull/9193) [Documentation][GridBundle]Describes sorting, filtering by sub entity properties (@Mipme) -- [#9289](https://github.com/Sylius/Sylius/pull/9289) Check if customer is set before get/set email (@pamil, @teohhanhui) -- [#9352](https://github.com/Sylius/Sylius/pull/9352) Minor fixes to grammar (@gregsomers) -- [#9421](https://github.com/Sylius/Sylius/pull/9421) Field used for label does not exist (@pamil, @psihius) -- [#9553](https://github.com/Sylius/Sylius/pull/9553) Fix wrong type for "images" option in ProductFixture (@teohhanhui) -- [#9578](https://github.com/Sylius/Sylius/pull/9578) [Core] Nullable customer on order (@lchrusciel) -- [#9580](https://github.com/Sylius/Sylius/pull/9580) [User] Fix bc-break in UserLastLoginSubscriber (@lchrusciel) -- [#9587](https://github.com/Sylius/Sylius/pull/9587) Adding strict typing for PHP classes in images doc (@Roshyo) -- [#9590](https://github.com/Sylius/Sylius/pull/9590) Ensure that DatabaseSetupCommandsProvider::getDatabaseName() returns a string. (@azjezz) -- [#9592](https://github.com/Sylius/Sylius/pull/9592) Plugin development guide v1.0 (@Zales0123) -- [#9599](https://github.com/Sylius/Sylius/pull/9599) [Behat] Grammar fix (@lchrusciel) -- [#9600](https://github.com/Sylius/Sylius/pull/9600) Pull request template fix (@lchrusciel) -- [#9603](https://github.com/Sylius/Sylius/pull/9603) [Maintenance] Move github templates (@lchrusciel) -- [#9608](https://github.com/Sylius/Sylius/pull/9608) Remove instances of loop.index0 (@dnna) -- [#9611](https://github.com/Sylius/Sylius/pull/9611) [Doc] Fix service name for custom taxation calculator (@dannyvw) -- [#9612](https://github.com/Sylius/Sylius/pull/9612) Handle null email in oauth login (@dnna) -- [#9613](https://github.com/Sylius/Sylius/pull/9613) Fix ShopBasedCartContext resetting (@dnna) -- [#9617](https://github.com/Sylius/Sylius/pull/9617) Fix CS and add tests for ShopBasedCartContext (@pamil) -- [#9618](https://github.com/Sylius/Sylius/pull/9618) Reproduce CSRF token validation failure when deleting an user in admin panel (@pamil) -- [#9620](https://github.com/Sylius/Sylius/pull/9620) [docs] updating taxon models documentation (@loic425) - -## v1.1.10 (2018-07-10) - -#### TL;DR - -- Fixing the application after not-so-perfect security issue fix in the last release - -#### Details - -- [See the diff since the last patch release](https://github.com/Sylius/Sylius/compare/v1.1.9...v1.1.10) - -## v1.1.9 (2018-07-08) - -#### TL;DR - -- **SECURITY FIX:** Added CSRF protection for the following action: - - - marking order's payment as completed - - marking order's payment as refunded - - marking product review as accepted - - marking product review as rejected - -#### Details - -- [#9475](https://github.com/Sylius/Sylius/pull/9475) Make Stalebot less annoying (@Zales0123) -- [#9491](https://github.com/Sylius/Sylius/pull/9491) [Documentation] Document Forum in the support section (@CoderMaggie) -- [#9515](https://github.com/Sylius/Sylius/pull/9515) [Documentation] Fix typos (@adrienlucas) -- [#9558](https://github.com/Sylius/Sylius/pull/9558) Use ...Prototype() instead of prototype('...') in Symfony configuration (@pamil) - -## v1.1.8 (2018-07-05) - -#### TL;DR - -- It's no longer required to put Sylius bundles before Doctrine Bundle ([#9527](https://github.com/Sylius/Sylius/pull/9527)) -- There's an official plugins list in README ([#9493](https://github.com/Sylius/Sylius/pull/9493)) - -#### Details - -- [#9340](https://github.com/Sylius/Sylius/pull/9340) the name of file was wrong in docu (@amirkoklan) -- [#9345](https://github.com/Sylius/Sylius/pull/9345) [HOTFIX] Missing configuration for channel in sonata (@lchrusciel) -- [#9487](https://github.com/Sylius/Sylius/pull/9487) Improve use of Semantic's cards in frontend (@mbabker) -- [#9493](https://github.com/Sylius/Sylius/pull/9493) Document officially supported plugins in the README (@pamil) -- [#9527](https://github.com/Sylius/Sylius/pull/9527) [ResourceBundle] Fix DoctrineTargetEntitiesResolverPass priority to avoid mapping issues. (@adrienlucas) -- [#9537](https://github.com/Sylius/Sylius/pull/9537) [Admin] Add missing form parameter to sonata form events (@GSadee) -- [#9539](https://github.com/Sylius/Sylius/pull/9539) [minor] SCA (@kalessil) -- [#9540](https://github.com/Sylius/Sylius/pull/9540) PHPStan 0.10 upgrade & road to level 2 checks (@pamil) -- [#9546](https://github.com/Sylius/Sylius/pull/9546) Added title to product reviews, fixes #9425 (@richardjohn, @adrienlucas, @Zales0123) -- [#9548](https://github.com/Sylius/Sylius/pull/9548) Unify catch block in ShopBasedCartContext (@pamil) -- [#9550](https://github.com/Sylius/Sylius/pull/9550) Mention roadmap in README (@pamil) -- [#9552](https://github.com/Sylius/Sylius/pull/9552) Lower PHPStan level 2 errors from 222 to 9 (@pamil) -- [#9555](https://github.com/Sylius/Sylius/pull/9555) Add Sylius/CustomerOrderCancellationPlugin to the list of official plugins (@pamil) - -## v1.1.7 (2018-06-12) - -#### TL;DR - -- Lots of bugfixes - -#### Details - -- [#9418](https://github.com/Sylius/Sylius/pull/9418) Update Model.ProductOption.yml (@severino32) -- [#9419](https://github.com/Sylius/Sylius/pull/9419) Moved IE css polyfills (@czende) -- [#9424](https://github.com/Sylius/Sylius/pull/9424) Lazy load Doctrine event listeners (@teohhanhui) -- [#9436](https://github.com/Sylius/Sylius/pull/9436) [Addressing] Fix default validation groups of AddressType (@vvasiloi) -- [#9440](https://github.com/Sylius/Sylius/pull/9440) Fix secret parameter resolving (@pamil) -- [#9444](https://github.com/Sylius/Sylius/pull/9444) [Documentation] Fixed typo in note about --force-with-lease flag (@pmikolajek) -- [#9462](https://github.com/Sylius/Sylius/pull/9462) Remove two redundant services from CoreBundle (@jafaronly) -- [#9463](https://github.com/Sylius/Sylius/pull/9463) Update platform-sh.rst (@antonioperic) -- [#9464](https://github.com/Sylius/Sylius/pull/9464) Fixed typo in PayumController (@qkdreyer) -- [#9465](https://github.com/Sylius/Sylius/pull/9465) [Documentation] Fix deprecated link to repository (@CoderMaggie) -- [#9466](https://github.com/Sylius/Sylius/pull/9466) Document "event" option in resource routing (@Zales0123) -- [#9467](https://github.com/Sylius/Sylius/pull/9467) Update outdated method prototype('array') with arrayPrototype() (@jafaronly) -- [#9470](https://github.com/Sylius/Sylius/pull/9470) [Documentation] Updated link to Payum docs (@pogorivan) -- [#9477](https://github.com/Sylius/Sylius/pull/9477) Remove labels descriptions in docs (@pamil) -- [#9480](https://github.com/Sylius/Sylius/pull/9480) [docs] Use `app/config/routing/admin.yml` everywhere (@gido) - -## v1.1.6 (2018-05-21) - -- [#9310](https://github.com/Sylius/Sylius/pull/9310) Declare a separate ImagesUploadListener service (@teohhanhui) -- [#9328](https://github.com/Sylius/Sylius/pull/9328) Fix invalid YAML tag syntax (@teohhanhui) -- [#9334](https://github.com/Sylius/Sylius/pull/9334) Quote usage of !!int to remove deprecation warning (@stefandoorn) -- [#9335](https://github.com/Sylius/Sylius/pull/9335) Make sure controller services are public (@teohhanhui) -- [#9339](https://github.com/Sylius/Sylius/pull/9339) Fix product repository's service id in docs (@hectorj) -- [#9344](https://github.com/Sylius/Sylius/pull/9344) Fix exception controller config (@teohhanhui) -- [#9349](https://github.com/Sylius/Sylius/pull/9349) [Grid] Default parameters for "default" grid action (@Zales0123) -- [#9350](https://github.com/Sylius/Sylius/pull/9350) Readme enhancements (@pamil) -- [#9354](https://github.com/Sylius/Sylius/pull/9354) Order update error flash message typo (@czende) -- [#9356](https://github.com/Sylius/Sylius/pull/9356) [Components] Fix links for documentation in readme (@Jibbarth) -- [#9362](https://github.com/Sylius/Sylius/pull/9362) Add reset method to DataCollectors, needed for SF4 compat (@jordisala1991) -- [#9371](https://github.com/Sylius/Sylius/pull/9371) Fix sourcemaps (@teohhanhui) -- [#9378](https://github.com/Sylius/Sylius/pull/9378) Make Sylius 1.1 packages require other Sylius packages in at least that version (@pamil) -- [#9379](https://github.com/Sylius/Sylius/pull/9379) Replace outdated "Symfony2" with "Symfony" in package descriptions (@pamil) -- [#9397](https://github.com/Sylius/Sylius/pull/9397) Add missing replacements to composer.json (@jordisala1991) -- [#9404](https://github.com/Sylius/Sylius/pull/9404) Update node-sass for compatibility with Node.js 10 (@teohhanhui) - -## v1.1.5 (2018-04-13) - -- [#9323](https://github.com/Sylius/Sylius/pull/9323) formatting content in a email message (@axzx) -- [#9322](https://github.com/Sylius/Sylius/pull/9322) Make build passing again (@pamil) -- [#9316](https://github.com/Sylius/Sylius/pull/9316) Correct minor typo in docs (@cedricziel) -- [#9315](https://github.com/Sylius/Sylius/pull/9315) [DOC] Minor documentation changes for product reviews (@cedricziel) -- [#9314](https://github.com/Sylius/Sylius/pull/9314) Minor doc fix (@cedricziel) -- [#9312](https://github.com/Sylius/Sylius/pull/9312) Fix JS error when autocomplete field is empty (@teohhanhui) -- [#9308](https://github.com/Sylius/Sylius/pull/9308) [Adjustment] Inject adjustment types that shall be cleared (@Zales0123) -- [#9303](https://github.com/Sylius/Sylius/pull/9303) HOTFIX: Do not require NelmioAliceBundle in shared kernel (@pamil) -- [#9302](https://github.com/Sylius/Sylius/pull/9302) willdurand/hateoas 2.12 version update (#9302) (@bartoszpietrzak1994) -- [#9300](https://github.com/Sylius/Sylius/pull/9300) Outdated method reference removed from docs (@bartoszpietrzak1994) -- [#9295](https://github.com/Sylius/Sylius/pull/9295) Cleanup PrioritizedCompositeServicePass definition name (@diimpp) -- [#9284](https://github.com/Sylius/Sylius/pull/9284) [Grid] Filtering orders bug (@Zales0123) -- [#9268](https://github.com/Sylius/Sylius/pull/9268) Documentation - Use nullable return type (@Holicz) - -## v1.1.4 (2018-04-04) - -- [#9301](https://github.com/Sylius/Sylius/pull/9301) HOTFIX: Do not require FidryAliceDataFixturesBundle in shared kernel (@pamil) - -## v1.1.3 (2018-04-04) - -- [#9298](https://github.com/Sylius/Sylius/pull/9298) Define conflicts with incompatible dependencies versions (@pamil) -- [#9287](https://github.com/Sylius/Sylius/pull/9287) Fix wrong CustomerInterface type in PHPDoc (@teohhanhui) -- [#9266](https://github.com/Sylius/Sylius/pull/9266) Update ApiTestCase to ^3.0 (@Zales0123) -- [#9281](https://github.com/Sylius/Sylius/pull/9281) [Behat] Handle multiple notifications in NotificationChecker (@Zales0123) -- [#9264](https://github.com/Sylius/Sylius/pull/9264) [Documentation][CookBook] Specific SyliusBundles extension (@Zales0123, @Adraesh) -- [#9267](https://github.com/Sylius/Sylius/pull/9267) Add PaymentMethod::instructions option to fixtures (@stefandoorn) -- [#9269](https://github.com/Sylius/Sylius/pull/9269) Fix wrong Balrog of Morgoth name (@Zales0123) - -## v1.1.2 (2018-03-16) - -- [#9265](https://github.com/Sylius/Sylius/pull/9265) Run PHPStan in Travis CI (@pamil) -- [#9260](https://github.com/Sylius/Sylius/pull/9260) Remove "incenteev/composer-parameter-handler" from packages dependencies (@pamil) -- [#9259](https://github.com/Sylius/Sylius/pull/9259) Various composer.json enhancements (@pamil) -- [#9256](https://github.com/Sylius/Sylius/pull/9256) PHPUnit ^6.5 for packages (@pamil) -- [#9248](https://github.com/Sylius/Sylius/pull/9248) Update to PHPUnit ^6.5 (@pamil) -- [#9247](https://github.com/Sylius/Sylius/pull/9247) Update to ApiTestCase ^2.0 and PHPUnit ^6.0 (@pamil) -- [#9244](https://github.com/Sylius/Sylius/pull/9244) Remove composer.lock (@pamil) -- [#9246](https://github.com/Sylius/Sylius/pull/9246) Mention the need of applying migrations when upgrading 1.0 -> 1.1 (@stefandoorn) -- [#9135](https://github.com/Sylius/Sylius/pull/9135) Fixed Customer API docs with invalid "groups" parameter (@gorkalaucirica) -- [#9176](https://github.com/Sylius/Sylius/pull/9176) [Documentation] Customizing Factory (@GitProdEnv) -- [#9237](https://github.com/Sylius/Sylius/pull/9237) Fix select province in checkout address (@serieznyi) -- [#9233](https://github.com/Sylius/Sylius/pull/9233) [AttributeBundle] Fixing composer.json for ramsey/uuid (@David-Crty) -- [#9235](https://github.com/Sylius/Sylius/pull/9235) [ResourceBundle] make controller public by default (@bendavies) -- [#9236](https://github.com/Sylius/Sylius/pull/9236) [ResourceBundle] make sylius.translatable_entity_locale_assigner public (@bendavies) -- [#9238](https://github.com/Sylius/Sylius/pull/9238) Make tests green again (@pamil) -- [#9219](https://github.com/Sylius/Sylius/pull/9219) Improve flags support (@shadypierre) -- [#9194](https://github.com/Sylius/Sylius/pull/9194) [Documentation][Cookbook]Adding validation for image uploads (@Mipme) -- [#9211](https://github.com/Sylius/Sylius/pull/9211) Bring extra care for the documentation! (@pamil) -- [#9181](https://github.com/Sylius/Sylius/pull/9181) Remove surprising redundant x sign from docblock (@damonsson) - -## v1.1.1 (2018-02-26) - -- [#9195](https://github.com/Sylius/Sylius/pull/9195) [Documentation][GridBundle]Wrong definition of sortable attribute (@Mipme) -- [#9145](https://github.com/Sylius/Sylius/pull/9145) Run Travis with readonly project directories (@pamil) -- [#9206](https://github.com/Sylius/Sylius/pull/9206) [Documentation] Translatable model - Fix titles and add template support (@shadypierre) -- [#9204](https://github.com/Sylius/Sylius/pull/9204) Fix invalid use of count by checking for an array (@venyii) -- [#9189](https://github.com/Sylius/Sylius/pull/9189) [Documentation] Add more rules to the contribution guide + Fix CMS cookbook (@CoderMaggie) -- [#9192](https://github.com/Sylius/Sylius/pull/9192) [Documentation] Add 1.1 branch to Contribution guides (@CoderMaggie) -- [#9188](https://github.com/Sylius/Sylius/pull/9188) [Behat] Remove some unused methods in Behat pages (@Zales0123) -- [#9155](https://github.com/Sylius/Sylius/pull/9155) [Documentation] Add CMS integration cookbook (@bitbager) - -## v1.1.0 (2018-02-09) - -- [#9165](https://github.com/Sylius/Sylius/pull/9165) Make accordion in select attribute values great again (@Zales0123) -- [#9163](https://github.com/Sylius/Sylius/pull/9163) Product reviews API semantic fix (@Zales0123) -- [#9158](https://github.com/Sylius/Sylius/pull/9158) Update KnpGaufretteBundle to ^0.5 (@pamil) - -## v1.1.0-RC (2018-02-02) - -- [#9129](https://github.com/Sylius/Sylius/pull/9129) Add symfony/thanks Composer plugin (@pamil) -- [#9084](https://github.com/Sylius/Sylius/pull/9084) Minor enhancements to product review API pull request (@pamil) -- [#9013](https://github.com/Sylius/Sylius/pull/9013) Restrict scanning for composer.json in themes to certain directory depth (optional) (@stefandoorn) -- [#8772](https://github.com/Sylius/Sylius/pull/8772) Product reviews API (@paulstoica) -- [#9082](https://github.com/Sylius/Sylius/pull/9082) Remove strict declaration on migration (@stefandoorn) -- [#9081](https://github.com/Sylius/Sylius/pull/9081) Add index on Channel::hostname to prevent table scan on each request (@stefandoorn) -- [#9070](https://github.com/Sylius/Sylius/pull/9070) Extend Travis build matrix & setup extra jobs running nightly (1.1) (@pamil) -- [#9040](https://github.com/Sylius/Sylius/pull/9040) Try to auto-detect a bundle's model namespace by default (@mbabker) -- [#9063](https://github.com/Sylius/Sylius/pull/9063) Require Symfony ^3.4 in components & bundles (@pamil) -- [#9061](https://github.com/Sylius/Sylius/pull/9061) Require Symfony ^3.4 (@pamil) -- [#8940](https://github.com/Sylius/Sylius/pull/8940) Change bulk action implementation and remove the need for a BC break (@pamil) -- [#8491](https://github.com/Sylius/Sylius/pull/8491) [Admin] Mass deletion on admin grid (fixes #93) (@GSadee, @stefandoorn) -- [#8874](https://github.com/Sylius/Sylius/pull/8874) [Order][OrderItem] Immutable product/variant names (@GSadee, @johnrisby) -- [#8766](https://github.com/Sylius/Sylius/pull/8766) [ProductAttribute] Make select attribute translatable (@GSadee, @Lowlo) -- [#8680](https://github.com/Sylius/Sylius/pull/8680) add sylius version to the footer in admin (@gabiudrescu) -- [#8843](https://github.com/Sylius/Sylius/pull/8843) Allow to use environmental variables to populate parameters (@pamil) -- [#8817](https://github.com/Sylius/Sylius/pull/8817) Change master branch version to 1.1.0-DEV (@pamil) -- [#8798](https://github.com/Sylius/Sylius/pull/8798) [Installation] Add setting a username during installation (@GSadee) -- [#8714](https://github.com/Sylius/Sylius/pull/8714) Set up upgrade file for 1.1 (@pamil) -- [#8682](https://github.com/Sylius/Sylius/pull/8682) Gitignore webserver pid files (@gabiudrescu) -- [#8675](https://github.com/Sylius/Sylius/pull/8675) Treat `dev-master` as 1.1 (@pamil) -- [#8662](https://github.com/Sylius/Sylius/pull/8662) fix link to BitBager PayUPlugin (@kochen) diff --git a/CHANGELOG-1.10.md b/CHANGELOG-1.10.md deleted file mode 100644 index 5abd0ca98e..0000000000 --- a/CHANGELOG-1.10.md +++ /dev/null @@ -1,475 +0,0 @@ -# CHANGELOG FOR `1.10.X` - -## v1.10.14 (2022-05-13) - -#### Details - -- [#12868](https://github.com/Sylius/Sylius/issues/12868) Fix zone cannot contain itself validator ([@vvasiloi](https://github.com/vvasiloi)) -- [#13894](https://github.com/Sylius/Sylius/issues/13894) Using Sylius template event to change logo ([@arti0090](https://github.com/arti0090)) -- [#13898](https://github.com/Sylius/Sylius/issues/13898) [maintenance][mailer]Assert that email is not null ([@Ferror](https://github.com/Ferror)) -- [#13903](https://github.com/Sylius/Sylius/issues/13903) [Documentation] Improve and fix the release cycle documentation ([@Zales0123](https://github.com/Zales0123)) -- [#13907](https://github.com/Sylius/Sylius/issues/13907) [Docs] Updated Sylius Plus installation guide - optional PDF Generator ([@Rafikooo](https://github.com/Rafikooo)) -- [#13908](https://github.com/Sylius/Sylius/issues/13908) [DX] General refactor using ECS ([@coldic3](https://github.com/coldic3)) -- [#13909](https://github.com/Sylius/Sylius/issues/13909) [Maintenance] Specify the default path in the ECS configuration ([@coldic3](https://github.com/coldic3)) -- [#13919](https://github.com/Sylius/Sylius/issues/13919) [Maintenance][CI] Add Refactor workflow ([@coldic3](https://github.com/coldic3)) -- [#13929](https://github.com/Sylius/Sylius/issues/13929) Specify rough 1.12 release term and its planned content ([@Zales0123](https://github.com/Zales0123)) -- [#13933](https://github.com/Sylius/Sylius/issues/13933) Bump flex to ^1.17, v1.13 - old infrastructure shutdown ([@em411](https://github.com/em411)) -- [#13940](https://github.com/Sylius/Sylius/issues/13940) [CS][DX] Refactor ([@github-actions](https://github.com/github-actions)) -- [#13959](https://github.com/Sylius/Sylius/issues/13959) [Docs] Favicon ([@Rafikooo](https://github.com/Rafikooo)) -- [#13961](https://github.com/Sylius/Sylius/issues/13961) [GH] Store composer lock and generate diff ([@lchrusciel](https://github.com/lchrusciel)) -- [#13966](https://github.com/Sylius/Sylius/issues/13966) Update orders.rst ([@groupecomplus](https://github.com/groupecomplus)) - -## v1.10.13 (2022-04-22) - -#### Details - -- [#13601](https://github.com/Sylius/Sylius/issues/13601) Use the Gaufrette FilesystemInterface instead of a concrete implementation ([@GSadee](https://github.com/GSadee), [@mbabker](https://github.com/mbabker)) -- [#13841](https://github.com/Sylius/Sylius/issues/13841) [Maintenance] Add note to UPGRADE file about dropping Symfony 5.2 support ([@GSadee](https://github.com/GSadee)) -- [#13848](https://github.com/Sylius/Sylius/issues/13848) [DOCS] Update index tip ([@arti0090](https://github.com/arti0090)) -- [#13852](https://github.com/Sylius/Sylius/issues/13852) [Maintenance] Run the build on tags rather than on releases ([@Zales0123](https://github.com/Zales0123)) -- [#13857](https://github.com/Sylius/Sylius/issues/13857) [DOC] Bump minimal PHP version needed to install Sylius ([@Roshyo](https://github.com/Roshyo)) -- [#13865](https://github.com/Sylius/Sylius/issues/13865) [Cart] Add Validator for localeCode ([@SirDomin](https://github.com/SirDomin)) -- [#13866](https://github.com/Sylius/Sylius/issues/13866) [Maintenance] Relax conflict on liip imagine bundle - rebased version ([@Nek-](https://github.com/Nek-)) -- [#13867](https://github.com/Sylius/Sylius/issues/13867) [Template][Events] Sylius template events - improvements ([@ernestWarwas](https://github.com/ernestWarwas)) -- [#13870](https://github.com/Sylius/Sylius/issues/13870) [ShippingMethod] Change shipping rule to be based on items total instead of order total ([@GSadee](https://github.com/GSadee), [@mdevlamynck](https://github.com/mdevlamynck)) -- [#13878](https://github.com/Sylius/Sylius/issues/13878) [Template] Variant name instead of product name ([@ernestWarwas](https://github.com/ernestWarwas)) -- [#13886](https://github.com/Sylius/Sylius/issues/13886) [Templates][Admin] Refactor order payments template to use events ([@coldic3](https://github.com/coldic3)) -- [#13888](https://github.com/Sylius/Sylius/issues/13888) [Documentation] Fix the description of items total shipping rules ([@GSadee](https://github.com/GSadee)) -- [#13890](https://github.com/Sylius/Sylius/issues/13890) [maintenance]Fix ECS HeaderCommentFixer ([@Ferror](https://github.com/Ferror)) -- [#13891](https://github.com/Sylius/Sylius/issues/13891) [maintenance]Run ECS in parallel ([@Ferror](https://github.com/Ferror)) - -## v1.10.12 (2022-04-08) - -#### Details - -- [#11850](https://github.com/Sylius/Sylius/issues/11850) Fix redirection when there is a trailing slash in the products list path ([@loic425](https://github.com/loic425)) -- [#12538](https://github.com/Sylius/Sylius/issues/12538) [Behat] Allow to use some useful methods on Order show page ([@loic425](https://github.com/loic425)) -- [#13724](https://github.com/Sylius/Sylius/issues/13724) Fix disappearing products in Admin Panel when translation for current locale is missing ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#13736](https://github.com/Sylius/Sylius/issues/13736) [Maintenance] Testing with PHP 8.1 ([@loic425](https://github.com/loic425)) -- [#13744](https://github.com/Sylius/Sylius/issues/13744) [Maintenance]Ignore phpstan.neon file ([@Ferror](https://github.com/Ferror)) -- [#13745](https://github.com/Sylius/Sylius/issues/13745) [Promotion] Add validation of coupon usage limit per customer ([@coldic3](https://github.com/coldic3)) -- [#13753](https://github.com/Sylius/Sylius/issues/13753) [UI] Replacing the placeholder avatar with an icon ([@mamazu](https://github.com/mamazu)) -- [#13759](https://github.com/Sylius/Sylius/issues/13759) [Behat] Use "When" for user actions where possible ([@coldic3](https://github.com/coldic3)) -- [#13767](https://github.com/Sylius/Sylius/issues/13767) Change sylius.behat.context.ui.email context to sylius.behat.context.api.email ([@Ferror](https://github.com/Ferror)) -- [#13768](https://github.com/Sylius/Sylius/issues/13768) Bump Psalm version to 4.19 (php 8.1 support) ([@loic425](https://github.com/loic425)) -- [#13769](https://github.com/Sylius/Sylius/issues/13769) [Core][Shipping] Fix estimated shipping costs ([@coldic3](https://github.com/coldic3), [@lchrusciel](https://github.com/lchrusciel)) -- [#13770](https://github.com/Sylius/Sylius/issues/13770) [ADR] Clean up existing ADRs mostly by updating their statuses ([@GSadee](https://github.com/GSadee)) -- [#13779](https://github.com/Sylius/Sylius/issues/13779) [Documentation][Plus] Update cookbook about restricting access to the entity ([@GSadee](https://github.com/GSadee)) -- [#13782](https://github.com/Sylius/Sylius/issues/13782) [Plus] Fix Sylius installation guide ([@lchrusciel](https://github.com/lchrusciel)) -- [#13787](https://github.com/Sylius/Sylius/issues/13787) [ADR] Use raw data in commands and events ([@ernestWarwas](https://github.com/ernestWarwas)) -- [#13795](https://github.com/Sylius/Sylius/issues/13795) [ADR] Remove flush() from handlers. ([@ernestWarwas](https://github.com/ernestWarwas)) -- [#13798](https://github.com/Sylius/Sylius/issues/13798) [Events] Sylius template event forms ([@SirDomin](https://github.com/SirDomin)) -- [#13799](https://github.com/Sylius/Sylius/issues/13799) [Core][Shipping] Deprecate processing shipments before recalculating prices ([@coldic3](https://github.com/coldic3)) -- [#13801](https://github.com/Sylius/Sylius/issues/13801) [Behat] added context to manage non-collection subresources ([@emmanuel-tilleuls](https://github.com/emmanuel-tilleuls)) -- [#13802](https://github.com/Sylius/Sylius/issues/13802) [Docs] Add a guide on how to deal with file access problems in the wkhtmltopdf ([@coldic3](https://github.com/coldic3)) -- [#13803](https://github.com/Sylius/Sylius/issues/13803) [Admin][JS] Applying all the options selected for an attribute of type multiple select fixed ([@TheMilek](https://github.com/TheMilek)) -- [#13805](https://github.com/Sylius/Sylius/issues/13805) [JS] Not render empty value in multi select autocompletes ([@ernestWarwas](https://github.com/ernestWarwas)) -- [#13809](https://github.com/Sylius/Sylius/issues/13809) [Documentation] Fix build by specifying jinja2 version requirement ([@GSadee](https://github.com/GSadee)) -- [#13811](https://github.com/Sylius/Sylius/issues/13811) [Documentation][Plus] Adjust installation guide after entities refactor ([@GSadee](https://github.com/GSadee)) -- [#13817](https://github.com/Sylius/Sylius/issues/13817) [Admin] Clean up and refactor new template events ([@GSadee](https://github.com/GSadee)) -- [#13818](https://github.com/Sylius/Sylius/issues/13818) [Maintenance] Bump copyright year in docs and license files ([@coldic3](https://github.com/coldic3)) -- [#13839](https://github.com/Sylius/Sylius/issues/13839) Limit the number of packages build run on 1.10 ([@Zales0123](https://github.com/Zales0123)) - -## v1.10.11 (2022-03-14) - -#### Details - -- [#13432](https://github.com/Sylius/Sylius/issues/13432) Update SalesDataProvider.php ([@remoteclient](https://github.com/remoteclient)) -- [#13723](https://github.com/Sylius/Sylius/issues/13723) [Docs] Deployment on artifakt ([@AdamKasp](https://github.com/AdamKasp)) -- [#13731](https://github.com/Sylius/Sylius/issues/13731) [Taxation] Add validation of negative tax rate ([@coldic3](https://github.com/coldic3)) -- [#13734](https://github.com/Sylius/Sylius/issues/13734) [JS] add empty value to autocomplete selects ([@SirDomin](https://github.com/SirDomin)) -- [#13750](https://github.com/Sylius/Sylius/issues/13750) [Admin][Shop] placehold.it replaced to local placeholders ([@ernestWarwas](https://github.com/ernestWarwas)) -- [#13756](https://github.com/Sylius/Sylius/issues/13756) [GitHub Actions] Change PHP ini values + clear cache ([@GSadee](https://github.com/GSadee)) -- [#13765](https://github.com/Sylius/Sylius/issues/13765) [Security] Fixes for SVG XSS, wrong cache for logged in users and clickjacking ([@ernestWarwas](https://github.com/ernestWarwas), [@lchrusciel](https://github.com/lchrusciel), [@GSadee](https://github.com/GSadee), [@Zales0123](https://github.com/Zales0123), [@Rafikooo](https://github.com/Rafikooo)) -- [#13766](https://github.com/Sylius/Sylius/issues/13766) [Security][API] passwordResetToken nulled after password is changed ([@lchrusciel](https://github.com/lchrusciel), [@ernestWarwas](https://github.com/ernestWarwas), [@GSadee](https://github.com/GSadee), [@TheMilek](https://github.com/TheMilek)) - -## v1.10.10 (2022-03-07) - -#### Details - -- [#13575](https://github.com/Sylius/Sylius/issues/13575) [DX] add correct return type to getAdjustments method ([@PILLOWPET](https://github.com/PILLOWPET)) -- [#13641](https://github.com/Sylius/Sylius/issues/13641) [ADR] Declaring services as public in container ([@lchrusciel](https://github.com/lchrusciel)) -- [#13647](https://github.com/Sylius/Sylius/issues/13647) Update Sylius supported versions ([@Zales0123](https://github.com/Zales0123)) -- [#13650](https://github.com/Sylius/Sylius/issues/13650) [Documentation] Update installation guide for Plus ([@GSadee](https://github.com/GSadee)) -- [#13660](https://github.com/Sylius/Sylius/issues/13660) [CLI] Cancel unpaid orders command ([@rafalswierczek](https://github.com/rafalswierczek)) -- [#13676](https://github.com/Sylius/Sylius/issues/13676) [Cart] Fix retrieving/overriding cart of logged in user by guest ([@SirDomin](https://github.com/SirDomin), [@GSadee](https://github.com/GSadee)) -- [#13683](https://github.com/Sylius/Sylius/issues/13683) Improve verbosity of canceling unpaid orders test ([@rafalswierczek](https://github.com/rafalswierczek)) -- [#13684](https://github.com/Sylius/Sylius/issues/13684) [Product][API][Bug] Fixed product sorting by translated names ([@Rafikooo](https://github.com/Rafikooo)) -- [#13695](https://github.com/Sylius/Sylius/issues/13695) [Order] Change getters and setters to use a proper flag name ([@GSadee](https://github.com/GSadee)) -- [#13715](https://github.com/Sylius/Sylius/issues/13715) add dependency injection conflict ([@SirDomin](https://github.com/SirDomin)) -- [#13716](https://github.com/Sylius/Sylius/issues/13716) [Documentation] Fix start date of development 1.12 version ([@GSadee](https://github.com/GSadee)) -- [#13725](https://github.com/Sylius/Sylius/issues/13725) [PaypalExpress] Dont take shipping tax adjustment to shipping cost ([@SirDomin](https://github.com/SirDomin)) -- [#13730](https://github.com/Sylius/Sylius/issues/13730) [Maintenance] Add conflict to symfony/framework-bundle to fix problem with solving path prefix in API scenarios ([@GSadee](https://github.com/GSadee)) -- [#13732](https://github.com/Sylius/Sylius/issues/13732) [Hot-fix] Conflict with symfony/dependency-injection even more ([@Zales0123](https://github.com/Zales0123)) - -## v1.10.9 (2022-02-14) - -#### Details - -- [#13421](https://github.com/Sylius/Sylius/issues/13421) [Docs] How to customize the invoice logo - updated cookbook ([@Rafikooo](https://github.com/Rafikooo)) -- [#13423](https://github.com/Sylius/Sylius/issues/13423) [Docs] Customizing Credit Memo's logo ([@TheMilek](https://github.com/TheMilek)) -- [#13431](https://github.com/Sylius/Sylius/issues/13431) FIX: Avoid passing empty needle to strpos() ([@rimas-kudelis](https://github.com/rimas-kudelis)) -- [#13498](https://github.com/Sylius/Sylius/issues/13498) [Docs] Sylius 1.8 is not supported anymore ([@Zales0123](https://github.com/Zales0123)) -- [#13504](https://github.com/Sylius/Sylius/issues/13504) Postpone 1.10 end of maintenance date ([@Zales0123](https://github.com/Zales0123)) -- [#13506](https://github.com/Sylius/Sylius/issues/13506) [Docs] How to customize the invoice logo - neatly cut invoice image ([@Rafikooo](https://github.com/Rafikooo)) -- [#13513](https://github.com/Sylius/Sylius/issues/13513) [Architecture] Do not double install PHP dependencies ([@lchrusciel](https://github.com/lchrusciel)) -- [#13514](https://github.com/Sylius/Sylius/issues/13514) [Documentation] Update Core Team in our documentation ([@lchrusciel](https://github.com/lchrusciel)) -- [#13515](https://github.com/Sylius/Sylius/issues/13515) [Maintenance] Replace `test-package.sh` with native GH Actions ([@lchrusciel](https://github.com/lchrusciel)) -- [#13516](https://github.com/Sylius/Sylius/issues/13516) [Maintenance] Remove NelmioAlice from the main packages config ([@lchrusciel](https://github.com/lchrusciel)) -- [#13517](https://github.com/Sylius/Sylius/issues/13517) [Docs] Change the template path in customization ([@Roshyo](https://github.com/Roshyo)) -- [#13519](https://github.com/Sylius/Sylius/issues/13519) [Docs] Altered custom invoice logo path ([@Rafikooo](https://github.com/Rafikooo)) -- [#13520](https://github.com/Sylius/Sylius/issues/13520) change suggested path in refund docs ([@AdamKasp](https://github.com/AdamKasp)) -- [#13527](https://github.com/Sylius/Sylius/issues/13527) [Minor] Typo fixes in github packages config ([@lchrusciel](https://github.com/lchrusciel)) -- [#13535](https://github.com/Sylius/Sylius/issues/13535) [Minor] Removal of logic duplication in shipping charges processor ([@lchrusciel](https://github.com/lchrusciel)) -- [#13552](https://github.com/Sylius/Sylius/issues/13552) Fixing the documentation (1.10) ([@mamazu](https://github.com/mamazu)) -- [#13553](https://github.com/Sylius/Sylius/issues/13553) [Fixtures] USA deleted from the World zone ([@TheMilek](https://github.com/TheMilek)) -- [#13561](https://github.com/Sylius/Sylius/issues/13561) [Docs] Mention autoconfiguration case when extending the form ([@Zales0123](https://github.com/Zales0123)) - -## v1.10.8 (2022-01-17) - -#### Details - -- [#12549](https://github.com/Sylius/Sylius/issues/12549) [Product Variant] Price Calculator fixed to return always int ([@lruozzi9](https://github.com/lruozzi9)) -- [#12759](https://github.com/Sylius/Sylius/issues/12759) Use phpspec ^7.1 and avoid custom error reporting level in its configuration ([@pamil](https://github.com/pamil)) -- [#13214](https://github.com/Sylius/Sylius/issues/13214) Replace `json_array` with `json` type as requested by the deprecation ([@Prometee](https://github.com/Prometee)) -- [#13366](https://github.com/Sylius/Sylius/issues/13366) [Docs] Add missing references in CONFLICT.md ([@lchrusciel](https://github.com/lchrusciel)) -- [#13379](https://github.com/Sylius/Sylius/issues/13379) [Bug][Migrations] Add missing `mysql` check for our migrations to ensure proper syntax is available ([@lchrusciel](https://github.com/lchrusciel)) -- [#13392](https://github.com/Sylius/Sylius/issues/13392) [Minor] Update possible branch version in GitHub PR template ([@lchrusciel](https://github.com/lchrusciel)) -- [#13405](https://github.com/Sylius/Sylius/issues/13405) Class name typo ([@TheDevilOnLine](https://github.com/TheDevilOnLine)) -- [#13426](https://github.com/Sylius/Sylius/issues/13426) Architecture tests initialization ([@Zales0123](https://github.com/Zales0123)) -- [#13428](https://github.com/Sylius/Sylius/issues/13428) Symfony2 is no more 💃 ([@Zales0123](https://github.com/Zales0123)) -- [#13430](https://github.com/Sylius/Sylius/issues/13430) [Maintenance] Do not skip auto-configuration tests ([@lchrusciel](https://github.com/lchrusciel)) -- [#13435](https://github.com/Sylius/Sylius/issues/13435) [Behat] [Taxons] Fixed issue with asserting Taxons ([@TheDevilOnLine](https://github.com/TheDevilOnLine)) -- [#13439](https://github.com/Sylius/Sylius/issues/13439) Recalculate cart on remove item ([@SirDomin](https://github.com/SirDomin)) -- [#13454](https://github.com/Sylius/Sylius/issues/13454) Using phparkitect github actions ([@AlessandroMinoccheri](https://github.com/AlessandroMinoccheri)) -- [#13455](https://github.com/Sylius/Sylius/issues/13455) Delay 1.11 one more time ([@Zales0123](https://github.com/Zales0123)) -- [#13459](https://github.com/Sylius/Sylius/issues/13459) [API] Bring back SwaggerUI overriding ([@lchrusciel](https://github.com/lchrusciel)) -- [#13490](https://github.com/Sylius/Sylius/issues/13490) Unify latest CHANGELOGs format with the previous ones ([@Zales0123](https://github.com/Zales0123)) - -## v1.10.7 (2021-12-09) - -#### Details - -- [#13365](https://github.com/Sylius/Sylius/issues/13365) Let's not release Sylius 1.11 on Sunday ([@Zales0123](https://github.com/Zales0123)) -- [#13372](https://github.com/Sylius/Sylius/issues/13372) Remove ORM 2.10 conflict ([@mbabker](https://github.com/mbabker)) -- [#13373](https://github.com/Sylius/Sylius/issues/13373) Revert "Move "polishsymfonycommunity/symfony-mocker-container" into dev dependencies" due to the BC break ([@lchrusciel](https://github.com/lchrusciel)) - -## v1.10.6 (2021-12-07) - -#### Details - -- [#11751](https://github.com/Sylius/Sylius/issues/11751) [Core] added default factory for avatar image ([@foxou33](https://github.com/foxou33), [@lchrusciel](https://github.com/lchrusciel)) -- [#13118](https://github.com/Sylius/Sylius/issues/13118) Move "polishsymfonycommunity/symfony-mocker-container" into dev dependencies ([@stloyd](https://github.com/stloyd)) -- [#13275](https://github.com/Sylius/Sylius/issues/13275) [Maintenance] Add note about doctrine/dbal requirement ([@lchrusciel](https://github.com/lchrusciel)) -- [#13278](https://github.com/Sylius/Sylius/issues/13278) [Behat] Remove deprecated whitespace from behat tags ([@GSadee](https://github.com/GSadee)) -- [#13282](https://github.com/Sylius/Sylius/issues/13282) [API] Revert changes of checked keys in cart and checkout responses to fix the build ([@GSadee](https://github.com/GSadee)) -- [#13307](https://github.com/Sylius/Sylius/issues/13307) [Docs] Drop 1.9 bug support ([@lchrusciel](https://github.com/lchrusciel)) -- [#13310](https://github.com/Sylius/Sylius/issues/13310) Corrections for adding a field to the response ([@j92](https://github.com/j92)) -- [#13320](https://github.com/Sylius/Sylius/issues/13320) Remove swagger decorators when docs are disabled ([@paullla](https://github.com/paullla)) -- [#13322](https://github.com/Sylius/Sylius/issues/13322) [Spec] change username to runtime exception ([@SirDomin](https://github.com/SirDomin), [@lchrusciel](https://github.com/lchrusciel)) -- [#13335](https://github.com/Sylius/Sylius/issues/13335) [Minor] Removal of additional spaces and deprecation version fix ([@lchrusciel](https://github.com/lchrusciel)) -- [#13357](https://github.com/Sylius/Sylius/issues/13357) Add Symfony 5.4 support for Sylius 1.10 ([@AdamKasp](https://github.com/AdamKasp), [@GSadee](https://github.com/GSadee), [@lchrusciel](https://github.com/lchrusciel)) -- [#13360](https://github.com/Sylius/Sylius/issues/13360) Minimize number of build for packages ([@Zales0123](https://github.com/Zales0123)) - -## v1.10.5 (2021-11-03) - -#### Details - -- [#13162](https://github.com/Sylius/Sylius/issues/13162) [docs] typofixes ([@nexxai](https://github.com/nexxai)) -- [#13165](https://github.com/Sylius/Sylius/issues/13165) [HotFix] Add conflict to doctrine/orm to fix the problem with creating taxons ([@GSadee](https://github.com/GSadee)) -- [#13173](https://github.com/Sylius/Sylius/issues/13173) [HotFix] Update conflict to doctrine/orm to fix the problem with creating taxons ([@GSadee](https://github.com/GSadee)) -- [#13215](https://github.com/Sylius/Sylius/issues/13215) Add conflict with doctrine/dbal ^3 to avoid missing `json_array` doctrine type error ([@Prometee](https://github.com/Prometee)) -- [#13216](https://github.com/Sylius/Sylius/issues/13216) [Maintenance] Bump node version in CI ([@lchrusciel](https://github.com/lchrusciel)) -- [#13232](https://github.com/Sylius/Sylius/issues/13232) Update ElasticSearch Depricated Plugin with the maintained one ([@zairigimad](https://github.com/zairigimad)) -- [#13242](https://github.com/Sylius/Sylius/issues/13242) [Docs] Delay Sylius 1.11 release ([@Zales0123](https://github.com/Zales0123)) -- [#13243](https://github.com/Sylius/Sylius/issues/13243) BUGFIX: #12859 Fix link to ResourceController in documentation ([@Jashi](https://github.com/Jashi)) -- [#13244](https://github.com/Sylius/Sylius/issues/13244) Fix builds ([@nedac-sorbo](https://github.com/nedac-sorbo)) -- [#13252](https://github.com/Sylius/Sylius/issues/13252) [Maintenance] Replace dbal conflict with explicit requirement ([@lchrusciel](https://github.com/lchrusciel)) -- [#13261](https://github.com/Sylius/Sylius/issues/13261) Conflict liip/imagine-bundle ^2.7 ([@Zales0123](https://github.com/Zales0123)) -- [#13263](https://github.com/Sylius/Sylius/issues/13263) Remove undocumented conflict on laminas-code ^4.0 ([@4c0n](https://github.com/4c0n)) - -## v1.10.4 (2021-09-30) - -#### Details - -- [#13160](https://github.com/Sylius/Sylius/issues/13160) Remove types in public and protected properties in not final classes ([@Zales0123](https://github.com/Zales0123)) - -## v1.10.3 (2021-09-30) - -#### Details - -- [#12222](https://github.com/Sylius/Sylius/issues/12222) logo path corrected ([@Snowbaha](https://github.com/Snowbaha), [@CoderMaggie](https://github.com/CoderMaggie)) -- [#12452](https://github.com/Sylius/Sylius/issues/12452) [Doc] Customizing admin routes prefix ([@oallain](https://github.com/oallain), [@CoderMaggie](https://github.com/CoderMaggie)) -- [#12637](https://github.com/Sylius/Sylius/issues/12637) Missing Behat directory on the path to be excluded ([@tonicospinelli](https://github.com/tonicospinelli)) -- [#12786](https://github.com/Sylius/Sylius/issues/12786) [Documentation] Fixed Incorrect Theme Directory And Incorrect Import Paths ([@tugrulgencoglu](https://github.com/tugrulgencoglu)) -- [#12824](https://github.com/Sylius/Sylius/issues/12824) [Documentation] Fixed logo customization (, [@CoderMaggie](https://github.com/CoderMaggie)) -- [#12849](https://github.com/Sylius/Sylius/issues/12849) [Docs] Webpack - Display logo on login page ([@Jibbarth](https://github.com/Jibbarth)) -- [#12863](https://github.com/Sylius/Sylius/issues/12863) Add yaml configuration examples to the "Custom Payment Gateway" cookbook ([@DennisCodeBuds](https://github.com/DennisCodeBuds)) -- [#12892](https://github.com/Sylius/Sylius/issues/12892) [DOCS] Add note about docker builder ([@arti0090](https://github.com/arti0090)) -- [#12982](https://github.com/Sylius/Sylius/issues/12982) [Docs] Fix link to token generation for API ([@lchrusciel](https://github.com/lchrusciel)) -- [#13012](https://github.com/Sylius/Sylius/issues/13012) Use PHP 7.4 syntax in Sylius components ([@Zales0123](https://github.com/Zales0123)) -- [#13038](https://github.com/Sylius/Sylius/issues/13038) PHP 7.4 syntax in Sylius bundles vol.1 ([@Zales0123](https://github.com/Zales0123)) -- [#13039](https://github.com/Sylius/Sylius/issues/13039) PHP 7.4 syntax in bundles vol.2 ([@Zales0123](https://github.com/Zales0123)) -- [#13040](https://github.com/Sylius/Sylius/issues/13040) PHP 7.4 syntax in bundles vol.3 ([@Zales0123](https://github.com/Zales0123)) -- [#13069](https://github.com/Sylius/Sylius/issues/13069) [API] Fix command denormalizer to not throw exception if command does not have constructor ([@lchrusciel](https://github.com/lchrusciel)) -- [#13070](https://github.com/Sylius/Sylius/issues/13070) [Minor][DI] Add interface alias to UriBasedSectionProvider ([@lchrusciel](https://github.com/lchrusciel)) -- [#13088](https://github.com/Sylius/Sylius/issues/13088) [Docs][Customization Guide][API] Headlines fix ([@CoderMaggie](https://github.com/CoderMaggie)) -- [#13102](https://github.com/Sylius/Sylius/issues/13102) Check if the form is submitted before validation ([@jacquesbh](https://github.com/jacquesbh)) -- [#13116](https://github.com/Sylius/Sylius/issues/13116) PHP 7.4 syntax in Behat ([@Zales0123](https://github.com/Zales0123)) -- [#13154](https://github.com/Sylius/Sylius/issues/13154) [API] Do not allow to address empty cart ([@Zales0123](https://github.com/Zales0123)) -- [#13159](https://github.com/Sylius/Sylius/issues/13159) [Build][Hot-fix] Ignore PHPStan analysis for StringInflector ([@Zales0123](https://github.com/Zales0123)) - -## v1.10.2 (2021-09-02) - -#### Details - -- [#11623](https://github.com/Sylius/Sylius/issues/11623) Fix #11603, Update documentation to replace use of removed function ([@CoderMaggie](https://github.com/CoderMaggie)) -- [#12085](https://github.com/Sylius/Sylius/issues/12085) [Doc] Add contact email ([@MatthieuCutin](https://github.com/MatthieuCutin), [@CoderMaggie](https://github.com/CoderMaggie)) -- [#12223](https://github.com/Sylius/Sylius/issues/12223) Remove security.yaml change when disabling localized URLs ([@maximehuran](https://github.com/maximehuran)) -- [#12852](https://github.com/Sylius/Sylius/issues/12852) [API] Do not check command arguments if there is an object to populate ([@GSadee](https://github.com/GSadee)) -- [#12873](https://github.com/Sylius/Sylius/issues/12873) [Docs] sylius performance boost ([@SirDomin](https://github.com/SirDomin), [@arti0090](https://github.com/arti0090)) -- [#12875](https://github.com/Sylius/Sylius/issues/12875) [Admin] Fix shipping totals in order summary ([@aleho](https://github.com/aleho)) -- [#12881](https://github.com/Sylius/Sylius/issues/12881) [Documentation] Note about changes related to upgrade to GridBundle 1.10 ([@AdamKasp](https://github.com/AdamKasp), [@GSadee](https://github.com/GSadee)) -- [#12885](https://github.com/Sylius/Sylius/issues/12885) [Minor][Docs] Bump requirements version ([@lchrusciel](https://github.com/lchrusciel)) -- [#12973](https://github.com/Sylius/Sylius/issues/12973) Fix borders in order - show - addresses ([@pavol-tk](https://github.com/pavol-tk)) -- [#12975](https://github.com/Sylius/Sylius/issues/12975) [Docs] fix annotations ([@SirDomin](https://github.com/SirDomin)) -- [#12976](https://github.com/Sylius/Sylius/issues/12976) [Documentation] Minor fix in grids docs ([@GSadee](https://github.com/GSadee)) -- [#12977](https://github.com/Sylius/Sylius/issues/12977) [Docs] add prefix to sylius customer table ([@SirDomin](https://github.com/SirDomin)) -- [#12984](https://github.com/Sylius/Sylius/issues/12984) [Documentation] Move invoice cookbooks to payments section ([@GSadee](https://github.com/GSadee)) -- [#12988](https://github.com/Sylius/Sylius/issues/12988) [Docs] Specify Sylius 1.11 release date ([@Zales0123](https://github.com/Zales0123)) -- [#12993](https://github.com/Sylius/Sylius/issues/12993) [Build] Force symfony flex in github actions ([@SirDomin](https://github.com/SirDomin)) -- [#13018](https://github.com/Sylius/Sylius/issues/13018) [Bug] Fix default sylius config file path in Sylius 1.8 ([@lchrusciel](https://github.com/lchrusciel)) -- [#13019](https://github.com/Sylius/Sylius/issues/13019) [Bug] Fix default sylius config file path in Sylius 1.9 ([@lchrusciel](https://github.com/lchrusciel)) -- [#13020](https://github.com/Sylius/Sylius/issues/13020) [Bug] Fix default sylius config file path in Sylius 1.10 ([@lchrusciel](https://github.com/lchrusciel)) -- [#13027](https://github.com/Sylius/Sylius/issues/13027) Remove serialization moved to admin api bundle ([@AdamKasp](https://github.com/AdamKasp)) -- [#13032](https://github.com/Sylius/Sylius/issues/13032) [Docs] Choosing the right branch - fix ([@CoderMaggie](https://github.com/CoderMaggie)) - -## v1.10.1 (2021-07-30) - -#### Details - -- [#12751](https://github.com/Sylius/Sylius/issues/12751) [Docs] Describe API customization requirement for SyliusPlus with Sylius 1.9 ([@Zales0123](https://github.com/Zales0123), [@Tomanhez](https://github.com/Tomanhez)) -- [#12763](https://github.com/Sylius/Sylius/issues/12763) [Docs] Remove redundant refund interfaces ([@Tomanhez](https://github.com/Tomanhez)) -- [#12764](https://github.com/Sylius/Sylius/issues/12764) [Taxon] Wrap resource deletion operation with a transaction to fix a problem with removing used taxon ([@GSadee](https://github.com/GSadee)) -- [#12767](https://github.com/Sylius/Sylius/issues/12767) [Documentation] Fix warning about version of Sylius in Plus installation guide ([@GSadee](https://github.com/GSadee)) -- [#12768](https://github.com/Sylius/Sylius/issues/12768) [Docs] Update release cycle after 1.10 release ([@CoderMaggie](https://github.com/CoderMaggie)) -- [#12770](https://github.com/Sylius/Sylius/issues/12770) [Documentation] One more fix for warning about version of Sylius in Plus installation guide ([@GSadee](https://github.com/GSadee)) -- [#12771](https://github.com/Sylius/Sylius/issues/12771) [API] Turn on/off api endpoints with parameter ([@SirDomin](https://github.com/SirDomin)) -- [#12776](https://github.com/Sylius/Sylius/issues/12776) [Docs][Plus] Modify plus installation guide ([@Tomanhez](https://github.com/Tomanhez)) -- [#12777](https://github.com/Sylius/Sylius/issues/12777) [Docs][Plus] Change steps order ([@Tomanhez](https://github.com/Tomanhez)) -- [#12784](https://github.com/Sylius/Sylius/issues/12784) [Documentation][Cookbook] How to add another type of refund? ([@GSadee](https://github.com/GSadee)) -- [#12789](https://github.com/Sylius/Sylius/issues/12789) [API] Disable API by default ([@GSadee](https://github.com/GSadee)) -- [#12800](https://github.com/Sylius/Sylius/issues/12800) [Documentation] Update Plus installation guide for Sylius 1.10 ([@GSadee](https://github.com/GSadee)) -- [#12801](https://github.com/Sylius/Sylius/issues/12801) [Documentation] Update Plus installation guide for Sylius 1.9 ([@GSadee](https://github.com/GSadee)) -- [#12804](https://github.com/Sylius/Sylius/issues/12804) Enable API by default in dev environment ([@Zales0123](https://github.com/Zales0123)) -- [#12807](https://github.com/Sylius/Sylius/issues/12807) Optimizing the attribute loading in product edit ([@mamazu](https://github.com/mamazu)) -- [#12808](https://github.com/Sylius/Sylius/issues/12808) [API] Add missing note about enabling API to UPGRADE-1.10 file ([@GSadee](https://github.com/GSadee)) -- [#12811](https://github.com/Sylius/Sylius/issues/12811) [API] Test not providing required fields during registration ([@Zales0123](https://github.com/Zales0123)) -- [#12814](https://github.com/Sylius/Sylius/issues/12814) [Documentation] API docs reorganisation ([@AdamKasp](https://github.com/AdamKasp)) -- [#12816](https://github.com/Sylius/Sylius/issues/12816) [Maintenance] Fix 1.8 build ([@GSadee](https://github.com/GSadee), [@SirDomin](https://github.com/SirDomin)) -- [#12817](https://github.com/Sylius/Sylius/issues/12817) [Taxation] Add scenarios for applying proper taxes for shipping ([@GSadee](https://github.com/GSadee)) -- [#12818](https://github.com/Sylius/Sylius/issues/12818) [Core] Bring back String u function ([@GSadee](https://github.com/GSadee)) -- [#12819](https://github.com/Sylius/Sylius/issues/12819) [API] 1.8 api as opt ([@SirDomin](https://github.com/SirDomin)) -- [#12820](https://github.com/Sylius/Sylius/issues/12820) [Documentation] Chapter about legacy APIs ([@AdamKasp](https://github.com/AdamKasp)) -- [#12823](https://github.com/Sylius/Sylius/issues/12823) [API] Allow creation of commands with no arguments with a default value ([@GSadee](https://github.com/GSadee)) -- [#12825](https://github.com/Sylius/Sylius/issues/12825) [API] Do not check command arguments if there is an object to populate ([@GSadee](https://github.com/GSadee)) -- [#12826](https://github.com/Sylius/Sylius/issues/12826) [Documentation] New API described in architecture chapter ([@AdamKasp](https://github.com/AdamKasp)) -- [#12828](https://github.com/Sylius/Sylius/issues/12828) [Docs] split api customization docs ([@SirDomin](https://github.com/SirDomin)) -- [#12833](https://github.com/Sylius/Sylius/issues/12833) [API] Disable API by default ([@GSadee](https://github.com/GSadee)) -- [#12837](https://github.com/Sylius/Sylius/issues/12837) [UPGRADE] Split API and non API upgrade files ([@lchrusciel](https://github.com/lchrusciel)) -- [#12838](https://github.com/Sylius/Sylius/issues/12838) [UPGRADE] Split API and non API upgrade files ([@lchrusciel](https://github.com/lchrusciel)) -- [#12839](https://github.com/Sylius/Sylius/issues/12839) [UI] Add bottom scroll to the order summary table ([@kulczy](https://github.com/kulczy)) -- [#12840](https://github.com/Sylius/Sylius/issues/12840) [UPGRADE] Split API and non API upgrade files ([@lchrusciel](https://github.com/lchrusciel)) -- [#12843](https://github.com/Sylius/Sylius/issues/12843) [Documentation] Change version of Plus in installation guide ([@GSadee](https://github.com/GSadee)) -- [#12844](https://github.com/Sylius/Sylius/issues/12844) [API][PHPSpec] Improve spec for CommandNormalizer ([@GSadee](https://github.com/GSadee)) -- [#12845](https://github.com/Sylius/Sylius/issues/12845) Quick Typo update :) ([@FaithlessLooting](https://github.com/FaithlessLooting)) - -## v1.10.0 (2021-06-28) - -#### Details - -No additional changes apart from the ones reported in pre-releases. - -## v1.10.0-RC.1 (2021-06-28) - -#### TL;DR - -**This is a security release!** - -Fixes the follwing vulnerability: - -- [List of order ids, number, items total and token value exposed for unauthorized uses via new API](https://github.com/Sylius/Sylius/security/advisories/GHSA-rpxh-vg2x-526v) - -#### Details - -- [#12596](https://github.com/Sylius/Sylius/issues/12596) Country api resource shouldn't have created/updated at ([@kayue](https://github.com/kayue)) -- [#12618](https://github.com/Sylius/Sylius/issues/12618) [Docs] Fix cookbook for custom entity ([@Tomanhez](https://github.com/Tomanhez)) -- [#12682](https://github.com/Sylius/Sylius/issues/12682) Use Symfony 5.2.* instead of ^5.2 for GitHub Actions ([@pamil](https://github.com/pamil)) -- [#12683](https://github.com/Sylius/Sylius/issues/12683) Improve the UPGRADE file for Sylius v1.10 ([@pamil](https://github.com/pamil)) -- [#12686](https://github.com/Sylius/Sylius/issues/12686) [DOCS] Cookbook for customizing refund process ([@arti0090](https://github.com/arti0090)) -- [#12687](https://github.com/Sylius/Sylius/issues/12687) Fix typo and imporve error message ([@dantleech](https://github.com/dantleech)) -- [#12690](https://github.com/Sylius/Sylius/issues/12690) [Doctrine] Fix problem with explicitly defining entity managers ([@GSadee](https://github.com/GSadee)) -- [#12698](https://github.com/Sylius/Sylius/issues/12698) Fix the build with Symfony 5.3 ([@pamil](https://github.com/pamil)) -- [#12699](https://github.com/Sylius/Sylius/issues/12699) [Documentation] Update templates directory in Themes doc ([@CoderMaggie](https://github.com/CoderMaggie)) -- [#12701](https://github.com/Sylius/Sylius/issues/12701) Delay Sylius 1.10 release by two weeks ([@pamil](https://github.com/pamil)) -- [#12702](https://github.com/Sylius/Sylius/issues/12702) [Documentation] Fix Refund Process Cookbook ([@GSadee](https://github.com/GSadee)) -- [#12706](https://github.com/Sylius/Sylius/issues/12706) [Documentation] Tweaks on the refunds process cookbook ([@CoderMaggie](https://github.com/CoderMaggie), [@GSadee](https://github.com/GSadee)) -- [#12707](https://github.com/Sylius/Sylius/issues/12707) [Documentation] Fix links in the refunds process cookbook ([@GSadee](https://github.com/GSadee)) -- [#12709](https://github.com/Sylius/Sylius/issues/12709) Fix the build after upgrade to Symfony 5.3 in GitHub Actions ([@pamil](https://github.com/pamil)) -- [#12715](https://github.com/Sylius/Sylius/issues/12715) [Dql] Add parameter instead of hardcoding it in where statement ([@SirDomin](https://github.com/SirDomin)) -- [#12720](https://github.com/Sylius/Sylius/issues/12720) [DQL] Change hardcoded enabled value to parameter in where statements ([@GSadee](https://github.com/GSadee)) -- [#12725](https://github.com/Sylius/Sylius/issues/12725) Bring back testing for Symfony ^5.2 ([@pamil](https://github.com/pamil)) -- [#12726](https://github.com/Sylius/Sylius/issues/12726) [DQL] Change hardcoded tracked value to parameter in where statements ([@lchrusciel](https://github.com/lchrusciel)) -- [#12731](https://github.com/Sylius/Sylius/issues/12731) Add cookbook with how to change tax address ([@arti0090](https://github.com/arti0090)) -- [#12732](https://github.com/Sylius/Sylius/issues/12732) Remove unnecessary note about conflict with api-platform/core ([@GSadee](https://github.com/GSadee)) -- [#12733](https://github.com/Sylius/Sylius/issues/12733) Bring back conflict to symfony/polyfill-mbstring ([@GSadee](https://github.com/GSadee)) -- [#12734](https://github.com/Sylius/Sylius/issues/12734) Revert "Bring back conflict to symfony/polyfill-mbstring" ([@GSadee](https://github.com/GSadee)) -- [#12736](https://github.com/Sylius/Sylius/issues/12736) Force Symfony 5.2.* on GitHub Actions ([@pamil](https://github.com/pamil)) -- [#12747](https://github.com/Sylius/Sylius/issues/12747) [Docs] Move AdminApi docs to AdminApiBundle ([@Tomanhez](https://github.com/Tomanhez)) -- [#12748](https://github.com/Sylius/Sylius/issues/12748) [Documentation][Refund] Add cookbook about refund customization with improvements ([@AdamKasp](https://github.com/AdamKasp), [@GSadee](https://github.com/GSadee)) - -## v1.10.0-BETA.1 (2021-05-27) - -#### Details - -- [#12578](https://github.com/Sylius/Sylius/issues/12578) [API][Shop] Remove channel pricing from shop ([@lchrusciel](https://github.com/lchrusciel), [@SirDomin](https://github.com/SirDomin)) -- [#12602](https://github.com/Sylius/Sylius/issues/12602) [Refactor] Unification of buses ([@SirDomin](https://github.com/SirDomin)) -- [#12619](https://github.com/Sylius/Sylius/issues/12619) [Docs] Add docs for custom entity with access per admin channel ([@Tomanhez](https://github.com/Tomanhez), [@GSadee](https://github.com/GSadee)) -- [#12621](https://github.com/Sylius/Sylius/issues/12621) [API] sorting product by position in taxon ([@AdamKasp](https://github.com/AdamKasp)) -- [#12623](https://github.com/Sylius/Sylius/issues/12623) [API] Revert locale to localeCode in pickup cart ([@arti0090](https://github.com/arti0090)) -- [#12626](https://github.com/Sylius/Sylius/issues/12626) [Api] Adding product to cart with proper product price per channel ([@Tomanhez](https://github.com/Tomanhez), [@AdamKasp](https://github.com/AdamKasp), [@GSadee](https://github.com/GSadee)) -- [#12627](https://github.com/Sylius/Sylius/issues/12627) [DOCS] API custom logic example ([@arti0090](https://github.com/arti0090), [@GSadee](https://github.com/GSadee)) -- [#12628](https://github.com/Sylius/Sylius/issues/12628) [API] Conflict with symfony/property-info due to problem with wrong namespaces of some translation entities ([@GSadee](https://github.com/GSadee)) -- [#12632](https://github.com/Sylius/Sylius/issues/12632) [Docs] Mention localhost exposure for easier Facebook login ([@Zales0123](https://github.com/Zales0123)) -- [#12633](https://github.com/Sylius/Sylius/issues/12633) [Bug] [Temporary solution] Comment out 2 behats steps for checking notifications ([@SirDomin](https://github.com/SirDomin)) -- [#12634](https://github.com/Sylius/Sylius/issues/12634) [DOCS] Change response codeblocks to be more clarified ([@arti0090](https://github.com/arti0090)) -- [#12639](https://github.com/Sylius/Sylius/issues/12639) [API]Add inStock serialization to productVariant ([@arti0090](https://github.com/arti0090)) -- [#12640](https://github.com/Sylius/Sylius/issues/12640) [DOCS] Modify serialization fields in api ([@arti0090](https://github.com/arti0090)) -- [#12642](https://github.com/Sylius/Sylius/issues/12642) [Documentation] Fix Customizing API doc headers inconsistency ([@CoderMaggie](https://github.com/CoderMaggie)) -- [#12643](https://github.com/Sylius/Sylius/issues/12643) [README] Fix link to plugin list ([@lchrusciel](https://github.com/lchrusciel)) -- [#12644](https://github.com/Sylius/Sylius/issues/12644) [README] Supported versions update ([@lchrusciel](https://github.com/lchrusciel)) -- [#12647](https://github.com/Sylius/Sylius/issues/12647) Improve API Platform customisation guide ([@pamil](https://github.com/pamil)) -- [#12648](https://github.com/Sylius/Sylius/issues/12648) [Api] Prevent product more than in stock ([@Tomanhez](https://github.com/Tomanhez)) -- [#12649](https://github.com/Sylius/Sylius/issues/12649) [API][Product] Expose default variant on product show and index ([@GSadee](https://github.com/GSadee)) -- [#12650](https://github.com/Sylius/Sylius/issues/12650) [API][ProductVariant] Fix product variant response by using proper normalizer ([@GSadee](https://github.com/GSadee)) -- [#12651](https://github.com/Sylius/Sylius/issues/12651) [API][ProductVariant] Add additional specs for product variant normalizer ([@GSadee](https://github.com/GSadee)) -- [#12652](https://github.com/Sylius/Sylius/issues/12652) [API][Product] Add additional specs for product normalizer ([@GSadee](https://github.com/GSadee)) -- [#12653](https://github.com/Sylius/Sylius/issues/12653) [API] Add missing inStock field to swagger ([@arti0090](https://github.com/arti0090)) -- [#12654](https://github.com/Sylius/Sylius/issues/12654) [Api] Check stock sufficient while cart update ([@Tomanhez](https://github.com/Tomanhez)) -- [#12655](https://github.com/Sylius/Sylius/issues/12655) [Documentation][Plus] Minor improvements in cookbook for accessing to entities by channel admins ([@GSadee](https://github.com/GSadee)) -- [#12657](https://github.com/Sylius/Sylius/issues/12657) [API] Adding inexistent payment method ([@arti0090](https://github.com/arti0090)) -- [#12658](https://github.com/Sylius/Sylius/issues/12658) add validation on complete order ([@AdamKasp](https://github.com/AdamKasp)) -- [#12660](https://github.com/Sylius/Sylius/issues/12660) [API] Preventing from choosing unavailable shipping method during checkout ([@GSadee](https://github.com/GSadee)) -- [#12661](https://github.com/Sylius/Sylius/issues/12661) [API] Add itemsTotal field to order resource ([@arti0090](https://github.com/arti0090)) -- [#12663](https://github.com/Sylius/Sylius/issues/12663) [Api] Customer see description of a product ([@Tomanhez](https://github.com/Tomanhez)) -- [#12665](https://github.com/Sylius/Sylius/issues/12665) Add Validation to chose payment method ([@AdamKasp](https://github.com/AdamKasp)) -- [#12666](https://github.com/Sylius/Sylius/issues/12666) [API] Prevent from using inexistent shipping method ([@pamil](https://github.com/pamil)) -- [#12667](https://github.com/Sylius/Sylius/issues/12667) [Documentation] Customizing CreditMemo entity by adding a new field ([@GSadee](https://github.com/GSadee)) -- [#12668](https://github.com/Sylius/Sylius/issues/12668) [API] write order email send test in api bundle ([@pamil](https://github.com/pamil), [@SirDomin](https://github.com/SirDomin)) -- [#12669](https://github.com/Sylius/Sylius/issues/12669) [API] short description on product index ([@AdamKasp](https://github.com/AdamKasp)) -- [#12671](https://github.com/Sylius/Sylius/issues/12671) [Api] Tests adding incorrect county code to address order ([@Tomanhez](https://github.com/Tomanhez)) -- [#12672](https://github.com/Sylius/Sylius/issues/12672) Fix for build of Sylius Standard ([@arti0090](https://github.com/arti0090)) -- [#12673](https://github.com/Sylius/Sylius/issues/12673) [API][Address] Remove account prefix from addresses endpoints ([@GSadee](https://github.com/GSadee)) -- [#12674](https://github.com/Sylius/Sylius/issues/12674) [Minor] Return shop user after registration command to improve extendibility ([@lchrusciel](https://github.com/lchrusciel)) -- [#12675](https://github.com/Sylius/Sylius/issues/12675) Add missing return value ([@AdamKasp](https://github.com/AdamKasp)) - -## v1.10.0-ALPHA.1 (2021-05-10) - -#### TL;DR - -- Added support for PHP 8.0 ([#12552](https://github.com/Sylius/Sylius/issues/12552)) -- Allowed user password to be null ([#12441](https://github.com/Sylius/Sylius/issues/12441)) -- Bumped PHP requirements to 7.4 ([#12297](https://github.com/Sylius/Sylius/issues/12297)) -- Removed Admin API Bundle from the default Sylius installation ([#12547](https://github.com/Sylius/Sylius/issues/12547)) -- Replaced codes and ids in API v2 with IRIs ([#12487](https://github.com/Sylius/Sylius/issues/12487)) -- Replaced deprecated Zend libraries with Laminas replacements ([#12357](https://github.com/Sylius/Sylius/issues/12357)) -- Switched to utf8mb4 database charset ([#12429](https://github.com/Sylius/Sylius/issues/12429)) -- Unified serialization groups within API v2 ([#12532](https://github.com/Sylius/Sylius/issues/12532)) -- Upgraded to API Platform ^2.6 ([#12510](https://github.com/Sylius/Sylius/issues/12510)) - -#### Details - -- [#12048](https://github.com/Sylius/Sylius/issues/12048) [API] Explicitly exclude feature from API implementation ([@lchrusciel](https://github.com/lchrusciel)) -- [#12092](https://github.com/Sylius/Sylius/issues/12092) Resource layer tip - English corrections ([@tuala](https://github.com/tuala)) -- [#12297](https://github.com/Sylius/Sylius/issues/12297) Bump up requirements to PHP 7.4 ([@pamil](https://github.com/pamil)) -- [#12303](https://github.com/Sylius/Sylius/issues/12303) Remove lock file from cache hashes in CI ([@szepeviktor](https://github.com/szepeviktor)) -- [#12304](https://github.com/Sylius/Sylius/issues/12304) Update PHPStan configuration ([@szepeviktor](https://github.com/szepeviktor)) -- [#12333](https://github.com/Sylius/Sylius/issues/12333) [API] remove promotion coupon ([@arti0090](https://github.com/arti0090)) -- [#12347](https://github.com/Sylius/Sylius/issues/12347) Remove roadmap links for now ([@pjedrzejewski](https://github.com/pjedrzejewski)) -- [#12357](https://github.com/Sylius/Sylius/issues/12357) Replace zendframework/zend-stdlib with laminas/laminas-stdlib ([@pamil](https://github.com/pamil)) -- [#12360](https://github.com/Sylius/Sylius/issues/12360) [API] Password reset ([@arti0090](https://github.com/arti0090)) -- [#12366](https://github.com/Sylius/Sylius/issues/12366) [API] change variants to iri + tests ([@SirDomin](https://github.com/SirDomin)) -- [#12368](https://github.com/Sylius/Sylius/issues/12368) [API] Account verifying ([@AdamKasp](https://github.com/AdamKasp), [@arti0090](https://github.com/arti0090)) -- [#12382](https://github.com/Sylius/Sylius/issues/12382) Filter product variants by product & option values ([@pamil](https://github.com/pamil), [@GSadee](https://github.com/GSadee)) -- [#12385](https://github.com/Sylius/Sylius/issues/12385) Add contact email in channel fixture ([@maximehuran](https://github.com/maximehuran)) -- [#12390](https://github.com/Sylius/Sylius/issues/12390) Shipping method change key cost to price ([@SirDomin](https://github.com/SirDomin), [@AdamKasp](https://github.com/AdamKasp)) -- [#12391](https://github.com/Sylius/Sylius/issues/12391) [API] reseting password with validation ([@arti0090](https://github.com/arti0090)) -- [#12395](https://github.com/Sylius/Sylius/issues/12395) [Docs] Add note about doctrine migrations ([@Tomanhez](https://github.com/Tomanhez)) -- [#12402](https://github.com/Sylius/Sylius/issues/12402) Remove duplicated entry in composer file and add return type in setup trait ([@arti0090](https://github.com/arti0090)) -- [#12405](https://github.com/Sylius/Sylius/issues/12405) Decouple translation used in emails from shopBundle to coreBundle ([@arti0090](https://github.com/arti0090)) -- [#12408](https://github.com/Sylius/Sylius/issues/12408) [ApiBundle] Use one kernel in test application ([@GSadee](https://github.com/GSadee)) -- [#12419](https://github.com/Sylius/Sylius/issues/12419) [API] Add missing specs and make fixes to reset password PR ([@arti0090](https://github.com/arti0090)) -- [#12420](https://github.com/Sylius/Sylius/issues/12420) [API] Adjust reset password requests ([@lchrusciel](https://github.com/lchrusciel)) -- [#12424](https://github.com/Sylius/Sylius/issues/12424) Doc: Fix Doctrine project url ([@n3wborn](https://github.com/n3wborn)) -- [#12429](https://github.com/Sylius/Sylius/issues/12429) Use 4-Byte UTF-8 Unicode Encoding ([@jacquesbh](https://github.com/jacquesbh)) -- [#12431](https://github.com/Sylius/Sylius/issues/12431) Bump elliptic from 6.5.3 to 6.5.4 ([@dependabot](https://github.com/dependabot)[[@bot](https://github.com/bot)]) -- [#12441](https://github.com/Sylius/Sylius/issues/12441) [UserBundle] Allow user password to be null for SSO ([@loic425](https://github.com/loic425)) -- [#12444](https://github.com/Sylius/Sylius/issues/12444) Create resource belongs to collectionOperation ([@kayue](https://github.com/kayue)) -- [#12445](https://github.com/Sylius/Sylius/issues/12445) [Api] Subscribed to newsletter ([@Tomanhez](https://github.com/Tomanhez)) -- [#12451](https://github.com/Sylius/Sylius/issues/12451) [Docs] How to add product variants by options to the cart in Sylius API? ([@AdamKasp](https://github.com/AdamKasp)) -- [#12456](https://github.com/Sylius/Sylius/issues/12456) Update sspooky13/yaml-standards requirement from ^5.1 to ^5.1 || ^6.0 ([@dependabot-preview](https://github.com/dependabot-preview)[[@bot](https://github.com/bot)]) -- [#12457](https://github.com/Sylius/Sylius/issues/12457) Drop sspooky13/yaml-standards ^5.1 in favour of ^6.0 ([@pamil](https://github.com/pamil)) -- [#12460](https://github.com/Sylius/Sylius/issues/12460) Use egulias/email-validator ^3.0 ([@pamil](https://github.com/pamil)) -- [#12470](https://github.com/Sylius/Sylius/issues/12470) [API] Remove untested route on ProductVariant ([@lchrusciel](https://github.com/lchrusciel)) -- [#12472](https://github.com/Sylius/Sylius/issues/12472) [Api] Visitor and Customer add ProductReview ([@Tomanhez](https://github.com/Tomanhez)) -- [#12474](https://github.com/Sylius/Sylius/issues/12474) [API] Resend Verification email ([@arti0090](https://github.com/arti0090)) -- [#12476](https://github.com/Sylius/Sylius/issues/12476) [API] Subscribing to newsletter on account register ([@arti0090](https://github.com/arti0090)) -- [#12477](https://github.com/Sylius/Sylius/issues/12477) [API] product review filters ([@SirDomin](https://github.com/SirDomin)) -- [#12478](https://github.com/Sylius/Sylius/issues/12478) Remove unnecessary logic from handler ([@arti0090](https://github.com/arti0090)) -- [#12479](https://github.com/Sylius/Sylius/issues/12479) Add few cosmetic improvements in ChangeShopUserPasswordHandler.php and xml files ([@Tomanhez](https://github.com/Tomanhez)) -- [#12480](https://github.com/Sylius/Sylius/issues/12480) Change command constructor ([@arti0090](https://github.com/arti0090)) -- [#12482](https://github.com/Sylius/Sylius/issues/12482) Remove duplicated service ([@Tomanhez](https://github.com/Tomanhez)) -- [#12483](https://github.com/Sylius/Sylius/issues/12483) [Api] Product has last 3 reviews by default ([@SirDomin](https://github.com/SirDomin)) -- [#12485](https://github.com/Sylius/Sylius/issues/12485) Use route name instead of a hardcoded '/' to redirect user on logout ([@rimas-kudelis](https://github.com/rimas-kudelis)) -- [#12487](https://github.com/Sylius/Sylius/issues/12487) [Api][POC]Convert iri to code in command ([@Tomanhez](https://github.com/Tomanhez), [@arti0090](https://github.com/arti0090)) -- [#12491](https://github.com/Sylius/Sylius/issues/12491) [API] Added product average rating ([@SirDomin](https://github.com/SirDomin)) -- [#12496](https://github.com/Sylius/Sylius/issues/12496) fixed find files in yaml standards ([@sspooky13](https://github.com/sspooky13)) -- [#12497](https://github.com/Sylius/Sylius/issues/12497) [API] Validating shipment that was shipped ([@arti0090](https://github.com/arti0090)) -- [#12498](https://github.com/Sylius/Sylius/issues/12498) Convert iri to code in command AddProductReview ([@Tomanhez](https://github.com/Tomanhez)) -- [#12499](https://github.com/Sylius/Sylius/issues/12499) [API][Shop] Add validation for adding a product review ([@GSadee](https://github.com/GSadee)) -- [#12509](https://github.com/Sylius/Sylius/issues/12509) [API] Add admin and shop section resolvers ([@GSadee](https://github.com/GSadee)) -- [#12510](https://github.com/Sylius/Sylius/issues/12510) Update to api platform v2.6 ([@Tomanhez](https://github.com/Tomanhez)) -- [#12512](https://github.com/Sylius/Sylius/issues/12512) [API] Fix cart blaming ([@GSadee](https://github.com/GSadee), [@arti0090](https://github.com/arti0090)) -- [#12518](https://github.com/Sylius/Sylius/issues/12518) fix: add unique index to token_value in order entity ([@pptasinski](https://github.com/pptasinski)) -- [#12526](https://github.com/Sylius/Sylius/issues/12526) Remove unused api cart blamer method add missing spec ([@arti0090](https://github.com/arti0090)) -- [#12528](https://github.com/Sylius/Sylius/issues/12528) Refactor cart blaming ([@arti0090](https://github.com/arti0090)) -- [#12529](https://github.com/Sylius/Sylius/issues/12529) Cleanup resend verification email handler ([@arti0090](https://github.com/arti0090)) -- [#12530](https://github.com/Sylius/Sylius/issues/12530) [API]Unify change quantity endpoint with other orders endpoints ([@arti0090](https://github.com/arti0090)) -- [#12532](https://github.com/Sylius/Sylius/issues/12532) [API] Serialization groups unified ([@SirDomin](https://github.com/SirDomin)) -- [#12533](https://github.com/Sylius/Sylius/issues/12533) Minor fixes for cart blaming command ([@arti0090](https://github.com/arti0090)) -- [#12534](https://github.com/Sylius/Sylius/issues/12534) [Api] upgrade taxon filter on product ([@AdamKasp](https://github.com/AdamKasp), [@GSadee](https://github.com/GSadee), [@SirDomin](https://github.com/SirDomin)) -- [#12542](https://github.com/Sylius/Sylius/issues/12542) Upgrade release cycle dates for 1.9 and 1.10 ([@pamil](https://github.com/pamil)) -- [#12544](https://github.com/Sylius/Sylius/issues/12544) [API][Checkout] Add tag to promotion scenario ([@lchrusciel](https://github.com/lchrusciel)) -- [#12545](https://github.com/Sylius/Sylius/issues/12545) [API][Promotion] Test applying promotion rules ([@lchrusciel](https://github.com/lchrusciel)) -- [#12547](https://github.com/Sylius/Sylius/issues/12547) Remove Admin API Bundle from the default Sylius installation ([@pamil](https://github.com/pamil)) -- [#12552](https://github.com/Sylius/Sylius/issues/12552) Add support for PHP 8.0 ([@pamil](https://github.com/pamil)) -- [#12557](https://github.com/Sylius/Sylius/issues/12557) update Plus installation guide ([@AdamKasp](https://github.com/AdamKasp)) -- [#12558](https://github.com/Sylius/Sylius/issues/12558) [Order] Fix race condition problem with multiple order recalculations ([@GSadee](https://github.com/GSadee)) -- [#12562](https://github.com/Sylius/Sylius/issues/12562) [DOC] update theme structure documentation ([@Sylvain](https://github.com/Sylvain) [@Just](https://github.com/Just)) -- [#12564](https://github.com/Sylius/Sylius/issues/12564) [Docs] add minor improvement to Plus installation guide ([@AdamKasp](https://github.com/AdamKasp)) -- [#12565](https://github.com/Sylius/Sylius/issues/12565) [API][Order] Fix possibility to limit orders by refactoring from data provider to extension ([@GSadee](https://github.com/GSadee)) -- [#12568](https://github.com/Sylius/Sylius/issues/12568) [API] channel based product collection ([@SirDomin](https://github.com/SirDomin)) -- [#12569](https://github.com/Sylius/Sylius/issues/12569) Bugfix | Filter out not enabled products in API collection ([@stloyd](https://github.com/stloyd), [@arti0090](https://github.com/arti0090)) -- [#12571](https://github.com/Sylius/Sylius/issues/12571) [API] remove productCode from addToCart ([@SirDomin](https://github.com/SirDomin)) -- [#12574](https://github.com/Sylius/Sylius/issues/12574) Upgrade to GitHub-native Dependabot ([@dependabot-preview](https://github.com/dependabot-preview)[[@bot](https://github.com/bot)]) -- [#12579](https://github.com/Sylius/Sylius/issues/12579) [API] Validate if product or variant is enabled ([@arti0090](https://github.com/arti0090)) -- [#12581](https://github.com/Sylius/Sylius/issues/12581) [Api]Fix isAllowedProperty return type in ReflectionExtractor ([@Tomanhez](https://github.com/Tomanhez), [@pamil](https://github.com/pamil)) -- [#12592](https://github.com/Sylius/Sylius/issues/12592) Include just one MySQL 5.7 build ([@pamil](https://github.com/pamil)) -- [#12599](https://github.com/Sylius/Sylius/issues/12599) [Docs] Add and improve new api docs ([@AdamKasp](https://github.com/AdamKasp)) -- [#12600](https://github.com/Sylius/Sylius/issues/12600) [Api]Add customers id next to token ([@Tomanhez](https://github.com/Tomanhez)) -- [#12604](https://github.com/Sylius/Sylius/issues/12604) [API] Cherry pick commits on 1.9 branch for validating if product is enabled during adding to cart ([@arti0090](https://github.com/arti0090), [@GSadee](https://github.com/GSadee)) -- [#12609](https://github.com/Sylius/Sylius/issues/12609) Adding product from another channel bugfix ([@arti0090](https://github.com/arti0090)) -- [#12610](https://github.com/Sylius/Sylius/issues/12610) Fixes after upmerge ([@AdamKasp](https://github.com/AdamKasp)) -- [#12612](https://github.com/Sylius/Sylius/issues/12612) [Documentation] Update cookbook about Facebook login ([@GSadee](https://github.com/GSadee)) -- [#12613](https://github.com/Sylius/Sylius/issues/12613) [API] Adding inexistent variant ([@arti0090](https://github.com/arti0090), [@GSadee](https://github.com/GSadee)) -- [#12617](https://github.com/Sylius/Sylius/issues/12617) [API][PHPSpec] Fix validator after upmerge ([@GSadee](https://github.com/GSadee)) diff --git a/CHANGELOG-1.11.md b/CHANGELOG-1.11.md deleted file mode 100644 index 36aeebff34..0000000000 --- a/CHANGELOG-1.11.md +++ /dev/null @@ -1,803 +0,0 @@ -# CHANGELOG FOR `1.11.X` - -## v1.11.15 (2023-03-28) - -#### Details - -- [#14784](https://github.com/Sylius/Sylius/issues/14784) [Documentation] Update Sylius versions in release cycle ([@GSadee](https://github.com/GSadee)) -- [#14871](https://github.com/Sylius/Sylius/issues/14871) Fix dependency security vulerability for enshrined/svg-sanitize package ([@cosminsandu](https://github.com/cosminsandu)) -- [#14876](https://github.com/Sylius/Sylius/issues/14876) Fix CI on Sylius 1.11 ([@jakubtobiasz](https://github.com/jakubtobiasz)) - -## v1.11.14 (2023-02-02) - -#### Details - -- [#12996](https://github.com/Sylius/Sylius/issues/12996) Remove sylius.model.shop_billing_data.class ([@vvasiloi](https://github.com/vvasiloi)) -- [#13448](https://github.com/Sylius/Sylius/issues/13448) Remove wrong trailing space in test attribute ([@mmenozzi](https://github.com/mmenozzi)) -- [#13835](https://github.com/Sylius/Sylius/issues/13835) chore: Replace NBSP by Space in doc ([@sad270](https://github.com/sad270)) -- [#14174](https://github.com/Sylius/Sylius/issues/14174) [Admin] Fix 500 error when showing cart in admin panel ([@lchrusciel](https://github.com/lchrusciel)) -- [#14416](https://github.com/Sylius/Sylius/issues/14416) [Product] Fixed product attribute translations #11570 ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14576](https://github.com/Sylius/Sylius/issues/14576) Fix notInRangeMessage usage for a few Range validations ([@diimpp](https://github.com/diimpp), [@GSadee](https://github.com/GSadee)) -- [#14577](https://github.com/Sylius/Sylius/issues/14577) Product taxon position don't affect parent taxon - API ([@everwhatever](https://github.com/everwhatever)) -- [#14719](https://github.com/Sylius/Sylius/issues/14719) [CS][DX] Refactor -- [#14721](https://github.com/Sylius/Sylius/issues/14721) Added forgotten import to docblock. ([@kkevindev](https://github.com/kkevindev)) -- [#14722](https://github.com/Sylius/Sylius/issues/14722) [User] Allow configuring `lastLogin` tracking frequency ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14730](https://github.com/Sylius/Sylius/issues/14730) [UI][DX] Extract form collection event handlers to the separate module ([@coldic3](https://github.com/coldic3)) -- [#14731](https://github.com/Sylius/Sylius/issues/14731) [Fix] Request stack with null request ([@Prometee](https://github.com/Prometee)) -- [#14736](https://github.com/Sylius/Sylius/issues/14736) Updated UPGRADE-1.11.md to add a BC Break on channel pricing ([@devantoine](https://github.com/devantoine)) -- [#14740](https://github.com/Sylius/Sylius/issues/14740) [CS][DX] Refactor -- [#14746](https://github.com/Sylius/Sylius/issues/14746) Optimize jeans_04.svg size ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14751](https://github.com/Sylius/Sylius/issues/14751) Fix applying catalog promotions when there is no applied promotions and price differ from original price ([@TheMilek](https://github.com/TheMilek)) -- [#14755](https://github.com/Sylius/Sylius/issues/14755) [Maintenance][ApiBundle] Move test app into `Tests` dir ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14762](https://github.com/Sylius/Sylius/issues/14762) Add missing interface to OrderIntegrityChecker ([@Zales0123](https://github.com/Zales0123)) -- [#14768](https://github.com/Sylius/Sylius/issues/14768) [CS][DX] Refactor -- [#14773](https://github.com/Sylius/Sylius/issues/14773) [Maintenance][UserBundle] Fix UserLastLoginSubscriber arguments ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14782](https://github.com/Sylius/Sylius/issues/14782) Fix the wrong DQL alias in OrderByIdentifierSqlWalker ([@coldic3](https://github.com/coldic3)) -- [#14783](https://github.com/Sylius/Sylius/issues/14783) [Admin] Fix 500 when resending order confirmation email for a cart ([@NoResponseMate](https://github.com/NoResponseMate)) - -## v1.11.13 (2023-01-13) - -#### Details - -- [#14715](https://github.com/Sylius/Sylius/issues/14715) [Core] Fix default query hint config ([@coldic3](https://github.com/coldic3)) - -## v1.11.12 (2023-01-13) - -#### Details - -- [#12099](https://github.com/Sylius/Sylius/issues/12099) Make link buttons with confirmation modal work again ([@stefandoorn](https://github.com/stefandoorn)) -- [#12712](https://github.com/Sylius/Sylius/issues/12712) Fix sprintf parameters order ([@Creeperface01](https://github.com/Creeperface01)) -- [#13157](https://github.com/Sylius/Sylius/issues/13157) Add missing space to taxes ([@pavol-tuka](https://github.com/pavol-tuka)) -- [#13207](https://github.com/Sylius/Sylius/issues/13207) Changing replacement interface as previous one does not exist ([@Roshyo](https://github.com/Roshyo)) -- [#13689](https://github.com/Sylius/Sylius/issues/13689) Fix typo in sylius_order state machine callback ([@vvasiloi](https://github.com/vvasiloi), [@Rafikooo](https://github.com/Rafikooo), [@Zales0123](https://github.com/Zales0123)) -- [#13820](https://github.com/Sylius/Sylius/issues/13820) [Doc] Add depth to theme configuration ([@Nek-](https://github.com/Nek-)) -- [#14177](https://github.com/Sylius/Sylius/issues/14177) [Docs] Fix API docs for Shop User token response ([@loic425](https://github.com/loic425)) -- [#14289](https://github.com/Sylius/Sylius/issues/14289) [Api] Change int to integer in ProductVariant and ShippingMethod documentation normalizers () -- [#14525](https://github.com/Sylius/Sylius/issues/14525) Adding skipIf for migrations to allow future runs when they should apply ([@stefantalen](https://github.com/stefantalen)) -- [#14575](https://github.com/Sylius/Sylius/issues/14575) [DX] Add EditorConfig for test API responses ([@coldic3](https://github.com/coldic3)) -- [#14580](https://github.com/Sylius/Sylius/issues/14580) [Enchancement] Optimize memory usage by sylius:remove-expired-carts command ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14605](https://github.com/Sylius/Sylius/issues/14605) [CS][DX] Refactor () -- [#14608](https://github.com/Sylius/Sylius/issues/14608) [UI][Shop][Cart] Reset chosen options on refresh in firefox ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14619](https://github.com/Sylius/Sylius/issues/14619) Update catalog_promotions.rst ([@Xusifob](https://github.com/Xusifob)) -- [#14632](https://github.com/Sylius/Sylius/issues/14632) [Documentation] Extend the maintenance period of Sylius 1.11 by one month ([@GSadee](https://github.com/GSadee)) -- [#14633](https://github.com/Sylius/Sylius/issues/14633) [Documentation] Remove Sylius 1.12 scope from the release cycle page ([@GSadee](https://github.com/GSadee)) -- [#14634](https://github.com/Sylius/Sylius/issues/14634) [API] Fix ProductVariantNormalizer exception catching ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14642](https://github.com/Sylius/Sylius/issues/14642) Fix invalid API errors normalization ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14643](https://github.com/Sylius/Sylius/issues/14643) [ProductAssociation] Fix empty product associations ([@coldic3](https://github.com/coldic3)) -- [#14645](https://github.com/Sylius/Sylius/issues/14645) Move Upgrade API from 1.11.11 to 1.11.12 section to the top of file ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14650](https://github.com/Sylius/Sylius/issues/14650) Validate existence of coupon ([@bashilbers](https://github.com/bashilbers), [@everwhatever](https://github.com/everwhatever)) -- [#14651](https://github.com/Sylius/Sylius/issues/14651) Remove unit from shipment ([@kayue](https://github.com/kayue), [@everwhatever](https://github.com/everwhatever)) -- [#14659](https://github.com/Sylius/Sylius/issues/14659) [CS][DX] Refactor ([@bot](https://github.com/bot)@[@sylius](https://github.com/sylius).[@org](https://github.com/org)) -- [#14661](https://github.com/Sylius/Sylius/issues/14661) [Maintenance][Psalm] Add LifecycleEventArgs to deprecated classes ([@Rafikooo](https://github.com/Rafikooo)) -- [#14662](https://github.com/Sylius/Sylius/issues/14662) Improve loading taxons ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14669](https://github.com/Sylius/Sylius/issues/14669) Wrong Rounding of the prices in the percentage discount catalog promotions ([@maxmishyn](https://github.com/maxmishyn), [@everwhatever](https://github.com/everwhatever)) -- [#14677](https://github.com/Sylius/Sylius/issues/14677) [Maintenance] Remove Doctrine's LifecycleEventArgs deprecations ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14678](https://github.com/Sylius/Sylius/issues/14678) [UX] Fix cart button on small screens ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14682](https://github.com/Sylius/Sylius/issues/14682) It's 2023! 🎉 ([@coldic3](https://github.com/coldic3)) -- [#14683](https://github.com/Sylius/Sylius/issues/14683) Extract authorized user assignment to separate method/ cp to 1.11 ([@everwhatever](https://github.com/everwhatever)) -- [#14685](https://github.com/Sylius/Sylius/issues/14685) Default ORDER BY for all entities and their relationships ([@coldic3](https://github.com/coldic3)) -- [#14689](https://github.com/Sylius/Sylius/issues/14689) [CS][DX] Refactor () -- [#14691](https://github.com/Sylius/Sylius/issues/14691) [Fix] Symfony container reanimation after friendsofsymfony/rest-bundle: 3.5.0 release ([@Rafikooo](https://github.com/Rafikooo)) -- [#14697](https://github.com/Sylius/Sylius/issues/14697) Remove error suppression to fix unit tests ([@coldic3](https://github.com/coldic3)) -- [#14700](https://github.com/Sylius/Sylius/issues/14700) Add a conflict for doctrine/migrations:3.5.3 ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14701](https://github.com/Sylius/Sylius/issues/14701) [API] Fix IRI converter catching homepage ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14704](https://github.com/Sylius/Sylius/issues/14704) [Conflicts] Doctrine/annotations:^2.0 ([@Rafikooo](https://github.com/Rafikooo)) -- [#14706](https://github.com/Sylius/Sylius/issues/14706) [Promotion][UI] Fix hardcoded "sylius_promotion" selector ([@coldic3](https://github.com/coldic3)) - -## v1.11.11 (2022-12-08) - -#### Details - -- [#12611](https://github.com/Sylius/Sylius/issues/12611) Change on from string to array, consistent with other definitions ([@stefandoorn](https://github.com/stefandoorn)) -- [#13187](https://github.com/Sylius/Sylius/issues/13187) issue/12985-migration-in-corebundle ([@coldic3](https://github.com/coldic3)) -- [#13202](https://github.com/Sylius/Sylius/issues/13202) [Core][Checkout] fixed #13201 ([@acornforth](https://github.com/acornforth), [@SirDomin](https://github.com/SirDomin)) -- [#14435](https://github.com/Sylius/Sylius/issues/14435) Include 1.13 branch in the PR template ([@Zales0123](https://github.com/Zales0123)) -- [#14474](https://github.com/Sylius/Sylius/issues/14474) :arrow_up: Upgrade gaufrette version (PHP 8+ compat) ([@Nek-](https://github.com/Nek-), [@coldic3](https://github.com/coldic3)) -- [#14486](https://github.com/Sylius/Sylius/issues/14486) [Cart] Set the created_by_guest flag as false if the cart was created by a customer authenticated via access token ([@nicolalazzaro](https://github.com/nicolalazzaro)) -- [#14488](https://github.com/Sylius/Sylius/issues/14488) [Maintenance][CI] Remove deprecations ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14489](https://github.com/Sylius/Sylius/issues/14489) [Api] Sorting products by price should be per channel ([@j92](https://github.com/j92)) -- [#14500](https://github.com/Sylius/Sylius/issues/14500) [Docs] Update inventory source resolving ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14501](https://github.com/Sylius/Sylius/issues/14501) [Maintenance] Removal of direct unneeded dependency on proxy manager LTS ([@lchrusciel](https://github.com/lchrusciel)) -- [#14514](https://github.com/Sylius/Sylius/issues/14514) [Behat][API] Add missing channels suite to imports ([@GSadee](https://github.com/GSadee)) -- [#14516](https://github.com/Sylius/Sylius/issues/14516) [Docs] Update release cycle with 1.12 and 1.13 info ([@Zales0123](https://github.com/Zales0123)) -- [#14523](https://github.com/Sylius/Sylius/issues/14523) Product taxon position don't affect parent taxon ([@everwhatever](https://github.com/everwhatever)) -- [#14527](https://github.com/Sylius/Sylius/issues/14527) [GitHub Actions] Add 1.13 branch to "Refactor" workflow ([@coldic3](https://github.com/coldic3)) -- [#14536](https://github.com/Sylius/Sylius/issues/14536) [Maintenance][Fixture] Allow using default values with optional array nodes ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14538](https://github.com/Sylius/Sylius/issues/14538) [Product] Fix product variant choice labels ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14543](https://github.com/Sylius/Sylius/issues/14543) [Maintenance] Fix type casting in migrations ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14544](https://github.com/Sylius/Sylius/issues/14544) [Doc] Fix Supported versions table ([@oallain](https://github.com/oallain)) -- [#14545](https://github.com/Sylius/Sylius/issues/14545) [Migrations] Remove usage of non existent AbstractMigration ([@GSadee](https://github.com/GSadee)) -- [#14548](https://github.com/Sylius/Sylius/issues/14548) Fix removing the root taxon, when the second one is Menu Taxon of the channel ([@TheMilek](https://github.com/TheMilek)) -- [#14554](https://github.com/Sylius/Sylius/issues/14554) Fix service definition at custom-payment-gateway ([@diimpp](https://github.com/diimpp)) -- [#14563](https://github.com/Sylius/Sylius/issues/14563) Add repository option to product_image node ([@TheMilek](https://github.com/TheMilek)) -- [#14567](https://github.com/Sylius/Sylius/issues/14567) [Core] Fix invalid catalog promotion repository service id ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14570](https://github.com/Sylius/Sylius/issues/14570) [CS][DX] Fix ECS refactoring ([@coldic3](https://github.com/coldic3)) -- [#14573](https://github.com/Sylius/Sylius/issues/14573) [API] Fix ProductReview normalization context ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14574](https://github.com/Sylius/Sylius/issues/14574) [API] Fix missing address serialization for phone number and company name ([@andrehoffmann30](https://github.com/andrehoffmann30), [@coldic3](https://github.com/coldic3)) -- [#14586](https://github.com/Sylius/Sylius/issues/14586) [DX] Unify default repo classes for resources ([@coldic3](https://github.com/coldic3)) -- [#14595](https://github.com/Sylius/Sylius/issues/14595) [Fix] Filtering out disabled channel scenario ([@Rafikooo](https://github.com/Rafikooo)) -- [#14596](https://github.com/Sylius/Sylius/issues/14596) [Orders] Cart not found for registered user ([@Rafikooo](https://github.com/Rafikooo)) -- [#14600](https://github.com/Sylius/Sylius/issues/14600) [ProductAssociation] Show product associations within current channel only ([@coldic3](https://github.com/coldic3)) -- [#14602](https://github.com/Sylius/Sylius/issues/14602) [GitHub Actions] Restrict "Refactor" workflow to Sylius/Sylius repo ([@coldic3](https://github.com/coldic3)) -- [#14614](https://github.com/Sylius/Sylius/issues/14614) Run behat using dual session as javascript scenario ([@Rafikooo](https://github.com/Rafikooo)) -- [#14618](https://github.com/Sylius/Sylius/issues/14618) Use MakerBundle instead of SensioGeneratorBundle ([@hmonglee](https://github.com/hmonglee)) - -## v1.11.10 (2022-10-31) - -#### Details - -- [#14144](https://github.com/Sylius/Sylius/issues/14144) [Documentation] Fix incorrect translation domain in implementation ([@anned20](https://github.com/anned20)) -- [#14156](https://github.com/Sylius/Sylius/issues/14156) [DOCS] Cookbook of how to modify placed order ([@arti0090](https://github.com/arti0090)) -- [#14197](https://github.com/Sylius/Sylius/issues/14197) [Docs] Describe Sylius architectural drivers ([@Zales0123](https://github.com/Zales0123)) -- [#14246](https://github.com/Sylius/Sylius/issues/14246) [DOCS] Add note about min node version ([@arti0090](https://github.com/arti0090)) -- [#14247](https://github.com/Sylius/Sylius/issues/14247) [DOCS] Add info about mailer in installation doc ([@arti0090](https://github.com/arti0090)) -- [#14362](https://github.com/Sylius/Sylius/issues/14362) Using the new template namespace syntax in the doc ([@mamazu](https://github.com/mamazu)) -- [#14384](https://github.com/Sylius/Sylius/issues/14384) [API] Use tokenValue instead of id ([@Prometee](https://github.com/Prometee)) -- [#14397](https://github.com/Sylius/Sylius/issues/14397) [Docs] Fix 1.12 release dates ([@Zales0123](https://github.com/Zales0123)) -- [#14402](https://github.com/Sylius/Sylius/issues/14402) [Api] fix order normalization groups ([@mtarld](https://github.com/mtarld)) -- [#14410](https://github.com/Sylius/Sylius/issues/14410) [Documentation] Remove the tip about ShopApiPlugin from the architecture page ([@GSadee](https://github.com/GSadee)) -- [#14415](https://github.com/Sylius/Sylius/issues/14415) [Behat] Add calendar hook to suites using calendar ([@GSadee](https://github.com/GSadee)) -- [#14421](https://github.com/Sylius/Sylius/issues/14421) [DOCS] Add info about supervisors ([@arti0090](https://github.com/arti0090)) -- [#14442](https://github.com/Sylius/Sylius/issues/14442) [Hot-fix] Conflict with the newest AP that changes a Customer->User response ([@GSadee](https://github.com/GSadee)) -- [#14445](https://github.com/Sylius/Sylius/issues/14445) [Hot-fix] Conflict with the SymfonyMockerContainer 1.0.6 due to incompatible version with Symfony 4.x ([@GSadee](https://github.com/GSadee)) -- [#14454](https://github.com/Sylius/Sylius/issues/14454) [Behat] Move scenario from Plus ([@TheMilek](https://github.com/TheMilek)) -- [#14471](https://github.com/Sylius/Sylius/issues/14471) [Api] fixed normalization/denormalization resources groups ([@mtarld](https://github.com/mtarld)) -- [#14476](https://github.com/Sylius/Sylius/issues/14476) Delay 1.12 release for a few days ([@Zales0123](https://github.com/Zales0123)) -- [#14479](https://github.com/Sylius/Sylius/issues/14479) [Maintenance] Allow APIP 2.7.2 ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14482](https://github.com/Sylius/Sylius/issues/14482) Adding batching to the expired carts remover v2 ([@mamazu](https://github.com/mamazu), [@lchrusciel](https://github.com/lchrusciel)) -- [#14496](https://github.com/Sylius/Sylius/issues/14496) [README] Switch Sylius naming from platform to framework ([@lchrusciel](https://github.com/lchrusciel)) - -## v1.11.9 (2022-10-03) - -#### Details - -- [#14243](https://github.com/Sylius/Sylius/issues/14243) Revert temporary build fix ([@TheMilek](https://github.com/TheMilek)) -- [#14310](https://github.com/Sylius/Sylius/issues/14310) [Docs] Release cycle changes ([@Zales0123](https://github.com/Zales0123)) -- [#14321](https://github.com/Sylius/Sylius/issues/14321) [CS][DX] Refactor () -- [#14324](https://github.com/Sylius/Sylius/issues/14324) [Admin] Improve highlighting menu items ([@GSadee](https://github.com/GSadee)) -- [#14331](https://github.com/Sylius/Sylius/issues/14331) [Docs] Add conventions for Template Events ([@coldic3](https://github.com/coldic3)) -- [#14346](https://github.com/Sylius/Sylius/issues/14346) [Maintenance] Bump doctrine/orm minimal version to 2.13 ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14377](https://github.com/Sylius/Sylius/issues/14377) [Products][Admin][UI] Display the channel name instead of the channel code in the variant list ([@Rafikooo](https://github.com/Rafikooo)) -- [#14390](https://github.com/Sylius/Sylius/issues/14390) [GitHub Actions] Add builds for API Platform ~2.6.0 ([@GSadee](https://github.com/GSadee)) - -## v1.11.8 (2022-09-19) - -#### Details - -- [#14196](https://github.com/Sylius/Sylius/issues/14196) [Documentation] Add naming conventions to contributing section ([@GSadee](https://github.com/GSadee)) -- [#14202](https://github.com/Sylius/Sylius/issues/14202) [Bundle][Attribute]It will also listen on the product attribute objec… () -- [#14211](https://github.com/Sylius/Sylius/issues/14211) [Behat] Extract javascript driver check ([@Zales0123](https://github.com/Zales0123)) -- [#14212](https://github.com/Sylius/Sylius/issues/14212) Adjust PR template file for 1.11 and 1.12 branches ([@Zales0123](https://github.com/Zales0123)) -- [#14213](https://github.com/Sylius/Sylius/issues/14213) [bug]Send request to GUS with https ([@Ferror](https://github.com/Ferror)) -- [#14214](https://github.com/Sylius/Sylius/issues/14214) [API] Remove redundant validation config for the command that does not exist ([@GSadee](https://github.com/GSadee)) -- [#14216](https://github.com/Sylius/Sylius/issues/14216) [Documentation] Minor fixes to naming conventions page ([@GSadee](https://github.com/GSadee)) -- [#14217](https://github.com/Sylius/Sylius/issues/14217) [CatalogPromotion] Fix too early data setting during catalog promotion form submission ([@lchrusciel](https://github.com/lchrusciel)) -- [#14220](https://github.com/Sylius/Sylius/issues/14220) [CS][DX] Refactor () -- [#14223](https://github.com/Sylius/Sylius/issues/14223) [Maintenance] Use getObject instead of getEntity on doctrine events ([@lchrusciel](https://github.com/lchrusciel)) -- [#14225](https://github.com/Sylius/Sylius/issues/14225) [Minor][Behat] Attributes deletion scenario improvements ([@lchrusciel](https://github.com/lchrusciel)) -- [#14233](https://github.com/Sylius/Sylius/issues/14233) [CS][DX] Refactor () -- [#14236](https://github.com/Sylius/Sylius/issues/14236) [API] Remove problematic mapping path ([@coldic3](https://github.com/coldic3)) -- [#14237](https://github.com/Sylius/Sylius/issues/14237) Add coupon channel eligibility checker ([@TheMilek](https://github.com/TheMilek), [@PILLOWPET](https://github.com/PILLOWPET)) -- [#14240](https://github.com/Sylius/Sylius/issues/14240) [Checkout][Addressing] Fix duplicated email validation errors ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14245](https://github.com/Sylius/Sylius/issues/14245) [DOCS] How to run async task added in installation ([@arti0090](https://github.com/arti0090)) -- [#14248](https://github.com/Sylius/Sylius/issues/14248) [UI] Fix autocomplete empty value ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14250](https://github.com/Sylius/Sylius/issues/14250) [docs]Recommend cron jobs values ([@Ferror](https://github.com/Ferror)) -- [#14254](https://github.com/Sylius/Sylius/issues/14254) [Adjustment] Adjustment cloning resets ID and timestamps ([@coldic3](https://github.com/coldic3)) -- [#14277](https://github.com/Sylius/Sylius/issues/14277) [ProductAttributes] Change translatable status to yes/no in ProductAttributes grid ([@TheMilek](https://github.com/TheMilek)) -- [#14295](https://github.com/Sylius/Sylius/issues/14295) [Config] Mark SenderInterface as excluded in psalm.xml ([@Rafikooo](https://github.com/Rafikooo)) -- [#14301](https://github.com/Sylius/Sylius/issues/14301) [Behat][Fix] Check notification expectation in JavaScriptTestHelper ([@Rafikooo](https://github.com/Rafikooo)) -- [#14309](https://github.com/Sylius/Sylius/issues/14309) Conflict api-platform/core 2.7.0 ([@loic425](https://github.com/loic425), [@Rafikooo](https://github.com/Rafikooo)) - -## v1.11.7 (2022-07-28) - -#### Details - -- [#12773](https://github.com/Sylius/Sylius/issues/12773) [API][FIX] Remove code attribute of OrderItem in API serialization ([@oallain](https://github.com/oallain), [@lchrusciel](https://github.com/lchrusciel)) -- [#13874](https://github.com/Sylius/Sylius/issues/13874) [Product] Render disabled main taxon without link in breadcrumb ([@hbsfaria](https://github.com/hbsfaria), [@GSadee](https://github.com/GSadee)) -- [#13918](https://github.com/Sylius/Sylius/issues/13918) Changing templates with Sylius Event ([@arti0090](https://github.com/arti0090), [@coldic3](https://github.com/coldic3)) -- [#14112](https://github.com/Sylius/Sylius/issues/14112) [Documentation][Plus] Add missing step for updating security file during installation ([@GSadee](https://github.com/GSadee)) -- [#14114](https://github.com/Sylius/Sylius/issues/14114) Move login events on Ui bundle ([@loic425](https://github.com/loic425)) -- [#14116](https://github.com/Sylius/Sylius/issues/14116) [Docs] Fix logo customization guide ([@coldic3](https://github.com/coldic3)) -- [#14120](https://github.com/Sylius/Sylius/issues/14120) [Docs] Drop security support for Sylius 1.9 ([@Zales0123](https://github.com/Zales0123)) -- [#14123](https://github.com/Sylius/Sylius/issues/14123) Removed version specification ([@vjandrea](https://github.com/vjandrea)) -- [#14130](https://github.com/Sylius/Sylius/issues/14130) [Maintenance] Fix package build ([@lchrusciel](https://github.com/lchrusciel), [@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14140](https://github.com/Sylius/Sylius/issues/14140) [GitHub Actions] Replace master branch with 1.12 in "Refactor" workflow ([@coldic3](https://github.com/coldic3)) -- [#14146](https://github.com/Sylius/Sylius/issues/14146) Allow to set zero tax rate ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14155](https://github.com/Sylius/Sylius/issues/14155) [BUG] The hostname resolver does not check for the channel status ([@lruozzi9](https://github.com/lruozzi9), [@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14180](https://github.com/Sylius/Sylius/issues/14180) [CS] ECS configuration updated ([@Rafikooo](https://github.com/Rafikooo)) -- [#14190](https://github.com/Sylius/Sylius/issues/14190) [CS][DX] Refactor ([@bot](https://github.com/bot)@[@sylius](https://github.com/sylius).[@org](https://github.com/org)) - -## v1.11.6 (2022-06-27) - -#### Details - -- [#13573](https://github.com/Sylius/Sylius/issues/13573) [UI] Disable session storage for autocomplete dropdowns () -- [#13987](https://github.com/Sylius/Sylius/issues/13987) Remove custom error level on Phpspec ([@loic425](https://github.com/loic425)) -- [#13998](https://github.com/Sylius/Sylius/issues/13998) Split Sylius packages in Github Actions ([@Zales0123](https://github.com/Zales0123)) -- [#14000](https://github.com/Sylius/Sylius/issues/14000) fix `products-by-slug` api docs ([@sad270](https://github.com/sad270)) -- [#14002](https://github.com/Sylius/Sylius/issues/14002) [maintenance]Upload Dark and Light version of Sylius logo ([@Ferror](https://github.com/Ferror)) -- [#14004](https://github.com/Sylius/Sylius/issues/14004) Specifications should be final ([@loic425](https://github.com/loic425)) -- [#14020](https://github.com/Sylius/Sylius/issues/14020) [Dependencies] Removed unused registered Sonata bundles ([@Rafikooo](https://github.com/Rafikooo)) -- [#14023](https://github.com/Sylius/Sylius/issues/14023) [DOCS] Add docs about deploy platforms ([@arti0090](https://github.com/arti0090), [@CoderMaggie](https://github.com/CoderMaggie)) -- [#14024](https://github.com/Sylius/Sylius/issues/14024) [DOCS] Fix github link on search doc ([@arti0090](https://github.com/arti0090)) -- [#14027](https://github.com/Sylius/Sylius/issues/14027) [CS][DX] Refactor () -- [#14029](https://github.com/Sylius/Sylius/issues/14029) [CS][DX] Refactor () -- [#14030](https://github.com/Sylius/Sylius/issues/14030) [DOCS] Update image with installation requirements ([@arti0090](https://github.com/arti0090)) -- [#14031](https://github.com/Sylius/Sylius/issues/14031) [DOCS] Change the github link on search page ([@arti0090](https://github.com/arti0090)) -- [#14032](https://github.com/Sylius/Sylius/issues/14032) [Maintenance] Remove 1.10 branch from scheduled ECS refactor ([@GSadee](https://github.com/GSadee), [@Rafikooo](https://github.com/Rafikooo)) -- [#14033](https://github.com/Sylius/Sylius/issues/14033) [Documentation] Remove section about CurrencyProvider that does not exist ([@GSadee](https://github.com/GSadee)) -- [#14038](https://github.com/Sylius/Sylius/issues/14038) [Behat] Refactor to use PHP 7.4 syntax ([@GSadee](https://github.com/GSadee)) -- [#14039](https://github.com/Sylius/Sylius/issues/14039) [Behat] Introduce PHP 8.0 syntax ([@GSadee](https://github.com/GSadee)) -- [#14041](https://github.com/Sylius/Sylius/issues/14041) [Addressing] Prevent deleting zones and provinces that are zone members ([@coldic3](https://github.com/coldic3)) -- [#14045](https://github.com/Sylius/Sylius/issues/14045) [Rector] Configure PHP version up to 8.0 ([@loic425](https://github.com/loic425)) -- [#14046](https://github.com/Sylius/Sylius/issues/14046) Mention 1.10 full support drop in the documentation ([@Zales0123](https://github.com/Zales0123)) -- [#14047](https://github.com/Sylius/Sylius/issues/14047) Remove auto commenting feature on 1.10 & 1.11 as well ([@lchrusciel](https://github.com/lchrusciel)) -- [#14049](https://github.com/Sylius/Sylius/issues/14049) Revert "Split Sylius packages in Github Actions" ([@Zales0123](https://github.com/Zales0123)) -- [#14058](https://github.com/Sylius/Sylius/issues/14058) [Admin][Zones] Choosing disabled country as a zone member made possible for admin user ([@TheMilek](https://github.com/TheMilek)) -- [#14059](https://github.com/Sylius/Sylius/issues/14059) [Addressing] Enable orphan removal for zone members ([@coldic3](https://github.com/coldic3)) -- [#14061](https://github.com/Sylius/Sylius/issues/14061) [Addressing] Fix adding and removing zone members again ([@coldic3](https://github.com/coldic3)) -- [#14065](https://github.com/Sylius/Sylius/issues/14065) [Symfony 6] Fix zone member integrity listener ([@loic425](https://github.com/loic425)) -- [#14067](https://github.com/Sylius/Sylius/issues/14067) [Addressing] Fix adding and removing zone members again (with API coverage only) ([@coldic3](https://github.com/coldic3)) -- [#14070](https://github.com/Sylius/Sylius/issues/14070) [Maintenance] Fix Version20220407131547 migration ([@coldic3](https://github.com/coldic3)) -- [#14071](https://github.com/Sylius/Sylius/issues/14071) [Addressing] Minor refactor ([@coldic3](https://github.com/coldic3)) -- [#14081](https://github.com/Sylius/Sylius/issues/14081) Change deprecated PHPStan config ([@Zales0123](https://github.com/Zales0123)) -- [#14082](https://github.com/Sylius/Sylius/issues/14082) Revert ReflectionExtractor hot-fix ([@Zales0123](https://github.com/Zales0123)) -- [#14085](https://github.com/Sylius/Sylius/issues/14085) [Migrations] Minimum price migration fixed ([@TheMilek](https://github.com/TheMilek)) -- [#14090](https://github.com/Sylius/Sylius/issues/14090) Fix calculate order item subtotal ([@vvasiloi](https://github.com/vvasiloi), [@AdamKasp](https://github.com/AdamKasp)) -- [#14091](https://github.com/Sylius/Sylius/issues/14091) [Docs] Upgrade Plus installation guide ([@ernestWarwas](https://github.com/ernestWarwas)) -- [#14095](https://github.com/Sylius/Sylius/issues/14095) [Fixtures] Add a fixture listener for removing images ([@GSadee](https://github.com/GSadee)) -- [#14101](https://github.com/Sylius/Sylius/issues/14101) [Template][Events] Part of new UI bundle events for security and grid ([@ernestWarwas](https://github.com/ernestWarwas)) -- [#14102](https://github.com/Sylius/Sylius/issues/14102) [Fixtures] Fix removing images before suite ([@GSadee](https://github.com/GSadee)) -- [#14103](https://github.com/Sylius/Sylius/issues/14103) Tweet automatically about every new Sylius release ([@Zales0123](https://github.com/Zales0123)) -- [#14105](https://github.com/Sylius/Sylius/issues/14105) Fix @javascript scenarios about channels menu taxon ([@Zales0123](https://github.com/Zales0123)) -- [#14106](https://github.com/Sylius/Sylius/issues/14106) [Maintenance] Composer allow plugins finally sorted out + removal of symfony thanks ([@lchrusciel](https://github.com/lchrusciel)) -- [#14108](https://github.com/Sylius/Sylius/issues/14108) [Templates] Move grid events to UI bundle ([@GSadee](https://github.com/GSadee)) - -## v1.11.5 (2022-05-13) - -#### Details - -- [#12868](https://github.com/Sylius/Sylius/issues/12868) Fix zone cannot contain itself validator ([@vvasiloi](https://github.com/vvasiloi)) -- [#13847](https://github.com/Sylius/Sylius/issues/13847) [Maintenance]Run schema validation on mysql pipeline ([@Ferror](https://github.com/Ferror)) -- [#13894](https://github.com/Sylius/Sylius/issues/13894) Using Sylius template event to change logo ([@arti0090](https://github.com/arti0090)) -- [#13898](https://github.com/Sylius/Sylius/issues/13898) [maintenance][mailer]Assert that email is not null ([@Ferror](https://github.com/Ferror)) -- [#13903](https://github.com/Sylius/Sylius/issues/13903) [Documentation] Improve and fix the release cycle documentation ([@Zales0123](https://github.com/Zales0123)) -- [#13905](https://github.com/Sylius/Sylius/issues/13905) [AUTO] Updated translations from Crowdin (1.11) ([@SyliusBot](https://github.com/SyliusBot)) -- [#13907](https://github.com/Sylius/Sylius/issues/13907) [Docs] Updated Sylius Plus installation guide - optional PDF Generator ([@Rafikooo](https://github.com/Rafikooo)) -- [#13908](https://github.com/Sylius/Sylius/issues/13908) [DX] General refactor using ECS ([@coldic3](https://github.com/coldic3)) -- [#13909](https://github.com/Sylius/Sylius/issues/13909) [Maintenance] Specify the default path in the ECS configuration ([@coldic3](https://github.com/coldic3)) -- [#13919](https://github.com/Sylius/Sylius/issues/13919) [Maintenance][CI] Add Refactor workflow ([@coldic3](https://github.com/coldic3)) -- [#13920](https://github.com/Sylius/Sylius/issues/13920) [Maintenance] Fix missing import in ECS config ([@coldic3](https://github.com/coldic3)) -- [#13921](https://github.com/Sylius/Sylius/issues/13921) [1.11][User] Reduce usage of deprecated `\Serializable` interface #13642 ([@sad270](https://github.com/sad270)) -- [#13929](https://github.com/Sylius/Sylius/issues/13929) Specify rough 1.12 release term and its planned content ([@Zales0123](https://github.com/Zales0123)) -- [#13933](https://github.com/Sylius/Sylius/issues/13933) Bump flex to ^1.17, v1.13 - old infrastructure shutdown ([@em411](https://github.com/em411)) -- [#13938](https://github.com/Sylius/Sylius/issues/13938) [CS][DX] Refactor ([@github-actions](https://github.com/github-actions)) -- [#13940](https://github.com/Sylius/Sylius/issues/13940) [CS][DX] Refactor ([@github-actions](https://github.com/github-actions)) -- [#13948](https://github.com/Sylius/Sylius/issues/13948) [Docs] add info about subresources ([@SirDomin](https://github.com/SirDomin), [@GSadee](https://github.com/GSadee)) -- [#13959](https://github.com/Sylius/Sylius/issues/13959) [Docs] Favicon ([@Rafikooo](https://github.com/Rafikooo)) -- [#13961](https://github.com/Sylius/Sylius/issues/13961) [GH] Store composer lock and generate diff ([@lchrusciel](https://github.com/lchrusciel)) -- [#13966](https://github.com/Sylius/Sylius/issues/13966) Update orders.rst ([@groupecomplus](https://github.com/groupecomplus)) - -## v1.11.4 (2022-04-22) - -#### Details - -- [#13601](https://github.com/Sylius/Sylius/issues/13601) Use the Gaufrette FilesystemInterface instead of a concrete implementation ([@GSadee](https://github.com/GSadee), [@mbabker](https://github.com/mbabker)) -- [#13841](https://github.com/Sylius/Sylius/issues/13841) [Maintenance] Add note to UPGRADE file about dropping Symfony 5.2 support ([@GSadee](https://github.com/GSadee)) -- [#13844](https://github.com/Sylius/Sylius/issues/13844) [API][Swagger] Accept language header in SwaggerUI ([@ernestWarwas](https://github.com/ernestWarwas)) -- [#13848](https://github.com/Sylius/Sylius/issues/13848) [DOCS] Update index tip ([@arti0090](https://github.com/arti0090)) -- [#13849](https://github.com/Sylius/Sylius/issues/13849) [API] Fix sorting products by price of their first variant ([@coldic3](https://github.com/coldic3)) -- [#13852](https://github.com/Sylius/Sylius/issues/13852) [Maintenance] Run the build on tags rather than on releases ([@Zales0123](https://github.com/Zales0123)) -- [#13857](https://github.com/Sylius/Sylius/issues/13857) [DOC] Bump minimal PHP version needed to install Sylius ([@Roshyo](https://github.com/Roshyo)) -- [#13865](https://github.com/Sylius/Sylius/issues/13865) [Cart] Add Validator for localeCode ([@SirDomin](https://github.com/SirDomin)) -- [#13866](https://github.com/Sylius/Sylius/issues/13866) [Maintenance] Relax conflict on liip imagine bundle - rebased version ([@Nek-](https://github.com/Nek-)) -- [#13867](https://github.com/Sylius/Sylius/issues/13867) [Template][Events] Sylius template events - improvements ([@ernestWarwas](https://github.com/ernestWarwas)) -- [#13870](https://github.com/Sylius/Sylius/issues/13870) [ShippingMethod] Change shipping rule to be based on items total instead of order total ([@GSadee](https://github.com/GSadee), [@mdevlamynck](https://github.com/mdevlamynck)) -- [#13875](https://github.com/Sylius/Sylius/issues/13875) [Swagger] Enum with available locale codes in Accept-Language header ([@ernestWarwas](https://github.com/ernestWarwas)) -- [#13876](https://github.com/Sylius/Sylius/issues/13876) [API] Refactor FilterEagerLoadingExtension ([@coldic3](https://github.com/coldic3)) -- [#13878](https://github.com/Sylius/Sylius/issues/13878) [Template] Variant name instead of product name ([@ernestWarwas](https://github.com/ernestWarwas)) -- [#13886](https://github.com/Sylius/Sylius/issues/13886) [Templates][Admin] Refactor order payments template to use events ([@coldic3](https://github.com/coldic3)) -- [#13888](https://github.com/Sylius/Sylius/issues/13888) [Documentation] Fix the description of items total shipping rules ([@GSadee](https://github.com/GSadee)) -- [#13890](https://github.com/Sylius/Sylius/issues/13890) [maintenance]Fix ECS HeaderCommentFixer ([@Ferror](https://github.com/Ferror)) -- [#13891](https://github.com/Sylius/Sylius/issues/13891) [maintenance]Run ECS in parallel ([@Ferror](https://github.com/Ferror)) - -## v1.11.3 (2022-04-08) - -#### Details - -- [#11850](https://github.com/Sylius/Sylius/issues/11850) Fix redirection when there is a trailing slash in the products list path ([@loic425](https://github.com/loic425)) -- [#12538](https://github.com/Sylius/Sylius/issues/12538) [Behat] Allow to use some useful methods on Order show page ([@loic425](https://github.com/loic425)) -- [#13724](https://github.com/Sylius/Sylius/issues/13724) Fix disappearing products in Admin Panel when translation for current locale is missing ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#13736](https://github.com/Sylius/Sylius/issues/13736) [Maintenance] Testing with PHP 8.1 ([@loic425](https://github.com/loic425)) -- [#13744](https://github.com/Sylius/Sylius/issues/13744) [Maintenance]Ignore phpstan.neon file ([@Ferror](https://github.com/Ferror)) -- [#13745](https://github.com/Sylius/Sylius/issues/13745) [Promotion] Add validation of coupon usage limit per customer ([@coldic3](https://github.com/coldic3)) -- [#13753](https://github.com/Sylius/Sylius/issues/13753) [UI] Replacing the placeholder avatar with an icon ([@mamazu](https://github.com/mamazu)) -- [#13759](https://github.com/Sylius/Sylius/issues/13759) [Behat] Use "When" for user actions where possible ([@coldic3](https://github.com/coldic3)) -- [#13767](https://github.com/Sylius/Sylius/issues/13767) Change sylius.behat.context.ui.email context to sylius.behat.context.api.email ([@Ferror](https://github.com/Ferror)) -- [#13768](https://github.com/Sylius/Sylius/issues/13768) Bump Psalm version to 4.19 (php 8.1 support) ([@loic425](https://github.com/loic425)) -- [#13769](https://github.com/Sylius/Sylius/issues/13769) [Core][Shipping] Fix estimated shipping costs ([@coldic3](https://github.com/coldic3), [@lchrusciel](https://github.com/lchrusciel)) -- [#13770](https://github.com/Sylius/Sylius/issues/13770) [ADR] Clean up existing ADRs mostly by updating their statuses ([@GSadee](https://github.com/GSadee)) -- [#13772](https://github.com/Sylius/Sylius/issues/13772) [ADR][API] Update ADR for providing locales after changing the approach ([@GSadee](https://github.com/GSadee)) -- [#13775](https://github.com/Sylius/Sylius/issues/13775) [Behat][API] Change the undefined step to create a configurable product instead of simple one ([@GSadee](https://github.com/GSadee)) -- [#13779](https://github.com/Sylius/Sylius/issues/13779) [Documentation][Plus] Update cookbook about restricting access to the entity ([@GSadee](https://github.com/GSadee)) -- [#13782](https://github.com/Sylius/Sylius/issues/13782) [Plus] Fix Sylius installation guide ([@lchrusciel](https://github.com/lchrusciel)) -- [#13787](https://github.com/Sylius/Sylius/issues/13787) [ADR] Use raw data in commands and events ([@ernestWarwas](https://github.com/ernestWarwas)) -- [#13790](https://github.com/Sylius/Sylius/issues/13790) [Maintenance] Update UPGRADE-1.11.md ([@coldic3](https://github.com/coldic3)) -- [#13795](https://github.com/Sylius/Sylius/issues/13795) [ADR] Remove flush() from handlers. ([@ernestWarwas](https://github.com/ernestWarwas)) -- [#13798](https://github.com/Sylius/Sylius/issues/13798) [Events] Sylius template event forms ([@SirDomin](https://github.com/SirDomin)) -- [#13799](https://github.com/Sylius/Sylius/issues/13799) [Core][Shipping] Deprecate processing shipments before recalculating prices ([@coldic3](https://github.com/coldic3)) -- [#13801](https://github.com/Sylius/Sylius/issues/13801) [Behat] added context to manage non-collection subresources ([@emmanuel-tilleuls](https://github.com/emmanuel-tilleuls)) -- [#13802](https://github.com/Sylius/Sylius/issues/13802) [Docs] Add a guide on how to deal with file access problems in the wkhtmltopdf ([@coldic3](https://github.com/coldic3)) -- [#13803](https://github.com/Sylius/Sylius/issues/13803) [Admin][JS] Applying all the options selected for an attribute of type multiple select fixed ([@TheMilek](https://github.com/TheMilek)) -- [#13805](https://github.com/Sylius/Sylius/issues/13805) [JS] Not render empty value in multi select autocompletes ([@ernestWarwas](https://github.com/ernestWarwas)) -- [#13809](https://github.com/Sylius/Sylius/issues/13809) [Documentation] Fix build by specifying jinja2 version requirement ([@GSadee](https://github.com/GSadee)) -- [#13811](https://github.com/Sylius/Sylius/issues/13811) [Documentation][Plus] Adjust installation guide after entities refactor ([@GSadee](https://github.com/GSadee)) -- [#13817](https://github.com/Sylius/Sylius/issues/13817) [Admin] Clean up and refactor new template events ([@GSadee](https://github.com/GSadee)) -- [#13818](https://github.com/Sylius/Sylius/issues/13818) [Maintenance] Bump copyright year in docs and license files ([@coldic3](https://github.com/coldic3)) -- [#13828](https://github.com/Sylius/Sylius/issues/13828) [Maintenance] Fix a misleading description ([@GSadee](https://github.com/GSadee)) -- [#13839](https://github.com/Sylius/Sylius/issues/13839) Limit the number of packages build run on 1.10 ([@Zales0123](https://github.com/Zales0123)) -- [#13840](https://github.com/Sylius/Sylius/issues/13840) [GitHub Actions] Fix symfony/flex in workflows and invalid EngineInterface namespace ([@coldic3](https://github.com/coldic3)) - -## v1.11.2 (2022-03-14) - -#### Details - -- [#13432](https://github.com/Sylius/Sylius/issues/13432) Update SalesDataProvider.php ([@remoteclient](https://github.com/remoteclient)) -- [#13723](https://github.com/Sylius/Sylius/issues/13723) [Docs] Deployment on artifakt ([@AdamKasp](https://github.com/AdamKasp)) -- [#13731](https://github.com/Sylius/Sylius/issues/13731) [Taxation] Add validation of negative tax rate ([@coldic3](https://github.com/coldic3)) -- [#13734](https://github.com/Sylius/Sylius/issues/13734) [JS] add empty value to autocomplete selects ([@SirDomin](https://github.com/SirDomin)) -- [#13735](https://github.com/Sylius/Sylius/issues/13735) [Docs] add note to translation ([@AdamKasp](https://github.com/AdamKasp)) -- [#13737](https://github.com/Sylius/Sylius/issues/13737) [Admin] Fix undefined labels in taxon autocomplete ([@ernestWarwas](https://github.com/ernestWarwas)) -- [#13738](https://github.com/Sylius/Sylius/issues/13738) [Docs] Synchronous messenger transport ([@Rafikooo](https://github.com/Rafikooo)) -- [#13750](https://github.com/Sylius/Sylius/issues/13750) [Admin][Shop] placehold.it replaced to local placeholders ([@ernestWarwas](https://github.com/ernestWarwas)) -- [#13751](https://github.com/Sylius/Sylius/issues/13751) [Docs] Blank line removed ([@Rafikooo](https://github.com/Rafikooo)) -- [#13756](https://github.com/Sylius/Sylius/issues/13756) [GitHub Actions] Change PHP ini values + clear cache ([@GSadee](https://github.com/GSadee)) -- [#13765](https://github.com/Sylius/Sylius/issues/13765) [Security] Fixes for SVG XSS, wrong cache for logged in users and clickjacking ([@ernestWarwas](https://github.com/ernestWarwas), [@lchrusciel](https://github.com/lchrusciel), [@GSadee](https://github.com/GSadee), [@Zales0123](https://github.com/Zales0123), [@Rafikooo](https://github.com/Rafikooo)) -- [#13766](https://github.com/Sylius/Sylius/issues/13766) [Security][API] passwordResetToken nulled after password is changed ([@lchrusciel](https://github.com/lchrusciel), [@ernestWarwas](https://github.com/ernestWarwas), [@GSadee](https://github.com/GSadee), [@TheMilek](https://github.com/TheMilek)) - -## v1.11.1 (2022-03-07) - -#### Details - -- [#13575](https://github.com/Sylius/Sylius/issues/13575) [DX] add correct return type to getAdjustments method ([@PILLOWPET](https://github.com/PILLOWPET)) -- [#13641](https://github.com/Sylius/Sylius/issues/13641) [ADR] Declaring services as public in container ([@lchrusciel](https://github.com/lchrusciel)) -- [#13647](https://github.com/Sylius/Sylius/issues/13647) Update Sylius supported versions ([@Zales0123](https://github.com/Zales0123)) -- [#13650](https://github.com/Sylius/Sylius/issues/13650) [Documentation] Update installation guide for Plus ([@GSadee](https://github.com/GSadee)) -- [#13651](https://github.com/Sylius/Sylius/issues/13651) [Admin][API] Catalog promotion actions validation fixed ([@ernestWarwas](https://github.com/ernestWarwas)) -- [#13658](https://github.com/Sylius/Sylius/issues/13658) [Documentation] Adjust installation guide for Plus on 1.11 ([@GSadee](https://github.com/GSadee)) -- [#13660](https://github.com/Sylius/Sylius/issues/13660) [CLI] Cancel unpaid orders command ([@rafalswierczek](https://github.com/rafalswierczek)) -- [#13673](https://github.com/Sylius/Sylius/issues/13673) [Psalm] Configuration - totallyTyped replaced according to docs to avoid deprecation problem ([@ernestWarwas](https://github.com/ernestWarwas)) -- [#13676](https://github.com/Sylius/Sylius/issues/13676) [Cart] Fix retrieving/overriding cart of logged in user by guest ([@SirDomin](https://github.com/SirDomin), [@GSadee](https://github.com/GSadee)) -- [#13679](https://github.com/Sylius/Sylius/issues/13679) [Docs] [AdminBundle] fix minor typo ([@gigamarr](https://github.com/gigamarr)) -- [#13683](https://github.com/Sylius/Sylius/issues/13683) Improve verbosity of canceling unpaid orders test ([@rafalswierczek](https://github.com/rafalswierczek)) -- [#13684](https://github.com/Sylius/Sylius/issues/13684) [Product][API][Bug] Fixed product sorting by translated names ([@Rafikooo](https://github.com/Rafikooo)) -- [#13687](https://github.com/Sylius/Sylius/issues/13687) [Behat][API] Remove duplicated steps in ProductContext ([@GSadee](https://github.com/GSadee)) -- [#13691](https://github.com/Sylius/Sylius/issues/13691) [Docs] Force user to login during checkout ([@ernestWarwas](https://github.com/ernestWarwas)) -- [#13692](https://github.com/Sylius/Sylius/issues/13692) [Admin] Fix for floating point amount on fixed action in catalog promotion. ([@ernestWarwas](https://github.com/ernestWarwas)) -- [#13695](https://github.com/Sylius/Sylius/issues/13695) [Order] Change getters and setters to use a proper flag name ([@GSadee](https://github.com/GSadee)) -- [#13698](https://github.com/Sylius/Sylius/issues/13698) [Docs] Path fix for validator in API force login cookbook ([@ernestWarwas](https://github.com/ernestWarwas)) -- [#13699](https://github.com/Sylius/Sylius/issues/13699) [Documentation] Add reference to the cookbook about forcing login in API ([@GSadee](https://github.com/GSadee)) -- [#13700](https://github.com/Sylius/Sylius/issues/13700) [Order] Fix getters and setters to use a proper flag name after upmerge issue ([@GSadee](https://github.com/GSadee)) -- [#13704](https://github.com/Sylius/Sylius/issues/13704) Update PHP Version in installation doc ([@sad270](https://github.com/sad270)) -- [#13708](https://github.com/Sylius/Sylius/issues/13708) [Locale] Add header based locale context ([@AdamKasp](https://github.com/AdamKasp)) -- [#13715](https://github.com/Sylius/Sylius/issues/13715) add dependency injection conflict ([@SirDomin](https://github.com/SirDomin)) -- [#13716](https://github.com/Sylius/Sylius/issues/13716) [Documentation] Fix start date of development 1.12 version ([@GSadee](https://github.com/GSadee)) -- [#13725](https://github.com/Sylius/Sylius/issues/13725) [PaypalExpress] Dont take shipping tax adjustment to shipping cost ([@SirDomin](https://github.com/SirDomin)) -- [#13730](https://github.com/Sylius/Sylius/issues/13730) [Maintenance] Add conflict to symfony/framework-bundle to fix problem with solving path prefix in API scenarios ([@GSadee](https://github.com/GSadee)) -- [#13732](https://github.com/Sylius/Sylius/issues/13732) [Hot-fix] Conflict with symfony/dependency-injection even more ([@Zales0123](https://github.com/Zales0123)) - -## v1.11.0 (2022-02-14) - -#### TL;DR - -Final-**final** fixes for CatalogPromotions' system - -#### Details - -- [#13632](https://github.com/Sylius/Sylius/issues/13632) Add time for start and end date in catalog promotions index () -- [#13638](https://github.com/Sylius/Sylius/issues/13638) [CatalogPromotion] Code improvements ([@Rafikooo](https://github.com/Rafikooo)) -- [#13639](https://github.com/Sylius/Sylius/issues/13639) [UI][CatalogPromotion] Fix to not displaying duplicated validation message for fixed discount action ([@GSadee](https://github.com/GSadee)) -- [#13644](https://github.com/Sylius/Sylius/issues/13644) [Maintenance] Minor clean up of UPGRADE files for Sylius 1.11 ([@GSadee](https://github.com/GSadee)) - -## v1.11.0-RC.1 (2022-02-10) - -#### TL;DR - -Final fixes for Catalog Promotions' system - -#### Details - -- [#13431](https://github.com/Sylius/Sylius/issues/13431) FIX: Avoid passing empty needle to strpos() ([@rimas-kudelis](https://github.com/rimas-kudelis)) -- [#13588](https://github.com/Sylius/Sylius/issues/13588) Use semantic ui view instead of deprecated semantic_ui_translated ([@loic425](https://github.com/loic425)) -- [#13604](https://github.com/Sylius/Sylius/issues/13604) [CatalogPromotion][UI][Shop] Fixed label displaying after option change ([@Rafikooo](https://github.com/Rafikooo)) -- [#13606](https://github.com/Sylius/Sylius/issues/13606) [Catalog Promotion] Add exclusive flag to UI ([@AdamKasp](https://github.com/AdamKasp)) -- [#13607](https://github.com/Sylius/Sylius/issues/13607) [Catalog Promotion][UI] Fixed error when trying to save catalog promotion with empty percentage discount value ([@ernestWarwas](https://github.com/ernestWarwas)) -- [#13608](https://github.com/Sylius/Sylius/issues/13608) [Catalog Promotion] Improve fixtures ([@AdamKasp](https://github.com/AdamKasp)) -- [#13611](https://github.com/Sylius/Sylius/issues/13611) Optimize variant autocomplete selector ([@rafal](https://github.com/rafal).[@swierczek](https://github.com/swierczek)@[@drophub](https://github.com/drophub).[@pl](https://github.com/pl)) -- [#13614](https://github.com/Sylius/Sylius/issues/13614) [Maintenance] Add info about messenger transport and api_platform directory to UPGRADE files ([@GSadee](https://github.com/GSadee)) -- [#13616](https://github.com/Sylius/Sylius/issues/13616) [Behat][API] Fixed adding simple product scenarios ([@ernestWarwas](https://github.com/ernestWarwas)) -- [#13620](https://github.com/Sylius/Sylius/issues/13620) Changes in Catalog Promotions validation ([@Zales0123](https://github.com/Zales0123)) -- [#13623](https://github.com/Sylius/Sylius/issues/13623) [Core] Reorganize namespaces of services related with catalog promotions ([@GSadee](https://github.com/GSadee)) -- [#13624](https://github.com/Sylius/Sylius/issues/13624) [CatalogPromotions] Refactor processing catalog promotions states to use commands ([@GSadee](https://github.com/GSadee)) -- [#13626](https://github.com/Sylius/Sylius/issues/13626) [Behat][Api] Second part of fixing simple product creation in api tests ([@ernestWarwas](https://github.com/ernestWarwas)) -- [#13627](https://github.com/Sylius/Sylius/issues/13627) Move ScopeValidatorInterface to PromotionBundle ([@Zales0123](https://github.com/Zales0123)) -- [#13629](https://github.com/Sylius/Sylius/issues/13629) [Catalog Promotion] Fix priorities fixtures ([@AdamKasp](https://github.com/AdamKasp)) -- [#13630](https://github.com/Sylius/Sylius/issues/13630) [Docs][Catalog Promotion] Warning added to docs ([@AdamKasp](https://github.com/AdamKasp)) -- [#13633](https://github.com/Sylius/Sylius/issues/13633) [UPGRADE] Add more details about PHP, mocker container and api platform folder ([@lchrusciel](https://github.com/lchrusciel)) -- [#13635](https://github.com/Sylius/Sylius/issues/13635) [Docs] Drop warning about active, not applied promotions as states are handled in async manner as well ([@lchrusciel](https://github.com/lchrusciel)) -- [#13637](https://github.com/Sylius/Sylius/issues/13637) [CatalogPromotion] Move scope validator and constraint to PromotionBundle ([@GSadee](https://github.com/GSadee) - -## v1.11.0-BETA.1 (2022-02-04) - -#### TL;DR - -- process variants instead of promotions to allow easier batching and performance improvements -- general improvements and fixes for Catalog Promotion and Shop API - -#### Details - -- [#13466](https://github.com/Sylius/Sylius/issues/13466) move default criteria to catalog promotion provider ([@AdamKasp](https://github.com/AdamKasp), [@Rafikooo](https://github.com/Rafikooo)) -- [#13523](https://github.com/Sylius/Sylius/issues/13523) Improving the documentation ([@mamazu](https://github.com/mamazu)) -- [#13535](https://github.com/Sylius/Sylius/issues/13535) [Minor] Removal of logic duplication in shipping charges processor ([@lchrusciel](https://github.com/lchrusciel)) -- [#13536](https://github.com/Sylius/Sylius/issues/13536) Refactor catalog promotions - process variants instead promotion ([@AdamKasp](https://github.com/AdamKasp)) -- [#13538](https://github.com/Sylius/Sylius/issues/13538) [CatalogPromotion] Apply catalog promotions for product created in catalog promotions scope ([@ernestWarwas](https://github.com/ernestWarwas), [@GSadee](https://github.com/GSadee)) -- [#13542](https://github.com/Sylius/Sylius/issues/13542) Specify explicit priorities for all form type extensions ([@rimas-kudelis](https://github.com/rimas-kudelis)) -- [#13545](https://github.com/Sylius/Sylius/issues/13545) [Core][Optimalization] Assign fallback locale for command based requests ([@SirDomin](https://github.com/SirDomin)) -- [#13546](https://github.com/Sylius/Sylius/issues/13546) [Admin][UI] Catalog promotions UI fixes ([@SirDomin](https://github.com/SirDomin)) -- [#13547](https://github.com/Sylius/Sylius/issues/13547) [Promotion] Fix js errors associated with actions/rules/scopes ([@GSadee](https://github.com/GSadee)) -- [#13548](https://github.com/Sylius/Sylius/issues/13548) [Maintenance] Remove phpstan exclude for PHP7.4 ([@lchrusciel](https://github.com/lchrusciel)) -- [#13550](https://github.com/Sylius/Sylius/issues/13550) [CatalogPromotion] Process all catalog promotions when catalog promotion is created ([@SirDomin](https://github.com/SirDomin)) -- [#13551](https://github.com/Sylius/Sylius/issues/13551) [UI][Admin] add divider after form elements ([@SirDomin](https://github.com/SirDomin)) -- [#13552](https://github.com/Sylius/Sylius/issues/13552) Fixing the documentation (1.10) ([@mamazu](https://github.com/mamazu)) -- [#13553](https://github.com/Sylius/Sylius/issues/13553) [Fixtures] USA deleted from the World zone ([@TheMilek](https://github.com/TheMilek)) -- [#13555](https://github.com/Sylius/Sylius/issues/13555) [Core][Optimalization] Assign fallback locale for command based requests ([@lchrusciel](https://github.com/lchrusciel)) -- [#13556](https://github.com/Sylius/Sylius/issues/13556) [Behat] Scenario for creating an exclusive catalog promotion ([@TheMilek](https://github.com/TheMilek)) -- [#13557](https://github.com/Sylius/Sylius/issues/13557) [Promotion] Use sylius/calendar instead of the existing Calendar ([@GSadee](https://github.com/GSadee)) -- [#13558](https://github.com/Sylius/Sylius/issues/13558) [Shipping][Behat] Use sylius/calendar instead of the existing Calendar ([@GSadee](https://github.com/GSadee)) -- [#13561](https://github.com/Sylius/Sylius/issues/13561) [Docs] Mention autoconfiguration case when extending the form ([@Zales0123](https://github.com/Zales0123)) -- [#13562](https://github.com/Sylius/Sylius/issues/13562) PHP 8.0 syntax in bundles (without CoreBundle and ApiBundle) ([@Zales0123](https://github.com/Zales0123)) -- [#13563](https://github.com/Sylius/Sylius/issues/13563) [API][UI][Behat][Refactor] OriginalUnitPrice property on the OrderItem entity ([@Rafikooo](https://github.com/Rafikooo)) -- [#13565](https://github.com/Sylius/Sylius/issues/13565) PHP 8.0 syntax in Core Bundle ([@Zales0123](https://github.com/Zales0123)) -- [#13566](https://github.com/Sylius/Sylius/issues/13566) [Catalog Promotion] Privatize function in CP clearer and remove redundant channelPricing repository ([@AdamKasp](https://github.com/AdamKasp)) -- [#13567](https://github.com/Sylius/Sylius/issues/13567) [Catalog Promotion] ProductVariantForCatalogPromotionEligibility refactored ([@AdamKasp](https://github.com/AdamKasp)) -- [#13569](https://github.com/Sylius/Sylius/issues/13569) [Catalog Promotion] Catalog promotion states refactor ([@ernestWarwas](https://github.com/ernestWarwas)) -- [#13570](https://github.com/Sylius/Sylius/issues/13570) PHP 8.0 syntax in ApiBundle ([@Zales0123](https://github.com/Zales0123)) -- [#13576](https://github.com/Sylius/Sylius/issues/13576) [Catalog Promotion] Select more data during processing to avoid inefficient db calls ([@lchrusciel](https://github.com/lchrusciel)) -- [#13577](https://github.com/Sylius/Sylius/issues/13577) [Catalog Promotion] Removal of unused function ([@lchrusciel](https://github.com/lchrusciel)) -- [#13578](https://github.com/Sylius/Sylius/issues/13578) [Catalog Promotion] add update variant event to messenger routing ([@AdamKasp](https://github.com/AdamKasp)) -- [#13579](https://github.com/Sylius/Sylius/issues/13579) [Catalog Promotion] Move catalog promotion processing after the fixture execution ([@lchrusciel](https://github.com/lchrusciel)) -- [#13580](https://github.com/Sylius/Sylius/issues/13580) Bump Psalm version to 4.19 (php 8.1 support) ([@loic425](https://github.com/loic425)) -- [#13581](https://github.com/Sylius/Sylius/issues/13581) [Catalog Promotion] Refactor - rename AllCatalogPromotionsProcessor ([@ernestWarwas](https://github.com/ernestWarwas)) -- [#13584](https://github.com/Sylius/Sylius/issues/13584) Update catalog promotion instantly if date is set on future ([@SirDomin](https://github.com/SirDomin)) -- [#13585](https://github.com/Sylius/Sylius/issues/13585) [Catalog Promotion] [Docs] docs updated ([@AdamKasp](https://github.com/AdamKasp)) -- [#13587](https://github.com/Sylius/Sylius/issues/13587) [CatalogPromotion] batch configuration size made a part of config ([@TheMilek](https://github.com/TheMilek)) -- [#13589](https://github.com/Sylius/Sylius/issues/13589) [Catalog Promotion] remove redundant method ([@AdamKasp](https://github.com/AdamKasp)) -- [#13591](https://github.com/Sylius/Sylius/issues/13591) [Catalog Promotion][Docs] update CP scopes docs ([@AdamKasp](https://github.com/AdamKasp)) -- [#13592](https://github.com/Sylius/Sylius/issues/13592) [Migration] add migration to messenger if transport is configured to doctrine ([@SirDomin](https://github.com/SirDomin)) -- [#13593](https://github.com/Sylius/Sylius/issues/13593) [Catalog Promotions] State processing after fixtures load ([@ernestWarwas](https://github.com/ernestWarwas)) -- [#13594](https://github.com/Sylius/Sylius/issues/13594) [Catalog Promotion][Test] Assert proper batch size configuration ([@lchrusciel](https://github.com/lchrusciel)) -- [#13595](https://github.com/Sylius/Sylius/issues/13595) [Docs] Configuring catalog promotions batch sizes explained ([@TheMilek](https://github.com/TheMilek)) -- [#13596](https://github.com/Sylius/Sylius/issues/13596) [Cookbook] Minor fixes in custom catalog promotion scope ([@GSadee](https://github.com/GSadee)) -- [#13597](https://github.com/Sylius/Sylius/issues/13597) Core Configuration style and tests improvements ([@Zales0123](https://github.com/Zales0123)) - -## v1.11.0-ALPHA.2 (2022-01-24) - -#### TL;DR - -Improvements and fixes in Catalog Promotion and Shop API - -#### Details - -- [#12549](https://github.com/Sylius/Sylius/issues/12549) [Product Variant] Price Calculator fixed to return always int ([@lruozzi9](https://github.com/lruozzi9)) -- [#12759](https://github.com/Sylius/Sylius/issues/12759) Use phpspec ^7.1 and avoid custom error reporting level in its configuration ([@pamil](https://github.com/pamil)) -- [#13214](https://github.com/Sylius/Sylius/issues/13214) Replace `json_array` with `json` type as requested by the deprecation ([@Prometee](https://github.com/Prometee)) -- [#13251](https://github.com/Sylius/Sylius/issues/13251) Change all MasterRequest calls to MainRequest ([@Roshyo](https://github.com/Roshyo)) -- [#13379](https://github.com/Sylius/Sylius/issues/13379) [Bug][Migrations] Add missing `mysql` check for our migrations to ensure proper syntax is available ([@lchrusciel](https://github.com/lchrusciel)) -- [#13386](https://github.com/Sylius/Sylius/issues/13386) [Docs] Catalog promotion label customization ([@AdamKasp](https://github.com/AdamKasp)) -- [#13389](https://github.com/Sylius/Sylius/issues/13389) [Catalog Promotion] Moved labels to separate twig ([@AdamKasp](https://github.com/AdamKasp)) -- [#13392](https://github.com/Sylius/Sylius/issues/13392) [Minor] Update possible branch version in GitHub PR template ([@lchrusciel](https://github.com/lchrusciel)) -- [#13393](https://github.com/Sylius/Sylius/issues/13393) [BUG] Check action type for fixed promotion ([@SirDomin](https://github.com/SirDomin)) -- [#13396](https://github.com/Sylius/Sylius/issues/13396) [API] Doctrine extension parameter names and aliases refactor ([@TheMilek](https://github.com/TheMilek)) -- [#13397](https://github.com/Sylius/Sylius/issues/13397) [CatalogPromotion][Admin] Fix displaying fixed discount action on catalog show page ([@GSadee](https://github.com/GSadee)) -- [#13398](https://github.com/Sylius/Sylius/issues/13398) [Documentation][CatalogPromotion] Add cookbook about creating a custom action + minor improvements ([@GSadee](https://github.com/GSadee)) -- [#13400](https://github.com/Sylius/Sylius/issues/13400) [API][SHOP] serialization of ShippingMethod and ProductOption - dynamic translation refactor ([@TheMilek](https://github.com/TheMilek)) -- [#13401](https://github.com/Sylius/Sylius/issues/13401) [Translations][Shop][API] Dynamic serialization of translations for a Product, ProductVariant and Taxon entities ([@Rafikooo](https://github.com/Rafikooo)) -- [#13403](https://github.com/Sylius/Sylius/issues/13403) [RFC][CatalogPromotion] Refactor actions and scopes to dynamically set parameters with types without obligatory getType method ([@GSadee](https://github.com/GSadee), [@lchrusciel](https://github.com/lchrusciel)) -- [#13405](https://github.com/Sylius/Sylius/issues/13405) Class name typo ([@TheDevilOnLine](https://github.com/TheDevilOnLine)) -- [#13407](https://github.com/Sylius/Sylius/issues/13407) Remove invalid PHP version from PHPSpec build ([@Zales0123](https://github.com/Zales0123)) -- [#13408](https://github.com/Sylius/Sylius/issues/13408) [CatalogPromotion] Add compiler pass tests for setting action/scope types parameters ([@GSadee](https://github.com/GSadee)) -- [#13409](https://github.com/Sylius/Sylius/issues/13409) [Shop][API] Contract tests for an Address resource, customer authorization refactor ([@Rafikooo](https://github.com/Rafikooo)) -- [#13410](https://github.com/Sylius/Sylius/issues/13410) [Test][API][Refactor] CardContext, ProductVariant and Taxon resource ([@Rafikooo](https://github.com/Rafikooo)) -- [#13412](https://github.com/Sylius/Sylius/issues/13412) [API][SHOP] serialization of Payment and PaymentMethod - dynamic translation refactor ([@TheMilek](https://github.com/TheMilek)) -- [#13415](https://github.com/Sylius/Sylius/issues/13415) [Shop][Api] Translatable resources api docs, included slug field in a Taxon and Product responses ([@Rafikooo](https://github.com/Rafikooo)) -- [#13421](https://github.com/Sylius/Sylius/issues/13421) [Docs] How to customize the invoice logo - updated cookbook ([@Rafikooo](https://github.com/Rafikooo)) -- [#13423](https://github.com/Sylius/Sylius/issues/13423) [Docs] Customizing Credit Memo's logo ([@TheMilek](https://github.com/TheMilek)) -- [#13426](https://github.com/Sylius/Sylius/issues/13426) Architecture tests initialization ([@Zales0123](https://github.com/Zales0123)) -- [#13427](https://github.com/Sylius/Sylius/issues/13427) [Minor] Lineup documentation ([@lchrusciel](https://github.com/lchrusciel)) -- [#13428](https://github.com/Sylius/Sylius/issues/13428) Symfony2 is no more 💃 ([@Zales0123](https://github.com/Zales0123)) -- [#13430](https://github.com/Sylius/Sylius/issues/13430) [Maintenance] Do not skip auto-configuration tests ([@lchrusciel](https://github.com/lchrusciel)) -- [#13435](https://github.com/Sylius/Sylius/issues/13435) [Behat] [Taxons] Fixed issue with asserting Taxons ([@TheDevilOnLine](https://github.com/TheDevilOnLine)) -- [#13436](https://github.com/Sylius/Sylius/issues/13436) [CatalogPromotion] Fix dates in contract tests ([@GSadee](https://github.com/GSadee)) -- [#13439](https://github.com/Sylius/Sylius/issues/13439) Recalculate cart on remove item ([@SirDomin](https://github.com/SirDomin)) -- [#13451](https://github.com/Sylius/Sylius/issues/13451) [docs] fix catalog promotion async tip ([@AdamKasp](https://github.com/AdamKasp)) -- [#13453](https://github.com/Sylius/Sylius/issues/13453) [Order][API] Translation deleted from payment patch response ([@TheMilek](https://github.com/TheMilek)) -- [#13454](https://github.com/Sylius/Sylius/issues/13454) Using phparkitect github actions ([@AlessandroMinoccheri](https://github.com/AlessandroMinoccheri)) -- [#13455](https://github.com/Sylius/Sylius/issues/13455) Delay 1.11 one more time ([@Zales0123](https://github.com/Zales0123)) -- [#13458](https://github.com/Sylius/Sylius/issues/13458) Applied promotion information formatter service configuration cleanup ([@Rafikooo](https://github.com/Rafikooo)) -- [#13459](https://github.com/Sylius/Sylius/issues/13459) [API] Bring back SwaggerUI overriding ([@lchrusciel](https://github.com/lchrusciel)) -- [#13464](https://github.com/Sylius/Sylius/issues/13464) Bugfix: display full cart promotion rule form when adding a new rule ([@rimas-kudelis](https://github.com/rimas-kudelis)) -- [#13465](https://github.com/Sylius/Sylius/issues/13465) Catalog promotion priority ([@Rafikooo](https://github.com/Rafikooo)) -- [#13468](https://github.com/Sylius/Sylius/issues/13468) [CatalogPromotion] Rename actions and scopes ([@SirDomin](https://github.com/SirDomin)) -- [#13469](https://github.com/Sylius/Sylius/issues/13469) [CatalogPromotions] Refactor CatalogPromotionsScopeType to remove dup… ([@SirDomin](https://github.com/SirDomin)) -- [#13471](https://github.com/Sylius/Sylius/issues/13471) [CatalogPromotion] refactor action type ([@AdamKasp](https://github.com/AdamKasp)) -- [#13472](https://github.com/Sylius/Sylius/issues/13472) [Docs] add info about hardcoded translations ([@SirDomin](https://github.com/SirDomin)) -- [#13473](https://github.com/Sylius/Sylius/issues/13473) [CatalogPromotion] Introduce CatalogPromotionCreated event ([@GSadee](https://github.com/GSadee)) -- [#13477](https://github.com/Sylius/Sylius/issues/13477) Validation deleted from PercentageDiscountActionConfigurationType ([@TheMilek](https://github.com/TheMilek)) -- [#13479](https://github.com/Sylius/Sylius/issues/13479) [CatalogPromotion] Refactor names of listeners to be consistent with others ([@GSadee](https://github.com/GSadee)) -- [#13480](https://github.com/Sylius/Sylius/issues/13480) [Minor][Behat] Change feature name to reflect convention and reality ([@lchrusciel](https://github.com/lchrusciel)) -- [#13484](https://github.com/Sylius/Sylius/issues/13484) [CI] bin/console lint:container - command added to workflow ([@Rafikooo](https://github.com/Rafikooo)) -- [#13490](https://github.com/Sylius/Sylius/issues/13490) Unify latest CHANGELOGs format with the previous ones ([@Zales0123](https://github.com/Zales0123)) -- [#13491](https://github.com/Sylius/Sylius/issues/13491) [API][Minor] Archiving shipping methods filter rename to maintain naming convention ([@lchrusciel](https://github.com/lchrusciel)) -- [#13495](https://github.com/Sylius/Sylius/issues/13495) [API] Doctrine filters moved below filters namespace ([@lchrusciel](https://github.com/lchrusciel)) -- [#13498](https://github.com/Sylius/Sylius/issues/13498) [Docs] Sylius 1.8 is not supported anymore ([@Zales0123](https://github.com/Zales0123)) -- [#13499](https://github.com/Sylius/Sylius/issues/13499) Refactor catalog promotion applicator ([@SirDomin](https://github.com/SirDomin)) -- [#13502](https://github.com/Sylius/Sylius/issues/13502) Move to PHP8.0 syntax in Components ([@Zales0123](https://github.com/Zales0123)) -- [#13504](https://github.com/Sylius/Sylius/issues/13504) Postpone 1.10 end of maintenance date ([@Zales0123](https://github.com/Zales0123)) -- [#13506](https://github.com/Sylius/Sylius/issues/13506) [Docs] How to customize the invoice logo - neatly cut invoice image ([@Rafikooo](https://github.com/Rafikooo)) -- [#13512](https://github.com/Sylius/Sylius/issues/13512) [CatalogPromotion] Extract dispatching catalog promotion events from listeners to a separate service ([@GSadee](https://github.com/GSadee)) -- [#13513](https://github.com/Sylius/Sylius/issues/13513) [Architecture] Do not double install PHP dependencies ([@lchrusciel](https://github.com/lchrusciel)) -- [#13514](https://github.com/Sylius/Sylius/issues/13514) [Documentation] Update Core Team in our documentation ([@lchrusciel](https://github.com/lchrusciel)) -- [#13515](https://github.com/Sylius/Sylius/issues/13515) [Maintenance] Replace `test-package.sh` with native GH Actions ([@lchrusciel](https://github.com/lchrusciel)) -- [#13516](https://github.com/Sylius/Sylius/issues/13516) [Maintenance] Remove NelmioAlice from the main packages config ([@lchrusciel](https://github.com/lchrusciel)) -- [#13517](https://github.com/Sylius/Sylius/issues/13517) [Docs] Change the template path in customization ([@Roshyo](https://github.com/Roshyo)) -- [#13519](https://github.com/Sylius/Sylius/issues/13519) [Docs] Altered custom invoice logo path ([@Rafikooo](https://github.com/Rafikooo)) -- [#13520](https://github.com/Sylius/Sylius/issues/13520) change suggested path in refund docs ([@AdamKasp](https://github.com/AdamKasp)) -- [#13527](https://github.com/Sylius/Sylius/issues/13527) [Minor] Typo fixes in github packages config ([@lchrusciel](https://github.com/lchrusciel)) -- [#13530](https://github.com/Sylius/Sylius/issues/13530) [Build fix] Remove unneeded test package binary step ([@Zales0123](https://github.com/Zales0123)) - -## v1.11.0-ALPHA.1 (2021-12-14) - -#### TL;DR - -- NEW FEATURE 🎉🎉🎉 Catalog promotions management: CRUD, asynchronous application on variants, different scopes, priorities management, exclusiveness and many more -- New API improvements: especially the **Shop** part, reaching ~80% of UI features coverage -- Bump required PHP version to 8.0, due to the end of life of PHP 7.4 -- Bump required Symfony 5 version to 5.4 LTS - -#### Details - -- [#12029](https://github.com/Sylius/Sylius/issues/12029) [BC BREAK] [API][BC-Break] Move commands and handlers to common namespace ([@lchrusciel](https://github.com/lchrusciel)) -- [#12177](https://github.com/Sylius/Sylius/issues/12177) [Behat][API] Programitically generate API autorization token ([@lchrusciel](https://github.com/lchrusciel)) -- [#12202](https://github.com/Sylius/Sylius/issues/12202) Feat: Add breadcrumb var in CRUD template for AdminBundle ([@toofff](https://github.com/toofff)) -- [#12689](https://github.com/Sylius/Sylius/issues/12689) [API][Country] Initialize contract tests for api/v2 ([@GSadee](https://github.com/GSadee)) -- [#12693](https://github.com/Sylius/Sylius/issues/12693) [API] allow extending and overwrite api in yaml + test ([@SirDomin](https://github.com/SirDomin)) -- [#12695](https://github.com/Sylius/Sylius/issues/12695) [API][PaymentMethod] Add contract test for available payment methods endpoint ([@GSadee](https://github.com/GSadee)) -- [#12700](https://github.com/Sylius/Sylius/issues/12700) [Docs] Docs customization ([@SirDomin](https://github.com/SirDomin)) -- [#12703](https://github.com/Sylius/Sylius/issues/12703) [Api] Denying usage of unexisting promotion coupon ([@Tomanhez](https://github.com/Tomanhez)) -- [#12704](https://github.com/Sylius/Sylius/issues/12704) [API] Denying usage of coupon for invalid promotion ([@Zales0123](https://github.com/Zales0123)) -- [#12713](https://github.com/Sylius/Sylius/issues/12713) [API] Use serializer instead of custom view for shipping methods ([@GSadee](https://github.com/GSadee)) -- [#12716](https://github.com/Sylius/Sylius/issues/12716) [API][ShippingMethod] Add contract test for available shipping methods endpoint ([@GSadee](https://github.com/GSadee)) -- [#12718](https://github.com/Sylius/Sylius/issues/12718) [POC] Add change of tax by address ([@arti0090](https://github.com/arti0090)) -- [#12719](https://github.com/Sylius/Sylius/issues/12719) [Api] Unnecessary addresses should not be saved to the database while addressing an order ([@Tomanhez](https://github.com/Tomanhez)) -- [#12742](https://github.com/Sylius/Sylius/issues/12742) [API] Serialize only shipment id and method as shipment in order response ([@GSadee](https://github.com/GSadee)) -- [#12743](https://github.com/Sylius/Sylius/issues/12743) [API] add final to clssess, cs fixes ([@SirDomin](https://github.com/SirDomin)) -- [#12744](https://github.com/Sylius/Sylius/issues/12744) [Docs] fix unsetting filters ([@SirDomin](https://github.com/SirDomin)) -- [#12745](https://github.com/Sylius/Sylius/issues/12745) [API] Add contract test to admin ProductVariant ([@arti0090](https://github.com/arti0090)) -- [#12746](https://github.com/Sylius/Sylius/issues/12746) [API] handle shipping without addressing ([@SirDomin](https://github.com/SirDomin)) -- [#12749](https://github.com/Sylius/Sylius/issues/12749) [API] change error to violation ([@SirDomin](https://github.com/SirDomin)) -- [#12750](https://github.com/Sylius/Sylius/issues/12750) [ApiBundle] Small CS fixes ([@Zales0123](https://github.com/Zales0123)) -- [#12761](https://github.com/Sylius/Sylius/issues/12761) [API] contract test for get order collection by guest ([@AdamKasp](https://github.com/AdamKasp)) -- [#12766](https://github.com/Sylius/Sylius/issues/12766) [Locale]Available locales in channel by api ([@AdamKasp](https://github.com/AdamKasp)) -- [#12769](https://github.com/Sylius/Sylius/issues/12769) [API] Refactor converting arguments of commands from IRIs to identifiers ([@Tomanhez](https://github.com/Tomanhez), [@GSadee](https://github.com/GSadee)) -- [#12772](https://github.com/Sylius/Sylius/issues/12772) [ENHANCEMENT][API] Refactor Api Constraints to match rest of them ([@arti0090](https://github.com/arti0090)) -- [#12774](https://github.com/Sylius/Sylius/issues/12774) [API] Add Product Image type to responses ([@arti0090](https://github.com/arti0090)) -- [#12780](https://github.com/Sylius/Sylius/issues/12780) [Locale ][Api] Get locale refactor api ([@AdamKasp](https://github.com/AdamKasp)) -- [#12782](https://github.com/Sylius/Sylius/issues/12782) [API] Check payment amount ([@Tomanhez](https://github.com/Tomanhez), [@AdamKasp](https://github.com/AdamKasp), [@GSadee](https://github.com/GSadee)) -- [#12785](https://github.com/Sylius/Sylius/issues/12785) [API] Remove customer and serialize posted address ([@arti0090](https://github.com/arti0090)) -- [#12790](https://github.com/Sylius/Sylius/issues/12790) [ENH][API] Fixing naming issues after PR for serializing post on address ([@arti0090](https://github.com/arti0090)) -- [#12805](https://github.com/Sylius/Sylius/issues/12805) [Behat][API][Taxes] Turn on chunk of taxation related scenarios ([@lchrusciel](https://github.com/lchrusciel)) -- [#12806](https://github.com/Sylius/Sylius/issues/12806) [Behat][API][Promotion] Turn on chunk of promotion scenarios ([@lchrusciel](https://github.com/lchrusciel)) -- [#12830](https://github.com/Sylius/Sylius/issues/12830) [API] Exclude meaningless scenarios ([@lchrusciel](https://github.com/lchrusciel)) -- [#12834](https://github.com/Sylius/Sylius/issues/12834) [Docs] Customization docs + yaml customization ([@SirDomin](https://github.com/SirDomin)) -- [#12841](https://github.com/Sylius/Sylius/issues/12841) [UPGRADE] Split API and non API upgrade files ([@lchrusciel](https://github.com/lchrusciel)) -- [#12842](https://github.com/Sylius/Sylius/issues/12842) [AUTO] Updated translations from Crowdin (master) () -- [#12846](https://github.com/Sylius/Sylius/issues/12846) [BC BREAK] [API] Unification of filtration namespaces ([@lchrusciel](https://github.com/lchrusciel)) -- [#12847](https://github.com/Sylius/Sylius/issues/12847) [API]Product image handling ([@arti0090](https://github.com/arti0090)) -- [#12851](https://github.com/Sylius/Sylius/issues/12851) [Order] Protect processors from execution if the order is in a state different than cart ([@GSadee](https://github.com/GSadee)) -- [#12854](https://github.com/Sylius/Sylius/issues/12854) [SM] Change priorities of State Machine callbacks ([@arti0090](https://github.com/arti0090)) -- [#12855](https://github.com/Sylius/Sylius/issues/12855) [API][Country] Improve endpoints serialization ([@GSadee](https://github.com/GSadee)) -- [#12856](https://github.com/Sylius/Sylius/issues/12856) [API] reduce customer update serialization ([@SirDomin](https://github.com/SirDomin)) -- [#12858](https://github.com/Sylius/Sylius/issues/12858) [Core] Wrap resource update operation with a transaction ([@GSadee](https://github.com/GSadee)) -- [#12862](https://github.com/Sylius/Sylius/issues/12862) [API] Add liip image filters to API ([@arti0090](https://github.com/arti0090), [@SirDomin](https://github.com/SirDomin)) -- [#12866](https://github.com/Sylius/Sylius/issues/12866) Update release-cycle.rst ([@oallain](https://github.com/oallain)) -- [#12874](https://github.com/Sylius/Sylius/issues/12874) [ORM] add created at index to customer ([@SirDomin](https://github.com/SirDomin)) -- [#12876](https://github.com/Sylius/Sylius/issues/12876) [Minor] Add missing license blocks ([@lchrusciel](https://github.com/lchrusciel)) -- [#12877](https://github.com/Sylius/Sylius/issues/12877) [API] add original price to product variant ([@SirDomin](https://github.com/SirDomin)) -- [#12879](https://github.com/Sylius/Sylius/issues/12879) [DOCS] How to modify invoices ([@arti0090](https://github.com/arti0090)) -- [#12880](https://github.com/Sylius/Sylius/issues/12880) [Maintenance] Configure builds on postgressql & mariadb ([@Arminek](https://github.com/Arminek)) -- [#12883](https://github.com/Sylius/Sylius/issues/12883) [API] Rename original_price to originalPrice in api responses ([@AdamKasp](https://github.com/AdamKasp), [@arti0090](https://github.com/arti0090)) -- [#12884](https://github.com/Sylius/Sylius/issues/12884) [Docs] add registration/login examples ([@SirDomin](https://github.com/SirDomin), [@arti0090](https://github.com/arti0090)) -- [#12887](https://github.com/Sylius/Sylius/issues/12887) [DOCS] Generating invoice after payment ([@arti0090](https://github.com/arti0090)) -- [#12888](https://github.com/Sylius/Sylius/issues/12888) [API] Fix formating for list in invoice cookbook ([@arti0090](https://github.com/arti0090)) -- [#12889](https://github.com/Sylius/Sylius/issues/12889) Original price behat fix ([@arti0090](https://github.com/arti0090)) -- [#12890](https://github.com/Sylius/Sylius/issues/12890) Fix to ordered list ([@arti0090](https://github.com/arti0090)) -- [#12963](https://github.com/Sylius/Sylius/issues/12963) Update swagger docs with product variants originalPrice ([@arti0090](https://github.com/arti0090)) -- [#12967](https://github.com/Sylius/Sylius/issues/12967) [API] Log in contract tests + minor fixes ([@lchrusciel](https://github.com/lchrusciel)) -- [#12968](https://github.com/Sylius/Sylius/issues/12968) [API] AddressOrderHandler refactored to use customer provider ([@lchrusciel](https://github.com/lchrusciel)) -- [#12969](https://github.com/Sylius/Sylius/issues/12969) [Maintenance] Dead code removal ([@lchrusciel](https://github.com/lchrusciel)) -- [#12970](https://github.com/Sylius/Sylius/issues/12970) [DX] Add sylius prefixes to normalizers ALREADY_CALLED consts values to avoid name collision ([@lchrusciel](https://github.com/lchrusciel)) -- [#12971](https://github.com/Sylius/Sylius/issues/12971) [DX] Adjust service names in ApiBundle ([@lchrusciel](https://github.com/lchrusciel)) -- [#12972](https://github.com/Sylius/Sylius/issues/12972) [DOCS] Update images in api authorization book ([@arti0090](https://github.com/arti0090)) -- [#12974](https://github.com/Sylius/Sylius/issues/12974) [Maintenance] Make all API Bundle services public and unify public notation ([@lchrusciel](https://github.com/lchrusciel)) -- [#12978](https://github.com/Sylius/Sylius/issues/12978) [API] Resend verification email refactor to take current user from the security context ([@lchrusciel](https://github.com/lchrusciel)) -- [#12979](https://github.com/Sylius/Sylius/issues/12979) [Minor] Adjust test class names to follow emerged convention ([@lchrusciel](https://github.com/lchrusciel)) -- [#12980](https://github.com/Sylius/Sylius/issues/12980) [API] Expose taxon children as IRI in menu endpoint ([@lchrusciel](https://github.com/lchrusciel)) -- [#12981](https://github.com/Sylius/Sylius/issues/12981) [API] Refactor current customer email aware commands ([@lchrusciel](https://github.com/lchrusciel)) -- [#12983](https://github.com/Sylius/Sylius/issues/12983) [Documentation] Change the order of pages in Getting Started section ([@GSadee](https://github.com/GSadee)) -- [#12986](https://github.com/Sylius/Sylius/issues/12986) [CatalogPromotion] Creating simple catalog promotion only with code and name ([@Arminek](https://github.com/Arminek), [@Tomanhez](https://github.com/Tomanhez)) -- [#12990](https://github.com/Sylius/Sylius/issues/12990) [CatalogPromotions] Catalog promotion event ([@Tomanhez](https://github.com/Tomanhez), [@Arminek](https://github.com/Arminek)) -- [#12994](https://github.com/Sylius/Sylius/issues/12994) Get, Update, Post and delete catalog promotions ([@arti0090](https://github.com/arti0090)) -- [#12997](https://github.com/Sylius/Sylius/issues/12997) [API] Add gender field to customer ([@arti0090](https://github.com/arti0090)) -- [#12998](https://github.com/Sylius/Sylius/issues/12998) [CatalogPromotion][API] Minor fixes to creating simple catalog promotion ([@GSadee](https://github.com/GSadee)) -- [#13001](https://github.com/Sylius/Sylius/issues/13001) [Catalog Promotions] add rule to catalog promotion ([@AdamKasp](https://github.com/AdamKasp), [@SirDomin](https://github.com/SirDomin)) -- [#13002](https://github.com/Sylius/Sylius/issues/13002) [CatalogPromotion] Applying Catalog Promotion with hardcoded rule and action ([@Tomanhez](https://github.com/Tomanhez), [@Zales0123](https://github.com/Zales0123)) -- [#13003](https://github.com/Sylius/Sylius/issues/13003) Fixes to endpoints and contract tests of CP ([@arti0090](https://github.com/arti0090)) -- [#13005](https://github.com/Sylius/Sylius/issues/13005) [CatalogPromotion][API] Create catalog promotion with translatable fields ([@GSadee](https://github.com/GSadee)) -- [#13008](https://github.com/Sylius/Sylius/issues/13008) [Catalog Promotions] Add behat scenarios for endpoints ([@arti0090](https://github.com/arti0090)) -- [#13009](https://github.com/Sylius/Sylius/issues/13009) [CatalogPromotion][API] Add channels to catalog promotion ([@GSadee](https://github.com/GSadee)) -- [#13010](https://github.com/Sylius/Sylius/issues/13010) [Catalog Promotion] Remove delete endpoint ([@arti0090](https://github.com/arti0090)) -- [#13011](https://github.com/Sylius/Sylius/issues/13011) [CatalogPromotion][API] Add simple validation for creating catalog promotion ([@GSadee](https://github.com/GSadee)) -- [#13013](https://github.com/Sylius/Sylius/issues/13013) [CatalogPromotion][API] Extend the possibility of editing catalog promotion ([@GSadee](https://github.com/GSadee)) -- [#13014](https://github.com/Sylius/Sylius/issues/13014) [CatalogPromotion] Use Catalog Promotion rule during application ([@Zales0123](https://github.com/Zales0123)) -- [#13015](https://github.com/Sylius/Sylius/issues/13015) [CatalogPromotion] Add fixtures for catalog promotion entity ([@GSadee](https://github.com/GSadee)) -- [#13016](https://github.com/Sylius/Sylius/issues/13016) [CatalogPromotion][Behat] Minor improvements for catalog promotions scenarios ([@GSadee](https://github.com/GSadee)) -- [#13017](https://github.com/Sylius/Sylius/issues/13017) [CatalogPromotion][API] Add scenarios for browsing catalog promotions ([@GSadee](https://github.com/GSadee)) -- [#13022](https://github.com/Sylius/Sylius/issues/13022) [Bug] Fix default sylius config file path in Sylius master branch ([@lchrusciel](https://github.com/lchrusciel)) -- [#13026](https://github.com/Sylius/Sylius/issues/13026) [CatalogPromotion][Admin] Add browsing catalog promotions ([@GSadee](https://github.com/GSadee)) -- [#13028](https://github.com/Sylius/Sylius/issues/13028) [CatalogPromotion][Admin] Add creating catalog promotion ([@GSadee](https://github.com/GSadee)) -- [#13029](https://github.com/Sylius/Sylius/issues/13029) Catalog promotions action ([@SirDomin](https://github.com/SirDomin), [@Zales0123](https://github.com/Zales0123)) -- [#13030](https://github.com/Sylius/Sylius/issues/13030) Add validation for Catalog Promotion Rules ([@AdamKasp](https://github.com/AdamKasp)) -- [#13033](https://github.com/Sylius/Sylius/issues/13033) [Catalog Promotion] refactor rule configuration change iri with code ([@AdamKasp](https://github.com/AdamKasp)) -- [#13034](https://github.com/Sylius/Sylius/issues/13034) [CatalogPromotion][Admin] Add editing catalog promotions ([@GSadee](https://github.com/GSadee)) -- [#13035](https://github.com/Sylius/Sylius/issues/13035) [CatalogPromotions] Inform about promotions applied on variants ([@Zales0123](https://github.com/Zales0123)) -- [#13036](https://github.com/Sylius/Sylius/issues/13036) [CatalogPromotions] Use actions for discount application ([@Zales0123](https://github.com/Zales0123)) -- [#13041](https://github.com/Sylius/Sylius/issues/13041) [CartPromotion][Admin] Change label of promotion to cart promotion ([@GSadee](https://github.com/GSadee)) -- [#13048](https://github.com/Sylius/Sylius/issues/13048) [CatalogPromotions] Move variant-related CatalogPromotionRule constant to Core ([@Zales0123](https://github.com/Zales0123)) -- [#13052](https://github.com/Sylius/Sylius/issues/13052) [CatalogPromotions] Manage rules and actions from UI ([@Zales0123](https://github.com/Zales0123)) -- [#13055](https://github.com/Sylius/Sylius/issues/13055) [CatalogPromotions] Add fixtures for catalog promotions rules and actions ([@Tomanhez](https://github.com/Tomanhez)) -- [#13060](https://github.com/Sylius/Sylius/issues/13060) [CP] Add scenario for `Inform about promotions applied on variant` ([@arti0090](https://github.com/arti0090)) -- [#13061](https://github.com/Sylius/Sylius/issues/13061) [UI][Behat] tests for editing catalog promotion with rule and action ([@SirDomin](https://github.com/SirDomin)) -- [#13064](https://github.com/Sylius/Sylius/issues/13064) [Behat] move actions redirect to different step ([@SirDomin](https://github.com/SirDomin)) -- [#13066](https://github.com/Sylius/Sylius/issues/13066) [CatalogPromotion] refactor cp rule to be consistent with cp action ([@SirDomin](https://github.com/SirDomin)) -- [#13067](https://github.com/Sylius/Sylius/issues/13067) Fix persisting of Catalog Promotion data on create ([@arti0090](https://github.com/arti0090)) -- [#13068](https://github.com/Sylius/Sylius/issues/13068) [CatalogPromotions][Api] Add test for creation rule ([@Tomanhez](https://github.com/Tomanhez)) -- [#13071](https://github.com/Sylius/Sylius/issues/13071) [CatalogPromotion][API] Add validation for creating catalog promotion with actions ([@Arminek](https://github.com/Arminek), [@GSadee](https://github.com/GSadee)) -- [#13072](https://github.com/Sylius/Sylius/issues/13072) [CatalogPromotion] Improve names and namespaces of catalog promotion rule form types ([@GSadee](https://github.com/GSadee)) -- [#13073](https://github.com/Sylius/Sylius/issues/13073) [CatalogPromotion][Behat] Improve steps names ([@GSadee](https://github.com/GSadee)) -- [#13075](https://github.com/Sylius/Sylius/issues/13075) [CatalogPromotion][API] Refactor validation of rules ([@GSadee](https://github.com/GSadee)) -- [#13077](https://github.com/Sylius/Sylius/issues/13077) [CatalogPromotion] Fix configuration of fixtures for actions and rules ([@GSadee](https://github.com/GSadee)) -- [#13079](https://github.com/Sylius/Sylius/issues/13079) [DOCS] Rename promotions to cart promotions ([@arti0090](https://github.com/arti0090)) -- [#13080](https://github.com/Sylius/Sylius/issues/13080) [Catalog Promotions] Fixing issues with multiple variants ([@arti0090](https://github.com/arti0090)) -- [#13081](https://github.com/Sylius/Sylius/issues/13081) [CatalogPromotion][API] Apply catalog promotion in proper channels ([@GSadee](https://github.com/GSadee)) -- [#13082](https://github.com/Sylius/Sylius/issues/13082) [API] [Catalog Promotion] validate action amount ([@AdamKasp](https://github.com/AdamKasp)) -- [#13084](https://github.com/Sylius/Sylius/issues/13084) [DOCS]Add Catalog Promotion documentation ([@arti0090](https://github.com/arti0090)) -- [#13085](https://github.com/Sylius/Sylius/issues/13085) [CatalogPromotions] Modify AppliedPromotionInformationFormatter ([@Tomanhez](https://github.com/Tomanhez)) -- [#13086](https://github.com/Sylius/Sylius/issues/13086) [CatalogPromotion][API] Add examples of rules and actions to Swagger ([@GSadee](https://github.com/GSadee)) -- [#13089](https://github.com/Sylius/Sylius/issues/13089) [CatalogPromotions] Add missing description to applied promotions ([@arti0090](https://github.com/arti0090)) -- [#13091](https://github.com/Sylius/Sylius/issues/13091) [CatalogPromotions] Add api behat for multiple catalog promotions ([@Tomanhez](https://github.com/Tomanhez)) -- [#13092](https://github.com/Sylius/Sylius/issues/13092) [CatalogPromotion][Behat] Add scenarios for reapplying catalog promotions after editing its channels ([@GSadee](https://github.com/GSadee)) -- [#13093](https://github.com/Sylius/Sylius/issues/13093) [CatalogPromotions][Validation] add validation to catalog promotion, … ([@SirDomin](https://github.com/SirDomin)) -- [#13094](https://github.com/Sylius/Sylius/issues/13094) [Catalog Promotions][Docs] Add a section about how promotions are applied ([@arti0090](https://github.com/arti0090)) -- [#13096](https://github.com/Sylius/Sylius/issues/13096) [DOCS] Fix catalog promotions docs reference ([@arti0090](https://github.com/arti0090)) -- [#13098](https://github.com/Sylius/Sylius/issues/13098) [CatalogPromotions] Add product to cart with discounted catalog price ([@Tomanhez](https://github.com/Tomanhez), [@arti0090](https://github.com/arti0090)) -- [#13100](https://github.com/Sylius/Sylius/issues/13100) [CatalogPromotion] Clear applied catalog promotions after updating ([@GSadee](https://github.com/GSadee)) -- [#13101](https://github.com/Sylius/Sylius/issues/13101) [CatalogPromotions] Showing catalog promotions in Products index and show page ([@SirDomin](https://github.com/SirDomin), [@Zales0123](https://github.com/Zales0123)) -- [#13103](https://github.com/Sylius/Sylius/issues/13103) [UI][Catalog Promotion] Add discounted product to cart ([@AdamKasp](https://github.com/AdamKasp)) -- [#13104](https://github.com/Sylius/Sylius/issues/13104) [API] Use POST action to add new item to cart ([@lchrusciel](https://github.com/lchrusciel)) -- [#13105](https://github.com/Sylius/Sylius/issues/13105) [Catalog Promotions] Reapplying Catalog Promotion on Action Edit ([@arti0090](https://github.com/arti0090)) -- [#13107](https://github.com/Sylius/Sylius/issues/13107) [Api] Customer add product with discounted catalog price ([@Tomanhez](https://github.com/Tomanhez)) -- [#13110](https://github.com/Sylius/Sylius/issues/13110) [Fixtures] Extract promotions to a separate file to fix applying catalog promotions ([@GSadee](https://github.com/GSadee)) -- [#13111](https://github.com/Sylius/Sylius/issues/13111) [ChannelPricing] Improve query for finding discounted pricings ([@GSadee](https://github.com/GSadee)) -- [#13112](https://github.com/Sylius/Sylius/issues/13112) [Catalog Promotion] Cart catalog promotion becomes ineligible ([@GSadee](https://github.com/GSadee), [@AdamKasp](https://github.com/AdamKasp)) -- [#13114](https://github.com/Sylius/Sylius/issues/13114) [CatalogPromotions] Do not display applied promotion description in label if not set ([@Zales0123](https://github.com/Zales0123)) -- [#13117](https://github.com/Sylius/Sylius/issues/13117) [API] Remove phoneNumber from Customer command and handler ([@lchrusciel](https://github.com/lchrusciel)) -- [#13121](https://github.com/Sylius/Sylius/issues/13121) [AUTO] Updated translations from Crowdin (master) ([@bot](https://github.com/bot)@[@sylius](https://github.com/sylius).[@org](https://github.com/org)) -- [#13124](https://github.com/Sylius/Sylius/issues/13124) [CatalogPromotion][API] Reapplying catalog promotions after update its channel ([@AdamKasp](https://github.com/AdamKasp)) -- [#13128](https://github.com/Sylius/Sylius/issues/13128) [API][CatalogPromotion] Reapplying catalog promotion on variant once its data changes ([@GSadee](https://github.com/GSadee)) -- [#13129](https://github.com/Sylius/Sylius/issues/13129) [API][CatalogPromotion] Reapplying catalog promotions on rule update ([@SirDomin](https://github.com/SirDomin), [@GSadee](https://github.com/GSadee)) -- [#13130](https://github.com/Sylius/Sylius/issues/13130) [CatalogPromotion][Behat] Cover scenarios for reapplying catalog promotions ([@Tomanhez](https://github.com/Tomanhez), [@GSadee](https://github.com/GSadee)) -- [#13131](https://github.com/Sylius/Sylius/issues/13131) [CatalogPromotions][API] Reapply promotions after action removal ([@arti0090](https://github.com/arti0090)) -- [#13132](https://github.com/Sylius/Sylius/issues/13132) [API][UI] Toggle catalog promotion ([@AdamKasp](https://github.com/AdamKasp)) -- [#13133](https://github.com/Sylius/Sylius/issues/13133) Reorganize flushes in Catalog Promotions processing ([@Zales0123](https://github.com/Zales0123)) -- [#13137](https://github.com/Sylius/Sylius/issues/13137) [CatalogPromotions] Add behats for CatalogPromotions based on taxon ([@Tomanhez](https://github.com/Tomanhez), [@AdamKasp](https://github.com/AdamKasp)) -- [#13138](https://github.com/Sylius/Sylius/issues/13138) [Build] ignore string inflector phpstan ([@SirDomin](https://github.com/SirDomin)) -- [#13141](https://github.com/Sylius/Sylius/issues/13141) [UI][CatalogPromotion] Reapplying catalog promotion on variant once its data changes ([@GSadee](https://github.com/GSadee)) -- [#13145](https://github.com/Sylius/Sylius/issues/13145) [API][CatalogPromotion] refactor Variants Provider to strategy Pattern ([@AdamKasp](https://github.com/AdamKasp)) -- [#13146](https://github.com/Sylius/Sylius/issues/13146) [Api] CatalogPromotionRule per taxon ([@AdamKasp](https://github.com/AdamKasp), [@Tomanhez](https://github.com/Tomanhez), [@Zales0123](https://github.com/Zales0123)) -- [#13147](https://github.com/Sylius/Sylius/issues/13147) [API] Fix admin path in swagger ([@arti0090](https://github.com/arti0090)) -- [#13150](https://github.com/Sylius/Sylius/issues/13150) [API] Refactor path removal with (unset) ([@Zales0123](https://github.com/Zales0123)) -- [#13152](https://github.com/Sylius/Sylius/issues/13152) [CatalogPromotion] Refactor to not listen on Doctrine events ([@GSadee](https://github.com/GSadee)) -- [#13153](https://github.com/Sylius/Sylius/issues/13153) [UI][CatalogPromotion] Reapply catalog promotions after editing their rules and actions ([@GSadee](https://github.com/GSadee)) -- [#13155](https://github.com/Sylius/Sylius/issues/13155) [Documentation][CatalogPromotion] Adjust docs after removing usage of Doctrine events ([@GSadee](https://github.com/GSadee)) -- [#13156](https://github.com/Sylius/Sylius/issues/13156) [CatalogPromotion] change change channel with toggle in UI ([@AdamKasp](https://github.com/AdamKasp)) -- [#13161](https://github.com/Sylius/Sylius/issues/13161) [CatalogPromotions] Rename CP Rule to Scope ([@arti0090](https://github.com/arti0090)) -- [#13164](https://github.com/Sylius/Sylius/issues/13164) Rename behat file from rule to scope on catalog promotion ([@arti0090](https://github.com/arti0090)) -- [#13168](https://github.com/Sylius/Sylius/issues/13168) [CatalogPromotion] Minor fixes after renaming rule to scope ([@GSadee](https://github.com/GSadee)) -- [#13169](https://github.com/Sylius/Sylius/issues/13169) [Catalog Promotions] Reapply CP after changing its taxons ([@arti0090](https://github.com/arti0090)) -- [#13174](https://github.com/Sylius/Sylius/issues/13174) [CatalogPromotion] Refactor scope validators to be more extendable ([@GSadee](https://github.com/GSadee)) -- [#13175](https://github.com/Sylius/Sylius/issues/13175) [CatalogPromotions] "For taxons" scope in UI with dynamic form configurations ([@Zales0123](https://github.com/Zales0123)) -- [#13179](https://github.com/Sylius/Sylius/issues/13179) [CatalogPromotions] Start and end date ([@Zales0123](https://github.com/Zales0123)) -- [#13181](https://github.com/Sylius/Sylius/issues/13181) [CatalogPromotion][UI] Reapply catalog promotions after product's taxon changes + refactor ([@GSadee](https://github.com/GSadee)) -- [#13182](https://github.com/Sylius/Sylius/issues/13182) [CatalogPromotions] Display taxons with names in scope ([@Zales0123](https://github.com/Zales0123)) -- [#13183](https://github.com/Sylius/Sylius/issues/13183) [DOCS][Catalog Promotions] Making new CP scope ([@arti0090](https://github.com/arti0090)) -- [#13184](https://github.com/Sylius/Sylius/issues/13184) [CatalogPromotion][UI][Behat] Implement scenarios for reapplying catalog promotions after editing their for taxons scope ([@GSadee](https://github.com/GSadee)) -- [#13186](https://github.com/Sylius/Sylius/issues/13186) [CatalogPromotion][API][UI] Introduce states with state machine for catalog promotion ([@GSadee](https://github.com/GSadee)) -- [#13189](https://github.com/Sylius/Sylius/issues/13189) [CatalogPromotions] Take into account CP dates during processing ([@Zales0123](https://github.com/Zales0123)) -- [#13190](https://github.com/Sylius/Sylius/issues/13190) [CatalogPromotion] Minor improvements in EligibleCatalogPromotionsProvider ([@GSadee](https://github.com/GSadee)) -- [#13191](https://github.com/Sylius/Sylius/issues/13191) [CatalogPromotion][Behat] Add scenario for applying catalog promotion with different scopes defined ([@GSadee](https://github.com/GSadee)) -- [#13192](https://github.com/Sylius/Sylius/issues/13192) [DOCS] Refactor from promotion to cart promotion ([@arti0090](https://github.com/arti0090)) -- [#13195](https://github.com/Sylius/Sylius/issues/13195) [CatalogPromotion] Secure that the catalog promotion cannot be edited ([@GSadee](https://github.com/GSadee)) -- [#13196](https://github.com/Sylius/Sylius/issues/13196) [CatalogPromotions] async workers introduction ([@SirDomin](https://github.com/SirDomin)) -- [#13206](https://github.com/Sylius/Sylius/issues/13206) [API][UI] Sort products by their discounted price ([@arti0090](https://github.com/arti0090), [@GSadee](https://github.com/GSadee)) -- [#13208](https://github.com/Sylius/Sylius/issues/13208) [CatalogPromotion] fix pricing clearer ([@AdamKasp](https://github.com/AdamKasp)) -- [#13209](https://github.com/Sylius/Sylius/issues/13209) Move channel pricing to separate tab ([@AdamKasp](https://github.com/AdamKasp)) -- [#13212](https://github.com/Sylius/Sylius/issues/13212) [Hot-fix] Conflict doctrine/dbal 3.* in ApiBundle ([@Zales0123](https://github.com/Zales0123)) -- [#13217](https://github.com/Sylius/Sylius/issues/13217) [Docs] Add description of prices ([@AdamKasp](https://github.com/AdamKasp)) -- [#13218](https://github.com/Sylius/Sylius/issues/13218) [CatalogPromotion] Add show page for catalog promotion ([@GSadee](https://github.com/GSadee)) -- [#13219](https://github.com/Sylius/Sylius/issues/13219) [ChannelPricing] fixes after merge ([@AdamKasp](https://github.com/AdamKasp)) -- [#13220](https://github.com/Sylius/Sylius/issues/13220) Add note about time delay ([@AdamKasp](https://github.com/AdamKasp)) -- [#13221](https://github.com/Sylius/Sylius/issues/13221) [CatalogPromotions] Prevent editing start and end date ([@Zales0123](https://github.com/Zales0123)) -- [#13222](https://github.com/Sylius/Sylius/issues/13222) [UI][Catalog Promotions] Set default time for CP dates if not provided ([@Zales0123](https://github.com/Zales0123)) -- [#13226](https://github.com/Sylius/Sylius/issues/13226) [CatalogPromotions] Handle failed catalog promotions ([@SirDomin](https://github.com/SirDomin)) -- [#13227](https://github.com/Sylius/Sylius/issues/13227) [CatalogPromotions] Always prevent CP dates editing - even if they're not set during creation ([@Zales0123](https://github.com/Zales0123)) -- [#13228](https://github.com/Sylius/Sylius/issues/13228) [Conflict] add conflict to new release of fos-rest ([@SirDomin](https://github.com/SirDomin)) -- [#13229](https://github.com/Sylius/Sylius/issues/13229) [CatalogPromotion] docs about async messages ([@AdamKasp](https://github.com/AdamKasp)) -- [#13230](https://github.com/Sylius/Sylius/issues/13230) [CatalogPromotion] change DateRange criteria + functional tests ([@SirDomin](https://github.com/SirDomin)) -- [#13231](https://github.com/Sylius/Sylius/issues/13231) [CatalogPromotion] Make criteria services public in container by default ([@lchrusciel](https://github.com/lchrusciel)) -- [#13234](https://github.com/Sylius/Sylius/issues/13234) Update Typo in Performance section ([@zairigimad](https://github.com/zairigimad)) -- [#13235](https://github.com/Sylius/Sylius/issues/13235) [CatalogPromotion] Changing state after toggling catalog promotion ([@GSadee](https://github.com/GSadee)) -- [#13236](https://github.com/Sylius/Sylius/issues/13236) [CatalogPromotion] fix service typo, stateMachine error fixed ([@SirDomin](https://github.com/SirDomin)) -- [#13248](https://github.com/Sylius/Sylius/issues/13248) [CatalogPromotion] Small fixes to `docs about async messages` ([@arti0090](https://github.com/arti0090)) -- [#13256](https://github.com/Sylius/Sylius/issues/13256) [CatalogPromotion] dates are editable and validated ([@AdamKasp](https://github.com/AdamKasp)) -- [#13260](https://github.com/Sylius/Sylius/issues/13260) [CatalogPromotions] Add priorities ([@Zales0123](https://github.com/Zales0123), [@GSadee](https://github.com/GSadee)) -- [#13262](https://github.com/Sylius/Sylius/issues/13262) Remove conflict with fos/rest-bundle ([@Zales0123](https://github.com/Zales0123)) -- [#13264](https://github.com/Sylius/Sylius/issues/13264) [AUTO] Updated translations from Crowdin (master) ([@bot](https://github.com/bot)@[@sylius](https://github.com/sylius).[@org](https://github.com/org)) -- [#13266](https://github.com/Sylius/Sylius/issues/13266) Specify minimum price of product and apply it on catalogPromotions ([@SirDomin](https://github.com/SirDomin)) -- [#13271](https://github.com/Sylius/Sylius/issues/13271) Fix composer.json file after rebase ([@Zales0123](https://github.com/Zales0123)) -- [#13273](https://github.com/Sylius/Sylius/issues/13273) [CatalogPromotion] Add "for products" scope ([@GSadee](https://github.com/GSadee)) -- [#13279](https://github.com/Sylius/Sylius/issues/13279) [Behat] Remove deprecated whitespace from behat tags on master ([@GSadee](https://github.com/GSadee)) -- [#13280](https://github.com/Sylius/Sylius/issues/13280) Get products by slug api endpoint ([@paullla](https://github.com/paullla)) -- [#13287](https://github.com/Sylius/Sylius/issues/13287) List of channel currencies endpoint ([@paullla](https://github.com/paullla)) -- [#13291](https://github.com/Sylius/Sylius/issues/13291) [MinimumPrice] Handle minimum price cart ([@SirDomin](https://github.com/SirDomin), [@lchrusciel](https://github.com/lchrusciel)) -- [#13294](https://github.com/Sylius/Sylius/issues/13294) [Minimum Price] documentation ([@AdamKasp](https://github.com/AdamKasp)) -- [#13295](https://github.com/Sylius/Sylius/issues/13295) [Github] clear cache before phpunit ([@SirDomin](https://github.com/SirDomin)) -- [#13297](https://github.com/Sylius/Sylius/issues/13297) [Actions] disable xdebug for actions ([@SirDomin](https://github.com/SirDomin)) -- [#13299](https://github.com/Sylius/Sylius/issues/13299) [Adr] Fix customization api documentation url ([@SebLours](https://github.com/SebLours)) -- [#13303](https://github.com/Sylius/Sylius/issues/13303) [CatalogPromotion] Add exclusiveness flag ([@AdamKasp](https://github.com/AdamKasp)) -- [#13305](https://github.com/Sylius/Sylius/issues/13305) [Behat] Skip ui based checkout steps in api coverage ([@lchrusciel](https://github.com/lchrusciel)) -- [#13306](https://github.com/Sylius/Sylius/issues/13306) [Minor][Behat] Style and type refactor ([@lchrusciel](https://github.com/lchrusciel)) -- [#13311](https://github.com/Sylius/Sylius/issues/13311) Code cleanup - user password reset ([@antonioperic](https://github.com/antonioperic)) -- [#13325](https://github.com/Sylius/Sylius/issues/13325) [CatalogPromotion][API][UI] Fixed discount action ([@GSadee](https://github.com/GSadee)) -- [#13328](https://github.com/Sylius/Sylius/issues/13328) [CartPromotion][API][UI] Apply on discounted flag added ([@SirDomin](https://github.com/SirDomin), [@AdamKasp](https://github.com/AdamKasp)) -- [#13329](https://github.com/Sylius/Sylius/issues/13329) Addressing, locale update and apply coupon code unified to one endpoint ([@paullla](https://github.com/paullla)) -- [#13333](https://github.com/Sylius/Sylius/issues/13333) Replace data providers with doctrine extensions ([@paullla](https://github.com/paullla)) -- [#13337](https://github.com/Sylius/Sylius/issues/13337) [AUTO] Updated translations from Crowdin (master) ([@bot](https://github.com/bot)@[@sylius](https://github.com/sylius).[@org](https://github.com/org)) -- [#13338](https://github.com/Sylius/Sylius/issues/13338) Drop support for PHP 7.4 ([@AdamKasp](https://github.com/AdamKasp)) -- [#13339](https://github.com/Sylius/Sylius/issues/13339) Add Support for Symfony 5.4 ([@AdamKasp](https://github.com/AdamKasp)) -- [#13343](https://github.com/Sylius/Sylius/issues/13343) [Documentation] Update required version of PHP ([@GSadee](https://github.com/GSadee)) -- [#13344](https://github.com/Sylius/Sylius/issues/13344) Doctrine Extensions upgrade info & code cleanup ([@paullla](https://github.com/paullla)) -- [#13349](https://github.com/Sylius/Sylius/issues/13349) [CartPromotion][CatalogPromotion] Receiving discount only on non discounted products ([@GSadee](https://github.com/GSadee), [@SirDomin](https://github.com/SirDomin)) -- [#13350](https://github.com/Sylius/Sylius/issues/13350) Order items list and order/item adjustments serialization groups ([@paullla](https://github.com/paullla)) -- [#13352](https://github.com/Sylius/Sylius/issues/13352) Use QueryNameGenerator for extension query parameters ([@paullla](https://github.com/paullla)) -- [#13367](https://github.com/Sylius/Sylius/issues/13367) [Maintenance] Remove Sf6.0 conflicts ([@lchrusciel](https://github.com/lchrusciel)) -- [#13368](https://github.com/Sylius/Sylius/issues/13368) [UI] change time format to 24H, autocomplete times on data change ([@SirDomin](https://github.com/SirDomin)) -- [#13369](https://github.com/Sylius/Sylius/issues/13369) [Command] add command to generate jwt ([@SirDomin](https://github.com/SirDomin)) -- [#13373](https://github.com/Sylius/Sylius/issues/13373) Revert "Move "polishsymfonycommunity/symfony-mocker-container" into dev dependencies" due to the BC break ([@lchrusciel](https://github.com/lchrusciel)) -- [#13375](https://github.com/Sylius/Sylius/issues/13375) Catalog promotion channel pricing relation ([@Rafikooo](https://github.com/Rafikooo)) -- [#13377](https://github.com/Sylius/Sylius/issues/13377) Move "polishsymfonycommunity/symfony-mocker-container" into dev dependencies ([@stloyd](https://github.com/stloyd), [@lchrusciel](https://github.com/lchrusciel)) -- [#13378](https://github.com/Sylius/Sylius/issues/13378) [CatalogPromotion] change icon on show page ([@AdamKasp](https://github.com/AdamKasp)) -- [#13380](https://github.com/Sylius/Sylius/issues/13380) [Bug][Migrations] Add missing mysql check for our migrations to ensure proper syntax is available - master edition ([@lchrusciel](https://github.com/lchrusciel)) -- [#13381](https://github.com/Sylius/Sylius/issues/13381) Drop support for older `gedmo/doctrine-extensions` versions ([@mbabker](https://github.com/mbabker)) -- [#13387](https://github.com/Sylius/Sylius/issues/13387) Explanation note about minimum price in product variant creation form ([@TheMilek](https://github.com/TheMilek)) -- [#13388](https://github.com/Sylius/Sylius/issues/13388) [Migrations] Remove invalid NOT NULL usage ([@Zales0123](https://github.com/Zales0123)) -- [#13391](https://github.com/Sylius/Sylius/issues/13391) [Maintenance] Conflict with Symfony 6 packages ([@lchrusciel](https://github.com/lchrusciel)) diff --git a/CHANGELOG-1.12.md b/CHANGELOG-1.12.md deleted file mode 100644 index a01b98b39b..0000000000 --- a/CHANGELOG-1.12.md +++ /dev/null @@ -1,679 +0,0 @@ -# CHANGELOG FOR `1.12.X` - -## v1.12.13 (2023-12-05) - -#### Details - -- [#15548](https://github.com/Sylius/Sylius/issues/15548) [FIX] Default variant ([@Prometee](https://github.com/Prometee)) -- [#15565](https://github.com/Sylius/Sylius/issues/15565) [DOC] Fix display link in authorize page ([@Jibbarth](https://github.com/Jibbarth)) -- [#15571](https://github.com/Sylius/Sylius/issues/15571) Resolve psalm issues ([@Wojdylak](https://github.com/Wojdylak)) -- [#15580](https://github.com/Sylius/Sylius/issues/15580) [DX] Improve ChannelCollector customizability ([@coldic3](https://github.com/coldic3)) -- [#15582](https://github.com/Sylius/Sylius/issues/15582) Bye Psalm 👋🏼 ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#15585](https://github.com/Sylius/Sylius/issues/15585) [Fix] Do not show cart id after saving ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#15587](https://github.com/Sylius/Sylius/issues/15587) [CI] Update Symfony versions in builds ([@GSadee](https://github.com/GSadee)) -- [#15602](https://github.com/Sylius/Sylius/issues/15602) Add the sylius-labs/suite-tags-extension package ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#15603](https://github.com/Sylius/Sylius/issues/15603) Fix build ([@jakubtobiasz](https://github.com/jakubtobiasz)) - -## v1.12.12 (2023-11-17) - -#### Details - -- [#15176](https://github.com/Sylius/Sylius/issues/15176) Add if_array check in ProductAttributeValueNormalizer.php ([@sdrenth](https://github.com/sdrenth), [@GSadee](https://github.com/GSadee)) -- [#15273](https://github.com/Sylius/Sylius/issues/15273) [Issue 15271] - Get product variant by id ([@ulinskas](https://github.com/ulinskas), [@GSadee](https://github.com/GSadee)) -- [#15287](https://github.com/Sylius/Sylius/issues/15287) Make the User class compatible with Symfony 6 to use encoder_name ([@delyriand](https://github.com/delyriand), [@GSadee](https://github.com/GSadee)) -- [#15389](https://github.com/Sylius/Sylius/issues/15389) [FIX] Restrict NonChannelLocaleListener to the routes having _locale attribut ([@Prometee](https://github.com/Prometee)) -- [#15402](https://github.com/Sylius/Sylius/issues/15402) Fix failing phpspec scenario on Symfony 6.3.5 and above ([@GSadee](https://github.com/GSadee)) -- [#15416](https://github.com/Sylius/Sylius/issues/15416) [FIX][EMAIL] Use raw filter to avoid html encoded chars ([@Prometee](https://github.com/Prometee)) -- [#15430](https://github.com/Sylius/Sylius/issues/15430) [Fix] Early return in CartCollector on stateless requests ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#15437](https://github.com/Sylius/Sylius/issues/15437) [CS][DX] Refactor ([@bot](https://github.com/bot)@[@sylius](https://github.com/sylius).[@org](https://github.com/org)) -- [#15449](https://github.com/Sylius/Sylius/issues/15449) [Behat] Set a LocaleCode via the HTTP Accept-Language header ([@Rafikooo](https://github.com/Rafikooo)) -- [#15487](https://github.com/Sylius/Sylius/issues/15487) Update taxation.rst ([@zairigimad](https://github.com/zairigimad), [@GSadee](https://github.com/GSadee)) -- [#15507](https://github.com/Sylius/Sylius/issues/15507) Fix cart styles after form submission (data-route="sylius_shop_cart_c… ([@dsbe-ak](https://github.com/dsbe-ak)) -- [#15512](https://github.com/Sylius/Sylius/issues/15512) [Maintenance] Fix request parameters accessing ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#15513](https://github.com/Sylius/Sylius/issues/15513) Update BootstrapTheme install doc ([@Florian-Merle](https://github.com/Florian-Merle)) -- [#15515](https://github.com/Sylius/Sylius/issues/15515) Update catalog_promotions.rst, fix links to BatchedApplyCatalogPromotionsOnVariantsCommandDispatcher and ApplyCatalogPromotionsOnVariants ([@vldmr-k](https://github.com/vldmr-k)) -- [#15527](https://github.com/Sylius/Sylius/issues/15527) Disable check for security vulnerabilites step ([@Wojdylak](https://github.com/Wojdylak)) -- [#15531](https://github.com/Sylius/Sylius/issues/15531) Add ignore-parse-errors to composer require checker ([@Wojdylak](https://github.com/Wojdylak)) - -## v1.12.11 (2023-09-18) - -#### Details - -- [#12519](https://github.com/Sylius/Sylius/issues/12519) [ProductBundle] Add validation for product meta keywords & description ([@DieterHolvoet](https://github.com/DieterHolvoet), [@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#12894](https://github.com/Sylius/Sylius/issues/12894) Make CheckoutResolver fail safe ([@vvasiloi](https://github.com/vvasiloi), [@NoResponseMate](https://github.com/NoResponseMate)) -- [#13334](https://github.com/Sylius/Sylius/issues/13334) [Admin] Display flag properly based on locale code on product and catalog promotion details ([@adpeyre](https://github.com/adpeyre)) -- [#13954](https://github.com/Sylius/Sylius/issues/13954) [Docker] Add custom docker composer file to gitignore ([@lchrusciel](https://github.com/lchrusciel)) -- [#14806](https://github.com/Sylius/Sylius/issues/14806) [Admin][ProductOptions] Changed form ProductOptionChoiceType to Produ… ([@ulinskas](https://github.com/ulinskas)) -- [#15218](https://github.com/Sylius/Sylius/issues/15218) Fix attributes creation while the default locale is not available in our store ([@TheMilek](https://github.com/TheMilek), [@NoResponseMate](https://github.com/NoResponseMate)) -- [#15219](https://github.com/Sylius/Sylius/issues/15219) [Admin] Fix inconsistent routing ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#15225](https://github.com/Sylius/Sylius/issues/15225) Fix updating product taxons positions ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#15226](https://github.com/Sylius/Sylius/issues/15226) Update checkout.rst ([@zairigimad](https://github.com/zairigimad)) -- [#15227](https://github.com/Sylius/Sylius/issues/15227) CartBlamerListener not found , replace with ShopCartBlamerListener ([@zairigimad](https://github.com/zairigimad)) -- [#15228](https://github.com/Sylius/Sylius/issues/15228) [Docs] Update UPGRADE-1.12.md ([@UlrichHP](https://github.com/UlrichHP)) -- [#15229](https://github.com/Sylius/Sylius/issues/15229) Update symfony/service-contracts in composer.json to update Sylius to 1.12.10 ([@UlrichHP](https://github.com/UlrichHP)) -- [#15231](https://github.com/Sylius/Sylius/issues/15231) Prevent skipping choosing payment step once skipping payment step allowed, but no payment method is available ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#15232](https://github.com/Sylius/Sylius/issues/15232) [Documentation][Admin] Add notes about accessing guest orders ([@GSadee](https://github.com/GSadee)) -- [#15234](https://github.com/Sylius/Sylius/issues/15234) Fix Sylius versions in UPGRADE file ([@GSadee](https://github.com/GSadee)) -- [#15245](https://github.com/Sylius/Sylius/issues/15245) Fix CI 2023-08-21 ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#15250](https://github.com/Sylius/Sylius/issues/15250) [Admin][Country] Add violation for adding provinces with duplicated codes or names ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#15251](https://github.com/Sylius/Sylius/issues/15251) Fix error with being unable to add product review while being logged in using remember me ([@TheMilek](https://github.com/TheMilek)) -- [#15252](https://github.com/Sylius/Sylius/issues/15252) [Admin][Taxon] Fix slug generation to work based on the parent field ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#15255](https://github.com/Sylius/Sylius/issues/15255) [Admin][Product] Add language names to attribute values ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#15263](https://github.com/Sylius/Sylius/issues/15263) Update default Rules of cart promotion ([@zairigimad](https://github.com/zairigimad)) -- [#15268](https://github.com/Sylius/Sylius/issues/15268) Fix configuring amount for cart promotions item percentage discount actions ([@TheMilek](https://github.com/TheMilek), [@NoResponseMate](https://github.com/NoResponseMate)) -- [#15272](https://github.com/Sylius/Sylius/issues/15272) Fix "jumping" taxons while moving up or down ([@igormukhingmailcom](https://github.com/igormukhingmailcom), [@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#15277](https://github.com/Sylius/Sylius/issues/15277) Prevent removing product/taxon if it is already used in promotion rule ([@TheMilek](https://github.com/TheMilek), [@NoResponseMate](https://github.com/NoResponseMate)) -- [#15280](https://github.com/Sylius/Sylius/issues/15280) Prevent throwing 500 while finalizing an order when at least one item has become tracked ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#15290](https://github.com/Sylius/Sylius/issues/15290) Add a note about payment-related events ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#15311](https://github.com/Sylius/Sylius/issues/15311) [API] fix prefix url on locale api path ([@oallain](https://github.com/oallain)) - -## v1.12.10 (2023-08-11) - -#### Details - -- [#12502](https://github.com/Sylius/Sylius/issues/12502) Recalculate order adjustments total after adjustment is added or remo… ([@kayue](https://github.com/kayue), [@SirDomin](https://github.com/SirDomin), [@TheMilek](https://github.com/TheMilek)) -- [#15128](https://github.com/Sylius/Sylius/issues/15128) [Docs] Sylius Plus installation guide update ([@Rafikooo](https://github.com/Rafikooo)) -- [#15148](https://github.com/Sylius/Sylius/issues/15148) Fix rendering admin creation form with errors ([@jakubtobiasz](https://github.com/jakubtobiasz), [@NoResponseMate](https://github.com/NoResponseMate)) -- [#15162](https://github.com/Sylius/Sylius/issues/15162) Abstracts out ShopBasedCartContext::reset to an interface ([@palttamas](https://github.com/palttamas), [@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#15178](https://github.com/Sylius/Sylius/issues/15178) [CS][DX] Refactor () -- [#15184](https://github.com/Sylius/Sylius/issues/15184) Cover the order item units based tax calculation strategy with scenarios ([@GSadee](https://github.com/GSadee)) -- [#15185](https://github.com/Sylius/Sylius/issues/15185) Avoid displaying taxon names inside of autocomplete in different locales than the store ([@TheMilek](https://github.com/TheMilek)) -- [#15186](https://github.com/Sylius/Sylius/issues/15186) Add a conflict for doctrine/orm:2.15.4 ([@GSadee](https://github.com/GSadee)) -- [#15187](https://github.com/Sylius/Sylius/issues/15187) [Order] Extract payments removal from OrderPaymentProcessor ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#15191](https://github.com/Sylius/Sylius/issues/15191) Readme banner refresh ([@kulczy](https://github.com/kulczy)) -- [#15195](https://github.com/Sylius/Sylius/issues/15195) Fix percentage discount's decimal rounding issue ([@TheMilek](https://github.com/TheMilek)) -- [#15197](https://github.com/Sylius/Sylius/issues/15197) Add a conflict for doctrine/orm 2.15.2 and higher ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#15200](https://github.com/Sylius/Sylius/issues/15200) [Docs] Update order processing info ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#15202](https://github.com/Sylius/Sylius/issues/15202) Update catalog_promotions.rst ([@zairigimad](https://github.com/zairigimad)) -- [#15204](https://github.com/Sylius/Sylius/issues/15204) Resolve comments from #15195 ([@TheMilek](https://github.com/TheMilek)) -- [#15205](https://github.com/Sylius/Sylius/issues/15205) [Maintenance] Remove depractions from OrderPaymentProcessor ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#15207](https://github.com/Sylius/Sylius/issues/15207) [Behat] Fix minor mistake in names of scenarios for receiving discount according to promotions priorities ([@GSadee](https://github.com/GSadee)) -- [#15213](https://github.com/Sylius/Sylius/issues/15213) Allow installing doctrine/orm 2.15.* ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#15214](https://github.com/Sylius/Sylius/issues/15214) Fix configuring amount for catalog promotions fixed discount actions ([@TheMilek](https://github.com/TheMilek)) -- [#15217](https://github.com/Sylius/Sylius/issues/15217) Fix cart styles after coupon form submission failure ([@shochdoerfer](https://github.com/shochdoerfer)) - -## v1.12.9 (2023-07-21) - -#### Details - -- [#12555](https://github.com/Sylius/Sylius/issues/12555) Fix misleading signing in the admin panel feature description ([@Mateuszry](https://github.com/Mateuszry)) -- [#13824](https://github.com/Sylius/Sylius/issues/13824) Calculate tax with decimal precision and distribute proportionally across order items ([@vvasiloi](https://github.com/vvasiloi), [@GSadee](https://github.com/GSadee), [@TheMilek](https://github.com/TheMilek)) -- [#15014](https://github.com/Sylius/Sylius/issues/15014) Change prority for custom ChannelContext ([@l-vo](https://github.com/l-vo)) -- [#15037](https://github.com/Sylius/Sylius/issues/15037) [Docs] add image to entity via one-to-one association ([@vvasiloi](https://github.com/vvasiloi)) -- [#15059](https://github.com/Sylius/Sylius/issues/15059) Upgrade PHPStan to level 5 ([@lruozzi9](https://github.com/lruozzi9)) -- [#15064](https://github.com/Sylius/Sylius/issues/15064) [Orders][API] Validate endpoints ([@Rafikooo](https://github.com/Rafikooo)) -- [#15065](https://github.com/Sylius/Sylius/issues/15065) [CS][DX] Refactor ([@github-actions](https://github.com/github-actions)[[@bot](https://github.com/bot)]) -- [#15069](https://github.com/Sylius/Sylius/issues/15069) [Psalm] CacheableSupportsMethodInterface in the deprecation list ([@Rafikooo](https://github.com/Rafikooo)) -- [#15075](https://github.com/Sylius/Sylius/issues/15075) Add a conflict for doctrine/orm:2.15.2 ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#15076](https://github.com/Sylius/Sylius/issues/15076) [CS][DX] Refactor ([@github-actions](https://github.com/github-actions)[[@bot](https://github.com/bot)]) -- [#15079](https://github.com/Sylius/Sylius/issues/15079) Upgrade PHPStan to level 6 ([@lruozzi9](https://github.com/lruozzi9)) -- [#15086](https://github.com/Sylius/Sylius/issues/15086) [Fixture] Improve LazyOption performance ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#15088](https://github.com/Sylius/Sylius/issues/15088) [Promotion] Ignore coupon based promotions when when processing an order with no coupon ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#15101](https://github.com/Sylius/Sylius/issues/15101) [Maintenance] Launch of `Sylius Sp. z o.o.` copyright owner across project files ([@Rafikooo](https://github.com/Rafikooo)) -- [#15110](https://github.com/Sylius/Sylius/issues/15110) Include children taxons while executing InForTaxonsScopeVariantChecker ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#15116](https://github.com/Sylius/Sylius/issues/15116) Ignore ApiPlatform\Core\Api\IriConverterInterface DeprecatedClass Psalm error ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#15118](https://github.com/Sylius/Sylius/issues/15118) Fix CI ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#15130](https://github.com/Sylius/Sylius/issues/15130) Add conflict to symfony/validator 5.4.25, 6.2.12 and 6.3.1 ([@TheMilek](https://github.com/TheMilek)) -- [#15137](https://github.com/Sylius/Sylius/issues/15137) [Maintenance] Improve ProportionalIntegerDistributor to keep original index ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#15139](https://github.com/Sylius/Sylius/issues/15139) Fix "Show product in the shop page" button ([@mamazu](https://github.com/mamazu), [@jakubtobiasz](https://github.com/jakubtobiasz), [@GSadee](https://github.com/GSadee)) -- [#15145](https://github.com/Sylius/Sylius/issues/15145) [Bunnyshell] Adjust the workflows for Fork PRs ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#15147](https://github.com/Sylius/Sylius/issues/15147) [Behat] Minor improvements for accessing shop product page scenarios ([@GSadee](https://github.com/GSadee)) -- [#15154](https://github.com/Sylius/Sylius/issues/15154) Add a conflict for "stof/doctrine-extensions-bundle": "1.8.0" ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#15157](https://github.com/Sylius/Sylius/issues/15157) [Issue 15151] - Check manager before refreshing object ([@ulinskas](https://github.com/ulinskas)) -- [#15161](https://github.com/Sylius/Sylius/issues/15161) [API] Product filter no longer crashes when using multiple taxons ([@palttamas](https://github.com/palttamas)) -- [#15165](https://github.com/Sylius/Sylius/issues/15165) [API] Fix CommandDenormalizer ignoring custom property names ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#15170](https://github.com/Sylius/Sylius/issues/15170) Prevent placing an order with a disabled shipping method ([@jakubtobiasz](https://github.com/jakubtobiasz)) - -## v1.12.8 (2023-05-25) - -#### Details - -- [#12344](https://github.com/Sylius/Sylius/issues/12344) [Product][Association] Fix attaching association with numeric code ([@hatem20](https://github.com/hatem20)) -- [#13438](https://github.com/Sylius/Sylius/issues/13438) Replace http with https in static URLs ([@vvasiloi](https://github.com/vvasiloi)) -- [#13864](https://github.com/Sylius/Sylius/issues/13864) fix message of the length constraint on email ([@james2001](https://github.com/james2001)) -- [#14918](https://github.com/Sylius/Sylius/issues/14918) [Tasks] Improve Robo task ([@Rafikooo](https://github.com/Rafikooo)) -- [#14920](https://github.com/Sylius/Sylius/issues/14920) [Admin][Shipment] fix english word and add shipment state in admin show shipment ([@BastienGoze](https://github.com/BastienGoze)) -- [#14923](https://github.com/Sylius/Sylius/issues/14923) [CS][DX] Refactor ([@github-actions](https://github.com/github-actions)[[@bot](https://github.com/bot)]) -- [#14925](https://github.com/Sylius/Sylius/issues/14925) [Migrations] Sylius-Standard installation fix ([@Rafikooo](https://github.com/Rafikooo)) -- [#14926](https://github.com/Sylius/Sylius/issues/14926) [API] API Platform's default exception mappings ([@Rafikooo](https://github.com/Rafikooo)) -- [#14929](https://github.com/Sylius/Sylius/issues/14929) Add conflict for doctrine/orm:2.14.2 ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14932](https://github.com/Sylius/Sylius/issues/14932) [Admin][Promotion] Remove leftover rules after their assigned product gets deleted ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14935](https://github.com/Sylius/Sylius/issues/14935) [DX] Do not hardcode order state in order processors ([@Zales0123](https://github.com/Zales0123)) -- [#14938](https://github.com/Sylius/Sylius/issues/14938) Revert "Add conflict for doctrine/orm:2.14.2" ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14940](https://github.com/Sylius/Sylius/issues/14940) default shipping methods order by position ([@ehibes](https://github.com/ehibes)) -- [#14941](https://github.com/Sylius/Sylius/issues/14941) Fix build ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14953](https://github.com/Sylius/Sylius/issues/14953) Update BuildTestApp actions within workflows ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14956](https://github.com/Sylius/Sylius/issues/14956) [Shop] Add request matching to LocaleStrippingRouter ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14957](https://github.com/Sylius/Sylius/issues/14957) Ignore push event on upmerge ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14961](https://github.com/Sylius/Sylius/issues/14961) [API] Remove invalid enum value from ProductImage resource ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14962](https://github.com/Sylius/Sylius/issues/14962) [ApiBundle][Maintenance] Remove conflict with `doctrine/dbal:3.*` ([@Rafikooo](https://github.com/Rafikooo)) -- [#14967](https://github.com/Sylius/Sylius/issues/14967) [GRID] Avoid double label translation on date filter ([@Prometee](https://github.com/Prometee)) -- [#14971](https://github.com/Sylius/Sylius/issues/14971) Fix the press enter cause attribute deletion ([@zangra-dev](https://github.com/zangra-dev)) -- [#14973](https://github.com/Sylius/Sylius/issues/14973) [UI][Swagger] Update link to API Introduction section ([@coldic3](https://github.com/coldic3)) -- [#14974](https://github.com/Sylius/Sylius/issues/14974) [CS][DX] Refactor ([@github-actions](https://github.com/github-actions)[[@bot](https://github.com/bot)]) -- [#14977](https://github.com/Sylius/Sylius/issues/14977) [Promotion] Fix price range filter to also consider configuration with only max ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14991](https://github.com/Sylius/Sylius/issues/14991) [Unstable][Maintenance] Fix DisablingApiTest on unstable symfony ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#15006](https://github.com/Sylius/Sylius/issues/15006) Fix adding more than one product attribute at once ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#15010](https://github.com/Sylius/Sylius/issues/15010) Lower the sylius.context.locale tag priority on RequestHeaderBasedLocalContext ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#15018](https://github.com/Sylius/Sylius/issues/15018) Upgrade PHPStan to level 4 ([@lruozzi9](https://github.com/lruozzi9)) -- [#15022](https://github.com/Sylius/Sylius/issues/15022) [Admin] Fix inability of sorting promotion coupons and catalog promotions ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#15024](https://github.com/Sylius/Sylius/issues/15024) [Behat][Api] Make sure taxon iri is in right section ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#15025](https://github.com/Sylius/Sylius/issues/15025) Added: Implementation of getShippingUnitTotal ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#15031](https://github.com/Sylius/Sylius/issues/15031) [Behat] Minor fixes in scenarios and contexts ([@coldic3](https://github.com/coldic3)) -- [#15034](https://github.com/Sylius/Sylius/issues/15034) [CS][DX] Refactor ([@github-actions](https://github.com/github-actions)[[@bot](https://github.com/bot)]) -- [#15038](https://github.com/Sylius/Sylius/issues/15038) [Fix][Migrations] Wrong abstract class extended ([@Rafikooo](https://github.com/Rafikooo)) -- [#15048](https://github.com/Sylius/Sylius/issues/15048) Add php-http/message-factory as a dev dependency to fix tests ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#15050](https://github.com/Sylius/Sylius/issues/15050) [Fix][Installer] Install Sylius 1.12 with PostgreSQL ([@Rafikooo](https://github.com/Rafikooo)) -- [#15052](https://github.com/Sylius/Sylius/issues/15052) Revert "[CS][DX] Refactor" ([@jakubtobiasz](https://github.com/jakubtobiasz)) - -## v1.12.7 (2023-04-06) - -#### Details - -- [#14825](https://github.com/Sylius/Sylius/issues/14825) Update sylius-chart.js ([@xXNoceboXx](https://github.com/xXNoceboXx)) -- [#14892](https://github.com/Sylius/Sylius/issues/14892) Improve testing unstable dependencies in CI ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14897](https://github.com/Sylius/Sylius/issues/14897) [Channel] Add "order by" to the "find by" methods ([@coldic3](https://github.com/coldic3)) -- [#14902](https://github.com/Sylius/Sylius/issues/14902) [Order] Prevent paying with a disabled method ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14905](https://github.com/Sylius/Sylius/issues/14905) [Conflict] Add conflict with symfony/framework-bundle:6.2.8 ([@Rafikooo](https://github.com/Rafikooo)) -- [#14910](https://github.com/Sylius/Sylius/issues/14910) Change the ApiPlatform Mapping prepend path ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14912](https://github.com/Sylius/Sylius/issues/14912) [Maintenance][CI] Allow manually dispatching unstable workflow ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14914](https://github.com/Sylius/Sylius/issues/14914) [Orders][API] OrderItem removal validation ([@Rafikooo](https://github.com/Rafikooo)) - -## v1.12.6 (2023-03-28) - -#### Details - -- [#11121](https://github.com/Sylius/Sylius/issues/11121) Fixed: Calculator at TaxRate fixtures ([@igormukhingmailcom](https://github.com/igormukhingmailcom)) -- [#13582](https://github.com/Sylius/Sylius/issues/13582) [Documentation] Fix overwriting templates path ([@goncziakos](https://github.com/goncziakos)) -- [#14763](https://github.com/Sylius/Sylius/issues/14763) [Documentation][Cookbook] Add Vue Storefront installation guide ([@bitbager](https://github.com/bitbager)) -- [#14826](https://github.com/Sylius/Sylius/issues/14826) Fix order by composite keys in OrderByIdentifierSqlWalker ([@coldic3](https://github.com/coldic3)) -- [#14835](https://github.com/Sylius/Sylius/issues/14835) [Docs] Add warning to skip redundant routes on Plus installation ([@coldic3](https://github.com/coldic3)) -- [#14838](https://github.com/Sylius/Sylius/issues/14838) [Fix] Take care of no session available in cart storage ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14839](https://github.com/Sylius/Sylius/issues/14839) [Documentation][Plus] Update version of Plus ([@GSadee](https://github.com/GSadee)) -- [#14841](https://github.com/Sylius/Sylius/issues/14841) [CS][DX] Refactor () -- [#14842](https://github.com/Sylius/Sylius/issues/14842) Remove ApiPlatform 2.6.x from CI ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14847](https://github.com/Sylius/Sylius/issues/14847) Remove merge conflict comment ([@SebLours](https://github.com/SebLours)) -- [#14849](https://github.com/Sylius/Sylius/issues/14849) Fix a wrong function name in the AuthenticationSuccessListenerSpec ([@dawkaa](https://github.com/dawkaa)) -- [#14850](https://github.com/Sylius/Sylius/issues/14850) [Order] Fix partially refunded payement preventing order to still be … ([@BorbagUskada](https://github.com/BorbagUskada)) -- [#14853](https://github.com/Sylius/Sylius/issues/14853) [Docs] Add guide on how to add another implementation of UnitRefundInterface ([@coldic3](https://github.com/coldic3)) -- [#14855](https://github.com/Sylius/Sylius/issues/14855) Add selecting only Behat scenarios with @javascript tag for JS-based CI ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14857](https://github.com/Sylius/Sylius/issues/14857) Fix LogicException in form validation ([@jurv](https://github.com/jurv)) -- [#14859](https://github.com/Sylius/Sylius/issues/14859) [Order] Ensure correct item in `post_add` event ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14865](https://github.com/Sylius/Sylius/issues/14865) Fix calculating cart after trying to add more product than in stock ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14869](https://github.com/Sylius/Sylius/issues/14869) Typo in fixtures.rst ([@alexandre-castelain](https://github.com/alexandre-castelain)) -- [#14870](https://github.com/Sylius/Sylius/issues/14870) There's no canton in Belgium, it's provinces ([@alexandre-castelain](https://github.com/alexandre-castelain)) -- [#14880](https://github.com/Sylius/Sylius/issues/14880) [Locale][API] Additional locale code validation ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14884](https://github.com/Sylius/Sylius/issues/14884) fix: `encore prod` retrocompat ([@maxperei](https://github.com/maxperei)) -- [#14886](https://github.com/Sylius/Sylius/issues/14886) Add var/log content to artifacts on pipeline fail ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14887](https://github.com/Sylius/Sylius/issues/14887) [Admin][ProductVariant] Switched list rendering from base locale to current ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14891](https://github.com/Sylius/Sylius/issues/14891) Fix dependency security vulerability for enshrined/svg-sanitize package () - -## v1.12.5 (2023-02-21) - -#### Details - -- [#12752](https://github.com/Sylius/Sylius/issues/12752) [ADR] Strategy for resource internationalization in API ([@lchrusciel](https://github.com/lchrusciel)) -- [#13044](https://github.com/Sylius/Sylius/issues/13044) [Maintenance] Added promotion form theme override in UPGRADE-1.9.md ([@SVillette](https://github.com/SVillette)) -- [#13313](https://github.com/Sylius/Sylius/issues/13313) [Behat] add scenario for disabled admin ([@SirDomin](https://github.com/SirDomin)) -- [#13913](https://github.com/Sylius/Sylius/issues/13913) [Architecture] Ensure HTTP errors are not dispatched in command handlers ([@lchrusciel](https://github.com/lchrusciel)) -- [#14026](https://github.com/Sylius/Sylius/issues/14026) [Minor] Typo fixes and small code improvement ([@lchrusciel](https://github.com/lchrusciel), [@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14055](https://github.com/Sylius/Sylius/issues/14055) Fix channel color in fixture ([@iKsSs](https://github.com/iKsSs)) -- [#14531](https://github.com/Sylius/Sylius/issues/14531) Update sylius_plus_installation.rst ([@oallain](https://github.com/oallain)) -- [#14561](https://github.com/Sylius/Sylius/issues/14561) [DOCS] Sylius components attribute ([@arti0090](https://github.com/arti0090)) -- [#14758](https://github.com/Sylius/Sylius/issues/14758) [API] Priorities in data transformers ([@Zales0123](https://github.com/Zales0123)) -- [#14761](https://github.com/Sylius/Sylius/issues/14761) fix(layout): removed admin-layout__topbar height ([@UlrichHP](https://github.com/UlrichHP)) -- [#14784](https://github.com/Sylius/Sylius/issues/14784) [Documentation] Update Sylius versions in release cycle ([@GSadee](https://github.com/GSadee)) -- [#14785](https://github.com/Sylius/Sylius/issues/14785) Remove scheduled full build ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14789](https://github.com/Sylius/Sylius/issues/14789) Fix product attribute value normalizer ([@loic425](https://github.com/loic425)) -- [#14792](https://github.com/Sylius/Sylius/issues/14792) Add adjusting shop regex section to disabling-localised-urls.rst ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14797](https://github.com/Sylius/Sylius/issues/14797) [API] Prepend configuration with API Platform mapping ([@GSadee](https://github.com/GSadee)) -- [#14800](https://github.com/Sylius/Sylius/issues/14800) Fix being unable to pick up latest non-empty cart started in shop and continued in API ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14801](https://github.com/Sylius/Sylius/issues/14801) Add a missing orders prefix to routes in Admin Panel ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14802](https://github.com/Sylius/Sylius/issues/14802) Update versions in the "Submitting a Patch" doc ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14803](https://github.com/Sylius/Sylius/issues/14803) Logout Admin User after being disabled ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14804](https://github.com/Sylius/Sylius/issues/14804) Fix CI ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14805](https://github.com/Sylius/Sylius/issues/14805) Remove possibility to add Stripe as a payment method when package is missing ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14808](https://github.com/Sylius/Sylius/issues/14808) Fix url in links ([@jaceksieja](https://github.com/jaceksieja)) -- [#14813](https://github.com/Sylius/Sylius/issues/14813) [Shop] Fix displaying discount on list view when original price is lower than current ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14818](https://github.com/Sylius/Sylius/issues/14818) Improve SEO () -- [#14820](https://github.com/Sylius/Sylius/issues/14820) [CS][DX] Refactor () -- [#14824](https://github.com/Sylius/Sylius/issues/14824) [Orders][API] Change cart item delete HTTP response code to 204 ([@Rafikooo](https://github.com/Rafikooo)) - -## v1.12.4 (2023-02-02) - -#### Details - -- [#12996](https://github.com/Sylius/Sylius/issues/12996) Remove sylius.model.shop_billing_data.class ([@vvasiloi](https://github.com/vvasiloi)) -- [#13448](https://github.com/Sylius/Sylius/issues/13448) Remove wrong trailing space in test attribute ([@mmenozzi](https://github.com/mmenozzi)) -- [#13835](https://github.com/Sylius/Sylius/issues/13835) chore: Replace NBSP by Space in doc ([@sad270](https://github.com/sad270)) -- [#14122](https://github.com/Sylius/Sylius/issues/14122) [AUTO] Updated translations from Crowdin (master) ([@SyliusBot](https://github.com/SyliusBot)) -- [#14174](https://github.com/Sylius/Sylius/issues/14174) [Admin] Fix 500 error when showing cart in admin panel ([@lchrusciel](https://github.com/lchrusciel)) -- [#14381](https://github.com/Sylius/Sylius/issues/14381) [Maintenance] Note behat changes due to Mailer usage ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14416](https://github.com/Sylius/Sylius/issues/14416) [Product] Fixed product attribute translations #11570 ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14556](https://github.com/Sylius/Sylius/issues/14556) Hide "View in your store" widget in case ShopBundle disabled ([@diimpp](https://github.com/diimpp)) -- [#14562](https://github.com/Sylius/Sylius/issues/14562) Update embedding products snippet in documentation ([@qhayat](https://github.com/qhayat)) -- [#14576](https://github.com/Sylius/Sylius/issues/14576) Fix notInRangeMessage usage for a few Range validations ([@diimpp](https://github.com/diimpp), [@GSadee](https://github.com/GSadee)) -- [#14577](https://github.com/Sylius/Sylius/issues/14577) Product taxon position don't affect parent taxon - API ([@everwhatever](https://github.com/everwhatever)) -- [#14667](https://github.com/Sylius/Sylius/issues/14667) [Maintenance][CI] Remove github actions deprecations ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14716](https://github.com/Sylius/Sylius/issues/14716) [Messenger] Use parameters in the configuration ([@Rafikooo](https://github.com/Rafikooo)) -- [#14717](https://github.com/Sylius/Sylius/issues/14717) [CS][DX] Refactor -- [#14719](https://github.com/Sylius/Sylius/issues/14719) [CS][DX] Refactor -- [#14721](https://github.com/Sylius/Sylius/issues/14721) Added forgotten import to docblock. ([@kkevindev](https://github.com/kkevindev)) -- [#14722](https://github.com/Sylius/Sylius/issues/14722) [User] Allow configuring `lastLogin` tracking frequency ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14730](https://github.com/Sylius/Sylius/issues/14730) [UI][DX] Extract form collection event handlers to the separate module ([@coldic3](https://github.com/coldic3)) -- [#14731](https://github.com/Sylius/Sylius/issues/14731) [Fix] Request stack with null request ([@Prometee](https://github.com/Prometee)) -- [#14733](https://github.com/Sylius/Sylius/issues/14733) Update generating-invoice-after-payment.rst ([@cwa-cc](https://github.com/cwa-cc)) -- [#14735](https://github.com/Sylius/Sylius/issues/14735) Refactor not to use RequestStack::getMasterRequest() ([@GSadee](https://github.com/GSadee)) -- [#14736](https://github.com/Sylius/Sylius/issues/14736) Updated UPGRADE-1.11.md to add a BC Break on channel pricing ([@devantoine](https://github.com/devantoine)) -- [#14739](https://github.com/Sylius/Sylius/issues/14739) [CS][DX] Refactor -- [#14740](https://github.com/Sylius/Sylius/issues/14740) [CS][DX] Refactor -- [#14745](https://github.com/Sylius/Sylius/issues/14745) Fix static analysis after upmerge ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14746](https://github.com/Sylius/Sylius/issues/14746) Optimize jeans_04.svg size ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14749](https://github.com/Sylius/Sylius/issues/14749) Port of Sylius 1.13 CI to Sylius 1.12 ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14751](https://github.com/Sylius/Sylius/issues/14751) Fix applying catalog promotions when there is no applied promotions and price differ from original price ([@TheMilek](https://github.com/TheMilek)) -- [#14752](https://github.com/Sylius/Sylius/issues/14752) Fix workflows file extensions after downmerge ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14753](https://github.com/Sylius/Sylius/issues/14753) Fix typo in notify-about-build-status workflow job ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14755](https://github.com/Sylius/Sylius/issues/14755) [Maintenance][ApiBundle] Move test app into `Tests` dir ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14762](https://github.com/Sylius/Sylius/issues/14762) Add missing interface to OrderIntegrityChecker ([@Zales0123](https://github.com/Zales0123)) -- [#14767](https://github.com/Sylius/Sylius/issues/14767) [CS][DX] Refactor -- [#14768](https://github.com/Sylius/Sylius/issues/14768) [CS][DX] Refactor -- [#14770](https://github.com/Sylius/Sylius/issues/14770) Fix typo in notify-about-build-status workflow job ([@GSadee](https://github.com/GSadee)) -- [#14772](https://github.com/Sylius/Sylius/issues/14772) [Maintenance][ApiBundle] Update test app config ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14773](https://github.com/Sylius/Sylius/issues/14773) [Maintenance][UserBundle] Fix UserLastLoginSubscriber arguments ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14779](https://github.com/Sylius/Sylius/issues/14779) [Admin] Change homepage path variable to use snake case ([@GSadee](https://github.com/GSadee)) -- [#14780](https://github.com/Sylius/Sylius/issues/14780) [Product] Add missing LocaleContextInterface in ProductAttributeController after upmerge from 1.11 ([@GSadee](https://github.com/GSadee)) -- [#14782](https://github.com/Sylius/Sylius/issues/14782) Fix the wrong DQL alias in OrderByIdentifierSqlWalker ([@coldic3](https://github.com/coldic3)) -- [#14783](https://github.com/Sylius/Sylius/issues/14783) [Admin] Fix 500 when resending order confirmation email for a cart ([@NoResponseMate](https://github.com/NoResponseMate)) - -## v1.12.3 (2023-01-13) - -#### Details - -- [#14715](https://github.com/Sylius/Sylius/issues/14715) [Core] Fix default query hint config ([@coldic3](https://github.com/coldic3)) - -## v1.12.2 (2023-01-13) - -#### Details - -- [#12099](https://github.com/Sylius/Sylius/issues/12099) Make link buttons with confirmation modal work again ([@stefandoorn](https://github.com/stefandoorn)) -- [#12712](https://github.com/Sylius/Sylius/issues/12712) Fix sprintf parameters order ([@Creeperface01](https://github.com/Creeperface01)) -- [#13157](https://github.com/Sylius/Sylius/issues/13157) Add missing space to taxes ([@pavol-tuka](https://github.com/pavol-tuka)) -- [#13207](https://github.com/Sylius/Sylius/issues/13207) Changing replacement interface as previous one does not exist ([@Roshyo](https://github.com/Roshyo)) -- [#13689](https://github.com/Sylius/Sylius/issues/13689) Fix typo in sylius_order state machine callback ([@vvasiloi](https://github.com/vvasiloi), [@Rafikooo](https://github.com/Rafikooo), [@Zales0123](https://github.com/Zales0123)) -- [#13820](https://github.com/Sylius/Sylius/issues/13820) [Doc] Add depth to theme configuration ([@Nek-](https://github.com/Nek-)) -- [#14177](https://github.com/Sylius/Sylius/issues/14177) [Docs] Fix API docs for Shop User token response ([@loic425](https://github.com/loic425)) -- [#14289](https://github.com/Sylius/Sylius/issues/14289) [Api] Change int to integer in ProductVariant and ShippingMethod documentation normalizers ([@EsamAl-Dabagh](https://github.com/EsamAl-Dabagh)) -- [#14491](https://github.com/Sylius/Sylius/issues/14491) Upgrade PHPStan to level 3 ([@lruozzi9](https://github.com/lruozzi9)) -- [#14525](https://github.com/Sylius/Sylius/issues/14525) Adding skipIf for migrations to allow future runs when they should apply ([@stefantalen](https://github.com/stefantalen)) -- [#14575](https://github.com/Sylius/Sylius/issues/14575) [DX] Add EditorConfig for test API responses ([@coldic3](https://github.com/coldic3)) -- [#14580](https://github.com/Sylius/Sylius/issues/14580) [Enchancement] Optimize memory usage by sylius:remove-expired-carts command ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14587](https://github.com/Sylius/Sylius/issues/14587) Add gitattributes on bundles ([@loic425](https://github.com/loic425)) -- [#14594](https://github.com/Sylius/Sylius/issues/14594) Fix postgres builds ([@coldic3](https://github.com/coldic3)) -- [#14605](https://github.com/Sylius/Sylius/issues/14605) [CS][DX] Refactor ([@bot](https://github.com/bot)@[@sylius](https://github.com/sylius).[@org](https://github.com/org)) -- [#14606](https://github.com/Sylius/Sylius/issues/14606) [CS][DX] Refactor ([@bot](https://github.com/bot)@[@sylius](https://github.com/sylius).[@org](https://github.com/org)) -- [#14608](https://github.com/Sylius/Sylius/issues/14608) [UI][Shop][Cart] Reset chosen options on refresh in firefox ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14619](https://github.com/Sylius/Sylius/issues/14619) Update catalog_promotions.rst ([@Xusifob](https://github.com/Xusifob)) -- [#14625](https://github.com/Sylius/Sylius/issues/14625) [Fix][Shop] Conditional adding of logout listener ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14632](https://github.com/Sylius/Sylius/issues/14632) [Documentation] Extend the maintenance period of Sylius 1.11 by one month ([@GSadee](https://github.com/GSadee)) -- [#14633](https://github.com/Sylius/Sylius/issues/14633) [Documentation] Remove Sylius 1.12 scope from the release cycle page ([@GSadee](https://github.com/GSadee)) -- [#14634](https://github.com/Sylius/Sylius/issues/14634) [API] Fix ProductVariantNormalizer exception catching ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14641](https://github.com/Sylius/Sylius/issues/14641) Updated twig/intl-extra to allow v3 ([@UlrichHP](https://github.com/UlrichHP)) -- [#14642](https://github.com/Sylius/Sylius/issues/14642) Fix invalid API errors normalization ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14643](https://github.com/Sylius/Sylius/issues/14643) [ProductAssociation] Fix empty product associations ([@coldic3](https://github.com/coldic3)) -- [#14645](https://github.com/Sylius/Sylius/issues/14645) Move Upgrade API from 1.11.11 to 1.11.12 section to the top of file ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14646](https://github.com/Sylius/Sylius/issues/14646) Adjust FlattenException and HydraError normalizers to Symfony 5.4 ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14650](https://github.com/Sylius/Sylius/issues/14650) Validate existence of coupon ([@bashilbers](https://github.com/bashilbers), [@everwhatever](https://github.com/everwhatever)) -- [#14651](https://github.com/Sylius/Sylius/issues/14651) Remove unit from shipment ([@kayue](https://github.com/kayue), [@everwhatever](https://github.com/everwhatever)) -- [#14657](https://github.com/Sylius/Sylius/issues/14657) [CS][DX] Refactor ([@bot](https://github.com/bot)@[@sylius](https://github.com/sylius).[@org](https://github.com/org)) -- [#14659](https://github.com/Sylius/Sylius/issues/14659) [CS][DX] Refactor ([@bot](https://github.com/bot)@[@sylius](https://github.com/sylius).[@org](https://github.com/org)) -- [#14661](https://github.com/Sylius/Sylius/issues/14661) [Maintenance][Psalm] Add LifecycleEventArgs to deprecated classes ([@Rafikooo](https://github.com/Rafikooo)) -- [#14662](https://github.com/Sylius/Sylius/issues/14662) Improve loading taxons ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14669](https://github.com/Sylius/Sylius/issues/14669) Wrong Rounding of the prices in the percentage discount catalog promotions ([@maxmishyn](https://github.com/maxmishyn), [@everwhatever](https://github.com/everwhatever)) -- [#14677](https://github.com/Sylius/Sylius/issues/14677) [Maintenance] Remove Doctrine's LifecycleEventArgs deprecations ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14678](https://github.com/Sylius/Sylius/issues/14678) [UX] Fix cart button on small screens ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14682](https://github.com/Sylius/Sylius/issues/14682) It's 2023! 🎉 ([@coldic3](https://github.com/coldic3)) -- [#14683](https://github.com/Sylius/Sylius/issues/14683) Extract authorized user assignment to separate method/ cp to 1.11 ([@everwhatever](https://github.com/everwhatever)) -- [#14685](https://github.com/Sylius/Sylius/issues/14685) Default ORDER BY for all entities and their relationships ([@coldic3](https://github.com/coldic3)) -- [#14689](https://github.com/Sylius/Sylius/issues/14689) [CS][DX] Refactor ([@bot](https://github.com/bot)@[@sylius](https://github.com/sylius).[@org](https://github.com/org)) -- [#14691](https://github.com/Sylius/Sylius/issues/14691) [Fix] Symfony container reanimation after friendsofsymfony/rest-bundle: 3.5.0 release ([@Rafikooo](https://github.com/Rafikooo)) -- [#14694](https://github.com/Sylius/Sylius/issues/14694) [Composer] Remove conflict with doctrine/annotations: ^2.0 ([@Rafikooo](https://github.com/Rafikooo)) -- [#14697](https://github.com/Sylius/Sylius/issues/14697) Remove error suppression to fix unit tests ([@coldic3](https://github.com/coldic3)) -- [#14700](https://github.com/Sylius/Sylius/issues/14700) Add a conflict for doctrine/migrations:3.5.3 ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14701](https://github.com/Sylius/Sylius/issues/14701) [API] Fix IRI converter catching homepage ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14704](https://github.com/Sylius/Sylius/issues/14704) [Conflicts] Doctrine/annotations:^2.0 ([@Rafikooo](https://github.com/Rafikooo)) -- [#14706](https://github.com/Sylius/Sylius/issues/14706) [Promotion][UI] Fix hardcoded "sylius_promotion" selector ([@coldic3](https://github.com/coldic3)) -- [#14707](https://github.com/Sylius/Sylius/issues/14707) Add note to UPGRADE-1.12 file about default order by for all entities ([@GSadee](https://github.com/GSadee)) - -## v1.12.1 (2022-12-08) - -#### Details - -- [#12611](https://github.com/Sylius/Sylius/issues/12611) Change on from string to array, consistent with other definitions ([@stefandoorn](https://github.com/stefandoorn)) -- [#13187](https://github.com/Sylius/Sylius/issues/13187) issue/12985-migration-in-corebundle ([@coldic3](https://github.com/coldic3)) -- [#13202](https://github.com/Sylius/Sylius/issues/13202) [Core][Checkout] fixed #13201 ([@acornforth](https://github.com/acornforth), [@SirDomin](https://github.com/SirDomin)) -- [#14036](https://github.com/Sylius/Sylius/issues/14036) [Docker] Allow overriding ports in docker-compose.yml ([@coldic3](https://github.com/coldic3)) -- [#14435](https://github.com/Sylius/Sylius/issues/14435) Include 1.13 branch in the PR template ([@Zales0123](https://github.com/Zales0123)) -- [#14474](https://github.com/Sylius/Sylius/issues/14474) :arrow_up: Upgrade gaufrette version (PHP 8+ compat) ([@Nek-](https://github.com/Nek-), [@coldic3](https://github.com/coldic3)) -- [#14486](https://github.com/Sylius/Sylius/issues/14486) [Cart] Set the created_by_guest flag as false if the cart was created by a customer authenticated via access token ([@nicolalazzaro](https://github.com/nicolalazzaro)) -- [#14488](https://github.com/Sylius/Sylius/issues/14488) [Maintenance][CI] Remove deprecations ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14489](https://github.com/Sylius/Sylius/issues/14489) [Api] Sorting products by price should be per channel ([@j92](https://github.com/j92)) -- [#14500](https://github.com/Sylius/Sylius/issues/14500) [Docs] Update inventory source resolving ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14501](https://github.com/Sylius/Sylius/issues/14501) [Maintenance] Removal of direct unneeded dependency on proxy manager LTS ([@lchrusciel](https://github.com/lchrusciel)) -- [#14505](https://github.com/Sylius/Sylius/issues/14505) Fix password hasher version ([@loic425](https://github.com/loic425)) -- [#14508](https://github.com/Sylius/Sylius/issues/14508) [Maintenance] Outdated Symfony 6 conflicts removed ([@Rafikooo](https://github.com/Rafikooo)) -- [#14510](https://github.com/Sylius/Sylius/issues/14510) [maintenance] - Ignore more files that will not be used with installed sylius ([@Ferror](https://github.com/Ferror)) -- [#14511](https://github.com/Sylius/Sylius/issues/14511) [maintenance] - Use symfony runtime component ([@Ferror](https://github.com/Ferror)) -- [#14514](https://github.com/Sylius/Sylius/issues/14514) [Behat][API] Add missing channels suite to imports ([@GSadee](https://github.com/GSadee)) -- [#14516](https://github.com/Sylius/Sylius/issues/14516) [Docs] Update release cycle with 1.12 and 1.13 info ([@Zales0123](https://github.com/Zales0123)) -- [#14520](https://github.com/Sylius/Sylius/issues/14520) Refresh readme banner ([@kulczy](https://github.com/kulczy)) -- [#14523](https://github.com/Sylius/Sylius/issues/14523) Product taxon position don't affect parent taxon ([@everwhatever](https://github.com/everwhatever)) -- [#14526](https://github.com/Sylius/Sylius/issues/14526) [Maintenance] Exclude copied IRI converter in ECS config ([@coldic3](https://github.com/coldic3)) -- [#14527](https://github.com/Sylius/Sylius/issues/14527) [GitHub Actions] Add 1.13 branch to "Refactor" workflow ([@coldic3](https://github.com/coldic3)) -- [#14536](https://github.com/Sylius/Sylius/issues/14536) [Maintenance][Fixture] Allow using default values with optional array nodes ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14538](https://github.com/Sylius/Sylius/issues/14538) [Product] Fix product variant choice labels ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14543](https://github.com/Sylius/Sylius/issues/14543) [Maintenance] Fix type casting in migrations ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14544](https://github.com/Sylius/Sylius/issues/14544) [Doc] Fix Supported versions table ([@oallain](https://github.com/oallain)) -- [#14545](https://github.com/Sylius/Sylius/issues/14545) [Migrations] Remove usage of non existent AbstractMigration ([@GSadee](https://github.com/GSadee)) -- [#14546](https://github.com/Sylius/Sylius/issues/14546) [Migrations] Use AbstractMigration from CoreBundle ([@coldic3](https://github.com/coldic3)) -- [#14547](https://github.com/Sylius/Sylius/issues/14547) [Maintenance] Add Postgres 14 to test builds ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14548](https://github.com/Sylius/Sylius/issues/14548) Fix removing the root taxon, when the second one is Menu Taxon of the channel ([@TheMilek](https://github.com/TheMilek)) -- [#14551](https://github.com/Sylius/Sylius/issues/14551) Precise symfony/framework-bundle conflict versions ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14554](https://github.com/Sylius/Sylius/issues/14554) Fix service definition at custom-payment-gateway ([@diimpp](https://github.com/diimpp)) -- [#14563](https://github.com/Sylius/Sylius/issues/14563) Add repository option to product_image node ([@TheMilek](https://github.com/TheMilek)) -- [#14567](https://github.com/Sylius/Sylius/issues/14567) [Core] Fix invalid catalog promotion repository service id ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14570](https://github.com/Sylius/Sylius/issues/14570) [CS][DX] Fix ECS refactoring ([@coldic3](https://github.com/coldic3)) -- [#14573](https://github.com/Sylius/Sylius/issues/14573) [API] Fix ProductReview normalization context ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14574](https://github.com/Sylius/Sylius/issues/14574) [API] Fix missing address serialization for phone number and company name ([@andrehoffmann30](https://github.com/andrehoffmann30), [@coldic3](https://github.com/coldic3)) -- [#14578](https://github.com/Sylius/Sylius/issues/14578) Require SyliusMailerBundle 1.8 for Swiftmailer + Sf 5.4 packages builds ([@Zales0123](https://github.com/Zales0123)) -- [#14586](https://github.com/Sylius/Sylius/issues/14586) [DX] Unify default repo classes for resources ([@coldic3](https://github.com/coldic3)) -- [#14595](https://github.com/Sylius/Sylius/issues/14595) [Fix] Filtering out disabled channel scenario ([@Rafikooo](https://github.com/Rafikooo)) -- [#14596](https://github.com/Sylius/Sylius/issues/14596) [Orders] Cart not found for registered user ([@Rafikooo](https://github.com/Rafikooo)) -- [#14600](https://github.com/Sylius/Sylius/issues/14600) [ProductAssociation] Show product associations within current channel only ([@coldic3](https://github.com/coldic3)) -- [#14602](https://github.com/Sylius/Sylius/issues/14602) [GitHub Actions] Restrict "Refactor" workflow to Sylius/Sylius repo ([@coldic3](https://github.com/coldic3)) -- [#14614](https://github.com/Sylius/Sylius/issues/14614) Run behat using dual session as javascript scenario ([@Rafikooo](https://github.com/Rafikooo)) -- [#14616](https://github.com/Sylius/Sylius/issues/14616) [Psalm] Skip deprecated in Symfony 6.2 class and interface ([@Rafikooo](https://github.com/Rafikooo)) -- [#14617](https://github.com/Sylius/Sylius/issues/14617) [maintenance] - remove docker pipelines ([@Ferror](https://github.com/Ferror)) -- [#14618](https://github.com/Sylius/Sylius/issues/14618) Use MakerBundle instead of SensioGeneratorBundle ([@hmonglee](https://github.com/hmonglee)) -- [#14621](https://github.com/Sylius/Sylius/issues/14621) [PHPUnit] Adjust contract tests after upmerge ([@coldic3](https://github.com/coldic3), [@Zales0123](https://github.com/Zales0123)) - -## v1.12.0 (2022-10-31) - -#### Details - -- [#14053](https://github.com/Sylius/Sylius/issues/14053) Upgrade phpstan to level 2 ([@lruozzi9](https://github.com/lruozzi9)) -- [#14400](https://github.com/Sylius/Sylius/issues/14400) [Maintenance] `extra.symfony.require` configuration introduced ([@Rafikooo](https://github.com/Rafikooo)) -- [#14402](https://github.com/Sylius/Sylius/issues/14402) [Api] fix order normalization groups ([@mtarld](https://github.com/mtarld)) -- [#14454](https://github.com/Sylius/Sylius/issues/14454) [Behat] Move scenario from Plus ([@TheMilek](https://github.com/TheMilek)) -- [#14461](https://github.com/Sylius/Sylius/issues/14461) Update documentation about migrating to Webpack ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14463](https://github.com/Sylius/Sylius/issues/14463) [maintenance] - Remove Staging configs ([@Ferror](https://github.com/Ferror)) -- [#14465](https://github.com/Sylius/Sylius/issues/14465) [CI] Restrict APIP version in static checks ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14468](https://github.com/Sylius/Sylius/issues/14468) Lower hashing alogirthm memory cost in test ([@Zales0123](https://github.com/Zales0123)) -- [#14471](https://github.com/Sylius/Sylius/issues/14471) [Api] fixed normalization/denormalization resources groups ([@mtarld](https://github.com/mtarld)) -- [#14472](https://github.com/Sylius/Sylius/issues/14472) Bring back security.authentication_manager alias if needed ([@Zales0123](https://github.com/Zales0123)) -- [#14473](https://github.com/Sylius/Sylius/issues/14473) Fixes in Order serialization after changes on 1.11 ([@Zales0123](https://github.com/Zales0123)) -- [#14476](https://github.com/Sylius/Sylius/issues/14476) Delay 1.12 release for a few days ([@Zales0123](https://github.com/Zales0123)) -- [#14477](https://github.com/Sylius/Sylius/issues/14477) [Docs] Add warning about restricting Symfony version before Sylius installation ([@coldic3](https://github.com/coldic3)) -- [#14479](https://github.com/Sylius/Sylius/issues/14479) [Maintenance] Allow APIP 2.7.2 ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14481](https://github.com/Sylius/Sylius/issues/14481) Adding batching to the expired carts remover ([@mamazu](https://github.com/mamazu)) -- [#14482](https://github.com/Sylius/Sylius/issues/14482) Adding batching to the expired carts remover v2 ([@mamazu](https://github.com/mamazu), [@lchrusciel](https://github.com/lchrusciel)) -- [#14490](https://github.com/Sylius/Sylius/issues/14490) [Maintenance] Kernel cleanup ([@Rafikooo](https://github.com/Rafikooo)) -- [#14496](https://github.com/Sylius/Sylius/issues/14496) [README] Switch Sylius naming from platform to framework ([@lchrusciel](https://github.com/lchrusciel)) -- [#14498](https://github.com/Sylius/Sylius/issues/14498) Allow stable Resource (1.10), Grid (1.12) and Fixtures (1.8) ([@Zales0123](https://github.com/Zales0123)) -- [#14499](https://github.com/Sylius/Sylius/issues/14499) Separate pipeline for non-JS tests on unstable Symfony version ([@Zales0123](https://github.com/Zales0123)) - -## v1.12.0-RC.1 (2022-10-19) - -#### Details - -- [#14188](https://github.com/Sylius/Sylius/issues/14188) [DOCS] Disabling guest api checkout ([@arti0090](https://github.com/arti0090)) -- [#14247](https://github.com/Sylius/Sylius/issues/14247) [DOCS] Add info about mailer in installation doc ([@arti0090](https://github.com/arti0090)) -- [#14362](https://github.com/Sylius/Sylius/issues/14362) Using the new template namespace syntax in the doc ([@mamazu](https://github.com/mamazu)) -- [#14382](https://github.com/Sylius/Sylius/issues/14382) [Maintenance] Out-of-date composer conflicts cleanup ([@Rafikooo](https://github.com/Rafikooo)) -- [#14384](https://github.com/Sylius/Sylius/issues/14384) [API] Use tokenValue instead of id ([@Prometee](https://github.com/Prometee)) -- [#14415](https://github.com/Sylius/Sylius/issues/14415) [Behat] Add calendar hook to suites using calendar ([@GSadee](https://github.com/GSadee)) -- [#14421](https://github.com/Sylius/Sylius/issues/14421) [DOCS] Add info about supervisors ([@arti0090](https://github.com/arti0090)) -- [#14426](https://github.com/Sylius/Sylius/issues/14426) [Docs][CatalogPromotions][Messenger] Failure transports ([@Rafikooo](https://github.com/Rafikooo)) -- [#14430](https://github.com/Sylius/Sylius/issues/14430) [DX] Fix versions for triggered deprecations ([@coldic3](https://github.com/coldic3)) -- [#14431](https://github.com/Sylius/Sylius/issues/14431) Fix reference to Admin bundle on ui bundle ([@loic425](https://github.com/loic425)) -- [#14433](https://github.com/Sylius/Sylius/issues/14433) Fix - move RedirectPathExtension from Admin bundle to Ui bundle ([@loic425](https://github.com/loic425)) -- [#14438](https://github.com/Sylius/Sylius/issues/14438) Coding style and configurations fixes and improvements after Symfony 6 support merge ([@Zales0123](https://github.com/Zales0123)) -- [#14440](https://github.com/Sylius/Sylius/issues/14440) [Parameters] bin/console debug:container --env-vars command fixed ([@Rafikooo](https://github.com/Rafikooo)) -- [#14442](https://github.com/Sylius/Sylius/issues/14442) [Hot-fix] Conflict with the newest AP that changes a Customer->User response ([@GSadee](https://github.com/GSadee)) -- [#14443](https://github.com/Sylius/Sylius/issues/14443) [API][Behat] Add note about behat request changes ([@TheMilek](https://github.com/TheMilek)) -- [#14444](https://github.com/Sylius/Sylius/issues/14444) Remove SymfonyMockerContainer fork ([@Zales0123](https://github.com/Zales0123)) -- [#14445](https://github.com/Sylius/Sylius/issues/14445) [Hot-fix] Conflict with the SymfonyMockerContainer 1.0.6 due to incompatible version with Symfony 4.x ([@GSadee](https://github.com/GSadee)) -- [#14458](https://github.com/Sylius/Sylius/issues/14458) Fix packages branch-aliases ([@Zales0123](https://github.com/Zales0123)) -- [#14459](https://github.com/Sylius/Sylius/issues/14459) [Hot-fix] Do not fail scenario after 422 response page ([@Zales0123](https://github.com/Zales0123)) -- [#14462](https://github.com/Sylius/Sylius/issues/14462) Open [CI] Tests for Symfony ~6.0.0 and static checks for APIP ~2.6.0 ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14464](https://github.com/Sylius/Sylius/issues/14464) Change all package versions to 1.12 ([@Zales0123](https://github.com/Zales0123)) - -## v1.12.0-BETA.1 (2022-10-11) - -#### Details - -- [#13969](https://github.com/Sylius/Sylius/issues/13969) Symfony 6 support ([@NoResponseMate](https://github.com/NoResponseMate), [@Zales0123](https://github.com/Zales0123), [@Rafikooo](https://github.com/Rafikooo), [@GSadee](https://github.com/GSadee), [@coldic3](https://github.com/coldic3)) -- [#14144](https://github.com/Sylius/Sylius/issues/14144) [Documentation] Fix incorrect translation domain in implementation ([@anned20](https://github.com/anned20)) -- [#14156](https://github.com/Sylius/Sylius/issues/14156) [DOCS] Cookbook of how to modify placed order ([@arti0090](https://github.com/arti0090)) -- [#14197](https://github.com/Sylius/Sylius/issues/14197) [Docs] Describe Sylius architectural drivers ([@Zales0123](https://github.com/Zales0123)) -- [#14246](https://github.com/Sylius/Sylius/issues/14246) [DOCS] Add note about min node version ([@arti0090](https://github.com/arti0090)) -- [#14296](https://github.com/Sylius/Sylius/issues/14296) [Core] Create CustomerProvider ([@AdamKasp](https://github.com/AdamKasp), [@GSadee](https://github.com/GSadee)) -- [#14337](https://github.com/Sylius/Sylius/issues/14337) [Maintenance] Mention Gaufrette filesystem adapter in the upgrade file ([@coldic3](https://github.com/coldic3)) -- [#14338](https://github.com/Sylius/Sylius/issues/14338) Tax rates with dates ([@GSadee](https://github.com/GSadee), [@jakub](https://github.com/jakub)@[@Jakubs-MacBook-Pro](https://github.com/Jakubs-MacBook-Pro).[@local](https://github.com/local)) -- [#14397](https://github.com/Sylius/Sylius/issues/14397) [Docs] Fix 1.12 release dates ([@Zales0123](https://github.com/Zales0123)) -- [#14398](https://github.com/Sylius/Sylius/issues/14398) Allow ramsey/uuid ^4.0 to avoid PHP 8.1 warning ([@vasilvestre](https://github.com/vasilvestre)) -- [#14406](https://github.com/Sylius/Sylius/issues/14406) [API][Behat] Add note about behat client changes ([@TheMilek](https://github.com/TheMilek)) -- [#14407](https://github.com/Sylius/Sylius/issues/14407) [Symfony 6] Remove setting services for test as public ([@Zales0123](https://github.com/Zales0123)) -- [#14410](https://github.com/Sylius/Sylius/issues/14410) [Documentation] Remove the tip about ShopApiPlugin from the architecture page ([@GSadee](https://github.com/GSadee)) -- [#14414](https://github.com/Sylius/Sylius/issues/14414) [Github Actions] Make timeout for non-JS build longer ([@Zales0123](https://github.com/Zales0123)) -- [#14420](https://github.com/Sylius/Sylius/issues/14420) [Hot-fix] Conflict with newest AP that changes a Customer->User response ([@Zales0123](https://github.com/Zales0123)) -- [#14427](https://github.com/Sylius/Sylius/issues/14427) tax rates filter feature ([@everwhatever](https://github.com/everwhatever), [@GSadee](https://github.com/GSadee)) - -## v1.12.0-ALPHA.2 (2022-10-03) - -#### Details - -- [#13663](https://github.com/Sylius/Sylius/issues/13663) Admin update form action configurable ([@bigboss86](https://github.com/bigboss86)) -- [#14243](https://github.com/Sylius/Sylius/issues/14243) Revert temporary build fix ([@TheMilek](https://github.com/TheMilek)) -- [#14253](https://github.com/Sylius/Sylius/issues/14253) [Maintenance][Security] Update shop logout handling ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14302](https://github.com/Sylius/Sylius/issues/14302) [maintenance]Do not continue-on-error pipeline ([@Ferror](https://github.com/Ferror)) -- [#14312](https://github.com/Sylius/Sylius/issues/14312) [maintenance]Unify very similar behat steps ([@Ferror](https://github.com/Ferror)) -- [#14313](https://github.com/Sylius/Sylius/issues/14313) [docs]Mention to clone Sylius-Standard repository to start the project ([@Ferror](https://github.com/Ferror)) -- [#14315](https://github.com/Sylius/Sylius/issues/14315) [Maintenance] Improve note in UPGRADE file about changes in security.yaml ([@GSadee](https://github.com/GSadee)) -- [#14319](https://github.com/Sylius/Sylius/issues/14319) [Maintenance] Update JS dependencies -- [#14320](https://github.com/Sylius/Sylius/issues/14320) [CS][DX] Refactor () -- [#14321](https://github.com/Sylius/Sylius/issues/14321) [CS][DX] Refactor () -- [#14324](https://github.com/Sylius/Sylius/issues/14324) [Admin] Improve highlighting menu items ([@GSadee](https://github.com/GSadee)) -- [#14325](https://github.com/Sylius/Sylius/issues/14325) [UI] removed important flag from the button class ([@Rafikooo](https://github.com/Rafikooo)) -- [#14328](https://github.com/Sylius/Sylius/issues/14328) [Template][Events] Introduce Context Providers for Template Blocks ([@coldic3](https://github.com/coldic3)) -- [#14330](https://github.com/Sylius/Sylius/issues/14330) [Maintenance] Allow to choose whether use Webpack or Gulp ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14331](https://github.com/Sylius/Sylius/issues/14331) [Docs] Add conventions for Template Events ([@coldic3](https://github.com/coldic3)) -- [#14333](https://github.com/Sylius/Sylius/issues/14333) [Docs] Remove migrating to webpack page from docs ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14336](https://github.com/Sylius/Sylius/issues/14336) Enable Behat tests in PostgreSQL workflow ([@GSadee](https://github.com/GSadee)) -- [#14339](https://github.com/Sylius/Sylius/issues/14339) [GitHub Actions] Bump up PostgreSQL version in workflow to the current one ([@GSadee](https://github.com/GSadee)) -- [#14344](https://github.com/Sylius/Sylius/issues/14344) [Behat][PostgreSQL] Fix removing items from cart ([@GSadee](https://github.com/GSadee)) -- [#14346](https://github.com/Sylius/Sylius/issues/14346) [Maintenance] Bump doctrine/orm minimal version to 2.13 ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14349](https://github.com/Sylius/Sylius/issues/14349) [Admin][CatalogPromotion] Browsing affected product variants ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14351](https://github.com/Sylius/Sylius/issues/14351) [Catalog Promotions] Add `_sylius.alias` to the routings ([@coldic3](https://github.com/coldic3)) -- [#14357](https://github.com/Sylius/Sylius/issues/14357) [Maintenance] Add missing images to the Webpack's build process ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14361](https://github.com/Sylius/Sylius/issues/14361) [Maintenance] Fix setting sylius_ui.use_webpack parameter ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14373](https://github.com/Sylius/Sylius/issues/14373) [Docs] Add Context Providers to the template customization guide ([@coldic3](https://github.com/coldic3)) -- [#14374](https://github.com/Sylius/Sylius/issues/14374) [UI] Remove experimental tag from template events related services ([@GSadee](https://github.com/GSadee)) -- [#14377](https://github.com/Sylius/Sylius/issues/14377) [Products][Admin][UI] Display the channel name instead of the channel code in the variant list ([@Rafikooo](https://github.com/Rafikooo)) -- [#14378](https://github.com/Sylius/Sylius/issues/14378) [Products][CatalogPromotions] Catalog promotion details on both simple and configurable products ([@Rafikooo](https://github.com/Rafikooo)) -- [#14385](https://github.com/Sylius/Sylius/issues/14385) [Docs] Refactor example Context Provider ([@coldic3](https://github.com/coldic3)) -- [#14390](https://github.com/Sylius/Sylius/issues/14390) [GitHub Actions] Add builds for API Platform ~2.6.0 ([@GSadee](https://github.com/GSadee)) -- [#14392](https://github.com/Sylius/Sylius/issues/14392) Fix build after API Platform 2.7.1 release ([@lchrusciel](https://github.com/lchrusciel), [@GSadee](https://github.com/GSadee)) -- [#14396](https://github.com/Sylius/Sylius/issues/14396) [CS][DX] Refactor ([@bot](https://github.com/bot)@[@sylius](https://github.com/sylius).[@org](https://github.com/org)) - -## v1.12.0-ALPHA.1 (2022-09-19) - -#### Details - -- [#13163](https://github.com/Sylius/Sylius/issues/13163) [UX][Attribute] Use single_text widget for Date&DateTime attribute form type ([@Jibbarth](https://github.com/Jibbarth)) -- [#13394](https://github.com/Sylius/Sylius/issues/13394) Use loadUserByIdentifier() since Symfony 5.3 ([@kayue](https://github.com/kayue)) -- [#13406](https://github.com/Sylius/Sylius/issues/13406) [AUTO] Updated translations from Crowdin (master) ([@bot](https://github.com/bot)@[@sylius](https://github.com/sylius).[@org](https://github.com/org)) -- [#13417](https://github.com/Sylius/Sylius/issues/13417) feat: add support for OPcache class preloading ([@dunglas](https://github.com/dunglas)) -- [#13419](https://github.com/Sylius/Sylius/issues/13419) Import lowercase chart.js/dist/chart.min ([@pavol-tuka](https://github.com/pavol-tuka), [@pavol](https://github.com/pavol)@[@bratia](https://github.com/bratia).[@sk](https://github.com/sk), [@lchrusciel](https://github.com/lchrusciel)) -- [#13437](https://github.com/Sylius/Sylius/issues/13437) Make URLs secure by default and add parameter to make then unsecure ([@vvasiloi](https://github.com/vvasiloi)) -- [#13488](https://github.com/Sylius/Sylius/issues/13488) feat: use sass instead of node-sass ([@Nek-](https://github.com/Nek-)) -- [#13489](https://github.com/Sylius/Sylius/issues/13489) [Maintenance] Drop Sf 4.4 support -- [#13500](https://github.com/Sylius/Sylius/issues/13500) Deprecate unused ShimentUnitTransitions class ([@Zales0123](https://github.com/Zales0123)) -- [#13507](https://github.com/Sylius/Sylius/issues/13507) Update security config to use the new authenticator-based system ([@rimas-kudelis](https://github.com/rimas-kudelis)) -- [#13528](https://github.com/Sylius/Sylius/issues/13528) Remove Symfony 4 circular dependency exception listener fix ([@mmenozzi](https://github.com/mmenozzi)) -- [#13529](https://github.com/Sylius/Sylius/issues/13529) Exclude PHP Arkitect rules files from autoloader ([@mmenozzi](https://github.com/mmenozzi)) -- [#13531](https://github.com/Sylius/Sylius/issues/13531) Remove Sylius < 1.3 old Kernel class (#13524) ([@mmenozzi](https://github.com/mmenozzi), [@TheMilek](https://github.com/TheMilek)) -- [#13610](https://github.com/Sylius/Sylius/issues/13610) minor fix to exclusive label ([@AdamKasp](https://github.com/AdamKasp)) -- [#13622](https://github.com/Sylius/Sylius/issues/13622) Update ResourceBundle and GridBundle ([@Zales0123](https://github.com/Zales0123)) -- [#13628](https://github.com/Sylius/Sylius/issues/13628) [API] Shipping methods resolution ([@lchrusciel](https://github.com/lchrusciel), [@TheMilek](https://github.com/TheMilek)) -- [#13636](https://github.com/Sylius/Sylius/issues/13636) [Payment method] Listing payment method ([@AdamKasp](https://github.com/AdamKasp)) -- [#13646](https://github.com/Sylius/Sylius/issues/13646) Update 1.11 image ([@kulczy](https://github.com/kulczy)) -- [#13659](https://github.com/Sylius/Sylius/issues/13659) API Upgrade file updated after ShippingMethod endpoints changes ([@TheMilek](https://github.com/TheMilek)) -- [#13661](https://github.com/Sylius/Sylius/issues/13661) [DX] Adding a helpful error message to the ResetPasswordHandler ([@mamazu](https://github.com/mamazu)) -- [#13680](https://github.com/Sylius/Sylius/issues/13680) [Maintenance] Move note about asset management changes from 1.11 to 1.12 UPGRADE file ([@GSadee](https://github.com/GSadee)) -- [#13682](https://github.com/Sylius/Sylius/issues/13682) [Maintenance] Test Sylius with node 16.x ([@lchrusciel](https://github.com/lchrusciel)) -- [#13696](https://github.com/Sylius/Sylius/issues/13696) [API] UPGRADE file parameter names fixed ([@TheMilek](https://github.com/TheMilek)) -- [#13709](https://github.com/Sylius/Sylius/issues/13709) Fix fatal error when OPCache preloading is used ([@mmenozzi](https://github.com/mmenozzi)) -- [#13710](https://github.com/Sylius/Sylius/issues/13710) [UI] Layout improvements and sticky columns ([@kulczy](https://github.com/kulczy)) -- [#13778](https://github.com/Sylius/Sylius/issues/13778) [Maintenance][API] Decouple resource metadata from ResetPasswordHandler ([@coldic3](https://github.com/coldic3)) -- [#13785](https://github.com/Sylius/Sylius/issues/13785) [Upgrade] Add more details to UPGRADE-API-1.12.md ([@coldic3](https://github.com/coldic3)) -- [#13786](https://github.com/Sylius/Sylius/issues/13786) Prepare postgresql pipeline by making behat scenarios de-case-sensitive ([@Ferror](https://github.com/Ferror)) -- [#13806](https://github.com/Sylius/Sylius/issues/13806) Refreshed shop theme ([@kulczy](https://github.com/kulczy)) -- [#13814](https://github.com/Sylius/Sylius/issues/13814) Minor theme fixes ([@kulczy](https://github.com/kulczy)) -- [#13822](https://github.com/Sylius/Sylius/issues/13822) Add images to the Readme file ([@kulczy](https://github.com/kulczy)) -- [#13823](https://github.com/Sylius/Sylius/issues/13823) [Behat][API] Browsing channels using their default locales ([@coldic3](https://github.com/coldic3)) -- [#13825](https://github.com/Sylius/Sylius/issues/13825) [API][Shop] Channel endpoint that returns current channel created ([@TheMilek](https://github.com/TheMilek)) -- [#13830](https://github.com/Sylius/Sylius/issues/13830) [API] Use the Calendar component in command handlers ([@coldic3](https://github.com/coldic3)) -- [#13832](https://github.com/Sylius/Sylius/issues/13832) [Behat] Refactor API clients ([@AdamKasp](https://github.com/AdamKasp), [@GSadee](https://github.com/GSadee)) -- [#13843](https://github.com/Sylius/Sylius/issues/13843) [Cart] move locale from body to header ([@AdamKasp](https://github.com/AdamKasp)) -- [#13850](https://github.com/Sylius/Sylius/issues/13850) [Maintenance][Docker]Create simple docker environment ([@Ferror](https://github.com/Ferror)) -- [#13851](https://github.com/Sylius/Sylius/issues/13851) [Behat] Viewing product image - API scenario covered ([@ernestWarwas](https://github.com/ernestWarwas)) -- [#13855](https://github.com/Sylius/Sylius/issues/13855) [UI][Swagger] AutoAuthorize on sending admin credentials ([@SirDomin](https://github.com/SirDomin)) -- [#13859](https://github.com/Sylius/Sylius/issues/13859) Fix mistake after rebase ([@AdamKasp](https://github.com/AdamKasp)) -- [#13861](https://github.com/Sylius/Sylius/issues/13861) [API][Shop][Behat] Implement scenarios for switching and handling multiple locales ([@GSadee](https://github.com/GSadee)) -- [#13862](https://github.com/Sylius/Sylius/issues/13862) [API] Sorting products by date ([@Rafikooo](https://github.com/Rafikooo)) -- [#13863](https://github.com/Sylius/Sylius/issues/13863) [API][Shop] Viewing only the enabled variants of a product ([@TheMilek](https://github.com/TheMilek)) -- [#13868](https://github.com/Sylius/Sylius/issues/13868) [API] Remove validation from locale, add step with wrong locale in header ([@SirDomin](https://github.com/SirDomin)) -- [#13869](https://github.com/Sylius/Sylius/issues/13869) [Behat][API] Extract resources names from contexts to a separate class ([@GSadee](https://github.com/GSadee)) -- [#13877](https://github.com/Sylius/Sylius/issues/13877) [API][Shop] Viewing only the enabled variants of a product fixes ([@TheMilek](https://github.com/TheMilek)) -- [#13879](https://github.com/Sylius/Sylius/issues/13879) [HotFix][Behat][API] Fix suddenly failing tests ([@coldic3](https://github.com/coldic3)) -- [#13881](https://github.com/Sylius/Sylius/issues/13881) Use api route prefix parameter instead of `/api/v2` ([@Prometee](https://github.com/Prometee)) -- [#13882](https://github.com/Sylius/Sylius/issues/13882) [maintenance]Unify markdown tables ([@Ferror](https://github.com/Ferror)) -- [#13893](https://github.com/Sylius/Sylius/issues/13893) [docker]Configure Blackfire service in dev environment ([@Ferror](https://github.com/Ferror)) -- [#13896](https://github.com/Sylius/Sylius/issues/13896) [behat]Extract Request creation to separate service ([@Ferror](https://github.com/Ferror)) -- [#13897](https://github.com/Sylius/Sylius/issues/13897) [docker]Run Catalog Promotion via SYNC messenger transport ([@Ferror](https://github.com/Ferror)) -- [#13899](https://github.com/Sylius/Sylius/issues/13899) Behat use project api prefix ([@Prometee](https://github.com/Prometee)) -- [#13901](https://github.com/Sylius/Sylius/issues/13901) Use API Url prefix on sylius.api.paths_to_hide ([@Prometee](https://github.com/Prometee)) -- [#13906](https://github.com/Sylius/Sylius/issues/13906) [AUTO] Updated translations from Crowdin (master) ([@SyliusBot](https://github.com/SyliusBot)) -- [#13912](https://github.com/Sylius/Sylius/issues/13912) Support Twig 3 ([@Zales0123](https://github.com/Zales0123)) -- [#13914](https://github.com/Sylius/Sylius/issues/13914) Revert "[docker]Run Catalog Promotion via SYNC messenger transport" ([@lchrusciel](https://github.com/lchrusciel)) -- [#13924](https://github.com/Sylius/Sylius/issues/13924) [maintenance][docker]Rerun behat pipelines ([@Ferror](https://github.com/Ferror)) -- [#13925](https://github.com/Sylius/Sylius/issues/13925) [maintenance][docker]Increase opcache limits ([@Ferror](https://github.com/Ferror)) -- [#13926](https://github.com/Sylius/Sylius/issues/13926) [maintenance][docker]Use synchronous messenger transport ([@Ferror](https://github.com/Ferror)) -- [#13928](https://github.com/Sylius/Sylius/issues/13928) [API][Shop] Viewing product attributes ([@coldic3](https://github.com/coldic3)) -- [#13930](https://github.com/Sylius/Sylius/issues/13930) [API][Behat] Cover scenarios for applying correct taxes ([@GSadee](https://github.com/GSadee)) -- [#13935](https://github.com/Sylius/Sylius/issues/13935) [API][Behat] Cover scenarios for applying taxes included in price ([@GSadee](https://github.com/GSadee)) -- [#13936](https://github.com/Sylius/Sylius/issues/13936) [API][Behat] Cover scenarios for receiving discount on shipping after changing product's quantity ([@GSadee](https://github.com/GSadee)) -- [#13937](https://github.com/Sylius/Sylius/issues/13937) Define autolabeler for docker label ([@Ferror](https://github.com/Ferror)) -- [#13939](https://github.com/Sylius/Sylius/issues/13939) [CS][DX] Refactor ([@github-actions](https://github.com/github-actions)) -- [#13941](https://github.com/Sylius/Sylius/issues/13941) [AUTO] Updated translations from Crowdin (master) ([@bot](https://github.com/bot)@[@sylius](https://github.com/sylius).[@org](https://github.com/org)) -- [#13942](https://github.com/Sylius/Sylius/issues/13942) [API] Add additional PHPSpec for PickupCartHandler when the logged in user has no default address + minor refactor ([@GSadee](https://github.com/GSadee)) -- [#13943](https://github.com/Sylius/Sylius/issues/13943) [API][Behat] Cover scenarios for receiving fixed discount from specific taxon ([@GSadee](https://github.com/GSadee)) -- [#13944](https://github.com/Sylius/Sylius/issues/13944) [Maintenance] Execute yarn build production like to avoid deps mismatch ([@lchrusciel](https://github.com/lchrusciel)) -- [#13945](https://github.com/Sylius/Sylius/issues/13945) [API][Behat] Cover scenarios for receiving a discount from one promotion based on items total ([@ernestWarwas](https://github.com/ernestWarwas)) -- [#13946](https://github.com/Sylius/Sylius/issues/13946) [API] Discount for nth order ([@Rafikooo](https://github.com/Rafikooo)) -- [#13947](https://github.com/Sylius/Sylius/issues/13947) [API] cover complex promotion with api ([@AdamKasp](https://github.com/AdamKasp)) -- [#13949](https://github.com/Sylius/Sylius/issues/13949) [Shop][API] ProductAssociation endpoint created ([@TheMilek](https://github.com/TheMilek), [@GSadee](https://github.com/GSadee)) -- [#13950](https://github.com/Sylius/Sylius/issues/13950) [API] Cover scenarios for receiving email after registration ([@GSadee](https://github.com/GSadee)) -- [#13952](https://github.com/Sylius/Sylius/issues/13952) [docker]Run tests in test_cached environment ([@Ferror](https://github.com/Ferror)) -- [#13953](https://github.com/Sylius/Sylius/issues/13953) [API] This same cart promotion discount in different channels ([@Rafikooo](https://github.com/Rafikooo)) -- [#13955](https://github.com/Sylius/Sylius/issues/13955) [Behat][API] Cover api scenarios for order promotion integrity validation ([@ernestWarwas](https://github.com/ernestWarwas), [@GSadee](https://github.com/GSadee)) -- [#13956](https://github.com/Sylius/Sylius/issues/13956) [maintenance][js]Specify engines dependencies ([@Ferror](https://github.com/Ferror)) -- [#13957](https://github.com/Sylius/Sylius/issues/13957) [API][Shop] ProductAssociationType endpoint created ([@TheMilek](https://github.com/TheMilek)) -- [#13958](https://github.com/Sylius/Sylius/issues/13958) [docker][maintenance]Extend Makefile possibilities and compose tests ([@Ferror](https://github.com/Ferror)) -- [#13960](https://github.com/Sylius/Sylius/issues/13960) [API]Add contact request ([@AdamKasp](https://github.com/AdamKasp), [@TheMilek](https://github.com/TheMilek)) -- [#13963](https://github.com/Sylius/Sylius/issues/13963) Update stripe/stripe-php requirement from ^6.43 to ^8.1 ([@dependabot](https://github.com/dependabot)[[@bot](https://github.com/bot)]) -- [#13968](https://github.com/Sylius/Sylius/issues/13968) [Customer] Extract authorized user assignment to separate method ([@lchrusciel](https://github.com/lchrusciel)) -- [#13970](https://github.com/Sylius/Sylius/issues/13970) [Bug][GH] Remove auto commenting feature ([@lchrusciel](https://github.com/lchrusciel)) -- [#13973](https://github.com/Sylius/Sylius/issues/13973) [docker]Install and configure xdebug ([@Ferror](https://github.com/Ferror)) -- [#13984](https://github.com/Sylius/Sylius/issues/13984) [API] Extract user logic rules for orders to separate extension ([@lchrusciel](https://github.com/lchrusciel)) -- [#13985](https://github.com/Sylius/Sylius/issues/13985) [CS][DX] Refactor () -- [#13996](https://github.com/Sylius/Sylius/issues/13996) [API][Behat] Update cart promotions on checkout if the promotion is not eligible ([@ernestWarwas](https://github.com/ernestWarwas)) -- [#13997](https://github.com/Sylius/Sylius/issues/13997) [API][Shop] Viewing exchange rates ([@coldic3](https://github.com/coldic3)) -- [#14008](https://github.com/Sylius/Sylius/issues/14008) [Behat] Explicitly define channel base currency in viewing exchange rates scenario ([@coldic3](https://github.com/coldic3)) -- [#14012](https://github.com/Sylius/Sylius/issues/14012) [Behat] no-api scenario marked ([@Rafikooo](https://github.com/Rafikooo)) -- [#14013](https://github.com/Sylius/Sylius/issues/14013) [API] cover scenarios for non existing taxon filter ([@SirDomin](https://github.com/SirDomin)) -- [#14028](https://github.com/Sylius/Sylius/issues/14028) [CS][DX] Refactor () -- [#14040](https://github.com/Sylius/Sylius/issues/14040) [maintenance]Define charset in database url ([@Ferror](https://github.com/Ferror)) -- [#14042](https://github.com/Sylius/Sylius/issues/14042) [Symfony 6] Fix command arguments denormalizer return typehint ([@loic425](https://github.com/loic425)) -- [#14050](https://github.com/Sylius/Sylius/issues/14050) [docker][docs]Create Docker Compose configuration file for documentation ([@Ferror](https://github.com/Ferror)) -- [#14051](https://github.com/Sylius/Sylius/issues/14051) [docker][docs]Deploy Sylius with Docker ([@Ferror](https://github.com/Ferror)) -- [#14052](https://github.com/Sylius/Sylius/issues/14052) Fix bootstrap for Symfony 6 ([@loic425](https://github.com/loic425)) -- [#14054](https://github.com/Sylius/Sylius/issues/14054) [Symfony 6] Replace encoders with password_hashers ([@loic425](https://github.com/loic425)) -- [#14056](https://github.com/Sylius/Sylius/issues/14056) [CS][DX] Refactor ([@bot](https://github.com/bot)@[@sylius](https://github.com/sylius).[@org](https://github.com/org)) -- [#14062](https://github.com/Sylius/Sylius/issues/14062) Fix ProductSlugDocumentationNormalizer ([@Zales0123](https://github.com/Zales0123)) -- [#14076](https://github.com/Sylius/Sylius/issues/14076) Add missing in Product fixtures ([@RadnoK](https://github.com/RadnoK)) -- [#14080](https://github.com/Sylius/Sylius/issues/14080) [Symfony 6] Use Password hasher ([@loic425](https://github.com/loic425)) -- [#14083](https://github.com/Sylius/Sylius/issues/14083) [idea]Ignore export of docker, docs, adr and github files ([@Ferror](https://github.com/Ferror)) -- [#14117](https://github.com/Sylius/Sylius/issues/14117) [DX] Removing duplicate attribute iteration ([@mamazu](https://github.com/mamazu)) -- [#14121](https://github.com/Sylius/Sylius/issues/14121) [docker]Define BLACKFIRE_DISABLE_LEGACY_PORT env as 1 instead of true ([@Ferror](https://github.com/Ferror)) -- [#14124](https://github.com/Sylius/Sylius/issues/14124) [Admin][Behat] Cover scenarios for admin password reset ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14126](https://github.com/Sylius/Sylius/issues/14126) [API] Fix TaxonFilter default order behavior ([@coldic3](https://github.com/coldic3)) -- [#14128](https://github.com/Sylius/Sylius/issues/14128) [Admin][API] Sending administrator's password reset email ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14135](https://github.com/Sylius/Sylius/issues/14135) Fix data transformers for SF6 ([@loic425](https://github.com/loic425)) -- [#14136](https://github.com/Sylius/Sylius/issues/14136) [Symfony 6] Fix deletion listeners ([@loic425](https://github.com/loic425)) -- [#14138](https://github.com/Sylius/Sylius/issues/14138) [Admin][UI] Sending administrator's password reset email ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14139](https://github.com/Sylius/Sylius/issues/14139) [Admin][API] Password reset ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14145](https://github.com/Sylius/Sylius/issues/14145) [Maintenance] Add support for doctrine/dbal:^3.0 ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14149](https://github.com/Sylius/Sylius/issues/14149) [Upgrade] A note about changes to the `access_control` configuration of `security.yaml` ([@Rafikooo](https://github.com/Rafikooo)) -- [#14151](https://github.com/Sylius/Sylius/issues/14151) Fixed the way an unknown email is treated when requesting a password reset ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14152](https://github.com/Sylius/Sylius/issues/14152) [Admin][UI][API] Request password reset validation ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14153](https://github.com/Sylius/Sylius/issues/14153) [Admin][UI][API] Reset password validation ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14157](https://github.com/Sylius/Sylius/issues/14157) [DX] Load test services in all envs starting with test keyword ([@lchrusciel](https://github.com/lchrusciel)) -- [#14158](https://github.com/Sylius/Sylius/issues/14158) [Admin][UI] Unified ChannelCollection template ([@mamazu](https://github.com/mamazu), [@NoResponseMate](https://github.com/NoResponseMate)) -- [#14159](https://github.com/Sylius/Sylius/issues/14159) [UI] Redirect to previous filtered page after perform any action from index resource page ([@ernestWarwas](https://github.com/ernestWarwas), [@Zales0123](https://github.com/Zales0123)) -- [#14161](https://github.com/Sylius/Sylius/issues/14161) [Core] Remove the "experimental" tag from Message* namespaces ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14166](https://github.com/Sylius/Sylius/issues/14166) [frontend]Create gulp watch script ([@Ferror](https://github.com/Ferror)) -- [#14167](https://github.com/Sylius/Sylius/issues/14167) [UPGRADE] Mentioning about adding test services in every test env ([@lchrusciel](https://github.com/lchrusciel)) -- [#14170](https://github.com/Sylius/Sylius/issues/14170) [CI] Add a test to build assets with Webpack ([@loic425](https://github.com/loic425)) -- [#14175](https://github.com/Sylius/Sylius/issues/14175) [docker]Hot Fix - Create database via doctrine command and minor Docker Pipeline improvements ([@Ferror](https://github.com/Ferror)) -- [#14178](https://github.com/Sylius/Sylius/issues/14178) [Hot?-fix] Fix redirect on parametrized create pages ([@Zales0123](https://github.com/Zales0123)) -- [#14179](https://github.com/Sylius/Sylius/issues/14179) [bug]Check if last_error variable in twig exists and is not null ([@Ferror](https://github.com/Ferror)) -- [#14181](https://github.com/Sylius/Sylius/issues/14181) [Maintenance][Admin] Slight password reset cleanup ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14186](https://github.com/Sylius/Sylius/issues/14186) [Symfony 6][ShopBundle] Fix order customer ip listener ([@loic425](https://github.com/loic425)) -- [#14187](https://github.com/Sylius/Sylius/issues/14187) [Symfony 6][Shop bundle] Fix shop user logout handler ([@loic425](https://github.com/loic425)) -- [#14191](https://github.com/Sylius/Sylius/issues/14191) [Symfony 6] Fix request password reset action spec ([@loic425](https://github.com/loic425)) -- [#14192](https://github.com/Sylius/Sylius/issues/14192) [Symfony 6] Fix notification controller ([@loic425](https://github.com/loic425)) -- [#14193](https://github.com/Sylius/Sylius/issues/14193) Rename tag tagged to tagged_iterator ([@GSadee](https://github.com/GSadee)) -- [#14194](https://github.com/Sylius/Sylius/issues/14194) [CS][DX] Refactor ([@bot](https://github.com/bot)@[@sylius](https://github.com/sylius).[@org](https://github.com/org)) -- [#14199](https://github.com/Sylius/Sylius/issues/14199) [UI][Continuation] Minor fixes ([@kulczy](https://github.com/kulczy), [@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14200](https://github.com/Sylius/Sylius/issues/14200) [Checkout] Add possibility to choose the required address in the checkout ([@GSadee](https://github.com/GSadee)) -- [#14207](https://github.com/Sylius/Sylius/issues/14207) [UI] Change cart button to display items count, not products count ([@jakubtobiasz](https://github.com/jakubtobiasz), [@Zales0123](https://github.com/Zales0123)) -- [#14215](https://github.com/Sylius/Sylius/issues/14215) [API] Rename OrderPromotionCodeAssigner ([@GSadee](https://github.com/GSadee)) -- [#14221](https://github.com/Sylius/Sylius/issues/14221) [CS][DX] Refactor () -- [#14222](https://github.com/Sylius/Sylius/issues/14222) [Maintenance] Bump JMS/Serializer-Bundle dependency ([@lchrusciel](https://github.com/lchrusciel)) -- [#14226](https://github.com/Sylius/Sylius/issues/14226) [Behat] Improve scenarios to work with case sensitive PostgreSQL ([@GSadee](https://github.com/GSadee)) -- [#14228](https://github.com/Sylius/Sylius/issues/14228) [Shop][UI] Update cart on checkout ([@jakubtobiasz](https://github.com/jakubtobiasz)) -- [#14230](https://github.com/Sylius/Sylius/issues/14230) [Admin][CatalogPromotion] Add filters ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14234](https://github.com/Sylius/Sylius/issues/14234) [CS][DX] Refactor () -- [#14242](https://github.com/Sylius/Sylius/issues/14242) [API][Shop] List only orders from current channel ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14249](https://github.com/Sylius/Sylius/issues/14249) [Behat] Scenarios for removing catalog promotions ([@Rafikooo](https://github.com/Rafikooo)) -- [#14251](https://github.com/Sylius/Sylius/issues/14251) [docs][docker]Auto build after each change ([@Ferror](https://github.com/Ferror)) -- [#14255](https://github.com/Sylius/Sylius/issues/14255) [Admin][Order] Filter by product/variant ([@NoResponseMate](https://github.com/NoResponseMate)) -- [#14256](https://github.com/Sylius/Sylius/issues/14256) [Symfony 6] Fix getting criteria ([@loic425](https://github.com/loic425)) -- [#14257](https://github.com/Sylius/Sylius/issues/14257) [DOCS] How to get currencies for channel ([@arti0090](https://github.com/arti0090)) -- [#14258](https://github.com/Sylius/Sylius/issues/14258) [Symfony 6] Fix getting route params ([@loic425](https://github.com/loic425)) -- [#14270](https://github.com/Sylius/Sylius/issues/14270) [CatalogPromotions][API] Removal of catalog promotions ([@Rafikooo](https://github.com/Rafikooo)) -- [#14272](https://github.com/Sylius/Sylius/issues/14272) Refresh readme image ([@kulczy](https://github.com/kulczy)) -- [#14273](https://github.com/Sylius/Sylius/issues/14273) [CatalogPromotion][UI] Fix promotion labels while changing variants on the product page ([@coldic3](https://github.com/coldic3)) -- [#14274](https://github.com/Sylius/Sylius/issues/14274) [AdminPasswordReset][Behat] Missed steps implementation ([@Rafikooo](https://github.com/Rafikooo)) -- [#14278](https://github.com/Sylius/Sylius/issues/14278) chore: remove unused Customer/Show/_menu.html.twig template ([@Florian-Merle](https://github.com/Florian-Merle)) -- [#14283](https://github.com/Sylius/Sylius/issues/14283) [Symfony 6] Enable authenticator manager ([@loic425](https://github.com/loic425), [@ernestWarwas](https://github.com/ernestWarwas)) -- [#14288](https://github.com/Sylius/Sylius/issues/14288) [Config] Marked SenderInterface as excluded in psalm.xml ([@Rafikooo](https://github.com/Rafikooo)) -- [#14290](https://github.com/Sylius/Sylius/issues/14290) [Catalog Promotions] Introduce the "processing" state and drop the unused "failed" step ([@coldic3](https://github.com/coldic3)) -- [#14291](https://github.com/Sylius/Sylius/issues/14291) [CatalogPromotions][UI] Removal of catalog promotions ([@Rafikooo](https://github.com/Rafikooo)) -- [#14292](https://github.com/Sylius/Sylius/issues/14292) Refactor customer provider ([@AdamKasp](https://github.com/AdamKasp)) -- [#14294](https://github.com/Sylius/Sylius/issues/14294) [Maintenance] Add conflict with jms/serializer-bundle 4.1.0 ([@coldic3](https://github.com/coldic3)) -- [#14297](https://github.com/Sylius/Sylius/issues/14297) [Catalog Promotions][Fixtures] Fix setting state in CatalogPromotionExecutorListener ([@coldic3](https://github.com/coldic3)) -- [#14298](https://github.com/Sylius/Sylius/issues/14298) [Maintenance] Introduce Flysystem and use it in place of Gaufrette by default ([@coldic3](https://github.com/coldic3)) -- [#14311](https://github.com/Sylius/Sylius/issues/14311) [CatalogPromotions][Swagger] HTTP Response statuses documented for CatalogPromotion removing ([@Rafikooo](https://github.com/Rafikooo)) -- [#14314](https://github.com/Sylius/Sylius/issues/14314) [CatalogPromotions][Docs] Removing of catalog promotions documented ([@Rafikooo](https://github.com/Rafikooo)) diff --git a/CHANGELOG-1.2.md b/CHANGELOG-1.2.md deleted file mode 100644 index 9958e5e2ed..0000000000 --- a/CHANGELOG-1.2.md +++ /dev/null @@ -1,395 +0,0 @@ -# CHANGELOG FOR `1.2.X` - -## v1.2.17 (2019-05-07) - -#### TL;DR - -- Fixed the build and extracted some packages from Sylius core. - -#### Details - -- [#10259](https://github.com/Sylius/Sylius/issues/10259) [BuildFix] Ignore psalm annotations ([@Zales0123](https://github.com/Zales0123)) -- [#10325](https://github.com/Sylius/Sylius/issues/10325) Extract Mailer component & bundle ([@pamil](https://github.com/pamil)) -- [#10326](https://github.com/Sylius/Sylius/issues/10326) [WIP] Extract Grid component & bundle ([@pamil](https://github.com/pamil)) -- [#10327](https://github.com/Sylius/Sylius/issues/10327) [WIP] Extract Resource component & bundle ([@pamil](https://github.com/pamil)) -- [#10340](https://github.com/Sylius/Sylius/issues/10340) Fix #9646 by removing lambdas in JS file ([@tchapi](https://github.com/tchapi)) - -## v1.2.16 (2019-03-04) - -#### TL;DR - -- Fixed the build and extracted some packages from Sylius core - -#### Details - -- [#10182](https://github.com/Sylius/Sylius/issues/10182) Extract FixturesBundle ([@pamil](https://github.com/pamil)) -- [#10184](https://github.com/Sylius/Sylius/issues/10184) Extract ThemeBundle ([@pamil](https://github.com/pamil)) -- [#10188](https://github.com/Sylius/Sylius/issues/10188) Extract Registry component ([@pamil](https://github.com/pamil)) - -## v1.2.15 (2019-02-03) - -## TL;DR - -- This is the last bugfix release of the `1.2` branch - -#### Details - -- [#10118](https://github.com/Sylius/Sylius/issues/10118) [Product Review] fixed review validation when edited by admin ([@kboduch](https://github.com/kboduch)) -- [#10119](https://github.com/Sylius/Sylius/issues/10119) Using channel code in shipping method configuration ([@nedac-sorbo](https://github.com/nedac-sorbo)) -- [#10128](https://github.com/Sylius/Sylius/issues/10128) Syntax error in documentation ([@hatem20](https://github.com/hatem20)) -- [#10132](https://github.com/Sylius/Sylius/issues/10132) Add missing Length constraint on product translation slug ([@venyii](https://github.com/venyii)) -- [#10136](https://github.com/Sylius/Sylius/issues/10136) [HotFix] 500 on taxons list error fix (, [@Zales0123](https://github.com/Zales0123)) - -## v1.2.14 (2019-01-17) - -#### TL;DR - -- Added support for overriding templates from plugins ([#10082](https://github.com/Sylius/Sylius/issues/10082)) - -#### Details - -- [#9988](https://github.com/Sylius/Sylius/issues/9988) Fix when trying to delete shop user having same ID than logged … ([@laurent35240](https://github.com/laurent35240)) -- [#10002](https://github.com/Sylius/Sylius/issues/10002) Avoid deprecated notice when using symfony/config > 4.2 ([@odolbeau](https://github.com/odolbeau)) -- [#10021](https://github.com/Sylius/Sylius/issues/10021) [Behat] Test for assigning main taxon on new product ([@stefandoorn](https://github.com/stefandoorn), [@Zales0123](https://github.com/Zales0123), [@pamil](https://github.com/pamil)) -- [#10026](https://github.com/Sylius/Sylius/issues/10026) External command informing about GUS existence ([@bartoszpietrzak1994](https://github.com/bartoszpietrzak1994)) -- [#10039](https://github.com/Sylius/Sylius/issues/10039) Removed unused use statement ([@stefandoorn](https://github.com/stefandoorn)) -- [#10040](https://github.com/Sylius/Sylius/issues/10040) [Fixtures] StreetAddress instead of StreetName ([@stefandoorn](https://github.com/stefandoorn)) -- [#10043](https://github.com/Sylius/Sylius/issues/10043) Behat JS scenarios war vol.1 ([@Zales0123](https://github.com/Zales0123)) -- [#10044](https://github.com/Sylius/Sylius/issues/10044) [Docs] Fix docs with page object extension usage ([@loic425](https://github.com/loic425)) -- [#10045](https://github.com/Sylius/Sylius/issues/10045) Add scalar types in Behat/Page/Admin directory ([@Zales0123](https://github.com/Zales0123)) -- [#10053](https://github.com/Sylius/Sylius/issues/10053) Fixed sorting path while sorting by position ([@filipcro](https://github.com/filipcro)) -- [#10059](https://github.com/Sylius/Sylius/issues/10059) Cover specs with PHPStan ([@pamil](https://github.com/pamil)) -- [#10061](https://github.com/Sylius/Sylius/issues/10061) GUS existence mentioned in Sylius installation guide ([@bartoszpietrzak1994](https://github.com/bartoszpietrzak1994)) -- [#10063](https://github.com/Sylius/Sylius/issues/10063) Do not require clearing cache when changing ResourceBundle drivers or metadata classes ([@pamil](https://github.com/pamil)) -- [#10065](https://github.com/Sylius/Sylius/issues/10065) Remove unused Behat method ([@Zales0123](https://github.com/Zales0123)) -- [#10070](https://github.com/Sylius/Sylius/issues/10070) #9699 Fix for viewing products when they belong to a taxon and to one… ([@laurent35240](https://github.com/laurent35240)) -- [#10072](https://github.com/Sylius/Sylius/issues/10072) It's 2019! ([@bartoszpietrzak1994](https://github.com/bartoszpietrzak1994)) -- [#10076](https://github.com/Sylius/Sylius/issues/10076) [Docs] Remove vagrant references ([@lchrusciel](https://github.com/lchrusciel)) -- [#10077](https://github.com/Sylius/Sylius/issues/10077) Fix select attributes according to recent Symfony form changes ([@Zales0123](https://github.com/Zales0123)) -- [#10081](https://github.com/Sylius/Sylius/issues/10081) [CoreBundle] Fix Type in Construct for ChannelDeletionListener ([@Donjohn](https://github.com/Donjohn)) -- [#10082](https://github.com/Sylius/Sylius/issues/10082) [Theme] Allow overriding templates from plugins (1.2.*) ([@Zales0123](https://github.com/Zales0123), [@pamil](https://github.com/pamil)) -- [#10086](https://github.com/Sylius/Sylius/issues/10086) Remove container cleanup in test environment (1.2) ([@Zales0123](https://github.com/Zales0123)) -- [#10088](https://github.com/Sylius/Sylius/issues/10088) Fix GridBundle build ([@Zales0123](https://github.com/Zales0123)) -- [#10093](https://github.com/Sylius/Sylius/issues/10093) Typo ([@OskarStark](https://github.com/OskarStark)) -- [#10094](https://github.com/Sylius/Sylius/issues/10094) Overriding plugin templates in themes tests ([@Zales0123](https://github.com/Zales0123)) -- [#10095](https://github.com/Sylius/Sylius/issues/10095) Fix build failing due to newest twig version ([@Zales0123](https://github.com/Zales0123)) -- [#10096](https://github.com/Sylius/Sylius/issues/10096) fix link ([@OskarStark](https://github.com/OskarStark)) -- [#10097](https://github.com/Sylius/Sylius/issues/10097) less noise ([@OskarStark](https://github.com/OskarStark)) -- [#10100](https://github.com/Sylius/Sylius/issues/10100) [Documentation] Visually mark most of the component&bundle docs outdated ([@kulczy](https://github.com/kulczy), [@CoderMaggie](https://github.com/CoderMaggie)) - -## v1.2.13 (2018-12-17) - -#### TL;DR - -- Fixed compatibility issues with Symfony 4.1.18 and 4.1.19 ([#10020](https://github.com/Sylius/Sylius/issues/10020), [#10038](https://github.com/Sylius/Sylius/issues/10038)) - -#### Details - -- [#9837](https://github.com/Sylius/Sylius/issues/9837) Repaired shipping method fixture ([@JakobTolkemit](https://github.com/JakobTolkemit)) -- [#9919](https://github.com/Sylius/Sylius/issues/9919) Fix for promotion of 100 percent with coupon ([@laurent35240](https://github.com/laurent35240)) -- [#9975](https://github.com/Sylius/Sylius/issues/9975) Ignore locale request restriction for profiler and it's toolbar ([@Peteck](https://github.com/Peteck)) -- [#9985](https://github.com/Sylius/Sylius/issues/9985) Add missing code and calculator mandatory field on tax rate documenation ([@Soullivaneuh](https://github.com/Soullivaneuh)) -- [#9997](https://github.com/Sylius/Sylius/issues/9997) Fix typo cookbook about emails ([@Konafets](https://github.com/Konafets)) -- [#9998](https://github.com/Sylius/Sylius/issues/9998) Improve the ShippingBundle doc ([@Konafets](https://github.com/Konafets)) -- [#10011](https://github.com/Sylius/Sylius/issues/10011) [Kernel] Move WebServerBundle to dev/test environment ([@GSadee](https://github.com/GSadee)) -- [#10012](https://github.com/Sylius/Sylius/issues/10012) Fixed incorrect Behat MinkExtension key in the docs ([@jzawadzki](https://github.com/jzawadzki)) -- [#10016](https://github.com/Sylius/Sylius/issues/10016) Column 'position' cannot be null ([@zspine](https://github.com/zspine)) -- [#10020](https://github.com/Sylius/Sylius/issues/10020) [HotFix][BuildFix] Use old PhpMatcherDumper to avoid trailing slash problems ([@Zales0123](https://github.com/Zales0123)) -- [#10023](https://github.com/Sylius/Sylius/issues/10023) Remove billingAddress and shippingAddress ([@Konafets](https://github.com/Konafets)) -- [#10029](https://github.com/Sylius/Sylius/issues/10029) Fix type annotation for $addToCartCommand ([@daniellienert](https://github.com/daniellienert)) -- [#10038](https://github.com/Sylius/Sylius/issues/10038) Fix the build on 1.3 by more flexible router overriding ([@pamil](https://github.com/pamil)) - -## v1.2.12 (2018-11-28) - -#### TL;DR - -- Security fixes according to [problems](https://github.com/dominictarr/event-stream/issues/116) with `dominictarr/event-stream` library -- Hot-fix preventing installation of `symfony/symfony:4.1.8` due to Behat tests problems - -#### Details - -- [#9860](https://github.com/Sylius/Sylius/issues/9860) [Behat] Viewing errors ([@loic425](https://github.com/loic425)) -- [#9932](https://github.com/Sylius/Sylius/issues/9932) [Phpspec] add a missing scenario on customer context spec ([@loic425](https://github.com/loic425)) -- [#9937](https://github.com/Sylius/Sylius/issues/9937) [Payum] Add missing model interfaces ([@GSadee](https://github.com/GSadee)) -- [#9945](https://github.com/Sylius/Sylius/issues/9945) Fix for 9942 ([@igormukhingmailcom](https://github.com/igormukhingmailcom)) -- [#9950](https://github.com/Sylius/Sylius/issues/9950) [Docs][Book] Promotion priorities ([@CoderMaggie](https://github.com/CoderMaggie)) -- [#9955](https://github.com/Sylius/Sylius/issues/9955) Remove inline css ([@Prometee](https://github.com/Prometee)) -- [#9963](https://github.com/Sylius/Sylius/issues/9963) [Docs][OrderBundle] Remove old, incorrect docs ([@CoderMaggie](https://github.com/CoderMaggie)) -- [#9970](https://github.com/Sylius/Sylius/issues/9970) [Hot-fix] Make build great again ([@Zales0123](https://github.com/Zales0123)) -- [#9972](https://github.com/Sylius/Sylius/issues/9972) Update gulp-livereload ([@kulczy](https://github.com/kulczy)) - -## v1.2.11 (2018-11-16) - -#### Details - -- [#9885](https://github.com/Sylius/Sylius/issues/9885) fixed ad blocking issue ([@loevgaard](https://github.com/loevgaard)) -- [#9887](https://github.com/Sylius/Sylius/issues/9887) use behat page object extension ([@loic425](https://github.com/loic425)) -- [#9898](https://github.com/Sylius/Sylius/issues/9898) #9862 Number of items in order summary page ([@laurent35240](https://github.com/laurent35240)) -- [#9906](https://github.com/Sylius/Sylius/issues/9906) Product images deletion fix ([@Zales0123](https://github.com/Zales0123)) -- [#9908](https://github.com/Sylius/Sylius/issues/9908) [Documentation] Add new styles ([@kulczy](https://github.com/kulczy)) -- [#9910](https://github.com/Sylius/Sylius/issues/9910) [Composer] Update ApiTestCase ([@lchrusciel](https://github.com/lchrusciel)) -- [#9922](https://github.com/Sylius/Sylius/issues/9922) Apply coding standard fixes from SyliusLabs/CodingStandard ^3.0@dev ([@pamil](https://github.com/pamil)) -- [#9923](https://github.com/Sylius/Sylius/issues/9923) Use oneline phpdocs for property type info ([@pamil](https://github.com/pamil)) -- [#9926](https://github.com/Sylius/Sylius/issues/9926) Fix plugin naming convention documentation ([@Zales0123](https://github.com/Zales0123)) -- [#9927](https://github.com/Sylius/Sylius/issues/9927) Fix version widget and add better quality logo ([@kulczy](https://github.com/kulczy)) -- [#9929](https://github.com/Sylius/Sylius/issues/9929) Update SyliusLabs/CodingStandard to ^3.0 ([@pamil](https://github.com/pamil)) - -## v1.2.10 (2018-11-07) - -#### Details - -- [#9854](https://github.com/Sylius/Sylius/issues/9854) Update installation.rst ([@zghosts](https://github.com/zghosts)) -- [#9856](https://github.com/Sylius/Sylius/issues/9856) #9694 Do not show bulk sections and checkboxes if bulk actions are di… ([@laurent35240](https://github.com/laurent35240)) -- [#9866](https://github.com/Sylius/Sylius/issues/9866) [Order] Changing function typing ([@Roshyo](https://github.com/Roshyo)) -- [#9883](https://github.com/Sylius/Sylius/issues/9883) Hydrate promotion_rules directly on loading active promotions for a channel (1n) ([@stefandoorn](https://github.com/stefandoorn)) -- [#9892](https://github.com/Sylius/Sylius/issues/9892) [Order] Removing after SM callback ([@Roshyo](https://github.com/Roshyo)) -- [#9900](https://github.com/Sylius/Sylius/issues/9900) Fix typos in BDD Transformers docs ([@sarjon](https://github.com/sarjon)) - -## v1.2.9 (2018-10-24) - -#### Details - -- [#9796](https://github.com/Sylius/Sylius/pull/9796) Improve product attributes JS (@Zales0123) -- [#9827](https://github.com/Sylius/Sylius/pull/9827) Custom homepage controller as public service (@davidroberto) -- [#9829](https://github.com/Sylius/Sylius/pull/9829) Wrong usage of returned data (@Prometee) -- [#9832](https://github.com/Sylius/Sylius/pull/9832) Fix gulp uglify error with arrow functions (@magentix) -- [#9839](https://github.com/Sylius/Sylius/pull/9839) [Docs] How to disable admin notifications (@stefandoorn) - -## v1.2.8 (2018-10-11) - -#### Details - -- [#8093](https://github.com/Sylius/Sylius/pull/8093) [Order] Fixed sylius:remove-expired-carts help (@sweoggy) -- [#8494](https://github.com/Sylius/Sylius/pull/8494) set gender `u` as default value - resolves #8493 (@pamil, @kochen) -- [#9627](https://github.com/Sylius/Sylius/pull/9627) Narrow down selectors to prevent unexpected bugs (@teohhanhui) -- [#9646](https://github.com/Sylius/Sylius/pull/9646) [Admin][Product edit] Change the value of the taxons individually when checked/unchecked. (@sbarbat) -- [#9685](https://github.com/Sylius/Sylius/pull/9685) Update gulpfile.babel.js (@mihaimitrut) -- [#9727](https://github.com/Sylius/Sylius/pull/9727) Do not stale issues selected to Roadmap (@Zales0123) -- [#9741](https://github.com/Sylius/Sylius/pull/9741) [Travis] validate yaml files (@loic425) -- [#9742](https://github.com/Sylius/Sylius/pull/9742) [Behat] Changing my account password with token I received scenario (@loic425) -- [#9743](https://github.com/Sylius/Sylius/pull/9743) Update shipments.rst (@hmonglee) -- [#9754](https://github.com/Sylius/Sylius/pull/9754) Fix the "REST APIs" link in the documentation (@dunglas) -- [#9755](https://github.com/Sylius/Sylius/pull/9755) [Documentation] Fix API example for creating a taxon (@pamil) -- [#9756](https://github.com/Sylius/Sylius/pull/9756) Allow for null hostname in ChannelFixture (@pamil) -- [#9757](https://github.com/Sylius/Sylius/pull/9757) Make ArrayGridProvider more performant & suitable for PHP-PM (@pamil) -- [#9758](https://github.com/Sylius/Sylius/pull/9758) [ThemeBundle] Fix risky tests (@pamil) -- [#9759](https://github.com/Sylius/Sylius/pull/9759) [GridBundle] Do not put unnecessary "andWhere" in ExpressionBuilder (@pamil) -- [#9760](https://github.com/Sylius/Sylius/pull/9760) [CoreBundle] Make sure promotion action/rule amount is an integer (@pamil) -- [#9761](https://github.com/Sylius/Sylius/pull/9761) [ThemeBundle] Replace "symfony/symfony" dependency with specific Symfony packages (@pamil) -- [#9762](https://github.com/Sylius/Sylius/pull/9762) [Grid] Fix getting enabled grid items (@pamil) -- [#9763](https://github.com/Sylius/Sylius/pull/9763) Update "Configuring taxation" docs (@pamil) -- [#9764](https://github.com/Sylius/Sylius/pull/9764) [ShippingBundle] Add validation for ShippingMethod calculator (@pamil) -- [#9765](https://github.com/Sylius/Sylius/pull/9765) Keep the existing pagination when changing sorting on product list page (@pamil) -- [#9769](https://github.com/Sylius/Sylius/pull/9769) [Behat] Add scenarios on resetting password validation feature (@loic425) -- [#9772](https://github.com/Sylius/Sylius/pull/9772) Fix doubled province id on checkout addressing page (@pamil) -- [#9774](https://github.com/Sylius/Sylius/pull/9774) Ask for confirmation when cancelling an order (@pamil) -- [#9775](https://github.com/Sylius/Sylius/pull/9775) Limit products shown in associated products autocomplete field (@pamil) -- [#9776](https://github.com/Sylius/Sylius/pull/9776) [Core] Make implicit dependency explicit (@pamil) -- [#9783](https://github.com/Sylius/Sylius/pull/9783) Correct grammar mistake in README (@pamil) -- [#9791](https://github.com/Sylius/Sylius/pull/9791) [Docs] Update year in copyright (@CoderMaggie) -- [#9803](https://github.com/Sylius/Sylius/pull/9803) `purge_mode` has been rename to `mode` (@Prometee) -- [#9805](https://github.com/Sylius/Sylius/pull/9805) [Shop] Fix password request & contact pages with a mobile view. (@versgui) - -## v1.2.7 (2018-09-24) - -#### Details - -- [#9683](https://github.com/Sylius/Sylius/pull/9683) Do not run tests if not needed (@pamil) -- [#9687](https://github.com/Sylius/Sylius/pull/9687) [Core][Fixture] Fix for ignored geographical zone scope (@SebLours) -- [#9691](https://github.com/Sylius/Sylius/pull/9691) Fixing Typo in Documentation (@bhargavmehta) -- [#9700](https://github.com/Sylius/Sylius/pull/9700) Allow to use Pagerfanta in both ^1.0 and ^2.0 (@pamil) -- [#9708](https://github.com/Sylius/Sylius/pull/9708) Fix typo in Behat feature (@stefandoorn) -- [#9709](https://github.com/Sylius/Sylius/pull/9709) Fix typo in filename (@stefandoorn) -- [#9714](https://github.com/Sylius/Sylius/pull/9714) Fix docs build (@pamil) -- [#9724](https://github.com/Sylius/Sylius/pull/9724) PHPSpec version not specified in docs (@Zales0123) - -## v1.2.6 (2018-08-27) - -#### Details - -- [#9635](https://github.com/Sylius/Sylius/pull/9635) Updated a word in documentation to read better (@mbklnd) -- [#9662](https://github.com/Sylius/Sylius/pull/9662) Fix Grids archive ability to work on multi-param urls (@diimpp) -- [#9667](https://github.com/Sylius/Sylius/pull/9667) [UI] Fix icons on checkout (@lchrusciel) - -## v1.2.5 (2018-08-13) - -#### TL;DR - -- Database migrations support MySQL 8 ([#9622](https://github.com/Sylius/Sylius/pull/9622)) - -#### Details - -- [#9622](https://github.com/Sylius/Sylius/pull/9622) Quote row_number identifier for MySQL queries (@alcaeus) -- [#9624](https://github.com/Sylius/Sylius/pull/9624) Fix missing "required" class on some form fields (@teohhanhui) -- [#9634](https://github.com/Sylius/Sylius/pull/9634) [Core] Fix OrderItemNamesSetter specification (@Zales0123) -- [#9642](https://github.com/Sylius/Sylius/pull/9642) [Currency] Improve currency specs (@loic425) - -## v1.2.4 (2018-07-27) - -#### TL;DR - -- There's a new [plugin development guide](https://docs.sylius.com/en/1.1/plugins/plugin-development-guide/index.html) ([#9592](https://github.com/Sylius/Sylius/pull/9592)) -- Fixed compatibility with PHP-PM ([#9613](https://github.com/Sylius/Sylius/pull/9613), [#9608](https://github.com/Sylius/Sylius/pull/9608)) -- Fixed buggy shop user removal in the admin panel ([#9618](https://github.com/Sylius/Sylius/pull/9618)) - -#### Details - -- [#9193](https://github.com/Sylius/Sylius/pull/9193) [Documentation][GridBundle]Describes sorting, filtering by sub entity properties (@Mipme) -- [#9289](https://github.com/Sylius/Sylius/pull/9289) Check if customer is set before get/set email (@pamil, @teohhanhui) -- [#9352](https://github.com/Sylius/Sylius/pull/9352) Minor fixes to grammar (@gregsomers) -- [#9421](https://github.com/Sylius/Sylius/pull/9421) Field used for label does not exist (@pamil, @psihius) -- [#9553](https://github.com/Sylius/Sylius/pull/9553) Fix wrong type for "images" option in ProductFixture (@teohhanhui) -- [#9563](https://github.com/Sylius/Sylius/pull/9563) [AdminApi] Fix command (@lchrusciel) -- [#9578](https://github.com/Sylius/Sylius/pull/9578) [Core] Nullable customer on order (@lchrusciel) -- [#9580](https://github.com/Sylius/Sylius/pull/9580) [User] Fix bc-break in UserLastLoginSubscriber (@lchrusciel) -- [#9587](https://github.com/Sylius/Sylius/pull/9587) Adding strict typing for PHP classes in images doc (@Roshyo) -- [#9590](https://github.com/Sylius/Sylius/pull/9590) Ensure that DatabaseSetupCommandsProvider::getDatabaseName() returns a string. (@azjezz) -- [#9592](https://github.com/Sylius/Sylius/pull/9592) Plugin development guide v1.0 (@Zales0123) -- [#9599](https://github.com/Sylius/Sylius/pull/9599) [Behat] Grammar fix (@lchrusciel) -- [#9600](https://github.com/Sylius/Sylius/pull/9600) Pull request template fix (@lchrusciel) -- [#9603](https://github.com/Sylius/Sylius/pull/9603) [Maintenance] Move github templates (@lchrusciel) -- [#9608](https://github.com/Sylius/Sylius/pull/9608) Remove instances of loop.index0 (@dnna, @pamil) -- [#9611](https://github.com/Sylius/Sylius/pull/9611) [Doc] Fix service name for custom taxation calculator (@dannyvw) -- [#9612](https://github.com/Sylius/Sylius/pull/9612) Handle null email in oauth login (@dnna) -- [#9613](https://github.com/Sylius/Sylius/pull/9613) Fix ShopBasedCartContext resetting (@dnna) -- [#9617](https://github.com/Sylius/Sylius/pull/9617) Fix CS and add tests for ShopBasedCartContext (@pamil) -- [#9618](https://github.com/Sylius/Sylius/pull/9618) Reproduce CSRF token validation failure when deleting an user in admin panel (@pamil) -- [#9620](https://github.com/Sylius/Sylius/pull/9620) [docs] updating taxon models documentation (@loic425, @pamil) - -## v1.2.3 (2018-07-10) - -#### TL;DR - -- Fixing the application after not-so-perfect security issue fix in the last release - -#### Details - -- [See the diff since the last patch release](https://github.com/Sylius/Sylius/compare/v1.2.2...v1.2.3) - -## v1.2.2 (2018-07-08) - -#### TL;DR - -- **SECURITY FIX:** Added CSRF protection for the following action: - - - marking order's payment as completed - - marking order's payment as refunded - - marking product review as accepted - - marking product review as rejected - -#### Details - -- [#9475](https://github.com/Sylius/Sylius/pull/9475) Make Stalebot less annoying (@Zales0123) -- [#9491](https://github.com/Sylius/Sylius/pull/9491) [Documentation] Document Forum in the support section (@CoderMaggie) -- [#9515](https://github.com/Sylius/Sylius/pull/9515) [Documentation] Fix typos (@adrienlucas) -- [#9558](https://github.com/Sylius/Sylius/pull/9558) Use ...Prototype() instead of prototype('...') in Symfony configuration (@pamil) - - -## v1.2.1 (2018-07-05) - -#### TL;DR - -- It's no longer required to put Sylius bundles before Doctrine Bundle ([#9527](https://github.com/Sylius/Sylius/pull/9527)) -- There's an official plugins list in README ([#9493](https://github.com/Sylius/Sylius/pull/9493)) -- ResourceBundle CRUD routing generator works with bundleless templates ([#9534](https://github.com/Sylius/Sylius/pull/9534)) - -#### Details - -- [#9340](https://github.com/Sylius/Sylius/pull/9340) the name of file was wrong in docu (@amirkoklan) -- [#9345](https://github.com/Sylius/Sylius/pull/9345) [HOTFIX] Missing configuration for channel in sonata (@lchrusciel) -- [#9487](https://github.com/Sylius/Sylius/pull/9487) Improve use of Semantic's cards in frontend (@mbabker) -- [#9488](https://github.com/Sylius/Sylius/pull/9488) Describe upgrade process for 1.1.x -> 1.2.0 (@pamil) -- [#9493](https://github.com/Sylius/Sylius/pull/9493) Document officially supported plugins in the README (@pamil) -- [#9527](https://github.com/Sylius/Sylius/pull/9527) [ResourceBundle] Fix DoctrineTargetEntitiesResolverPass priority to avoid mapping issues. (@adrienlucas) -- [#9534](https://github.com/Sylius/Sylius/pull/9534) [ResourceBundle] fix routing templates for sf4 (@loic425) -- [#9537](https://github.com/Sylius/Sylius/pull/9537) [Admin] Add missing form parameter to sonata form events (@GSadee) -- [#9539](https://github.com/Sylius/Sylius/pull/9539) [minor] SCA (@kalessil) -- [#9540](https://github.com/Sylius/Sylius/pull/9540) PHPStan 0.10 upgrade & road to level 2 checks (@pamil) -- [#9541](https://github.com/Sylius/Sylius/pull/9541) Require Symfony 4.1.1 and remove hotfixes for 4.1.0 (@pamil) -- [#9545](https://github.com/Sylius/Sylius/pull/9545) Remove duplicated copyright note (@enekochan) -- [#9546](https://github.com/Sylius/Sylius/pull/9546) Added title to product reviews, fixes #9425 (@richardjohn, @adrienlucas, @Zales0123) -- [#9548](https://github.com/Sylius/Sylius/pull/9548) Unify catch block in ShopBasedCartContext (@pamil) -- [#9550](https://github.com/Sylius/Sylius/pull/9550) Mention roadmap in README (@pamil) -- [#9552](https://github.com/Sylius/Sylius/pull/9552) Lower PHPStan level 2 errors from 222 to 9 (@pamil) -- [#9555](https://github.com/Sylius/Sylius/pull/9555) Add Sylius/CustomerOrderCancellationPlugin to the list of official plugins (@pamil) - -## v1.2.0 (2018-06-12) - -## TL;DR - -- Added hotfixes for Symfony 4.1.0 ([#9476](https://github.com/Sylius/Sylius/pull/9476)) - -#### Details - -- [#9418](https://github.com/Sylius/Sylius/pull/9418) Update Model.ProductOption.yml (@severino32) -- [#9419](https://github.com/Sylius/Sylius/pull/9419) Moved IE css polyfills (@czende) -- [#9424](https://github.com/Sylius/Sylius/pull/9424) Lazy load Doctrine event listeners (@teohhanhui) -- [#9461](https://github.com/Sylius/Sylius/pull/9461) Added note about LiipImagineBundle upgrade (@sweoggy) -- [#9464](https://github.com/Sylius/Sylius/pull/9464) Fixed typo in PayumController (@qkdreyer) -- [#9465](https://github.com/Sylius/Sylius/pull/9465) [Documentation] Fix deprecated link to repository (@CoderMaggie) -- [#9466](https://github.com/Sylius/Sylius/pull/9466) Document "event" option in resource routing (@Zales0123) -- [#9467](https://github.com/Sylius/Sylius/pull/9467) Update outdated method prototype('array') with arrayPrototype() (@jafaronly) -- [#9470](https://github.com/Sylius/Sylius/pull/9470) [Documentation] Updated link to Payum docs (@pogorivan) -- [#9476](https://github.com/Sylius/Sylius/pull/9476) Enhance workarounds while waiting for Symfony 4.1.1 (@pamil) -- [#9477](https://github.com/Sylius/Sylius/pull/9477) Remove labels descriptions in docs (@pamil) -- [#9480](https://github.com/Sylius/Sylius/pull/9480) [docs] Use `app/config/routing/admin.yml` everywhere (@gido) - -## v1.2.0-RC (2018-06-07) - -#### TL;DR - -- Added support for Symfony ^4.1 ([#9454](https://github.com/Sylius/Sylius/pull/9454)) -- Dropped support for Symfony 4.0 ([#9454](https://github.com/Sylius/Sylius/pull/9454)) -- Added ability to use custom services as factories / repositories in ResourceBundle ([#9422](https://github.com/Sylius/Sylius/pull/9422), [#9442](https://github.com/Sylius/Sylius/pull/9442)) -- Improved default shipping method resolving ([#9398](https://github.com/Sylius/Sylius/pull/9398)) - -#### Details - -- [#9398](https://github.com/Sylius/Sylius/pull/9398) [Core] Default shipping method basing on category fix (@Zales0123, @pamil, @stefandoorn) -- [#9422](https://github.com/Sylius/Sylius/pull/9422) Add ability to use a custom service as factory (@pamil, @pjedrzejewski) -- [#9436](https://github.com/Sylius/Sylius/pull/9436) [Addressing] Fix default validation groups of AddressType (@vvasiloi) -- [#9440](https://github.com/Sylius/Sylius/pull/9440) Fix secret parameter resolving (@pamil) -- [#9441](https://github.com/Sylius/Sylius/pull/9441) Remove vendorPath command-line argument from root gulpfile (@teohhanhui) -- [#9442](https://github.com/Sylius/Sylius/pull/9442) Add an ability to use custom resource repositories (@pamil) -- [#9444](https://github.com/Sylius/Sylius/pull/9444) [Documentation] Fixed typo in note about --force-with-lease flag (@pmikolajek) -- [#9454](https://github.com/Sylius/Sylius/pull/9454) Symfony 4.1 support (together with dropping Symfony 4.0 support) (@pamil, @Zales0123) -- [#9456](https://github.com/Sylius/Sylius/pull/9456) Add documentation for using custom repository service in ResourceBundle (@pamil) -- [#9458](https://github.com/Sylius/Sylius/pull/9458) [docs] fix server:start command (@hiousi) -- [#9462](https://github.com/Sylius/Sylius/pull/9462) Remove two redundant services from CoreBundle (@jafaronly) -- [#9463](https://github.com/Sylius/Sylius/pull/9463) Update platform-sh.rst (@antonioperic) - -## v1.2.0-BETA (2018-05-28) - -#### TL;DR - -- Symfony 4 support ([#9062](https://github.com/Sylius/Sylius/issues/9062)) -- Liip/ImagineBundle requirement changed from `^1.9` to `^2.0` ([#9380](https://github.com/Sylius/Sylius/pull/9380)) -- Introduced Babel and Gulp 4 in our frontend toolset ([#9405](https://github.com/Sylius/Sylius/pull/9405)) - -#### Details - -- [#8629](https://github.com/Sylius/Sylius/pull/8629) [Shipping][OrderProcessing] Default shipping method fixes (@Zales0123) -- [#9019](https://github.com/Sylius/Sylius/pull/9019) Return event response for initialize update event (@dannyvw) -- [#9162](https://github.com/Sylius/Sylius/pull/9162) Update all occurrences of .dev to .test (@jackbentley) -- [#9185](https://github.com/Sylius/Sylius/pull/9185) [ResourceBundle] Add the controller tag (@dragosprotung) -- [#9212](https://github.com/Sylius/Sylius/pull/9212) [Reviews] nullable title for reviews (@loic425) -- [#9255](https://github.com/Sylius/Sylius/pull/9255) Changes form channel color from text to color input type (@Tetragramat) -- [#9306](https://github.com/Sylius/Sylius/pull/9306) [Resource] Make sure Sylius resources services are public (@Zales0123) -- [#9308](https://github.com/Sylius/Sylius/pull/9308) [Adjustment] Inject adjustment types that shall be cleared (@Zales0123) -- [#9324](https://github.com/Sylius/Sylius/pull/9324) ChannelNotFoundException updated to other exceptions' format without BC break (#9324) (@bartoszpietrzak1994) -- [#9330](https://github.com/Sylius/Sylius/pull/9330) Disable deprecated "form mapping" feature in SonataCoreBundle (@teohhanhui) -- [#9366](https://github.com/Sylius/Sylius/pull/9366) [BC BREAK] Symfony 4.0 compatibility, part #1 (@pamil) -- [#9372](https://github.com/Sylius/Sylius/pull/9372) Make subpackages compatible with Symfony 4 (@pamil) -- [#9373](https://github.com/Sylius/Sylius/pull/9373) Make application compatible with not-yet-released Mink release (@pamil) -- [#9377](https://github.com/Sylius/Sylius/pull/9377) Make packages require ^1.2 packages (@pamil) -- [#9379](https://github.com/Sylius/Sylius/pull/9379) Replace outdated "Symfony2" with "Symfony" in package descriptions (@pamil) -- [#9380](https://github.com/Sylius/Sylius/pull/9380) Use stable Liip/ImagineBundle ^2.0 (@pamil) -- [#9382](https://github.com/Sylius/Sylius/pull/9382) Define commands as services (@pamil) -- [#9383](https://github.com/Sylius/Sylius/pull/9383) Use %kernel.project_dir% instead of %kernel.root_dir% (@pamil) -- [#9385](https://github.com/Sylius/Sylius/pull/9385) Fix %kernel.project_dir% directory usage (@pamil) -- [#9386](https://github.com/Sylius/Sylius/pull/9386) Use stable Mink BrowserKit driver (@pamil) -- [#9405](https://github.com/Sylius/Sylius/pull/9405) Upgrade to gulp 4 (@teohhanhui) -- [#9410](https://github.com/Sylius/Sylius/pull/9410) Fixed missing orderby in product variants (@Bencsi) -- [#9426](https://github.com/Sylius/Sylius/pull/9426) Random Symfony 4 related fixes (@pamil) -- [#9428](https://github.com/Sylius/Sylius/pull/9428) Symfony 4: Behat scenarios isolation + random fixes (@pamil) -- [#9429](https://github.com/Sylius/Sylius/pull/9429) Require passing build for Symfony 4 on Travis (@pamil) diff --git a/CHANGELOG-1.3.md b/CHANGELOG-1.3.md deleted file mode 100644 index 56f5d749f8..0000000000 --- a/CHANGELOG-1.3.md +++ /dev/null @@ -1,421 +0,0 @@ -# CHANGELOG FOR `1.3.X` - -## v1.3.16 (2020-01-27) - -#### CVE-2020-5218: Ability to switch channels via GET parameter enabled in production environments - -*Please refer to [the original security advisory](https://github.com/Sylius/Sylius/security/advisories/GHSA-prg5-hg25-8grq) for the most updated information.* - -**Impact:** - -This vulnerability gives the ability to switch channels via the `_channel_code` GET parameter in production environments. This was meant to be enabled only when `%kernel.debug%` is set to true. - -However, if no `sylius_channel.debug` is set explicitly in the configuration, the default value which is `%kernel.debug%` will be not resolved and cast to boolean, enabling this debug feature even if that parameter is set to false. - -**Patches:** - -Patch has been provided for Sylius 1.3.x and newer - **1.3.16, 1.4.12, 1.5.9, 1.6.5**. Versions older than 1.3 are not covered by our security support anymore. - -**Workarounds:** - -Unsupported versions could be patched by adding the following configuration to run in production: - -```yaml -sylius_channel: - debug: false -``` - -## v1.3.14, v1.3.15 (2019-12-03, 2019-12-05) - -#### CVE-2019-16768: Internal exception message exposure in login action. - -**Details:** - -Exception messages from internal exceptions (like database exception) are wrapped by -`\Symfony\Component\Security\Core\Exception\AuthenticationServiceException` and propagated through the system to UI. -Therefore, some internal system information may leak and be visible to the customer. - -A validation message with the exception details will be presented to the user when one will try to log into the shop. - -**Solution:** - -This release patches the reported vulnerability. The `src/Sylius/Bundle/UiBundle/Resources/views/Security/_login.html.twig` -file from Sylius should be overridden and `{{ messages.error(last_error.message) }}` changed to `{{ messages.error(last_error.messageKey) }}`. - -## v1.3.13 (2019-05-29) - -#### Details - -- [#10228](https://github.com/Sylius/Sylius/issues/10228) Improve taxon UI ([@kulczy](https://github.com/kulczy), [@Zales0123](https://github.com/Zales0123)) -- [#10290](https://github.com/Sylius/Sylius/issues/10290) [Docs] Update "Customizing Repositories" ([@AdamKasp](https://github.com/AdamKasp)) -- [#10299](https://github.com/Sylius/Sylius/issues/10299) [Docs] Update "Customizing Models" ([@Tomanhez](https://github.com/Tomanhez)) -- [#10314](https://github.com/Sylius/Sylius/issues/10314) [Docs] Update "Customizing Forms" ([@Tomanhez](https://github.com/Tomanhez)) -- [#10315](https://github.com/Sylius/Sylius/issues/10315) [Docs] Update "Customizing Factories" ([@Tomanhez](https://github.com/Tomanhez)) -- [#10330](https://github.com/Sylius/Sylius/issues/10330) [Docs] Update "Customizing Controllers" ([@Tomanhez](https://github.com/Tomanhez)) -- [#10344](https://github.com/Sylius/Sylius/issues/10344) [Docs] Update "Customizing Templates" ([@Tomanhez](https://github.com/Tomanhez)) -- [#10348](https://github.com/Sylius/Sylius/issues/10348) [Docs] Update "customizing menus" ([@AdamKasp](https://github.com/AdamKasp)) -- [#10349](https://github.com/Sylius/Sylius/issues/10349) [Docs] Update "Customizing Validation" ([@AdamKasp](https://github.com/AdamKasp)) -- [#10351](https://github.com/Sylius/Sylius/issues/10351) [Docs] Update "Customizing translations" ([@AdamKasp](https://github.com/AdamKasp)) -- [#10353](https://github.com/Sylius/Sylius/issues/10353) [Docs] Update "Customization flashes " ([@AdamKasp](https://github.com/AdamKasp)) -- [#10359](https://github.com/Sylius/Sylius/issues/10359) [Docs] Update "Customizing Grids" ([@Tomanhez](https://github.com/Tomanhez)) -- [#10363](https://github.com/Sylius/Sylius/issues/10363) [Behat][Shop] Wait for province form loading ([@Zales0123](https://github.com/Zales0123)) -- [#10364](https://github.com/Sylius/Sylius/issues/10364) As an Administrator, I want always to have proper option values selected while editing a product variant ([@Tomanhez](https://github.com/Tomanhez), [@monro93](https://github.com/monro93)) -- [#10365](https://github.com/Sylius/Sylius/issues/10365) [Admin][Promotion] Fix removing taxon used in promotion rule ([@GSadee](https://github.com/GSadee)) -- [#10372](https://github.com/Sylius/Sylius/issues/10372) Image display in edit form ([@AdamKasp](https://github.com/AdamKasp)) -- [#10375](https://github.com/Sylius/Sylius/issues/10375) [Docs] Update "Customizing State Machine" ([@AdamKasp](https://github.com/AdamKasp)) -- [#10386](https://github.com/Sylius/Sylius/issues/10386) [Build Fix][Behat] Change scenarios to @javascript due to taxon tree changes ([@Zales0123](https://github.com/Zales0123)) -- [#10394](https://github.com/Sylius/Sylius/issues/10394) Fix error caused by the taxon tree ([@kulczy](https://github.com/kulczy)) -- [#10407](https://github.com/Sylius/Sylius/issues/10407) Bump the Sylius release versions in docs ([@teohhanhui](https://github.com/teohhanhui)) -- [#10414](https://github.com/Sylius/Sylius/issues/10414) Use HTTPS links when possible ([@javiereguiluz](https://github.com/javiereguiluz)) - -## v1.3.12 (2019-05-07) - -#### TL;DR - -- Extracted packages from the core ([#10325](https://github.com/Sylius/Sylius/issues/10325), [#10326](https://github.com/Sylius/Sylius/issues/10326), [#10327](https://github.com/Sylius/Sylius/issues/10327)) - -#### Details - -- [#10304](https://github.com/Sylius/Sylius/issues/10304) [Docs] Update contributing guide ([@Tomanhez](https://github.com/Tomanhez)) -- [#10308](https://github.com/Sylius/Sylius/issues/10308) Fix base locale ([@igormukhingmailcom](https://github.com/igormukhingmailcom)) -- [#10309](https://github.com/Sylius/Sylius/issues/10309) Do not depend on transient dependencies for "symfony/intl" package ([@pamil](https://github.com/pamil)) -- [#10320](https://github.com/Sylius/Sylius/issues/10320) fix OrderBundle depends on Core component #10319 () -- [#10324](https://github.com/Sylius/Sylius/issues/10324) Add a workaround for GridBundle & Symfony 4.2.7 to make tests passing ([@pamil](https://github.com/pamil)) -- [#10325](https://github.com/Sylius/Sylius/issues/10325) Extract Mailer component & bundle ([@pamil](https://github.com/pamil)) -- [#10326](https://github.com/Sylius/Sylius/issues/10326) [WIP] Extract Grid component & bundle ([@pamil](https://github.com/pamil)) -- [#10327](https://github.com/Sylius/Sylius/issues/10327) [WIP] Extract Resource component & bundle ([@pamil](https://github.com/pamil)) -- [#10328](https://github.com/Sylius/Sylius/issues/10328) Remove dead configuration related to pre-stable Sylius RBAC ([@pamil](https://github.com/pamil)) -- [#10331](https://github.com/Sylius/Sylius/issues/10331) [Shop] Update grid action and filter keys to decouple shop from admin ([@GSadee](https://github.com/GSadee)) -- [#10335](https://github.com/Sylius/Sylius/issues/10335) Bring back "pay" grid action for backwards compatibility ([@pamil](https://github.com/pamil)) -- [#10338](https://github.com/Sylius/Sylius/issues/10338) Removing unused service ([@loevgaard](https://github.com/loevgaard)) -- [#10340](https://github.com/Sylius/Sylius/issues/10340) Fix #9646 by removing lambdas in JS file ([@tchapi](https://github.com/tchapi)) -- [#10341](https://github.com/Sylius/Sylius/issues/10341) Revert "Fix base locale" ([@pamil](https://github.com/pamil)) -- [#10350](https://github.com/Sylius/Sylius/issues/10350) fix default repository for variant and association type resources ([@loic425](https://github.com/loic425)) -- [#10352](https://github.com/Sylius/Sylius/issues/10352) Update documentation products.rst ([@tom-schmitz](https://github.com/tom-schmitz)) -- [#10356](https://github.com/Sylius/Sylius/issues/10356) Quick fix product variants api invalid json ([@shql](https://github.com/shql)) -- [#10357](https://github.com/Sylius/Sylius/issues/10357) Fix wrong use statement in example ([@teohhanhui](https://github.com/teohhanhui)) -- [#10358](https://github.com/Sylius/Sylius/issues/10358) [Maintenance] Upgrade minimal jquery version ([@lchrusciel](https://github.com/lchrusciel)) -- [#10360](https://github.com/Sylius/Sylius/issues/10360) Revert "fix default repository for variant and association type resources" ([@lchrusciel](https://github.com/lchrusciel)) -- [#10362](https://github.com/Sylius/Sylius/issues/10362) Update release process with dates for 1.5 - 1.7 releases ([@pamil](https://github.com/pamil)) - -## v1.3.11 (2019-04-15) - -#### Details - -- [#10178](https://github.com/Sylius/Sylius/issues/10178) Wrong regular expression for locale ([@superbull](https://github.com/superbull)) -- [#10279](https://github.com/Sylius/Sylius/issues/10279) [Documentation] [ResourceBundle] 7.1. Overriding the Template and Criteria invalid config ([@kboduch](https://github.com/kboduch)) -- [#10283](https://github.com/Sylius/Sylius/issues/10283) [UserBundle] Fix user comparaison on user delete listener ([@loic425](https://github.com/loic425)) -- [#10289](https://github.com/Sylius/Sylius/issues/10289) Fix re-authenticating for impersonated users ([@semin-lev](https://github.com/semin-lev), [@lchrusciel](https://github.com/lchrusciel)) -- [#10294](https://github.com/Sylius/Sylius/issues/10294) [Docs] Fix presentation of "How to configure mailer" cookbook ([@theyoux](https://github.com/theyoux)) -- [#10298](https://github.com/Sylius/Sylius/issues/10298) [DOC] [Installation] Fix minor typo ([@MatthieuCutin](https://github.com/MatthieuCutin)) - -## v1.3.10 (2019-04-01) - -#### Details - -- [#9902](https://github.com/Sylius/Sylius/issues/9902) [cs] remove unnecesary variables and if conditions ([@TomasVotruba](https://github.com/TomasVotruba), [@lchrusciel](https://github.com/lchrusciel)) -- [#10205](https://github.com/Sylius/Sylius/issues/10205) [Docs] Remove misleading channel context docs ([@Zales0123](https://github.com/Zales0123)) -- [#10211](https://github.com/Sylius/Sylius/issues/10211) [Docs] Plugins section update ([@CoderMaggie](https://github.com/CoderMaggie)) -- [#10213](https://github.com/Sylius/Sylius/issues/10213) Fix product form submit ([@kulczy](https://github.com/kulczy)) -- [#10214](https://github.com/Sylius/Sylius/issues/10214) Add behat/transliterator library ([@mkalkowski83](https://github.com/mkalkowski83)) -- [#10215](https://github.com/Sylius/Sylius/issues/10215) Fix Sylius Grid on smaller screens ([@kulczy](https://github.com/kulczy)) -- [#10221](https://github.com/Sylius/Sylius/issues/10221) [Docs] Refresh "Installation" section of the book ([@pamil](https://github.com/pamil)) -- [#10222](https://github.com/Sylius/Sylius/issues/10222) [Docs] Refresh "Contributing code" section ([@pamil](https://github.com/pamil), [@CoderMaggie](https://github.com/CoderMaggie)) -- [#10230](https://github.com/Sylius/Sylius/issues/10230) [Docs] Roadmap Link ([@CoderMaggie](https://github.com/CoderMaggie)) -- [#10231](https://github.com/Sylius/Sylius/issues/10231) [Docs] Core Team ([@CoderMaggie](https://github.com/CoderMaggie)) -- [#10232](https://github.com/Sylius/Sylius/issues/10232) Make PR template great again ([@Zales0123](https://github.com/Zales0123)) -- [#10237](https://github.com/Sylius/Sylius/issues/10237) Fixing incorrect location in documentation for turning off admin norifications ([@officialbalazs](https://github.com/officialbalazs)) -- [#10239](https://github.com/Sylius/Sylius/issues/10239) [Resource] [Grid] deprecation warning fixed for deprecated Resource drivers ([@doctorx32](https://github.com/doctorx32)) -- [#10242](https://github.com/Sylius/Sylius/issues/10242) Fix variant without options values generation ([@Tomanhez](https://github.com/Tomanhez)) -- [#10243](https://github.com/Sylius/Sylius/issues/10243) Taxonomy tree modified - 'go level up' moved to the end of tree ([@AdamKasp](https://github.com/AdamKasp)) -- [#10246](https://github.com/Sylius/Sylius/issues/10246) [Phpspec] Add missing specs on customer core model ([@loic425](https://github.com/loic425)) -- [#10247](https://github.com/Sylius/Sylius/issues/10247) Non consistent file names ([@AdamKasp](https://github.com/AdamKasp)) -- [#10254](https://github.com/Sylius/Sylius/issues/10254) Fix assertion's message for ProductOptionValueCollectionType ([@diimpp](https://github.com/diimpp)) -- [#10255](https://github.com/Sylius/Sylius/issues/10255) [HotFix] Conflict with Twig 2.7.3 that breaks themes bundle ([@Zales0123](https://github.com/Zales0123)) -- [#10256](https://github.com/Sylius/Sylius/issues/10256) Revert "[HotFix] Conflict with Twig 2.7.3 that breaks themes bundle" ([@pamil](https://github.com/pamil)) -- [#10259](https://github.com/Sylius/Sylius/issues/10259) [BuildFix] Ignore psalm annotations ([@Zales0123](https://github.com/Zales0123)) -- [#10263](https://github.com/Sylius/Sylius/issues/10263) Fix a grammar mistake ([@romankosiuh](https://github.com/romankosiuh)) -- [#10264](https://github.com/Sylius/Sylius/issues/10264) Added a missing word ([@romankosiuh](https://github.com/romankosiuh)) -- [#10265](https://github.com/Sylius/Sylius/issues/10265) Add plugin-feature docs style ([@kulczy](https://github.com/kulczy)) -- [#10270](https://github.com/Sylius/Sylius/issues/10270) Update installation.rst ([@GCalmels](https://github.com/GCalmels)) -- [#10278](https://github.com/Sylius/Sylius/pull/10278) Travis with mySQL 5.7 + product sorting fix ([@Zales0123](https://github.com/Zales0123), [@laSyntez](https://github.com/laSyntez)) -- [#10280](https://github.com/Sylius/Sylius/issues/10280) [Travis] Update mysql version to speed up builds ([@Zales0123](https://github.com/Zales0123)) - -## v1.3.9 (2019-03-05) - -#### TL;DR - -- Extracted some packages from Sylius core ([#10182](https://github.com/Sylius/Sylius/issues/10182), [#10184](https://github.com/Sylius/Sylius/issues/10184), [#10188](https://github.com/Sylius/Sylius/issues/10188)) - -#### Details - -- [#10126](https://github.com/Sylius/Sylius/issues/10126) [Docs] Change base dir for override config resources ([@oallain](https://github.com/oallain)) -- [#10147](https://github.com/Sylius/Sylius/issues/10147) Remove flush() call, its done in the remover itself ([@stefandoorn](https://github.com/stefandoorn)) -- [#10156](https://github.com/Sylius/Sylius/issues/10156) Fix recent Composer deprecations ([@pamil](https://github.com/pamil)) -- [#10157](https://github.com/Sylius/Sylius/issues/10157) Update to PHPUnit ^7.0 ([@pamil](https://github.com/pamil)) -- [#10162](https://github.com/Sylius/Sylius/issues/10162) Change branches in Sylius PR template to supported ones ([@Zales0123](https://github.com/Zales0123)) -- [#10164](https://github.com/Sylius/Sylius/issues/10164) Scaling text input field to keep enough room for the buttons ([@4c0n](https://github.com/4c0n)) -- [#10167](https://github.com/Sylius/Sylius/issues/10167) Cart flow documented ([@bartoszpietrzak1994](https://github.com/bartoszpietrzak1994)) -- [#10169](https://github.com/Sylius/Sylius/issues/10169) Don't fail on billing or shipping address not set ver.2 ([@DmitriyTrt](https://github.com/DmitriyTrt), [@Zales0123](https://github.com/Zales0123)) -- [#10171](https://github.com/Sylius/Sylius/issues/10171) Improve release process docs ([@pamil](https://github.com/pamil)) -- [#10175](https://github.com/Sylius/Sylius/issues/10175) [Docs] Reverse parts in Custom Translatable Model ([@xElysioN](https://github.com/xElysioN)) -- [#10182](https://github.com/Sylius/Sylius/issues/10182) Extract FixturesBundle ([@pamil](https://github.com/pamil)) -- [#10184](https://github.com/Sylius/Sylius/issues/10184) Extract ThemeBundle ([@pamil](https://github.com/pamil)) -- [#10185](https://github.com/Sylius/Sylius/issues/10185) Add Sylius demo link ([@kulczy](https://github.com/kulczy)) -- [#10188](https://github.com/Sylius/Sylius/issues/10188) Extract Registry component ([@pamil](https://github.com/pamil)) - -## v1.3.8 (2019-02-04) - -#### TL;DR - -- PHP 7.3 support ([#9914](https://github.com/Sylius/Sylius/issues/9914)) - -#### Details - -- [#9914](https://github.com/Sylius/Sylius/issues/9914) Include PHP 7.3 in the build ([@pamil](https://github.com/pamil)) -- [#10112](https://github.com/Sylius/Sylius/issues/10112) [Documentation] Update Sylius config path ([@jelen07](https://github.com/jelen07)) -- [#10118](https://github.com/Sylius/Sylius/issues/10118) [Product Review] fixed review validation when edited by admin ([@kboduch](https://github.com/kboduch)) -- [#10119](https://github.com/Sylius/Sylius/issues/10119) Using channel code in shipping method configuration ([@nedac-sorbo](https://github.com/nedac-sorbo)) -- [#10128](https://github.com/Sylius/Sylius/issues/10128) Syntax error in documentation ([@hatem20](https://github.com/hatem20)) -- [#10132](https://github.com/Sylius/Sylius/issues/10132) Add missing Length constraint on product translation slug ([@venyii](https://github.com/venyii)) -- [#10135](https://github.com/Sylius/Sylius/issues/10135) Move bundle registration from Kernel class to "bundles.php" ([@pamil](https://github.com/pamil)) -- [#10136](https://github.com/Sylius/Sylius/issues/10136) [HotFix] 500 on taxons list error fix (, [@Zales0123](https://github.com/Zales0123)) -- [#10140](https://github.com/Sylius/Sylius/issues/10140) Use phpspec 5.0 in packages ([@pamil](https://github.com/pamil)) -- [#10141](https://github.com/Sylius/Sylius/issues/10141) [1.1] Fix select attributes according to recent Symfony form changes ([@Zales0123](https://github.com/Zales0123)) -- [#10145](https://github.com/Sylius/Sylius/issues/10145) Make build passing for TaxonomyBundle ([@pamil](https://github.com/pamil)) - -## v1.3.7 (2019-01-17) - -#### TL;DR - -- Added support for overriding templates from plugins ([#10082](https://github.com/Sylius/Sylius/issues/10082), [#10083](https://github.com/Sylius/Sylius/issues/10083)) -- Fixed pagination on product list page ([#10070](https://github.com/Sylius/Sylius/issues/10070)) - -#### Details - -- [#9988](https://github.com/Sylius/Sylius/issues/9988) Fix when trying to delete shop user having same ID than logged … ([@laurent35240](https://github.com/laurent35240)) -- [#10002](https://github.com/Sylius/Sylius/issues/10002) Avoid deprecated notice when using symfony/config > 4.2 ([@odolbeau](https://github.com/odolbeau)) -- [#10021](https://github.com/Sylius/Sylius/issues/10021) [Behat] Test for assigning main taxon on new product ([@stefandoorn](https://github.com/stefandoorn), [@Zales0123](https://github.com/Zales0123), [@pamil](https://github.com/pamil)) -- [#10026](https://github.com/Sylius/Sylius/issues/10026) External command informing about GUS existence ([@bartoszpietrzak1994](https://github.com/bartoszpietrzak1994)) -- [#10039](https://github.com/Sylius/Sylius/issues/10039) Removed unused use statement ([@stefandoorn](https://github.com/stefandoorn)) -- [#10040](https://github.com/Sylius/Sylius/issues/10040) [Fixtures] StreetAddress instead of StreetName ([@stefandoorn](https://github.com/stefandoorn)) -- [#10043](https://github.com/Sylius/Sylius/issues/10043) Behat JS scenarios war vol.1 ([@Zales0123](https://github.com/Zales0123)) -- [#10044](https://github.com/Sylius/Sylius/issues/10044) [Docs] Fix docs with page object extension usage ([@loic425](https://github.com/loic425)) -- [#10045](https://github.com/Sylius/Sylius/issues/10045) Add scalar types in Behat/Page/Admin directory ([@Zales0123](https://github.com/Zales0123)) -- [#10053](https://github.com/Sylius/Sylius/issues/10053) Fixed sorting path while sorting by position ([@filipcro](https://github.com/filipcro)) -- [#10054](https://github.com/Sylius/Sylius/issues/10054) [Admin] Taxon order : fix element(data) always returns 0 ([@pierre-H](https://github.com/pierre-H), [@pamil](https://github.com/pamil)) -- [#10059](https://github.com/Sylius/Sylius/issues/10059) Cover specs with PHPStan ([@pamil](https://github.com/pamil)) -- [#10061](https://github.com/Sylius/Sylius/issues/10061) GUS existence mentioned in Sylius installation guide ([@bartoszpietrzak1994](https://github.com/bartoszpietrzak1994)) -- [#10063](https://github.com/Sylius/Sylius/issues/10063) Do not require clearing cache when changing ResourceBundle drivers or metadata classes ([@pamil](https://github.com/pamil)) -- [#10064](https://github.com/Sylius/Sylius/issues/10064) Make Sylius tests not fail on PHP 7.3 ([@Zales0123](https://github.com/Zales0123)) -- [#10065](https://github.com/Sylius/Sylius/issues/10065) Remove unused Behat method ([@Zales0123](https://github.com/Zales0123)) -- [#10070](https://github.com/Sylius/Sylius/issues/10070) #9699 Fix for viewing products when they belong to a taxon and to one… ([@laurent35240](https://github.com/laurent35240)) -- [#10072](https://github.com/Sylius/Sylius/issues/10072) It's 2019! ([@bartoszpietrzak1994](https://github.com/bartoszpietrzak1994)) -- [#10076](https://github.com/Sylius/Sylius/issues/10076) [Docs] Remove vagrant references ([@lchrusciel](https://github.com/lchrusciel)) -- [#10077](https://github.com/Sylius/Sylius/issues/10077) Fix select attributes according to recent Symfony form changes ([@Zales0123](https://github.com/Zales0123)) -- [#10081](https://github.com/Sylius/Sylius/issues/10081) [CoreBundle] Fix Type in Construct for ChannelDeletionListener ([@Donjohn](https://github.com/Donjohn)) -- [#10082](https://github.com/Sylius/Sylius/issues/10082) [Theme] Allow overriding templates from plugins (1.2.*) ([@Zales0123](https://github.com/Zales0123), [@pamil](https://github.com/pamil)) -- [#10083](https://github.com/Sylius/Sylius/issues/10083) [Theme] Allow overriding templates from plugins (^1.3) ([@Zales0123](https://github.com/Zales0123)) -- [#10086](https://github.com/Sylius/Sylius/issues/10086) Remove container cleanup in test environment (1.2) ([@Zales0123](https://github.com/Zales0123)) -- [#10088](https://github.com/Sylius/Sylius/issues/10088) Fix GridBundle build ([@Zales0123](https://github.com/Zales0123)) -- [#10093](https://github.com/Sylius/Sylius/issues/10093) Typo ([@OskarStark](https://github.com/OskarStark)) -- [#10094](https://github.com/Sylius/Sylius/issues/10094) Overriding plugin templates in themes tests ([@Zales0123](https://github.com/Zales0123)) -- [#10095](https://github.com/Sylius/Sylius/issues/10095) Fix build failing due to newest twig version ([@Zales0123](https://github.com/Zales0123)) -- [#10096](https://github.com/Sylius/Sylius/issues/10096) fix link ([@OskarStark](https://github.com/OskarStark)) -- [#10097](https://github.com/Sylius/Sylius/issues/10097) less noise ([@OskarStark](https://github.com/OskarStark)) -- [#10100](https://github.com/Sylius/Sylius/issues/10100) [Documentation] Visually mark most of the component&bundle docs outdated ([@kulczy](https://github.com/kulczy), [@CoderMaggie](https://github.com/CoderMaggie)) -- [#10101](https://github.com/Sylius/Sylius/issues/10101) Fix build (1.3) ([@Zales0123](https://github.com/Zales0123)) - -## v1.3.6 (2018-12-17) - -#### TL;DR - -- Fixed compatibility issues with Symfony 4.1.18 and 4.1.19 ([#10020](https://github.com/Sylius/Sylius/issues/10020), [#10038](https://github.com/Sylius/Sylius/issues/10038)) - -#### Details - -- [#9837](https://github.com/Sylius/Sylius/issues/9837) Repaired shipping method fixture ([@JakobTolkemit](https://github.com/JakobTolkemit)) -- [#9893](https://github.com/Sylius/Sylius/issues/9893) Correcting the documentation about how to customise forms templates ([@Konafets](https://github.com/Konafets)) -- [#9919](https://github.com/Sylius/Sylius/issues/9919) #9858 Fix for promotion of 100 percent with coupon ([@laurent35240](https://github.com/laurent35240)) -- [#9975](https://github.com/Sylius/Sylius/issues/9975) Ignore locale request restriction for profiler and it's toolbar ([@Peteck](https://github.com/Peteck)) -- [#9979](https://github.com/Sylius/Sylius/issues/9979) Update book/installation docs with correct config folder ([@dakorpar](https://github.com/dakorpar)) -- [#9985](https://github.com/Sylius/Sylius/issues/9985) Add missing code and calculator mandatory field on tax rate documenation ([@Soullivaneuh](https://github.com/Soullivaneuh)) -- [#9995](https://github.com/Sylius/Sylius/issues/9995) Remove `AppBundle` from docs. ([@Konafets](https://github.com/Konafets)) -- [#9997](https://github.com/Sylius/Sylius/issues/9997) Fix typo cookbook about emails ([@Konafets](https://github.com/Konafets)) -- [#9998](https://github.com/Sylius/Sylius/issues/9998) Improve the ShippingBundle doc ([@Konafets](https://github.com/Konafets)) -- [#10004](https://github.com/Sylius/Sylius/issues/10004) [Console] Add command for showing available Sylius plugins ([@GSadee](https://github.com/GSadee)) -- [#10011](https://github.com/Sylius/Sylius/issues/10011) [Kernel] Move WebServerBundle to dev/test environment ([@GSadee](https://github.com/GSadee)) -- [#10012](https://github.com/Sylius/Sylius/issues/10012) Fixed incorrect Behat MinkExtension key in the docs ([@jzawadzki](https://github.com/jzawadzki)) -- [#10016](https://github.com/Sylius/Sylius/issues/10016) Column 'position' cannot be null ([@zspine](https://github.com/zspine)) -- [#10018](https://github.com/Sylius/Sylius/issues/10018) [docs] fix config directory path and added info for orm mappings in customization/model ([@dakorpar](https://github.com/dakorpar)) -- [#10020](https://github.com/Sylius/Sylius/issues/10020) [HotFix][BuildFix] Use old PhpMatcherDumper to avoid trailing slash problems ([@Zales0123](https://github.com/Zales0123)) -- [#10023](https://github.com/Sylius/Sylius/issues/10023) Remove billingAddress and shippingAddress ([@Konafets](https://github.com/Konafets)) -- [#10025](https://github.com/Sylius/Sylius/issues/10025) [Console] Fix RBAC url ([@GSadee](https://github.com/GSadee)) -- [#10029](https://github.com/Sylius/Sylius/issues/10029) Fix type annotation for $addToCartCommand ([@daniellienert](https://github.com/daniellienert)) -- [#10038](https://github.com/Sylius/Sylius/issues/10038) Fix the build on 1.3 by more flexible router overriding ([@pamil](https://github.com/pamil)) - -## v1.3.5 (2018-11-28) - -#### TL;DR - -- Security fixes according to [problems](https://github.com/dominictarr/event-stream/issues/116) with `dominictarr/event-stream` library -- Hot-fix preventing installation of `symfony/symfony:4.1.8` due to Behat tests problems - -#### Details - -- [#9860](https://github.com/Sylius/Sylius/issues/9860) [Behat] Viewing errors ([@loic425](https://github.com/loic425)) -- [#9932](https://github.com/Sylius/Sylius/issues/9932) [Phpspec] add a missing scenario on customer context spec ([@loic425](https://github.com/loic425)) -- [#9934](https://github.com/Sylius/Sylius/issues/9934) Use correct path for view overriding ([@kaszim](https://github.com/kaszim)) -- [#9937](https://github.com/Sylius/Sylius/issues/9937) [Payum] Add missing model interfaces ([@GSadee](https://github.com/GSadee)) -- [#9945](https://github.com/Sylius/Sylius/issues/9945) Fix for 9942 ([@igormukhingmailcom](https://github.com/igormukhingmailcom)) -- [#9949](https://github.com/Sylius/Sylius/issues/9949) Fix sylius:theme:assets:install command ([@alekseyp](https://github.com/alekseyp)) -- [#9950](https://github.com/Sylius/Sylius/issues/9950) [Docs][Book] Promotion priorities ([@CoderMaggie](https://github.com/CoderMaggie)) -- [#9955](https://github.com/Sylius/Sylius/issues/9955) Remove inline css ([@Prometee](https://github.com/Prometee)) -- [#9956](https://github.com/Sylius/Sylius/issues/9956) Update disabling-localised-urls.rst ([@alekseyp](https://github.com/alekseyp)) -- [#9961](https://github.com/Sylius/Sylius/issues/9961) Fixed: 9959 (added public/media/image/.gitkeep to repo) ([@igormukhingmailcom](https://github.com/igormukhingmailcom)) -- [#9963](https://github.com/Sylius/Sylius/issues/9963) [Docs][OrderBundle] Remove old, incorrect docs ([@CoderMaggie](https://github.com/CoderMaggie)) -- [#9970](https://github.com/Sylius/Sylius/issues/9970) [Hot-fix] Make build great again ([@Zales0123](https://github.com/Zales0123)) -- [#9971](https://github.com/Sylius/Sylius/issues/9971) Make build great again (one more time) ([@Zales0123](https://github.com/Zales0123)) -- [#9972](https://github.com/Sylius/Sylius/issues/9972) Update gulp-livereload ([@kulczy](https://github.com/kulczy)) - -## v.1.3.4 (2018-11-16) - -#### Details - -- [#9885](https://github.com/Sylius/Sylius/issues/9885) fixed ad blocking issue ([@loevgaard](https://github.com/loevgaard)) -- [#9887](https://github.com/Sylius/Sylius/issues/9887) use behat page object extension ([@loic425](https://github.com/loic425)) -- [#9898](https://github.com/Sylius/Sylius/issues/9898) #9862 Number of items in order summary page ([@laurent35240](https://github.com/laurent35240)) -- [#9906](https://github.com/Sylius/Sylius/issues/9906) Product images deletion fix ([@Zales0123](https://github.com/Zales0123)) -- [#9908](https://github.com/Sylius/Sylius/issues/9908) [Documentation] Add new styles ([@kulczy](https://github.com/kulczy)) -- [#9910](https://github.com/Sylius/Sylius/issues/9910) [Composer] Update ApiTestCase ([@lchrusciel](https://github.com/lchrusciel)) -- [#9918](https://github.com/Sylius/Sylius/issues/9918) Make use of sylius_core.public_dir in ThemeBundle ([@alekseyp](https://github.com/alekseyp)) -- [#9922](https://github.com/Sylius/Sylius/issues/9922) Apply coding standard fixes from SyliusLabs/CodingStandard ^3.0@dev ([@pamil](https://github.com/pamil)) -- [#9923](https://github.com/Sylius/Sylius/issues/9923) Use oneline phpdocs for property type info ([@pamil](https://github.com/pamil)) -- [#9926](https://github.com/Sylius/Sylius/issues/9926) Fix plugin naming convention documentation ([@Zales0123](https://github.com/Zales0123)) -- [#9927](https://github.com/Sylius/Sylius/issues/9927) Fix version widget and add better quality logo ([@kulczy](https://github.com/kulczy)) -- [#9929](https://github.com/Sylius/Sylius/issues/9929) Update SyliusLabs/CodingStandard to ^3.0 ([@pamil](https://github.com/pamil)) - -## v1.3.3 (2018-11-07) - -#### TL;DR - -- Fixed configuration files overriding in `app/Resources/` ([#9889](https://github.com/Sylius/Sylius/issues/9889)) - - **You need to update your application by following [UPGRADE instructions](https://github.com/Sylius/Sylius/blob/1.3/UPGRADE-1.3.md) in order to make use of it.** - -#### Details - -- [#9836](https://github.com/Sylius/Sylius/issues/9836) [Core] Bad reverting of ShippingPercentageDiscount promotion ([@fendrychl](https://github.com/fendrychl)) -- [#9854](https://github.com/Sylius/Sylius/issues/9854) Update installation.rst ([@zghosts](https://github.com/zghosts)) -- [#9856](https://github.com/Sylius/Sylius/issues/9856) #9694 Do not show bulk sections and checkboxes if bulk actions are di… ([@laurent35240](https://github.com/laurent35240)) -- [#9866](https://github.com/Sylius/Sylius/issues/9866) [Order] Changing function typing ([@Roshyo](https://github.com/Roshyo)) -- [#9868](https://github.com/Sylius/Sylius/issues/9868) [Fix] Indentation error .platform.app.yml in docs ([@jatempa](https://github.com/jatempa)) -- [#9878](https://github.com/Sylius/Sylius/issues/9878) Fix select attribute values accordion ([@Zales0123](https://github.com/Zales0123)) -- [#9883](https://github.com/Sylius/Sylius/issues/9883) Hydrate promotion_rules directly on loading active promotions for a channel (1n) ([@stefandoorn](https://github.com/stefandoorn)) -- [#9889](https://github.com/Sylius/Sylius/issues/9889) Allow to overwrite a specific config file ([@pamil](https://github.com/pamil)) -- [#9892](https://github.com/Sylius/Sylius/issues/9892) [Order] Removing after SM callback ([@Roshyo](https://github.com/Roshyo)) -- [#9900](https://github.com/Sylius/Sylius/issues/9900) Fix typos in BDD Transformers docs ([@sarjon](https://github.com/sarjon)) - -## v1.3.2 (2018-10-24) - -#### Details - -- [#9796](https://github.com/Sylius/Sylius/pull/9796) Improve product attributes JS (@Zales0123) -- [#9815](https://github.com/Sylius/Sylius/pull/9815) remove web server bundle on prod environment (@loic425) -- [#9817](https://github.com/Sylius/Sylius/pull/9817) Upgrade security checker (@pamil) -- [#9827](https://github.com/Sylius/Sylius/pull/9827) Custom homepage controller as public service (@davidroberto) -- [#9829](https://github.com/Sylius/Sylius/pull/9829) Wrong usage of returned data (@Prometee) -- [#9830](https://github.com/Sylius/Sylius/pull/9830) SensioGeneratorBundle vs SymfonyMakerBundle (@davidroberto) -- [#9832](https://github.com/Sylius/Sylius/pull/9832) Fix gulp uglify error with arrow functions (@magentix) -- [#9839](https://github.com/Sylius/Sylius/pull/9839) [Docs] How to disable admin notifications (@stefandoorn) -- [#9841](https://github.com/Sylius/Sylius/pull/9841) [Documentation] Make bundle templates extension part correct (@pamil) - -## v1.3.1 (2018-10-11) - -#### TL;DR - -- Fixed templates overriding ([#9726](https://github.com/Sylius/Sylius/pull/9726), [#9804](https://github.com/Sylius/Sylius/pull/9803)) - -#### Details - -- [#8093](https://github.com/Sylius/Sylius/pull/8093) [Order] Fixed sylius:remove-expired-carts help (@sweoggy) -- [#8494](https://github.com/Sylius/Sylius/pull/8494) set gender `u` as default value - resolves #8493 (@pamil, @kochen) -- [#9627](https://github.com/Sylius/Sylius/pull/9627) Narrow down selectors to prevent unexpected bugs (@teohhanhui) -- [#9646](https://github.com/Sylius/Sylius/pull/9646) [Admin][Product edit] Change the value of the taxons individually when checked/unchecked. (@sbarbat) -- [#9685](https://github.com/Sylius/Sylius/pull/9685) Update gulpfile.babel.js (@mihaimitrut) -- [#9726](https://github.com/Sylius/Sylius/pull/9726) Use native Twig references for templates (@wadjeroudi) -- [#9739](https://github.com/Sylius/Sylius/pull/9739) [Documentation] Change parameters to env variables (@Zales0123) -- [#9740](https://github.com/Sylius/Sylius/pull/9740) Change command examples according to new Symfony recommendations (@Zales0123) -- [#9742](https://github.com/Sylius/Sylius/pull/9742) [Behat] Changing my account password with token I received scenario (@loic425) -- [#9743](https://github.com/Sylius/Sylius/pull/9743) Update shipments.rst (@hmonglee) -- [#9746](https://github.com/Sylius/Sylius/pull/9746) [Documentation] v1.3 Update (@CoderMaggie) -- [#9751](https://github.com/Sylius/Sylius/pull/9751) Update PR template (@CoderMaggie) -- [#9752](https://github.com/Sylius/Sylius/pull/9752) Update installation.rst for Flex (@dunglas) -- [#9754](https://github.com/Sylius/Sylius/pull/9754) Fix the "REST APIs" link in the documentation (@dunglas) -- [#9755](https://github.com/Sylius/Sylius/pull/9755) [Documentation] Fix API example for creating a taxon (@pamil) -- [#9756](https://github.com/Sylius/Sylius/pull/9756) Allow for null hostname in ChannelFixture (@pamil) -- [#9757](https://github.com/Sylius/Sylius/pull/9757) Make ArrayGridProvider more performant & suitable for PHP-PM (@pamil) -- [#9758](https://github.com/Sylius/Sylius/pull/9758) [ThemeBundle] Fix risky tests (@pamil) -- [#9759](https://github.com/Sylius/Sylius/pull/9759) [GridBundle] Do not put unnecessary "andWhere" in ExpressionBuilder (@pamil) -- [#9760](https://github.com/Sylius/Sylius/pull/9760) [CoreBundle] Make sure promotion action/rule amount is an integer (@pamil) -- [#9761](https://github.com/Sylius/Sylius/pull/9761) [ThemeBundle] Replace "symfony/symfony" dependency with specific Symfony packages (@pamil) -- [#9762](https://github.com/Sylius/Sylius/pull/9762) [Grid] Fix getting enabled grid items (@pamil) -- [#9763](https://github.com/Sylius/Sylius/pull/9763) Update "Configuring taxation" docs (@pamil) -- [#9764](https://github.com/Sylius/Sylius/pull/9764) [ShippingBundle] Add validation for ShippingMethod calculator (@pamil) -- [#9765](https://github.com/Sylius/Sylius/pull/9765) Keep the existing pagination when changing sorting on product list page (@pamil) -- [#9766](https://github.com/Sylius/Sylius/pull/9766) Update Composer's branch-alias for 1.3 (@pamil) -- [#9769](https://github.com/Sylius/Sylius/pull/9769) [Behat] Add scenarios on resetting password validation feature (@loic425) -- [#9771](https://github.com/Sylius/Sylius/pull/9771) Trigger deprecation when deprecated image fixture definition is used (@pamil) -- [#9772](https://github.com/Sylius/Sylius/pull/9772) Fix doubled province id on checkout addressing page (@pamil) -- [#9774](https://github.com/Sylius/Sylius/pull/9774) Ask for confirmation when cancelling an order (@pamil) -- [#9775](https://github.com/Sylius/Sylius/pull/9775) Limit products shown in associated products autocomplete field (@pamil) -- [#9776](https://github.com/Sylius/Sylius/pull/9776) [Core] Make implicit dependency explicit (@pamil) -- [#9779](https://github.com/Sylius/Sylius/pull/9779) Fix error templates path (@pamil) -- [#9783](https://github.com/Sylius/Sylius/pull/9783) Correct grammar mistake in README (@pamil) -- [#9788](https://github.com/Sylius/Sylius/pull/9788) Update installation.rst (@hmonglee) -- [#9790](https://github.com/Sylius/Sylius/pull/9790) Update disabling-localised-urls.rst (@hmonglee) -- [#9791](https://github.com/Sylius/Sylius/pull/9791) [Docs] Update year in copyright (@CoderMaggie) -- [#9800](https://github.com/Sylius/Sylius/pull/9800) Removed leftover Symfony3 references (@ping-localhost) -- [#9801](https://github.com/Sylius/Sylius/pull/9801) Update template.rst (@bitbager) -- [#9803](https://github.com/Sylius/Sylius/pull/9803) `purge_mode` has been rename to `mode` (@Prometee) -- [#9804](https://github.com/Sylius/Sylius/pull/9804) [ThemeBundle] Add support for Twig namespaced paths and "templates/" top-level directory (@pamil) -- [#9805](https://github.com/Sylius/Sylius/pull/9805) [Shop] Fix password request & contact pages with a mobile view. (@versgui) - -## v1.3.0, v1.3.0-BETA (2018-09-27, 2018-09-24) - -#### TL;DR - -- Bumped minimal PHP version to 7.2 ([#9498](https://github.com/Sylius/Sylius/pull/9498)) -- Changed to Symfony 4 directory structure ([#9643](https://github.com/Sylius/Sylius/pull/9643)) -- Introduced Symfony Flex support ([#9665](https://github.com/Sylius/Sylius/pull/9665)) -- Added possibility of searching products in nested taxons ([#9621](https://github.com/Sylius/Sylius/pull/9621)) -- Deprecated MongoDB and PHPCR drivers ([#9551](https://github.com/Sylius/Sylius/pull/9551)) -- Started using Rollup to bundle JS code ([#9494](https://github.com/Sylius/Sylius/pull/9494)) -- Added support for authorized state in payments ([#9437](https://github.com/Sylius/Sylius/pull/9437)) -- Added registration after checkout ([#9656](https://github.com/Sylius/Sylius/pull/9656)) -- Fixed promotion rules application ([#9596](https://github.com/Sylius/Sylius/pull/9596)) - -#### Details - -- [#9437](https://github.com/Sylius/Sylius/pull/9437) [Payment] Support for authorized state (@pamil, @JakobTolkemit) -- [#9492](https://github.com/Sylius/Sylius/pull/9492) Update Sylius issue templates (@CoderMaggie) -- [#9494](https://github.com/Sylius/Sylius/pull/9494) Use rollup to bundle JS (ES6 modules) (@teohhanhui) -- [#9498](https://github.com/Sylius/Sylius/pull/9498) Require PHP ^7.2 in Sylius ^1.3 (@pamil) -- [#9551](https://github.com/Sylius/Sylius/pull/9551) Deprecate MongoDB and PHPCR drivers in ResourceBundle and GridBundle (@pamil) -- [#9557](https://github.com/Sylius/Sylius/pull/9557) Use generic names for data-* properties in sylius-lazy-choice-tree.js (@teohhanhui) -- [#9567](https://github.com/Sylius/Sylius/pull/9567) Add a template for security issues (@pamil) -- [#9583](https://github.com/Sylius/Sylius/pull/9583) Remove Symfony Version from README.md (@psren) -- [#9596](https://github.com/Sylius/Sylius/pull/9596) Take unitTotal of order item to check if taxon rule can be applied (@jdeveloper) -- [#9615](https://github.com/Sylius/Sylius/pull/9615) Simplify code of `sylius-product-images-preview` module (@nenadalm) -- [#9616](https://github.com/Sylius/Sylius/pull/9616) Added account verification option to fixture parser (@mamazu) -- [#9621](https://github.com/Sylius/Sylius/pull/9621) Taxon with children taxons behavior in listing (@bartoszpietrzak1994) -- [#9643](https://github.com/Sylius/Sylius/pull/9643) Symfony 4 directory structure (@pamil) -- [#9656](https://github.com/Sylius/Sylius/pull/9656) [Shop] Registration after checkout (@GSadee) -- [#9663](https://github.com/Sylius/Sylius/pull/9663) Theme translation : Add support of Windows OS (@pierre-H) -- [#9665](https://github.com/Sylius/Sylius/pull/9665) Introduce Symfony Flex (@pamil) -- [#9666](https://github.com/Sylius/Sylius/pull/9666) Bring back incenteev/composer-parameter-handler package to keep backwards compatibility better (@pamil) -- [#9671](https://github.com/Sylius/Sylius/pull/9671) Add backwards compatibility layer for Behat configuration referenced in Sylius-Standard (@pamil) -- [#9672](https://github.com/Sylius/Sylius/pull/9672) Provide a BC layer for files in "app/config/" referenced by PluginSkeleton (@pamil) -- [#9676](https://github.com/Sylius/Sylius/pull/9676) Fix routing BC layer (@pamil) -- [#9682](https://github.com/Sylius/Sylius/pull/9682) Remove unused parameters.yml.dist file (@pamil) -- [#9695](https://github.com/Sylius/Sylius/pull/9695) Fix resolving environment variables (@Zales0123) diff --git a/CHANGELOG-1.4.md b/CHANGELOG-1.4.md deleted file mode 100644 index 2eb091061e..0000000000 --- a/CHANGELOG-1.4.md +++ /dev/null @@ -1,310 +0,0 @@ -# CHANGELOG FOR `1.4.X` - -## v1.4.12 (2020-01-27) - -#### CVE-2020-5218: Ability to switch channels via GET parameter enabled in production environments - -*Please refer to [the original security advisory](https://github.com/Sylius/Sylius/security/advisories/GHSA-prg5-hg25-8grq) for the most updated information.* - -**Impact:** - -This vulnerability gives the ability to switch channels via the `_channel_code` GET parameter in production environments. This was meant to be enabled only when `%kernel.debug%` is set to true. - -However, if no `sylius_channel.debug` is set explicitly in the configuration, the default value which is `%kernel.debug%` will be not resolved and cast to boolean, enabling this debug feature even if that parameter is set to false. - -**Patches:** - -Patch has been provided for Sylius 1.3.x and newer - **1.3.16, 1.4.12, 1.5.9, 1.6.5**. Versions older than 1.3 are not covered by our security support anymore. - -**Workarounds:** - -Unsupported versions could be patched by adding the following configuration to run in production: - -```yaml -sylius_channel: - debug: false -``` - -## v1.4.10, v1.4.11 (2019-12-03, 2019-12-05) - -#### CVE-2019-16768: Internal exception message exposure in login action. - -**Details:** - -Exception messages from internal exceptions (like database exception) are wrapped by -`\Symfony\Component\Security\Core\Exception\AuthenticationServiceException` and propagated through the system to UI. -Therefore, some internal system information may leak and be visible to the customer. - -A validation message with the exception details will be presented to the user when one will try to log into the shop. - -**Solution:** - -This release patches the reported vulnerability. The `src/Sylius/Bundle/UiBundle/Resources/views/Security/_login.html.twig` -file from Sylius should be overridden and `{{ messages.error(last_error.message) }}` changed to `{{ messages.error(last_error.messageKey) }}`. - -## v1.4.9 (2019-10-09) - -The last bugfix release for v1.4.x. - -#### Details - -- [#10641](https://github.com/Sylius/Sylius/issues/10641) [Documentation] Fixtures customization guides - fixes ([@CoderMaggie](https://github.com/CoderMaggie), [@Zales0123](https://github.com/Zales0123)) -- [#10645](https://github.com/Sylius/Sylius/issues/10645) [Docs] Fix Blackfire Ad ([@Tomanhez](https://github.com/Tomanhez)) -- [#10646](https://github.com/Sylius/Sylius/issues/10646) [Docs] Fix Ad ([@Tomanhez](https://github.com/Tomanhez)) -- [#10649](https://github.com/Sylius/Sylius/issues/10649) Update online course ad ([@kulczy](https://github.com/kulczy)) -- [#10652](https://github.com/Sylius/Sylius/issues/10652) Add Sylius 1.6 banner to the docs ([@kulczy](https://github.com/kulczy)) -- [#10680](https://github.com/Sylius/Sylius/issues/10680) Fix ChannelCollector related serialization issue in Symfony profiler ([@ostrolucky](https://github.com/ostrolucky)) -- [#10701](https://github.com/Sylius/Sylius/issues/10701) [Maintenance] Update docs with v1.6 ([@lchrusciel](https://github.com/lchrusciel)) -- [#10710](https://github.com/Sylius/Sylius/issues/10710) [Address book] Extensibility improvements ([@cyrosy](https://github.com/cyrosy)) -- [#10713](https://github.com/Sylius/Sylius/issues/10713) [Behat] Improve dashboard page extensibility ([@loic425](https://github.com/loic425)) -- [#10727](https://github.com/Sylius/Sylius/issues/10727) Fix channels label size and alignment ([@kulczy](https://github.com/kulczy)) -- [#10732](https://github.com/Sylius/Sylius/issues/10732) Update course ad ([@kulczy](https://github.com/kulczy)) -- [#10739](https://github.com/Sylius/Sylius/issues/10739) [Admin][Adressing] fixed province code validation regex ([@twojtylak](https://github.com/twojtylak)) - -## v1.4.8 (2019-08-27) - -#### Details - -- [#10395](https://github.com/Sylius/Sylius/issues/10395) [Docs] How to add your custom fixtures? ([@Tomanhez](https://github.com/Tomanhez)) -- [#10397](https://github.com/Sylius/Sylius/issues/10397) [Docs]How to add your custom fixture suites? ([@Tomanhez](https://github.com/Tomanhez)) -- [#10512](https://github.com/Sylius/Sylius/issues/10512) [Admin] Improve breadcrumbs (especially for ProductVariants and PromotionCoupons) ([@CoderMaggie](https://github.com/CoderMaggie)) -- [#10540](https://github.com/Sylius/Sylius/issues/10540) Skip oauth_user_factory_is_not_overridden test if HWIOAuthBundle is not installed ([@vvasiloi](https://github.com/vvasiloi)) -- [#10553](https://github.com/Sylius/Sylius/issues/10553) Flags are not languages ([@vvasiloi](https://github.com/vvasiloi)) -- [#10558](https://github.com/Sylius/Sylius/issues/10558) Allow translation of custom labels ([@Prometee](https://github.com/Prometee)) -- [#10564](https://github.com/Sylius/Sylius/issues/10564) [Fixture] Improve order fixture ([@Zales0123](https://github.com/Zales0123)) -- [#10571](https://github.com/Sylius/Sylius/issues/10571) Update custom-promotion-rule.rst ([@jmwill86](https://github.com/jmwill86)) -- [#10579](https://github.com/Sylius/Sylius/issues/10579) Fix lazy choice tree will not automatically expanded ([@tom10271](https://github.com/tom10271)) -- [#10583](https://github.com/Sylius/Sylius/issues/10583) Enable sorting of customer orders in admin panel ([@pamil](https://github.com/pamil)) -- [#10598](https://github.com/Sylius/Sylius/issues/10598) Add course ad ([@kulczy](https://github.com/kulczy)) -- [#10599](https://github.com/Sylius/Sylius/issues/10599) [Documentation] Delete additional lines to remove ShopBundle ([@wpje](https://github.com/wpje)) -- [#10601](https://github.com/Sylius/Sylius/issues/10601) Change course CTA ([@kulczy](https://github.com/kulczy)) -- [#10603](https://github.com/Sylius/Sylius/issues/10603) [Shop] Promotion integrity checker fix ([@lchrusciel](https://github.com/lchrusciel)) -- [#10618](https://github.com/Sylius/Sylius/issues/10618) [Fixtures] Allow no shipping and payments in fixtures ([@igormukhingmailcom](https://github.com/igormukhingmailcom), [@Zales0123](https://github.com/Zales0123)) -- [#10624](https://github.com/Sylius/Sylius/issues/10624) Disable chrome autocomplete ([@kulczy](https://github.com/kulczy)) -- [#10626](https://github.com/Sylius/Sylius/issues/10626) [Fixture] Do not skip payments and shipments manually ([@Zales0123](https://github.com/Zales0123)) -- [#10629](https://github.com/Sylius/Sylius/issues/10629) [Docs] Add missing items to customization guide menu ([@Zales0123](https://github.com/Zales0123)) -- [#10633](https://github.com/Sylius/Sylius/issues/10633) Add Blackfire ad ([@kulczy](https://github.com/kulczy)) -- [#10634](https://github.com/Sylius/Sylius/issues/10634) Add Blackfire logo ([@kulczy](https://github.com/kulczy)) - -## v1.4.7 (2019-07-25) - -#### Details - -- [#10165](https://github.com/Sylius/Sylius/issues/10165) Product attribute fixtures improvements ([@Zales0123](https://github.com/Zales0123), [@pamil](https://github.com/pamil)) -- [#10401](https://github.com/Sylius/Sylius/issues/10401) Psalm ([@loic425](https://github.com/loic425), [@pamil](https://github.com/pamil)) -- [#10464](https://github.com/Sylius/Sylius/issues/10464) Do not crash when duplicated locales are passed to the fixture ([@pamil](https://github.com/pamil)) -- [#10468](https://github.com/Sylius/Sylius/issues/10468) Remove Symfony workarounds and add conflicts ([@pamil](https://github.com/pamil)) -- [#10473](https://github.com/Sylius/Sylius/issues/10473) Update docs to follow Symfony 4 standards ([@pamil](https://github.com/pamil)) -- [#10488](https://github.com/Sylius/Sylius/issues/10488) Marked router dependency as deprecated in admin ImpersonateUserController ([@SebLours](https://github.com/SebLours)) -- [#10489](https://github.com/Sylius/Sylius/issues/10489) Make it possible to have no shipping methods for Order fixtures ([@TiMESPLiNTER](https://github.com/TiMESPLiNTER)) -- [#10492](https://github.com/Sylius/Sylius/issues/10492) [Admin] Minor fixes customer group validation form ([@Tomanhez](https://github.com/Tomanhez)) -- [#10494](https://github.com/Sylius/Sylius/issues/10494) [UI] Fix button groups radius ([@kulczy](https://github.com/kulczy)) -- [#10498](https://github.com/Sylius/Sylius/issues/10498) Add search bar css rule for Firefox ([@aloupfor](https://github.com/aloupfor)) -- [#10508](https://github.com/Sylius/Sylius/issues/10508) Revert "Make it possible to have no shipping methods for Order fixtures" ([@lchrusciel](https://github.com/lchrusciel)) -- [#10509](https://github.com/Sylius/Sylius/issues/10509) [Admin] Add link to product in variant breadcrumb ([@Tomanhez](https://github.com/Tomanhez)) -- [#10517](https://github.com/Sylius/Sylius/issues/10517) [Grid] Allow not to pass "apply_transition" button class ([@Zales0123](https://github.com/Zales0123)) -- [#10525](https://github.com/Sylius/Sylius/issues/10525) Bump lodash from 4.17.11 to 4.17.14 ([@dependabot](https://github.com/dependabot)[[@bot](https://github.com/bot)]) -- [#10535](https://github.com/Sylius/Sylius/issues/10535) [Shop] Fix passed channel context service to be composite ([@GSadee](https://github.com/GSadee)) -- [#10548](https://github.com/Sylius/Sylius/issues/10548) [HotFix?] Move mysql service to fix the build ([@Zales0123](https://github.com/Zales0123)) - -## v1.4.6 (2019-06-20) - -#### Details - -- [#10191](https://github.com/Sylius/Sylius/issues/10191) [taxon_fixtures] Fix child taxon slug generation ([@tannyl](https://github.com/tannyl)) -- [#10371](https://github.com/Sylius/Sylius/issues/10371) [Docs] How to find out the resource config required when customizing models ([@4c0n](https://github.com/4c0n)) -- [#10384](https://github.com/Sylius/Sylius/issues/10384) "Getting Started with Sylius" guide ([@Zales0123](https://github.com/Zales0123), [@CoderMaggie](https://github.com/CoderMaggie)) -- [#10389](https://github.com/Sylius/Sylius/issues/10389) [UI] Hide filters by default on index pages ([@Zales0123](https://github.com/Zales0123), [@pamil](https://github.com/pamil)) -- [#10404](https://github.com/Sylius/Sylius/issues/10404) Fix huge autocomplete queries issue ([@bitbager](https://github.com/bitbager), [@pamil](https://github.com/pamil)) -- [#10412](https://github.com/Sylius/Sylius/issues/10412) [Docs] Added tip for using group sequence validations ([@4c0n](https://github.com/4c0n)) -- [#10423](https://github.com/Sylius/Sylius/issues/10423) [Doc] End of bugfix support for 1.3 ([@lchrusciel](https://github.com/lchrusciel)) -- [#10426](https://github.com/Sylius/Sylius/issues/10426) Using client from browser kit component instead of http kernel component ([@loevgaard](https://github.com/loevgaard)) -- [#10432](https://github.com/Sylius/Sylius/issues/10432) Add known errors section to UPGRADE file ([@pamil](https://github.com/pamil)) -- [#10433](https://github.com/Sylius/Sylius/issues/10433) Bump fstream from 1.0.11 to 1.0.12 ([@dependabot](https://github.com/dependabot)[[@bot](https://github.com/bot)]) -- [#10440](https://github.com/Sylius/Sylius/issues/10440) Fix removing taxons with numeric codes from products ([@vvasiloi](https://github.com/vvasiloi)) -- [#10445](https://github.com/Sylius/Sylius/issues/10445) Fix typos and grammar in the Getting Started guide ([@pamil](https://github.com/pamil)) -- [#10446](https://github.com/Sylius/Sylius/issues/10446) Update the 1.1 version status in the release process docs ([@pamil](https://github.com/pamil)) -- [#10450](https://github.com/Sylius/Sylius/issues/10450) Fix interfaces mapping in Doctrine for admin user and shop user ([@pamil](https://github.com/pamil)) -- [#10462](https://github.com/Sylius/Sylius/issues/10462) [Docs] Update Sylius versions in installation and contribution guides ([@GSadee](https://github.com/GSadee)) - -## v1.4.5 (2019-05-29) - -#### Details - -- [#10228](https://github.com/Sylius/Sylius/issues/10228) Improve taxon UI ([@kulczy](https://github.com/kulczy), [@Zales0123](https://github.com/Zales0123)) -- [#10290](https://github.com/Sylius/Sylius/issues/10290) [Docs] Update "Customizing Repositories" ([@AdamKasp](https://github.com/AdamKasp)) -- [#10299](https://github.com/Sylius/Sylius/issues/10299) [Docs] Update "Customizing Models" ([@Tomanhez](https://github.com/Tomanhez)) -- [#10314](https://github.com/Sylius/Sylius/issues/10314) [Docs] Update "Customizing Forms" ([@Tomanhez](https://github.com/Tomanhez)) -- [#10315](https://github.com/Sylius/Sylius/issues/10315) [Docs] Update "Customizing Factories" ([@Tomanhez](https://github.com/Tomanhez)) -- [#10330](https://github.com/Sylius/Sylius/issues/10330) [Docs] Update "Customizing Controllers" ([@Tomanhez](https://github.com/Tomanhez)) -- [#10344](https://github.com/Sylius/Sylius/issues/10344) [Docs] Update "Customizing Templates" ([@Tomanhez](https://github.com/Tomanhez)) -- [#10348](https://github.com/Sylius/Sylius/issues/10348) [Docs] Update "customizing menus" ([@AdamKasp](https://github.com/AdamKasp)) -- [#10349](https://github.com/Sylius/Sylius/issues/10349) [Docs] Update "Customizing Validation" ([@AdamKasp](https://github.com/AdamKasp)) -- [#10351](https://github.com/Sylius/Sylius/issues/10351) [Docs] Update "Customizing translations" ([@AdamKasp](https://github.com/AdamKasp)) -- [#10353](https://github.com/Sylius/Sylius/issues/10353) [Docs] Update "Customization flashes " ([@AdamKasp](https://github.com/AdamKasp)) -- [#10359](https://github.com/Sylius/Sylius/issues/10359) [Docs] Update "Customizing Grids" ([@Tomanhez](https://github.com/Tomanhez)) -- [#10363](https://github.com/Sylius/Sylius/issues/10363) [Behat][Shop] Wait for province form loading ([@Zales0123](https://github.com/Zales0123)) -- [#10364](https://github.com/Sylius/Sylius/issues/10364) As an Administrator, I want always to have proper option values selected while editing a product variant ([@Tomanhez](https://github.com/Tomanhez), [@monro93](https://github.com/monro93)) -- [#10365](https://github.com/Sylius/Sylius/issues/10365) [Admin][Promotion] Fix removing taxon used in promotion rule ([@GSadee](https://github.com/GSadee)) -- [#10372](https://github.com/Sylius/Sylius/issues/10372) Image display in edit form ([@AdamKasp](https://github.com/AdamKasp)) -- [#10375](https://github.com/Sylius/Sylius/issues/10375) [Docs] Update "Customizing State Machine" ([@AdamKasp](https://github.com/AdamKasp)) -- [#10378](https://github.com/Sylius/Sylius/issues/10378) update documentation how to use api ([@CSchulz](https://github.com/CSchulz)) -- [#10386](https://github.com/Sylius/Sylius/issues/10386) [Build Fix][Behat] Change scenarios to @javascript due to taxon tree changes ([@Zales0123](https://github.com/Zales0123)) -- [#10394](https://github.com/Sylius/Sylius/issues/10394) Fix error caused by the taxon tree ([@kulczy](https://github.com/kulczy)) -- [#10407](https://github.com/Sylius/Sylius/issues/10407) Bump the Sylius release versions in docs ([@teohhanhui](https://github.com/teohhanhui)) -- [#10414](https://github.com/Sylius/Sylius/issues/10414) Use HTTPS links when possible ([@javiereguiluz](https://github.com/javiereguiluz)) - -## v1.4.4 (2019-05-07) - -#### TL;DR - -- Extracted packages from the core ([#10325](https://github.com/Sylius/Sylius/issues/10325), [#10326](https://github.com/Sylius/Sylius/issues/10326), [#10327](https://github.com/Sylius/Sylius/issues/10327)) - -#### Details - -- [#10304](https://github.com/Sylius/Sylius/issues/10304) [Docs] Update contributing guide ([@Tomanhez](https://github.com/Tomanhez)) -- [#10308](https://github.com/Sylius/Sylius/issues/10308) Fix base locale ([@igormukhingmailcom](https://github.com/igormukhingmailcom)) -- [#10309](https://github.com/Sylius/Sylius/issues/10309) Do not depend on transient dependencies for "symfony/intl" package ([@pamil](https://github.com/pamil)) -- [#10320](https://github.com/Sylius/Sylius/issues/10320) fix OrderBundle depends on Core component #10319 () -- [#10324](https://github.com/Sylius/Sylius/issues/10324) Add a workaround for GridBundle & Symfony 4.2.7 to make tests passing ([@pamil](https://github.com/pamil)) -- [#10325](https://github.com/Sylius/Sylius/issues/10325) Extract Mailer component & bundle ([@pamil](https://github.com/pamil)) -- [#10326](https://github.com/Sylius/Sylius/issues/10326) [WIP] Extract Grid component & bundle ([@pamil](https://github.com/pamil)) -- [#10327](https://github.com/Sylius/Sylius/issues/10327) [WIP] Extract Resource component & bundle ([@pamil](https://github.com/pamil)) -- [#10328](https://github.com/Sylius/Sylius/issues/10328) Remove dead configuration related to pre-stable Sylius RBAC ([@pamil](https://github.com/pamil)) -- [#10331](https://github.com/Sylius/Sylius/issues/10331) [Shop] Update grid action and filter keys to decouple shop from admin ([@GSadee](https://github.com/GSadee)) -- [#10335](https://github.com/Sylius/Sylius/issues/10335) Bring back "pay" grid action for backwards compatibility ([@pamil](https://github.com/pamil)) -- [#10338](https://github.com/Sylius/Sylius/issues/10338) Removing unused service ([@loevgaard](https://github.com/loevgaard)) -- [#10340](https://github.com/Sylius/Sylius/issues/10340) Fix #9646 by removing lambdas in JS file ([@tchapi](https://github.com/tchapi)) -- [#10341](https://github.com/Sylius/Sylius/issues/10341) Revert "Fix base locale" ([@pamil](https://github.com/pamil)) -- [#10350](https://github.com/Sylius/Sylius/issues/10350) fix default repository for variant and association type resources ([@loic425](https://github.com/loic425)) -- [#10352](https://github.com/Sylius/Sylius/issues/10352) Update documentation products.rst ([@tom-schmitz](https://github.com/tom-schmitz)) -- [#10356](https://github.com/Sylius/Sylius/issues/10356) Quick fix product variants api invalid json ([@shql](https://github.com/shql)) -- [#10357](https://github.com/Sylius/Sylius/issues/10357) Fix wrong use statement in example ([@teohhanhui](https://github.com/teohhanhui)) -- [#10358](https://github.com/Sylius/Sylius/issues/10358) [Maintenance] Upgrade minimal jquery version ([@lchrusciel](https://github.com/lchrusciel)) -- [#10360](https://github.com/Sylius/Sylius/issues/10360) Revert "fix default repository for variant and association type resources" ([@lchrusciel](https://github.com/lchrusciel)) -- [#10362](https://github.com/Sylius/Sylius/issues/10362) Update release process with dates for 1.5 - 1.7 releases ([@pamil](https://github.com/pamil)) - -## v1.4.3 (2019-04-15) - -#### Details - -- [#10178](https://github.com/Sylius/Sylius/issues/10178) Wrong regular expression for locale ([@superbull](https://github.com/superbull)) -- [#10276](https://github.com/Sylius/Sylius/issues/10276) Upgrade flex to use composer dump-env ([@loic425](https://github.com/loic425)) -- [#10279](https://github.com/Sylius/Sylius/issues/10279) [Documentation][ResourceBundle] 7.1. Overriding the Template and Criteria invalid config ([@kboduch](https://github.com/kboduch)) -- [#10283](https://github.com/Sylius/Sylius/issues/10283) [UserBundle] Fix user comparaison on user delete listener ([@loic425](https://github.com/loic425)) -- [#10289](https://github.com/Sylius/Sylius/issues/10289) Fix re-authenticating for impersonated users ([@semin-lev](https://github.com/semin-lev), [@lchrusciel](https://github.com/lchrusciel)) -- [#10294](https://github.com/Sylius/Sylius/issues/10294) [Docs] Fix presentation of "How to configure mailer" cookbook ([@theyoux](https://github.com/theyoux)) -- [#10298](https://github.com/Sylius/Sylius/issues/10298) [DOC][Installation] Fix minor typo ([@MatthieuCutin](https://github.com/MatthieuCutin)) -- [#10301](https://github.com/Sylius/Sylius/issues/10301) Adopt Symfony 4 directory structure in docs ([@pamil](https://github.com/pamil)) - -## v1.4.2 (2019-04-01) - -#### Details - -- [#9902](https://github.com/Sylius/Sylius/issues/9902) [cs] remove unnecesary variables and if conditions ([@TomasVotruba](https://github.com/TomasVotruba), [@lchrusciel](https://github.com/lchrusciel)) -- [#10116](https://github.com/Sylius/Sylius/issues/10116) Allow nullable shop billing data ([@Zales0123](https://github.com/Zales0123), [@pamil](https://github.com/pamil)) -- [#10197](https://github.com/Sylius/Sylius/issues/10197) [CoreBundle] oauth user provider fix ([@kboduch](https://github.com/kboduch)) -- [#10205](https://github.com/Sylius/Sylius/issues/10205) [Docs] Remove misleading channel context docs ([@Zales0123](https://github.com/Zales0123)) -- [#10211](https://github.com/Sylius/Sylius/issues/10211) [Docs] Plugins section update ([@CoderMaggie](https://github.com/CoderMaggie)) -- [#10213](https://github.com/Sylius/Sylius/issues/10213) Fix product form submit ([@kulczy](https://github.com/kulczy)) -- [#10214](https://github.com/Sylius/Sylius/issues/10214) Add behat/transliterator library ([@mkalkowski83](https://github.com/mkalkowski83)) -- [#10215](https://github.com/Sylius/Sylius/issues/10215) Fix Sylius Grid on smaller screens ([@kulczy](https://github.com/kulczy)) -- [#10220](https://github.com/Sylius/Sylius/issues/10220) [Docs] Refresh the BDD guide ([@pamil](https://github.com/pamil)) -- [#10221](https://github.com/Sylius/Sylius/issues/10221) [Docs] Refresh "Installation" section of the book ([@pamil](https://github.com/pamil)) -- [#10222](https://github.com/Sylius/Sylius/issues/10222) [Docs] Refresh "Contributing code" section ([@pamil](https://github.com/pamil), [@CoderMaggie](https://github.com/CoderMaggie)) -- [#10230](https://github.com/Sylius/Sylius/issues/10230) [Docs] Roadmap Link ([@CoderMaggie](https://github.com/CoderMaggie)) -- [#10231](https://github.com/Sylius/Sylius/issues/10231) [Docs] Core Team ([@CoderMaggie](https://github.com/CoderMaggie)) -- [#10232](https://github.com/Sylius/Sylius/issues/10232) Make PR template great again ([@Zales0123](https://github.com/Zales0123)) -- [#10237](https://github.com/Sylius/Sylius/issues/10237) Fixing incorrect location in documentation for turning off admin norifications ([@officialbalazs](https://github.com/officialbalazs)) -- [#10239](https://github.com/Sylius/Sylius/issues/10239) [Resource] [Grid] deprecation warning fixed for deprecated Resource drivers ([@doctorx32](https://github.com/doctorx32)) -- [#10242](https://github.com/Sylius/Sylius/issues/10242) Fix variant without options values generation ([@Tomanhez](https://github.com/Tomanhez)) -- [#10243](https://github.com/Sylius/Sylius/issues/10243) Taxonomy tree modified - 'go level up' moved to the end of tree ([@AdamKasp](https://github.com/AdamKasp)) -- [#10246](https://github.com/Sylius/Sylius/issues/10246) [Phpspec] Add missing specs on customer core model ([@loic425](https://github.com/loic425)) -- [#10247](https://github.com/Sylius/Sylius/issues/10247) Non consistent file names ([@AdamKasp](https://github.com/AdamKasp)) -- [#10254](https://github.com/Sylius/Sylius/issues/10254) Fix assertion's message for ProductOptionValueCollectionType ([@diimpp](https://github.com/diimpp)) -- [#10255](https://github.com/Sylius/Sylius/issues/10255) [HotFix] Conflict with Twig 2.7.3 that breaks themes bundle ([@Zales0123](https://github.com/Zales0123)) -- [#10256](https://github.com/Sylius/Sylius/issues/10256) Revert "[HotFix] Conflict with Twig 2.7.3 that breaks themes bundle" ([@pamil](https://github.com/pamil)) -- [#10259](https://github.com/Sylius/Sylius/issues/10259) [BuildFix] Ignore psalm annotations ([@Zales0123](https://github.com/Zales0123)) -- [#10263](https://github.com/Sylius/Sylius/issues/10263) Fix a grammar mistake ([@romankosiuh](https://github.com/romankosiuh)) -- [#10264](https://github.com/Sylius/Sylius/issues/10264) Added a missing word ([@romankosiuh](https://github.com/romankosiuh)) -- [#10265](https://github.com/Sylius/Sylius/issues/10265) Add plugin-feature docs style ([@kulczy](https://github.com/kulczy)) -- [#10270](https://github.com/Sylius/Sylius/issues/10270) Update installation.rst ([@GCalmels](https://github.com/GCalmels)) -- [#10278](https://github.com/Sylius/Sylius/issues/10278) Travis with mySQL 5.7 + product sorting fix ([@Zales0123](https://github.com/Zales0123), [@laSyntez](https://github.com/laSyntez)) -- [#10280](https://github.com/Sylius/Sylius/issues/10280) [Travis] Update mysql version to speed up builds ([@Zales0123](https://github.com/Zales0123)) - -## v1.4.1 (2019-03-05) - -#### TL;DR - -- Extracted some packages from Sylius core ([#10182](https://github.com/Sylius/Sylius/issues/10182), [#10184](https://github.com/Sylius/Sylius/issues/10184), [#10188](https://github.com/Sylius/Sylius/issues/10188)) - -#### Details - -- [#10126](https://github.com/Sylius/Sylius/issues/10126) [Docs] Change base dir for override config resources ([@oallain](https://github.com/oallain)) -- [#10147](https://github.com/Sylius/Sylius/issues/10147) Remove flush() call, its done in the remover itself ([@stefandoorn](https://github.com/stefandoorn)) -- [#10156](https://github.com/Sylius/Sylius/issues/10156) Fix recent Composer deprecations ([@pamil](https://github.com/pamil)) -- [#10157](https://github.com/Sylius/Sylius/issues/10157) Update to PHPUnit ^7.0 ([@pamil](https://github.com/pamil)) -- [#10162](https://github.com/Sylius/Sylius/issues/10162) Change branches in Sylius PR template to supported ones ([@Zales0123](https://github.com/Zales0123)) -- [#10164](https://github.com/Sylius/Sylius/issues/10164) Scaling text input field to keep enough room for the buttons ([@4c0n](https://github.com/4c0n)) -- [#10167](https://github.com/Sylius/Sylius/issues/10167) Cart flow documented ([@bartoszpietrzak1994](https://github.com/bartoszpietrzak1994)) -- [#10169](https://github.com/Sylius/Sylius/issues/10169) Don't fail on billing or shipping address not set ver.2 ([@DmitriyTrt](https://github.com/DmitriyTrt), [@Zales0123](https://github.com/Zales0123)) -- [#10171](https://github.com/Sylius/Sylius/issues/10171) Improve release process docs ([@pamil](https://github.com/pamil)) -- [#10175](https://github.com/Sylius/Sylius/issues/10175) [Docs] Reverse parts in Custom Translatable Model ([@xElysioN](https://github.com/xElysioN)) -- [#10182](https://github.com/Sylius/Sylius/issues/10182) Extract FixturesBundle ([@pamil](https://github.com/pamil)) -- [#10184](https://github.com/Sylius/Sylius/issues/10184) Extract ThemeBundle ([@pamil](https://github.com/pamil)) -- [#10185](https://github.com/Sylius/Sylius/issues/10185) Add Sylius demo link ([@kulczy](https://github.com/kulczy)) -- [#10186](https://github.com/Sylius/Sylius/issues/10186) Improve shop billing data edit scenario ([@Zales0123](https://github.com/Zales0123)) -- [#10188](https://github.com/Sylius/Sylius/issues/10188) Extract Registry component ([@pamil](https://github.com/pamil)) - -## v1.4.0 (2019-02-04) - -#### TL;DR - -- PHP 7.3 support ([#9914](https://github.com/Sylius/Sylius/issues/9914)) -- Don't miss the v1.4.0-BETA.1's changelog below :tada: - -#### Details - -- [#9914](https://github.com/Sylius/Sylius/issues/9914) Include PHP 7.3 in the build ([@pamil](https://github.com/pamil)) -- [#10112](https://github.com/Sylius/Sylius/issues/10112) [Documentation] Update Sylius config path ([@jelen07](https://github.com/jelen07)) -- [#10113](https://github.com/Sylius/Sylius/issues/10113) Require stable FOB/SymfonyExtension v2 ([@pamil](https://github.com/pamil)) -- [#10117](https://github.com/Sylius/Sylius/issues/10117) Upgrade guide from `v1.3.X` to `v1.4.0` ([@Zales0123](https://github.com/Zales0123)) -- [#10118](https://github.com/Sylius/Sylius/issues/10118) [Product Review] fixed review validation when edited by admin ([@kboduch](https://github.com/kboduch)) -- [#10119](https://github.com/Sylius/Sylius/issues/10119) Using channel code in shipping method configuration ([@nedac-sorbo](https://github.com/nedac-sorbo)) -- [#10128](https://github.com/Sylius/Sylius/issues/10128) Syntax error in documentation ([@hatem20](https://github.com/hatem20)) -- [#10130](https://github.com/Sylius/Sylius/issues/10130) Upgrade guide from v1.2.x to v1.4.0 ([@Zales0123](https://github.com/Zales0123)) -- [#10132](https://github.com/Sylius/Sylius/issues/10132) Add missing Length constraint on product translation slug ([@venyii](https://github.com/venyii)) -- [#10135](https://github.com/Sylius/Sylius/issues/10135) Move bundle registration from Kernel class to "bundles.php" ([@pamil](https://github.com/pamil)) -- [#10136](https://github.com/Sylius/Sylius/issues/10136) [HotFix] 500 on taxons list error fix (, [@Zales0123](https://github.com/Zales0123)) -- [#10140](https://github.com/Sylius/Sylius/issues/10140) Use phpspec 5.0 in packages ([@pamil](https://github.com/pamil)) -- [#10141](https://github.com/Sylius/Sylius/issues/10141) [1.1] Fix select attributes according to recent Symfony form changes ([@Zales0123](https://github.com/Zales0123)) -- [#10145](https://github.com/Sylius/Sylius/issues/10145) Make build passing for TaxonomyBundle ([@pamil](https://github.com/pamil)) - -## v1.4.0-BETA.1 (2019-01-17) - -#### TL;DR - -- Switched the default password hashing algorithm to `argon2i` ([#10008](https://github.com/Sylius/Sylius/issues/10008), [#10080](https://github.com/Sylius/Sylius/issues/10080), [#10084](https://github.com/Sylius/Sylius/issues/10084)) -- Changed dotenv files handling as according to [Symfony's policy](https://symfony.com/doc/current/configuration/dot-env-changes.html) ([#10089](https://github.com/Sylius/Sylius/issues/10089)) -- Upgraded Behat infrastructure to use [FriendsOfBehat\SymfonyExtension v2](https://github.com/FriendsOfBehat/SymfonyExtension) ([#10102](https://github.com/Sylius/Sylius/issues/10102)) - -#### Details - -- [#9677](https://github.com/Sylius/Sylius/issues/9790) Deprecate passing container to ORMTranslatableListener ([@kayneth](https://github.com/kayneth)) -- [#9794](https://github.com/Sylius/Sylius/issues/9794) [CoreBundle] First address in the address book should be made default ([@kayneth](https://github.com/kayneth)) -- [#9917](https://github.com/Sylius/Sylius/issues/9917) Improve taxon fixtures with translations ([@loic425](https://github.com/loic425)) -- [#9962](https://github.com/Sylius/Sylius/issues/9962) Added tax category in shipping method fixture ([@mamazu](https://github.com/mamazu)) -- [#9962](https://github.com/Sylius/Sylius/issues/9962) Deprecated not passing shipping category repository to shipping method fixture ([@mamazu](https://github.com/mamazu)) -- [#9964](https://github.com/Sylius/Sylius/issues/9964) Making templates deprecated ([@mamazu](https://github.com/mamazu)) -- [#9983](https://github.com/Sylius/Sylius/issues/9983) Fix #9899 (main taxon autocomplete drop down now contain full taxon name - with all parents) ([@igormukhingmailcom](https://github.com/igormukhingmailcom)) -- [#10008](https://github.com/Sylius/Sylius/issues/10008) ShopUser class is now EncoderAware to provide more flexibility for ch… () -- [#10046](https://github.com/Sylius/Sylius/issues/10046) Enable strict validation for email ([@fendrychl](https://github.com/fendrychl)) -- [#10062](https://github.com/Sylius/Sylius/issues/10062) Make possible to autowire services generated by ResourceBundle ([@pamil](https://github.com/pamil)) -- [#10067](https://github.com/Sylius/Sylius/issues/10067) Add support for Symfony 4.2 ([@pamil](https://github.com/pamil)) -- [#10079](https://github.com/Sylius/Sylius/issues/10079) [Channel] Shop billing data ([@Zales0123](https://github.com/Zales0123)) -- [#10080](https://github.com/Sylius/Sylius/issues/10080) Password hashing - multiple encoders support ([@pamil](https://github.com/pamil)) -- [#10084](https://github.com/Sylius/Sylius/issues/10084) Password hashing - update encoder on login ([@pamil](https://github.com/pamil)) -- [#10089](https://github.com/Sylius/Sylius/issues/10089) Switch to Symfony's dotenv file handling ([@pamil](https://github.com/pamil)) -- [#10090](https://github.com/Sylius/Sylius/issues/10090) Switch to DoctrineMigrationsBundle 2.0 ([@Zales0123](https://github.com/Zales0123)) -- [#10091](https://github.com/Sylius/Sylius/issues/10091) Create aliases for named Sylius services ([@pamil](https://github.com/pamil)) -- [#10102](https://github.com/Sylius/Sylius/issues/10102) Use FriendsOfBehat\SymfonyExtension v2 ([@pamil](https://github.com/pamil)) diff --git a/CHANGELOG-1.5.md b/CHANGELOG-1.5.md deleted file mode 100644 index 1b3072352f..0000000000 --- a/CHANGELOG-1.5.md +++ /dev/null @@ -1,297 +0,0 @@ -# CHANGELOG FOR `1.5.X` - -## v1.5.9 (2020-01-27) - -#### CVE-2020-5218: Ability to switch channels via GET parameter enabled in production environments - -*Please refer to [the original security advisory](https://github.com/Sylius/Sylius/security/advisories/GHSA-prg5-hg25-8grq) for the most updated information.* - -**Impact:** - -This vulnerability gives the ability to switch channels via the `_channel_code` GET parameter in production environments. This was meant to be enabled only when `%kernel.debug%` is set to true. - -However, if no `sylius_channel.debug` is set explicitly in the configuration, the default value which is `%kernel.debug%` will be not resolved and cast to boolean, enabling this debug feature even if that parameter is set to false. - -**Patches:** - -Patch has been provided for Sylius 1.3.x and newer - **1.3.16, 1.4.12, 1.5.9, 1.6.5**. Versions older than 1.3 are not covered by our security support anymore. - -**Workarounds:** - -Unsupported versions could be patched by adding the following configuration to run in production: - -```yaml -sylius_channel: - debug: false -``` - -#### Details - -- [#9050](https://github.com/Sylius/Sylius/issues/9050) Added LazyCustomerLoader for OrderType of SyliusAdminApiBundle ([@jdeveloper](https://github.com/jdeveloper), [@lchrusciel](https://github.com/lchrusciel)) -- [#9844](https://github.com/Sylius/Sylius/issues/9844) Fix ShippingPercentageDiscountPromotionActionCommand.php ([@cosyz2010](https://github.com/cosyz2010), [@Zales0123](https://github.com/Zales0123)) -- [#10863](https://github.com/Sylius/Sylius/issues/10863) [SyliusUserBundle] Improve output of Promote/DemoteUserCommand ([@markbeazley](https://github.com/markbeazley)) -- [#10901](https://github.com/Sylius/Sylius/issues/10901) Fix missing colon ([@reyostallenberg](https://github.com/reyostallenberg)) -- [#10909](https://github.com/Sylius/Sylius/issues/10909) [Taxation] [Shipping] Fixed issue with shipping zones available to select in tax rate form (and the other way) ([@plewandowski](https://github.com/plewandowski)) -- [#10916](https://github.com/Sylius/Sylius/issues/10916) [Docs] Improve platform.sh documentation for deployment ([@Tomanhez](https://github.com/Tomanhez)) -- [#10922](https://github.com/Sylius/Sylius/issues/10922) fix: api URI for getting single product detail ([@hsharghi](https://github.com/hsharghi)) -- [#10923](https://github.com/Sylius/Sylius/issues/10923) [Maintenance] Update PR template with supported versions ([@lchrusciel](https://github.com/lchrusciel)) -- [#10926](https://github.com/Sylius/Sylius/issues/10926) Add lint:container command to the build & fix errors reported by it ([@pamil](https://github.com/pamil)) -- [#10935](https://github.com/Sylius/Sylius/issues/10935) [Docs] Platform.sh cookbook refinement ([@CoderMaggie](https://github.com/CoderMaggie)) -- [#10938](https://github.com/Sylius/Sylius/issues/10938) [Payum][Paypal] Use full price instead of discounted one ([@Prometee](https://github.com/Prometee)) -- [#10943](https://github.com/Sylius/Sylius/issues/10943) Yaml standards ([@sspooky13](https://github.com/sspooky13), [@pamil](https://github.com/pamil)) -- [#10947](https://github.com/Sylius/Sylius/issues/10947) [Channel] Prevent from adding default tax zone of a channel in a different scope than tax or all ([@GSadee](https://github.com/GSadee)) -- [#10961](https://github.com/Sylius/Sylius/issues/10961) [Maintenance] Remove shipping bundle from spec namespace config ([@lchrusciel](https://github.com/lchrusciel)) -- [#10963](https://github.com/Sylius/Sylius/issues/10963) Fix phpspec also on 1.5 ([@Zales0123](https://github.com/Zales0123), [@pamil](https://github.com/pamil)) -- [#10964](https://github.com/Sylius/Sylius/issues/10964) [Behat] Disallow w3c in Behat Selenium session ([@Zales0123](https://github.com/Zales0123)) -- [#10979](https://github.com/Sylius/Sylius/issues/10979) [Installation] Inform about BitBagCommerce/SyliusCmsPlugin after installing Sylius ([@AdamKasp](https://github.com/AdamKasp)) -- [#10995](https://github.com/Sylius/Sylius/issues/10995) Move Taxation core service from TaxationBundle to CoreBundle ([@hmonglee](https://github.com/hmonglee)) -- [#11005](https://github.com/Sylius/Sylius/issues/11005) SyliusGridBundle downgrade lock ([@Tomanhez](https://github.com/Tomanhez), [@lchrusciel](https://github.com/lchrusciel)) -- [#11006](https://github.com/Sylius/Sylius/issues/11006) [API] Fixed OrderController save action issue in not html requests ([@pfazzi](https://github.com/pfazzi)) -- [#11013](https://github.com/Sylius/Sylius/issues/11013) Fix typo in PromotionCouponFactoryInterface ([@pamil](https://github.com/pamil)) -- [#11019](https://github.com/Sylius/Sylius/issues/11019) [Documentation] Add hint about disabling autowire when extending a controller ([@adrianmarte](https://github.com/adrianmarte)) -- [#11022](https://github.com/Sylius/Sylius/issues/11022) Clarify release process regarding PHP versions + update the table ([@pamil](https://github.com/pamil)) -- [#11024](https://github.com/Sylius/Sylius/issues/11024) Replace unbound behat/mink dependency with tagged friends-of-behat/mink fork ([@pamil](https://github.com/pamil)) - -## v1.5.7, v1.5.8 (2019-12-03, 2019-12-05) - -#### CVE-2019-16768: Internal exception message exposure in login action. - -**Details:** - -Exception messages from internal exceptions (like database exception) are wrapped by -`\Symfony\Component\Security\Core\Exception\AuthenticationServiceException` and propagated through the system to UI. -Therefore, some internal system information may leak and be visible to the customer. - -A validation message with the exception details will be presented to the user when one will try to log into the shop. - -**Solution:** - -This release patches the reported vulnerability. The `src/Sylius/Bundle/UiBundle/Resources/views/Security/_login.html.twig` -file from Sylius should be overridden and `{{ messages.error(last_error.message) }}` changed to `{{ messages.error(last_error.messageKey) }}`. - -#### Details - -- [#10835](https://github.com/Sylius/Sylius/issues/10835) Improve deprecation message for "Sylius\Bundle\CoreBundle\Application\Kernel" ([@pamil](https://github.com/pamil)) -- [#10841](https://github.com/Sylius/Sylius/issues/10841) [Docs] Include link to ShopApi docs to REST API Reference ([@Zales0123](https://github.com/Zales0123)) -- [#10846](https://github.com/Sylius/Sylius/issues/10846) [Order] Include order unit promotion adjustments and order item promotion adjustments in order promotion total ([@Tomanhez](https://github.com/Tomanhez)) -- [#10849](https://github.com/Sylius/Sylius/issues/10849) Move ShopApi reference to main menu ([@Zales0123](https://github.com/Zales0123)) -- [#10855](https://github.com/Sylius/Sylius/issues/10855) [Docs] Open external links in a new tab ([@Zales0123](https://github.com/Zales0123)) -- [#10857](https://github.com/Sylius/Sylius/issues/10857) Change readme banner ([@kulczy](https://github.com/kulczy)) -- [#10880](https://github.com/Sylius/Sylius/issues/10880) [Promotion] Improve coupon generation validation message ([@GSadee](https://github.com/GSadee)) -- [#10881](https://github.com/Sylius/Sylius/issues/10881) Add docs banner ([@kulczy](https://github.com/kulczy)) -- [#10891](https://github.com/Sylius/Sylius/issues/10891) Update release process docs for 1.2 ([@pamil](https://github.com/pamil)) - -## v1.5.6 (2019-11-11) - -#### Details - -- [#9931](https://github.com/Sylius/Sylius/issues/9931) [Payum] infinite loop on state machine exception fixed ([@tautelis](https://github.com/tautelis)) -- [#10734](https://github.com/Sylius/Sylius/issues/10734) Added: TimestampableInterface to core TaxonInterface (fixes #10728) ([@igormukhingmailcom](https://github.com/igormukhingmailcom)) -- [#10748](https://github.com/Sylius/Sylius/issues/10748) Switch statement conditions ([@mikemix](https://github.com/mikemix)) -- [#10750](https://github.com/Sylius/Sylius/issues/10750) Fix compound form errors ([@loic425](https://github.com/loic425)) -- [#10752](https://github.com/Sylius/Sylius/issues/10752) Translate attribute type on attributes grid ([@loic425](https://github.com/loic425)) -- [#10755](https://github.com/Sylius/Sylius/issues/10755) [Docs] Add tag that stripe is outdated and add SCA note ([@Tomanhez](https://github.com/Tomanhez), [@GSadee](https://github.com/GSadee)) -- [#10761](https://github.com/Sylius/Sylius/issues/10761) Replace EntityManager#flush($entity) by EntityManager#flush() ([@twojtylak](https://github.com/twojtylak)) -- [#10764](https://github.com/Sylius/Sylius/issues/10764) [Behat] Fix a typo on Paypal context ([@loic425](https://github.com/loic425)) -- [#10769](https://github.com/Sylius/Sylius/issues/10769) Remove unsupported RBAC plugin from command and docs ([@GSadee](https://github.com/GSadee)) -- [#10773](https://github.com/Sylius/Sylius/issues/10773) Update ad url ([@kulczy](https://github.com/kulczy)) -- [#10776](https://github.com/Sylius/Sylius/issues/10776) [Behat] Remove final on product index and product variant index pages ([@loic425](https://github.com/loic425)) -- [#10781](https://github.com/Sylius/Sylius/issues/10781) Allow no default tax zone in channel fixtures ([@pamil](https://github.com/pamil)) -- [#10790](https://github.com/Sylius/Sylius/issues/10790) [ShippingMethod] Do not allow to specify shipping charge below 0 ([@Zales0123](https://github.com/Zales0123)) -- [#10792](https://github.com/Sylius/Sylius/issues/10792) [Behat][Admin] Add scenarios for validating default locale for a channel ([@GSadee](https://github.com/GSadee)) -- [#10793](https://github.com/Sylius/Sylius/issues/10793) [Admin][Channel] Validating default locale for a channel ([@GSadee](https://github.com/GSadee)) -- [#10805](https://github.com/Sylius/Sylius/issues/10805) [Addressing] Make sure the CountryNameExtension::translateCountryIsoCode() always returns a string ([@vvasiloi](https://github.com/vvasiloi)) -- [#10806](https://github.com/Sylius/Sylius/issues/10806) [Order] include order promotion adjustments in order promotion total ([@vvasiloi](https://github.com/vvasiloi)) -- [#10819](https://github.com/Sylius/Sylius/issues/10819) Fixed: Typo/artifact ([@igormukhingmailcom](https://github.com/igormukhingmailcom)) -- [#10820](https://github.com/Sylius/Sylius/issues/10820) Rename shop user factory to help autowiring ([@loic425](https://github.com/loic425)) -- [#10821](https://github.com/Sylius/Sylius/issues/10821) Specify PHP version for SymfonyInsights ([@pamil](https://github.com/pamil)) -- [#10823](https://github.com/Sylius/Sylius/issues/10823) Remove unnecessary +x chmod on some files ([@pamil](https://github.com/pamil)) -- [#10824](https://github.com/Sylius/Sylius/issues/10824) Use SessionInterface instead of Session in UserImpersonator ([@pamil](https://github.com/pamil)) -- [#10825](https://github.com/Sylius/Sylius/issues/10825) Fixed: Typo at grid configuration example ([@igormukhingmailcom](https://github.com/igormukhingmailcom)) -- [#10826](https://github.com/Sylius/Sylius/issues/10826) Execute PHPUnit tests inside AdminApiBundle ([@pamil](https://github.com/pamil)) -- [#10832](https://github.com/Sylius/Sylius/issues/10832) Do not merge promotion action configuration ([@pamil](https://github.com/pamil)) - -## v1.5.5 (2019-10-08) - -#### Details - -- [#10641](https://github.com/Sylius/Sylius/issues/10641) [Documentation] Fixtures customization guides - fixes ([@CoderMaggie](https://github.com/CoderMaggie), [@Zales0123](https://github.com/Zales0123)) -- [#10644](https://github.com/Sylius/Sylius/issues/10644) [Documentation] Add tip about locked adjustments ([@j0r1s](https://github.com/j0r1s)) -- [#10645](https://github.com/Sylius/Sylius/issues/10645) [Docs] Fix Blackfire Ad ([@Tomanhez](https://github.com/Tomanhez)) -- [#10646](https://github.com/Sylius/Sylius/issues/10646) [Docs] Fix Ad ([@Tomanhez](https://github.com/Tomanhez)) -- [#10649](https://github.com/Sylius/Sylius/issues/10649) Update online course ad ([@kulczy](https://github.com/kulczy)) -- [#10652](https://github.com/Sylius/Sylius/issues/10652) Add Sylius 1.6 banner to the docs ([@kulczy](https://github.com/kulczy)) -- [#10667](https://github.com/Sylius/Sylius/issues/10667) Improve GUS information notification ([@Zales0123](https://github.com/Zales0123)) -- [#10680](https://github.com/Sylius/Sylius/issues/10680) Fix ChannelCollector related serialization issue in Symfony profiler ([@ostrolucky](https://github.com/ostrolucky)) -- [#10701](https://github.com/Sylius/Sylius/issues/10701) [Maintenance] Update docs with v1.6 ([@lchrusciel](https://github.com/lchrusciel)) -- [#10710](https://github.com/Sylius/Sylius/issues/10710) [Address book] Extensibility improvements ([@cyrosy](https://github.com/cyrosy)) -- [#10713](https://github.com/Sylius/Sylius/issues/10713) [Behat] Improve dashboard page extensibility ([@loic425](https://github.com/loic425)) -- [#10727](https://github.com/Sylius/Sylius/issues/10727) Fix channels label size and alignment ([@kulczy](https://github.com/kulczy)) -- [#10732](https://github.com/Sylius/Sylius/issues/10732) Update course ad ([@kulczy](https://github.com/kulczy)) -- [#10739](https://github.com/Sylius/Sylius/issues/10739) [Admin][Adressing] fixed province code validation regex ([@twojtylak](https://github.com/twojtylak)) -- [#10742](https://github.com/Sylius/Sylius/issues/10742) Fix the build for 1.5 and 1.6 branches ([@pamil](https://github.com/pamil)) - -## v1.5.4 (2019-08-27) - -#### Details - -- [#10395](https://github.com/Sylius/Sylius/issues/10395) [Docs] How to add your custom fixtures? ([@Tomanhez](https://github.com/Tomanhez)) -- [#10397](https://github.com/Sylius/Sylius/issues/10397) [Docs]How to add your custom fixture suites? ([@Tomanhez](https://github.com/Tomanhez)) -- [#10512](https://github.com/Sylius/Sylius/issues/10512) [Admin] Improve breadcrumbs (especially for ProductVariants and PromotionCoupons) ([@CoderMaggie](https://github.com/CoderMaggie)) -- [#10540](https://github.com/Sylius/Sylius/issues/10540) Skip oauth_user_factory_is_not_overridden test if HWIOAuthBundle is not installed ([@vvasiloi](https://github.com/vvasiloi)) -- [#10553](https://github.com/Sylius/Sylius/issues/10553) Flags are not languages ([@vvasiloi](https://github.com/vvasiloi)) -- [#10558](https://github.com/Sylius/Sylius/issues/10558) Allow translation of custom labels ([@Prometee](https://github.com/Prometee)) -- [#10564](https://github.com/Sylius/Sylius/issues/10564) [Fixture] Improve order fixture ([@Zales0123](https://github.com/Zales0123)) -- [#10571](https://github.com/Sylius/Sylius/issues/10571) Update custom-promotion-rule.rst ([@jmwill86](https://github.com/jmwill86)) -- [#10579](https://github.com/Sylius/Sylius/issues/10579) Fix lazy choice tree will not automatically expanded ([@tom10271](https://github.com/tom10271)) -- [#10583](https://github.com/Sylius/Sylius/issues/10583) Enable sorting of customer orders in admin panel ([@pamil](https://github.com/pamil)) -- [#10589](https://github.com/Sylius/Sylius/issues/10589) [Documentation][Cookbook] How to integrate a Payment Gateway as a Plugin? ([@lchrusciel](https://github.com/lchrusciel)) -- [#10598](https://github.com/Sylius/Sylius/issues/10598) Add course ad ([@kulczy](https://github.com/kulczy)) -- [#10599](https://github.com/Sylius/Sylius/issues/10599) [Documentation] Delete additional lines to remove ShopBundle ([@wpje](https://github.com/wpje)) -- [#10600](https://github.com/Sylius/Sylius/issues/10600) [Documentation][Minor] Removing redundant dots ([@lchrusciel](https://github.com/lchrusciel)) -- [#10601](https://github.com/Sylius/Sylius/issues/10601) Change course CTA ([@kulczy](https://github.com/kulczy)) -- [#10603](https://github.com/Sylius/Sylius/issues/10603) [Shop] Promotion integrity checker fix ([@lchrusciel](https://github.com/lchrusciel)) -- [#10605](https://github.com/Sylius/Sylius/issues/10605) [Admin][Shipment] Not displaying shipments in cart state on the list ([@GSadee](https://github.com/GSadee)) -- [#10608](https://github.com/Sylius/Sylius/issues/10608) [Docs] Fix incorrect documentation regarding payments ([@dimaip](https://github.com/dimaip)) -- [#10609](https://github.com/Sylius/Sylius/issues/10609) [Documentation][Minor] Proper comment in xml file ([@lchrusciel](https://github.com/lchrusciel)) -- [#10613](https://github.com/Sylius/Sylius/issues/10613) [PayumBundle] Use Payment amount in Payum gateways actions (, [@Zales0123](https://github.com/Zales0123)) -- [#10618](https://github.com/Sylius/Sylius/issues/10618) [Fixtures] Allow no shipping and payments in fixtures ([@igormukhingmailcom](https://github.com/igormukhingmailcom), [@Zales0123](https://github.com/Zales0123)) -- [#10624](https://github.com/Sylius/Sylius/issues/10624) Disable chrome autocomplete ([@kulczy](https://github.com/kulczy)) -- [#10626](https://github.com/Sylius/Sylius/issues/10626) [Fixture] Do not skip payments and shipments manually ([@Zales0123](https://github.com/Zales0123)) -- [#10629](https://github.com/Sylius/Sylius/issues/10629) [Docs] Add missing items to customization guide menu ([@Zales0123](https://github.com/Zales0123)) -- [#10633](https://github.com/Sylius/Sylius/issues/10633) Add Blackfire ad ([@kulczy](https://github.com/kulczy)) -- [#10634](https://github.com/Sylius/Sylius/issues/10634) Add Blackfire logo ([@kulczy](https://github.com/kulczy)) - -## v1.5.3 (2019-07-25) - -#### Details - -- [#10069](https://github.com/Sylius/Sylius/issues/10069) [ShopBundle][PayumBundle] FIX payum authorize route ([@JaisDK](https://github.com/JaisDK), [@pamil](https://github.com/pamil), [@lchrusciel](https://github.com/lchrusciel)) -- [#10116](https://github.com/Sylius/Sylius/issues/10116) Allow nullable shop billing data ([@Zales0123](https://github.com/Zales0123), [@pamil](https://github.com/pamil)) -- [#10121](https://github.com/Sylius/Sylius/issues/10121) [GridBundle] Doc improvement ([@Roshyo](https://github.com/Roshyo)) -- [#10149](https://github.com/Sylius/Sylius/issues/10149) Add index on order.cart + order.updated_at for faster expired cart removal selection ([@stefandoorn](https://github.com/stefandoorn)) -- [#10161](https://github.com/Sylius/Sylius/issues/10161) Orders index API endpoint ([@JaisDK](https://github.com/JaisDK), [@Zales0123](https://github.com/Zales0123)) -- [#10163](https://github.com/Sylius/Sylius/issues/10163) [BuildFix] Fix AbstractMigration use statement ([@Zales0123](https://github.com/Zales0123)) -- [#10166](https://github.com/Sylius/Sylius/issues/10166) ShopBillingData fixtures ([@Zales0123](https://github.com/Zales0123)) -- [#10199](https://github.com/Sylius/Sylius/issues/10199) Allowing options to be given with resource[0].id syntax ([@Roshyo](https://github.com/Roshyo)) -- [#10202](https://github.com/Sylius/Sylius/issues/10202) Expanding the customer fixtures ([@mamazu](https://github.com/mamazu)) -- [#10209](https://github.com/Sylius/Sylius/issues/10209) [Shop] Use first variant image on a cart page ([@castler](https://github.com/castler), [@Zales0123](https://github.com/Zales0123)) -- [#10212](https://github.com/Sylius/Sylius/issues/10212) Update UPGRADE-1.3.md diff link ([@oallain](https://github.com/oallain)) -- [#10233](https://github.com/Sylius/Sylius/issues/10233) Payment status at order history page ([@AdamKasp](https://github.com/AdamKasp)) -- [#10234](https://github.com/Sylius/Sylius/issues/10234) Orders shipment status ([@Tomanhez](https://github.com/Tomanhez)) -- [#10240](https://github.com/Sylius/Sylius/issues/10240) #9965 Feature/local in sylius install ([@oallain](https://github.com/oallain)) -- [#10249](https://github.com/Sylius/Sylius/issues/10249) Browsing shipments ([@AdamKasp](https://github.com/AdamKasp)) -- [#10250](https://github.com/Sylius/Sylius/issues/10250) See Manage coupons from template edit promotion ([@Tomanhez](https://github.com/Tomanhez)) -- [#10258](https://github.com/Sylius/Sylius/issues/10258) Changing shipment state in shipment index ([@AdamKasp](https://github.com/AdamKasp)) -- [#10260](https://github.com/Sylius/Sylius/issues/10260) Show order directly from shipments page ([@AdamKasp](https://github.com/AdamKasp)) -- [#10271](https://github.com/Sylius/Sylius/issues/10271) select filter + filter shipment by state ([@AdamKasp](https://github.com/AdamKasp)) -- [#10281](https://github.com/Sylius/Sylius/issues/10281) Improved: Product fixture (fixed #10272) ([@igormukhingmailcom](https://github.com/igormukhingmailcom)) -- [#10310](https://github.com/Sylius/Sylius/issues/10310) [PromotionCoupon] Non reusable coupons after cancelling the orders ([@GSadee](https://github.com/GSadee)) -- [#10316](https://github.com/Sylius/Sylius/issues/10316) [Admin][Product] Access the variants management from product edit page ([@GSadee](https://github.com/GSadee)) -- [#10318](https://github.com/Sylius/Sylius/issues/10318) [Admin][Promotion] Update promotion menu builder name to be consistent with other ([@GSadee](https://github.com/GSadee)) -- [#10346](https://github.com/Sylius/Sylius/issues/10346) Fix the master build by requiring ^1.5 Grid & GridBundle ([@pamil](https://github.com/pamil)) -- [#10380](https://github.com/Sylius/Sylius/issues/10380) [Behat] Fix duplicate step definition ([@Zales0123](https://github.com/Zales0123)) -- [#10410](https://github.com/Sylius/Sylius/issues/10410) Fix typo ([@dnna](https://github.com/dnna)) -- [#10496](https://github.com/Sylius/Sylius/issues/10496) [UPGRADE] Mention locale requirement change in UPGRADE-1.5 ([@Zales0123](https://github.com/Zales0123)) - -## v1.5.2 (2019-06-20) - -#### Details - -- [#10191](https://github.com/Sylius/Sylius/issues/10191) [taxon_fixtures] Fix child taxon slug generation ([@tannyl](https://github.com/tannyl)) -- [#10371](https://github.com/Sylius/Sylius/issues/10371) [Docs] How to find out the resource config required when customizing models ([@4c0n](https://github.com/4c0n)) -- [#10384](https://github.com/Sylius/Sylius/issues/10384) "Getting Started with Sylius" guide ([@Zales0123](https://github.com/Zales0123), [@CoderMaggie](https://github.com/CoderMaggie)) -- [#10389](https://github.com/Sylius/Sylius/issues/10389) [UI] Hide filters by default on index pages ([@Zales0123](https://github.com/Zales0123), [@pamil](https://github.com/pamil)) -- [#10404](https://github.com/Sylius/Sylius/issues/10404) Fix huge autocomplete queries issue ([@bitbager](https://github.com/bitbager), [@pamil](https://github.com/pamil)) -- [#10410](https://github.com/Sylius/Sylius/issues/10410) Fix typo ([@dnna](https://github.com/dnna)) -- [#10412](https://github.com/Sylius/Sylius/issues/10412) [Docs] Added tip for using group sequence validations ([@4c0n](https://github.com/4c0n)) -- [#10423](https://github.com/Sylius/Sylius/issues/10423) [Doc] End of bugfix support for 1.3 ([@lchrusciel](https://github.com/lchrusciel)) -- [#10426](https://github.com/Sylius/Sylius/issues/10426) Using client from browser kit component instead of http kernel component ([@loevgaard](https://github.com/loevgaard)) -- [#10432](https://github.com/Sylius/Sylius/issues/10432) Add known errors section to UPGRADE file ([@pamil](https://github.com/pamil)) -- [#10433](https://github.com/Sylius/Sylius/issues/10433) Bump fstream from 1.0.11 to 1.0.12 ([@dependabot](https://github.com/dependabot)[[@bot](https://github.com/bot)]) -- [#10440](https://github.com/Sylius/Sylius/issues/10440) Fix removing taxons with numeric codes from products ([@vvasiloi](https://github.com/vvasiloi)) -- [#10445](https://github.com/Sylius/Sylius/issues/10445) Fix typos and grammar in the Getting Started guide ([@pamil](https://github.com/pamil)) -- [#10446](https://github.com/Sylius/Sylius/issues/10446) Update the 1.1 version status in the release process docs ([@pamil](https://github.com/pamil)) -- [#10450](https://github.com/Sylius/Sylius/issues/10450) Fix interfaces mapping in Doctrine for admin user and shop user ([@pamil](https://github.com/pamil)) -- [#10462](https://github.com/Sylius/Sylius/issues/10462) [Docs] Update Sylius versions in installation and contribution guides ([@GSadee](https://github.com/GSadee)) - -## v1.5.1 (2019-05-29) - -#### Details - -- [#10364](https://github.com/Sylius/Sylius/issues/10364) As an Administrator, I want always to have proper option values selected while editing a product variant ([@Tomanhez](https://github.com/Tomanhez), [@monro93](https://github.com/monro93)) -- [#10372](https://github.com/Sylius/Sylius/issues/10372) Image display in edit form ([@AdamKasp](https://github.com/AdamKasp)) -- [#10375](https://github.com/Sylius/Sylius/issues/10375) [Docs] Update "Customizing State Machine" ([@AdamKasp](https://github.com/AdamKasp)) -- [#10386](https://github.com/Sylius/Sylius/issues/10386) [Build Fix][Behat] Change scenarios to @javascript due to taxon tree changes ([@Zales0123](https://github.com/Zales0123)) -- [#10394](https://github.com/Sylius/Sylius/issues/10394) Fix error caused by the taxon tree ([@kulczy](https://github.com/kulczy)) -- [#10407](https://github.com/Sylius/Sylius/issues/10407) Bump the Sylius release versions in docs ([@teohhanhui](https://github.com/teohhanhui)) -- [#10414](https://github.com/Sylius/Sylius/issues/10414) Use HTTPS links when possible ([@javiereguiluz](https://github.com/javiereguiluz)) - -## v1.5.0 (2019-05-15) - -#### TL;DR - -- Extracted packages from the core ([#10325](https://github.com/Sylius/Sylius/issues/10325), [#10326](https://github.com/Sylius/Sylius/issues/10326), [#10327](https://github.com/Sylius/Sylius/issues/10327)) -- Added order index API endpoint ([#10161](https://github.com/Sylius/Sylius/issues/10161)) -- Added ability to customise whether coupons should be reusable after canceling an order using them ([#10310](https://github.com/Sylius/Sylius/issues/10310)) -- Added shipments list view in the admin panel ([#10249](https://github.com/Sylius/Sylius/issues/10249)) -- Added ability to define locale used by Sylius during the installation ([#10240](https://github.com/Sylius/Sylius/issues/10240)) - -#### Details - -- [#10069](https://github.com/Sylius/Sylius/issues/10069) [ShopBundle][PayumBundle] FIX payum authorize route ([@JaisDK](https://github.com/JaisDK), [@pamil](https://github.com/pamil), [@lchrusciel](https://github.com/lchrusciel)) -- [#10116](https://github.com/Sylius/Sylius/issues/10116) Allow nullable shop billing data ([@Zales0123](https://github.com/Zales0123), [@pamil](https://github.com/pamil)) -- [#10121](https://github.com/Sylius/Sylius/issues/10121) [GridBundle] Doc improvement ([@Roshyo](https://github.com/Roshyo)) -- [#10149](https://github.com/Sylius/Sylius/issues/10149) Add index on order.cart + order.updated_at for faster expired cart removal selection ([@stefandoorn](https://github.com/stefandoorn)) -- [#10161](https://github.com/Sylius/Sylius/issues/10161) Orders index API endpoint ([@JaisDK](https://github.com/JaisDK), [@Zales0123](https://github.com/Zales0123)) -- [#10163](https://github.com/Sylius/Sylius/issues/10163) [BuildFix] Fix AbstractMigration use statement ([@Zales0123](https://github.com/Zales0123)) -- [#10166](https://github.com/Sylius/Sylius/issues/10166) ShopBillingData fixtures ([@Zales0123](https://github.com/Zales0123)) -- [#10199](https://github.com/Sylius/Sylius/issues/10199) Allowing options to be given with resource[0].id syntax ([@Roshyo](https://github.com/Roshyo)) -- [#10202](https://github.com/Sylius/Sylius/issues/10202) Expanding the customer fixtures ([@mamazu](https://github.com/mamazu)) -- [#10209](https://github.com/Sylius/Sylius/issues/10209) [Shop] Use first variant image on a cart page ([@castler](https://github.com/castler), [@Zales0123](https://github.com/Zales0123)) -- [#10233](https://github.com/Sylius/Sylius/issues/10233) Payment status at order history page ([@AdamKasp](https://github.com/AdamKasp)) -- [#10234](https://github.com/Sylius/Sylius/issues/10234) Orders shipment status ([@Tomanhez](https://github.com/Tomanhez)) -- [#10240](https://github.com/Sylius/Sylius/issues/10240) #9965 Feature/local in sylius install ([@oallain](https://github.com/oallain)) -- [#10249](https://github.com/Sylius/Sylius/issues/10249) Browsing shipments ([@AdamKasp](https://github.com/AdamKasp)) -- [#10250](https://github.com/Sylius/Sylius/issues/10250) See Manage coupons from template edit promotion ([@Tomanhez](https://github.com/Tomanhez)) -- [#10258](https://github.com/Sylius/Sylius/issues/10258) Changing shipment state in shipment index ([@AdamKasp](https://github.com/AdamKasp)) -- [#10260](https://github.com/Sylius/Sylius/issues/10260) Show order directly from shipments page ([@AdamKasp](https://github.com/AdamKasp)) -- [#10271](https://github.com/Sylius/Sylius/issues/10271) select filter + filter shipment by state ([@AdamKasp](https://github.com/AdamKasp)) -- [#10281](https://github.com/Sylius/Sylius/issues/10281) Improved: Product fixture (fixed #10272) ([@igormukhingmailcom](https://github.com/igormukhingmailcom)) -- [#10310](https://github.com/Sylius/Sylius/issues/10310) [PromotionCoupon] Non reusable coupons after cancelling the orders ([@GSadee](https://github.com/GSadee)) -- [#10316](https://github.com/Sylius/Sylius/issues/10316) [Admin][Product] Access the variants management from product edit page ([@GSadee](https://github.com/GSadee)) -- [#10318](https://github.com/Sylius/Sylius/issues/10318) [Admin][Promotion] Update promotion menu builder name to be consistent with other ([@GSadee](https://github.com/GSadee)) -- [#10346](https://github.com/Sylius/Sylius/issues/10346) Fix the master build by requiring ^1.5 Grid & GridBundle ([@pamil](https://github.com/pamil)) - -## v1.5.0-RC.1 (2019-05-07) - -#### TL;DR - -Will be provided for the stable release. - -#### Details - -- [#10069](https://github.com/Sylius/Sylius/issues/10069) [ShopBundle][PayumBundle] FIX payum authorize route ([@JaisDK](https://github.com/JaisDK), [@pamil](https://github.com/pamil), [@lchrusciel](https://github.com/lchrusciel)) -- [#10116](https://github.com/Sylius/Sylius/issues/10116) Allow nullable shop billing data ([@Zales0123](https://github.com/Zales0123), [@pamil](https://github.com/pamil)) -- [#10121](https://github.com/Sylius/Sylius/issues/10121) [GridBundle] Doc improvement ([@Roshyo](https://github.com/Roshyo)) -- [#10149](https://github.com/Sylius/Sylius/issues/10149) Add index on order.cart + order.updated_at for faster expired cart removal selection ([@stefandoorn](https://github.com/stefandoorn)) -- [#10161](https://github.com/Sylius/Sylius/issues/10161) Orders index API endpoint ([@JaisDK](https://github.com/JaisDK), [@Zales0123](https://github.com/Zales0123)) -- [#10163](https://github.com/Sylius/Sylius/issues/10163) [BuildFix] Fix AbstractMigration use statement ([@Zales0123](https://github.com/Zales0123)) -- [#10166](https://github.com/Sylius/Sylius/issues/10166) ShopBillingData fixtures ([@Zales0123](https://github.com/Zales0123)) -- [#10199](https://github.com/Sylius/Sylius/issues/10199) Allowing options to be given with resource[0].id syntax ([@Roshyo](https://github.com/Roshyo)) -- [#10202](https://github.com/Sylius/Sylius/issues/10202) Expanding the customer fixtures ([@mamazu](https://github.com/mamazu)) -- [#10209](https://github.com/Sylius/Sylius/issues/10209) [Shop] Use first variant image on a cart page ([@castler](https://github.com/castler), [@Zales0123](https://github.com/Zales0123)) -- [#10212](https://github.com/Sylius/Sylius/issues/10212) Update UPGRADE-1.3.md diff link ([@oallain](https://github.com/oallain)) -- [#10233](https://github.com/Sylius/Sylius/issues/10233) Payment status at order history page ([@AdamKasp](https://github.com/AdamKasp)) -- [#10234](https://github.com/Sylius/Sylius/issues/10234) Orders shipment status ([@Tomanhez](https://github.com/Tomanhez)) -- [#10240](https://github.com/Sylius/Sylius/issues/10240) #9965 Feature/local in sylius install ([@oallain](https://github.com/oallain)) -- [#10249](https://github.com/Sylius/Sylius/issues/10249) Browsing shipments ([@AdamKasp](https://github.com/AdamKasp)) -- [#10250](https://github.com/Sylius/Sylius/issues/10250) See Manage coupons from template edit promotion ([@Tomanhez](https://github.com/Tomanhez)) -- [#10258](https://github.com/Sylius/Sylius/issues/10258) Changing shipment state in shipment index ([@AdamKasp](https://github.com/AdamKasp)) -- [#10260](https://github.com/Sylius/Sylius/issues/10260) Show order directly from shipments page ([@AdamKasp](https://github.com/AdamKasp)) -- [#10271](https://github.com/Sylius/Sylius/issues/10271) select filter + filter shipment by state ([@AdamKasp](https://github.com/AdamKasp)) -- [#10281](https://github.com/Sylius/Sylius/issues/10281) Improved: Product fixture (fixed #10272) ([@igormukhingmailcom](https://github.com/igormukhingmailcom)) -- [#10310](https://github.com/Sylius/Sylius/issues/10310) [PromotionCoupon] Non reusable coupons after cancelling the orders ([@GSadee](https://github.com/GSadee)) -- [#10316](https://github.com/Sylius/Sylius/issues/10316) [Admin][Product] Access the variants management from product edit page ([@GSadee](https://github.com/GSadee)) -- [#10318](https://github.com/Sylius/Sylius/issues/10318) [Admin][Promotion] Update promotion menu builder name to be consistent with other ([@GSadee](https://github.com/GSadee)) -- [#10346](https://github.com/Sylius/Sylius/issues/10346) Fix the master build by requiring ^1.5 Grid & GridBundle ([@pamil](https://github.com/pamil)) diff --git a/CHANGELOG-1.6.md b/CHANGELOG-1.6.md deleted file mode 100644 index 3d1df6ae58..0000000000 --- a/CHANGELOG-1.6.md +++ /dev/null @@ -1,438 +0,0 @@ -# CHANGELOG FOR `1.6.X` - -## v1.6.9 (2020-10-19) - -#### Details - -- [#11369](https://github.com/Sylius/Sylius/issues/11369) [Docs] Don't use $HOME in SymfonyCloud deployment cookbook ([@tucksaun](https://github.com/tucksaun)) -- [#11387](https://github.com/Sylius/Sylius/issues/11387) Remove the doc reference to a promotion action that no longer exists in Core. ([@gabiudrescu](https://github.com/gabiudrescu)) -- [#11391](https://github.com/Sylius/Sylius/issues/11391) Fallback to the locale code if the associated name isn't found ([@dunglas](https://github.com/dunglas)) -- [#11390](https://github.com/Sylius/Sylius/issues/11390) Bug #9738 Fix nested form collections ([@vic-blt](https://github.com/vic-blt)) -- [#11403](https://github.com/Sylius/Sylius/issues/11403) Fix Autolabeler configuration ([@Zales0123](https://github.com/Zales0123)) -- [#11416](https://github.com/Sylius/Sylius/issues/11416) doc : add the composer dump-autoload instruction ([@davidroberto](https://github.com/davidroberto)) -- [#11450](https://github.com/Sylius/Sylius/issues/11450) [Docs] Enable redirections on ReadTheDocs ([@pamil](https://github.com/pamil)) -- [#11452](https://github.com/Sylius/Sylius/issues/11452) [Docs] Fix redirection for backwards compatibility promise ([@pamil](https://github.com/pamil)) -- [#11944](https://github.com/Sylius/Sylius/issues/11944) [Shop] Disabling customer when email has been changed ([@lchrusciel](https://github.com/lchrusciel)) - -## v1.6.8 (2020-04-21) - -#### Details - -- [#11018](https://github.com/Sylius/Sylius/issues/11018) Fix: Check PropertyPath value for add error to form ([@Coosos](https://github.com/Coosos)) -- [#11191](https://github.com/Sylius/Sylius/issues/11191) Separated order items subtotal calculation logic from twig extension ([@4c0n](https://github.com/4c0n)) -- [#11341](https://github.com/Sylius/Sylius/issues/11341) [Maintenance] Upgrade packages dependencies & fix 1.6 build ([@lchrusciel](https://github.com/lchrusciel)) -- [#11342](https://github.com/Sylius/Sylius/issues/11342) [Maintenance] Remove memory swap ([@lchrusciel](https://github.com/lchrusciel)) -- [#11346](https://github.com/Sylius/Sylius/issues/11346) [ADMIN] fix closed gateway config field in payment method form ([@bigboss86](https://github.com/bigboss86)) -- [#11363](https://github.com/Sylius/Sylius/issues/11363) Introduce Probot Autolabeler ([@Zales0123](https://github.com/Zales0123)) -- [#11364](https://github.com/Sylius/Sylius/issues/11364) fix #11362 : ignore channel locale listener on profiler routes ([@thi3rry](https://github.com/thi3rry)) -- [#11380](https://github.com/Sylius/Sylius/issues/11380) Use !default for SCSS variables to allow overriding them ([@pamil](https://github.com/pamil)) - -## v1.6.7 (2020-03-31) - -#### Details - -- [#11168](https://github.com/Sylius/Sylius/issues/11168) [Docs] Remove sensio.sphinx.refinclude ([@Tomanhez](https://github.com/Tomanhez)) -- [#11111](https://github.com/Sylius/Sylius/issues/11111) [Docs] Recommend trait usage in Plugin Development Guide ([@Zales0123](https://github.com/Zales0123)) -- [#11147](https://github.com/Sylius/Sylius/issues/11147) [Plus Docs] Installation guide improvement and Administrator Roles ([@CoderMaggie](https://github.com/CoderMaggie)) -- [#11169](https://github.com/Sylius/Sylius/issues/11169) [missing return] Update basic-usage ([@DurandSacha](https://github.com/DurandSacha)) -- [#11146](https://github.com/Sylius/Sylius/issues/11146) [Behat][Admin] Fix step with checking number of orders in the list ([@GSadee](https://github.com/GSadee)) -- [#11177](https://github.com/Sylius/Sylius/issues/11177) [Documentation] Sylius Plus docs part 2; including fixes to links ([@CoderMaggie](https://github.com/CoderMaggie)) -- [#11181](https://github.com/Sylius/Sylius/issues/11181) Sylius Plus feature scope update ([@dukusz](https://github.com/dukusz)) -- [#11179](https://github.com/Sylius/Sylius/issues/11179) [Maintenance] Remove uneeded step ([@lchrusciel](https://github.com/lchrusciel)) -- [#11192](https://github.com/Sylius/Sylius/issues/11192) Fixtures: fix French translation of cap ([@dunglas](https://github.com/dunglas)) -- [#11299](https://github.com/Sylius/Sylius/issues/11299) Remove useless interface in custom_fixture.rst ([@dunglas](https://github.com/dunglas)) -- [#11304](https://github.com/Sylius/Sylius/issues/11304) [Docs] Require tagged plugins for Sylius Store ([@Zales0123](https://github.com/Zales0123)) -- [#11310](https://github.com/Sylius/Sylius/issues/11310) Install symfony/polyfill-php80 to fix the psalm build ([@Zales0123](https://github.com/Zales0123)) - -## v1.6.6 (2020-02-28) - -#### Details - -- [#11065](https://github.com/Sylius/Sylius/issues/11065) user provider fix exception ([@oallain](https://github.com/oallain)) -- [#11079](https://github.com/Sylius/Sylius/issues/11079) [Docs] Add organization section to The Book + set up Sphinx redirections ([@pamil](https://github.com/pamil)) -- [#11095](https://github.com/Sylius/Sylius/issues/11095) [Promotion] Generating long coupons ([@oallain](https://github.com/oallain), [@GSadee](https://github.com/GSadee)) -- [#11097](https://github.com/Sylius/Sylius/issues/11097) [Composer] Add conflicts to fix build for Symfony 3.4 ([@GSadee](https://github.com/GSadee)) -- [#11113](https://github.com/Sylius/Sylius/issues/11113) [Docs][Plus] Splitting shipments ([@CoderMaggie](https://github.com/CoderMaggie)) -- [#11114](https://github.com/Sylius/Sylius/issues/11114) Fixed wrongly calculated order-item subtotal ([@peterukena](https://github.com/peterukena)) -- [#11119](https://github.com/Sylius/Sylius/issues/11119) [Docs] Sphinx instalation guide ([@Tomanhez](https://github.com/Tomanhez)) -- [#11130](https://github.com/Sylius/Sylius/issues/11130) Add documentation to deploy Sylius to SymfonyCloud ([@tucksaun](https://github.com/tucksaun)) -- [#11137](https://github.com/Sylius/Sylius/issues/11137) [Docs] Improve installation steps ([@lchrusciel](https://github.com/lchrusciel)) -- [#11142](https://github.com/Sylius/Sylius/issues/11142) [Docs] Mention Minimum stability in plus installation ([@Zales0123](https://github.com/Zales0123)) - -## v1.6.5 (2020-01-27) - -#### CVE-2020-5218: Ability to switch channels via GET parameter enabled in production environments - -*Please refer to [the original security advisory](https://github.com/Sylius/Sylius/security/advisories/GHSA-prg5-hg25-8grq) for the most updated information.* - -**Impact:** - -This vulnerability gives the ability to switch channels via the `_channel_code` GET parameter in production environments. This was meant to be enabled only when `%kernel.debug%` is set to true. - -However, if no `sylius_channel.debug` is set explicitly in the configuration, the default value which is `%kernel.debug%` will be not resolved and cast to boolean, enabling this debug feature even if that parameter is set to false. - -**Patches:** - -Patch has been provided for Sylius 1.3.x and newer - **1.3.16, 1.4.12, 1.5.9, 1.6.5**. Versions older than 1.3 are not covered by our security support anymore. - -**Workarounds:** - -Unsupported versions could be patched by adding the following configuration to run in production: - -```yaml -sylius_channel: - debug: false -``` - -#### Details - -- [#10296](https://github.com/Sylius/Sylius/issues/10296) Product show page ([@kulczy](https://github.com/kulczy), [@AdamKasp](https://github.com/AdamKasp)) -- [#10342](https://github.com/Sylius/Sylius/issues/10342) [Fixture] Togglable default locale loading ([@lchrusciel](https://github.com/lchrusciel)) -- [#10355](https://github.com/Sylius/Sylius/issues/10355) Adding a coupon generator command ([@mamazu](https://github.com/mamazu)) -- [#10361](https://github.com/Sylius/Sylius/issues/10361) Change master branch to v1.6.0-DEV ([@pamil](https://github.com/pamil)) -- [#10382](https://github.com/Sylius/Sylius/issues/10382) [Admin][Shipment] Add filtering shipments by a channel ([@Tomanhez](https://github.com/Tomanhez), [@GSadee](https://github.com/GSadee)) -- [#10383](https://github.com/Sylius/Sylius/issues/10383) [Behat] Make feature filenames consistent with others ([@GSadee](https://github.com/GSadee)) -- [#10388](https://github.com/Sylius/Sylius/issues/10388) Fix product show page margins ([@kulczy](https://github.com/kulczy)) -- [#10391](https://github.com/Sylius/Sylius/issues/10391) [Admin][Product] Show page fixes ([@AdamKasp](https://github.com/AdamKasp)) -- [#10392](https://github.com/Sylius/Sylius/issues/10392) improved code quality ([@oallain](https://github.com/oallain)) -- [#10393](https://github.com/Sylius/Sylius/issues/10393) [Docs] Describe available configuration options for locale fixture ([@lchrusciel](https://github.com/lchrusciel)) -- [#10396](https://github.com/Sylius/Sylius/issues/10396) [Admin] Avoid javascript in saving positions ([@Zales0123](https://github.com/Zales0123)) -- [#10399](https://github.com/Sylius/Sylius/issues/10399) Add info into install command about need of setting the locale in symfony config () -- [#10400](https://github.com/Sylius/Sylius/issues/10400) Add discounts and totals in the cart ([@kulczy](https://github.com/kulczy), [@bartoszpietrzak1994](https://github.com/bartoszpietrzak1994)) -- [#10406](https://github.com/Sylius/Sylius/issues/10406) [Fixtures] Added random generated order complete date ([@AdamKasp](https://github.com/AdamKasp)) -- [#10409](https://github.com/Sylius/Sylius/issues/10409) Create SECURITY.md ([@gabiudrescu](https://github.com/gabiudrescu), [@pamil](https://github.com/pamil)) -- [#10417](https://github.com/Sylius/Sylius/issues/10417) [Admin] Order summary UI + discounts and taxes viewing logic ([@kulczy](https://github.com/kulczy), [@AdamKasp](https://github.com/AdamKasp)) -- [#10419](https://github.com/Sylius/Sylius/issues/10419) Add prices and discounts to the order summary box ([@kulczy](https://github.com/kulczy)) -- [#10420](https://github.com/Sylius/Sylius/issues/10420) Change order summary table ([@kulczy](https://github.com/kulczy), [@AdamKasp](https://github.com/AdamKasp)) -- [#10429](https://github.com/Sylius/Sylius/issues/10429) Add admin user avatar placeholder ([@kulczy](https://github.com/kulczy)) -- [#10438](https://github.com/Sylius/Sylius/issues/10438) Keep all prices in the same currency in checkout ([@pamil](https://github.com/pamil)) -- [#10441](https://github.com/Sylius/Sylius/issues/10441) [Inventory][Product] Move inventory to new tab ([@AdamKasp](https://github.com/AdamKasp)) -- [#10442](https://github.com/Sylius/Sylius/issues/10442) Add an alert about unsaved changes ([@kulczy](https://github.com/kulczy)) -- [#10443](https://github.com/Sylius/Sylius/issues/10443) Unify shipping row on the order summary table ([@kulczy](https://github.com/kulczy)) -- [#10444](https://github.com/Sylius/Sylius/issues/10444) Change dashboard view ([@kulczy](https://github.com/kulczy), [@pamil](https://github.com/pamil)) -- [#10449](https://github.com/Sylius/Sylius/issues/10449) Administrator's avatar ([@Tomanhez](https://github.com/Tomanhez), [@Zales0123](https://github.com/Zales0123)) -- [#10451](https://github.com/Sylius/Sylius/issues/10451) [Admin] Add possibility to configure custom index route in routing ([@GSadee](https://github.com/GSadee)) -- [#10453](https://github.com/Sylius/Sylius/issues/10453) Fix deprecation notice ([@loevgaard](https://github.com/loevgaard)) -- [#10455](https://github.com/Sylius/Sylius/issues/10455) Improve admin product show page UI ([@kulczy](https://github.com/kulczy), [@AdamKasp](https://github.com/AdamKasp), [@GSadee](https://github.com/GSadee)) -- [#10456](https://github.com/Sylius/Sylius/issues/10456) Make image uploader easier to customize ([@Zales0123](https://github.com/Zales0123), [@pamil](https://github.com/pamil)) -- [#10460](https://github.com/Sylius/Sylius/issues/10460) AvatarImage Doctrine mapping fix ([@bartoszpietrzak1994](https://github.com/bartoszpietrzak1994)) -- [#10461](https://github.com/Sylius/Sylius/issues/10461) Fix product show page elements ([@kulczy](https://github.com/kulczy)) -- [#10467](https://github.com/Sylius/Sylius/issues/10467) Drop support for Symfony 4.1 and 4.2 ([@pamil](https://github.com/pamil)) -- [#10471](https://github.com/Sylius/Sylius/issues/10471) Add footer with Sylius version to the admin panel ([@kulczy](https://github.com/kulczy)) -- [#10472](https://github.com/Sylius/Sylius/issues/10472) [Admin] Index of payments ([@Tomanhez](https://github.com/Tomanhez)) -- [#10477](https://github.com/Sylius/Sylius/issues/10477) Improve bulk actions ([@kulczy](https://github.com/kulczy), [@AdamKasp](https://github.com/AdamKasp)) -- [#10482](https://github.com/Sylius/Sylius/issues/10482) [Promotion] Fix Action creation doc ([@pierre-H](https://github.com/pierre-H)) -- [#10483](https://github.com/Sylius/Sylius/issues/10483) [Admin]Admin choose channel in product show page ([@Tomanhez](https://github.com/Tomanhez)) -- [#10484](https://github.com/Sylius/Sylius/issues/10484) [Admin] Minor fixes payment shipment ([@Tomanhez](https://github.com/Tomanhez)) -- [#10485](https://github.com/Sylius/Sylius/issues/10485) [Promotion] Coupon prefix and suffix ([@Zales0123](https://github.com/Zales0123)) -- [#10491](https://github.com/Sylius/Sylius/issues/10491) [Admin] Form validation error ([@Tomanhez](https://github.com/Tomanhez)) -- [#10497](https://github.com/Sylius/Sylius/issues/10497) Minor Fixes - Admin choose channel in product show page ([@Tomanhez](https://github.com/Tomanhez)) -- [#10499](https://github.com/Sylius/Sylius/issues/10499) [Admin] Fix css file ([@GSadee](https://github.com/GSadee)) -- [#10510](https://github.com/Sylius/Sylius/issues/10510) Add avatar preview ([@kulczy](https://github.com/kulczy)) -- [#10514](https://github.com/Sylius/Sylius/issues/10514) [Admin] In sections : edit variant and edit product add button product show page in shop ([@Tomanhez](https://github.com/Tomanhez)) -- [#10516](https://github.com/Sylius/Sylius/issues/10516) Fix Psalm false-positives ([@pamil](https://github.com/pamil)) -- [#10518](https://github.com/Sylius/Sylius/issues/10518) [Admin] Unify order link in Orders, Payments, Shipments ([@Tomanhez](https://github.com/Tomanhez)) -- [#10520](https://github.com/Sylius/Sylius/issues/10520) [Admin] Unify payment and shipment labels ([@GSadee](https://github.com/GSadee)) -- [#10521](https://github.com/Sylius/Sylius/issues/10521) [Admin][Product] Disable show in shop button when product is disabled ([@GSadee](https://github.com/GSadee)) -- [#10522](https://github.com/Sylius/Sylius/issues/10522) Fix 'disabled' label ([@kulczy](https://github.com/kulczy)) -- [#10529](https://github.com/Sylius/Sylius/issues/10529) [Fixtures] Improve fixtures. ([@AdamKasp](https://github.com/AdamKasp)) -- [#10531](https://github.com/Sylius/Sylius/issues/10531) Improve filters UI ([@kulczy](https://github.com/kulczy)) -- [#10534](https://github.com/Sylius/Sylius/issues/10534) [Fixtures] Variant name now is concatenated options value. ([@AdamKasp](https://github.com/AdamKasp)) -- [#10536](https://github.com/Sylius/Sylius/issues/10536) [Docs] Make Plugins and Plugin Development Guide more visible ([@CoderMaggie](https://github.com/CoderMaggie)) -- [#10539](https://github.com/Sylius/Sylius/issues/10539) [Fixtures] Add tax category to product. ([@AdamKasp](https://github.com/AdamKasp)) -- [#10541](https://github.com/Sylius/Sylius/issues/10541) Update README.md ([@AdamKasp](https://github.com/AdamKasp)) -- [#10542](https://github.com/Sylius/Sylius/issues/10542) [Fixtures] Product fixtures in yaml. ([@AdamKasp](https://github.com/AdamKasp)) -- [#10546](https://github.com/Sylius/Sylius/issues/10546) Improve filters ([@kulczy](https://github.com/kulczy)) -- [#10547](https://github.com/Sylius/Sylius/issues/10547) [Admin] Remove avatar ([@Tomanhez](https://github.com/Tomanhez)) -- [#10552](https://github.com/Sylius/Sylius/issues/10552) [Order] Change OrderItemController methods to protected ([@Zales0123](https://github.com/Zales0123)) -- [#10555](https://github.com/Sylius/Sylius/issues/10555) [Admin][AdminUser] Improvements for removing an avatar ([@GSadee](https://github.com/GSadee)) -- [#10560](https://github.com/Sylius/Sylius/issues/10560) [Behat][AdminUser] Fix filename typo ([@GSadee](https://github.com/GSadee)) -- [#10562](https://github.com/Sylius/Sylius/issues/10562) Avoid js when removing product from cart ([@Zales0123](https://github.com/Zales0123)) -- [#10570](https://github.com/Sylius/Sylius/issues/10570) [Fixtures] Added 'tracked' field to product fixture configuration ([@AdamKasp](https://github.com/AdamKasp)) -- [#10572](https://github.com/Sylius/Sylius/issues/10572) [Fixtures] Minor fixes. ([@AdamKasp](https://github.com/AdamKasp)) -- [#10576](https://github.com/Sylius/Sylius/issues/10576) [Fixtures] Jeans attributes names fix ([@CoderMaggie](https://github.com/CoderMaggie)) -- [#10580](https://github.com/Sylius/Sylius/issues/10580) [Admin][Order] Change item to unit discount on summary page ([@GSadee](https://github.com/GSadee)) -- [#10587](https://github.com/Sylius/Sylius/issues/10587) Avoid BC break in ProductExampleFactory ([@Zales0123](https://github.com/Zales0123)) -- [#10588](https://github.com/Sylius/Sylius/issues/10588) [AdminBundle] Payments & Shipments index pages sortable by date ([@Tomanhez](https://github.com/Tomanhez)) -- [#10594](https://github.com/Sylius/Sylius/issues/10594) [CoreBundle] Fixtures creating SimpleProduct, remove options from caps ([@Tomanhez](https://github.com/Tomanhez)) -- [#10595](https://github.com/Sylius/Sylius/issues/10595) Use {{ limit }} to allow min/max value update ([@Prometee](https://github.com/Prometee)) -- [#10596](https://github.com/Sylius/Sylius/issues/10596) [Documentation][Contribution] Improve doc contribution guide ([@lchrusciel](https://github.com/lchrusciel)) -- [#10597](https://github.com/Sylius/Sylius/issues/10597) [AdminBundle] Extract logo to separate twig file ([@Tomanhez](https://github.com/Tomanhez)) -- [#10606](https://github.com/Sylius/Sylius/issues/10606) [Admin][Payment] Not displaying payments in cart state on the list ([@GSadee](https://github.com/GSadee)) -- [#10614](https://github.com/Sylius/Sylius/issues/10614) [AdminBundle] Uncoupled AdminBundle with ShopBundle ([@Tomanhez](https://github.com/Tomanhez)) -- [#10615](https://github.com/Sylius/Sylius/issues/10615) [HOTFIX] [Behat] Fix tax extraction ([@lchrusciel](https://github.com/lchrusciel)) -- [#10616](https://github.com/Sylius/Sylius/issues/10616) [Fixture] Make order fixture more flexible ([@TiMESPLiNTER](https://github.com/TiMESPLiNTER), [@AdamKasp](https://github.com/AdamKasp)) -- [#10617](https://github.com/Sylius/Sylius/issues/10617) Provide an upgrade guide for v1.6.0 ([@pamil](https://github.com/pamil)) -- [#10619](https://github.com/Sylius/Sylius/issues/10619) Sending email after ship shipment on grid ([@AdamKasp](https://github.com/AdamKasp)) -- [#10620](https://github.com/Sylius/Sylius/issues/10620) Fix bug after rebase ([@AdamKasp](https://github.com/AdamKasp)) -- [#10621](https://github.com/Sylius/Sylius/issues/10621) Fix email after complete payment via grid ([@AdamKasp](https://github.com/AdamKasp)) -- [#10627](https://github.com/Sylius/Sylius/issues/10627) Use fallback locale as default for the new administrators ([@pamil](https://github.com/pamil)) -- [#10628](https://github.com/Sylius/Sylius/issues/10628) Fix OrderExampleFactory ([@Zales0123](https://github.com/Zales0123)) -- [#10630](https://github.com/Sylius/Sylius/issues/10630) [HotFix] Proper order of arguments ([@lchrusciel](https://github.com/lchrusciel)) -- [#10631](https://github.com/Sylius/Sylius/issues/10631) [Core] Improved fixture example factory ([@lchrusciel](https://github.com/lchrusciel)) -- [#10636](https://github.com/Sylius/Sylius/issues/10636) [Admin] Proper tests for shipment mailing ([@lchrusciel](https://github.com/lchrusciel)) -- [#10639](https://github.com/Sylius/Sylius/issues/10639) [Admin] Fix sorting on customer orders list ([@lchrusciel](https://github.com/lchrusciel)) -- [#10640](https://github.com/Sylius/Sylius/issues/10640) Revert "[Admin][Shipment] Add filtering shipments by a channel" ([@lchrusciel](https://github.com/lchrusciel)) -- [#10642](https://github.com/Sylius/Sylius/issues/10642) [Admin][Shipment] Add filtering shipments by a channel ([@Tomanhez](https://github.com/Tomanhez), [@GSadee](https://github.com/GSadee)) -- [#10695](https://github.com/Sylius/Sylius/issues/10695) [Admin][Product] Fix displayed stocks on product show page ([@GSadee](https://github.com/GSadee)) -- [#10700](https://github.com/Sylius/Sylius/issues/10700) [Promotion] Remove coupling to core ([@lchrusciel](https://github.com/lchrusciel)) -- [#10716](https://github.com/Sylius/Sylius/issues/10716) Minor fixtures fixes ([@AdamKasp](https://github.com/AdamKasp)) -- [#10733](https://github.com/Sylius/Sylius/issues/10733) Fix 10719 infinite order fixture loading ([@igormukhingmailcom](https://github.com/igormukhingmailcom)) -- [#10744](https://github.com/Sylius/Sylius/issues/10744) [Documentation][Book] Invoices ([@CoderMaggie](https://github.com/CoderMaggie)) -- [#10747](https://github.com/Sylius/Sylius/issues/10747) Remove flashing from the bulk button ([@kulczy](https://github.com/kulczy)) -- [#10760](https://github.com/Sylius/Sylius/issues/10760) Add JQuery Dirtyforms in UPGRADE-1.6.md ([@maximehuran](https://github.com/maximehuran)) -- [#10784](https://github.com/Sylius/Sylius/issues/10784) [Docs] Installation guide update ([@lchrusciel](https://github.com/lchrusciel)) -- [#10837](https://github.com/Sylius/Sylius/issues/10837) Remove unused templating engine from RemoveAvatarAction ([@pamil](https://github.com/pamil)) -- [#10842](https://github.com/Sylius/Sylius/issues/10842) [Docs] Update core team ([@lchrusciel](https://github.com/lchrusciel)) -- [#10844](https://github.com/Sylius/Sylius/issues/10844) Clarify BC promise for final controllers ([@pamil](https://github.com/pamil)) -- [#10853](https://github.com/Sylius/Sylius/issues/10853) [Behat][Admin][Order] Fix scenarios for displaying promotions on 1.6 after upmerge ([@GSadee](https://github.com/GSadee)) -- [#10865](https://github.com/Sylius/Sylius/issues/10865) [Admin][Promotion] Fix the prevention of generating too many coupons ([@GSadee](https://github.com/GSadee)) -- [#10884](https://github.com/Sylius/Sylius/issues/10884) [Plugins][Docs] Plugin technical requirements changes ([@Zales0123](https://github.com/Zales0123)) -- [#10889](https://github.com/Sylius/Sylius/issues/10889) [Fixtures] Update product names ([@CoderMaggie](https://github.com/CoderMaggie)) -- [#10890](https://github.com/Sylius/Sylius/issues/10890) Fix build - remove redundant validation message part ([@Zales0123](https://github.com/Zales0123)) -- [#11046](https://github.com/Sylius/Sylius/issues/11046) [Docs] Update sensio.sphinx ([@Tomanhez](https://github.com/Tomanhez)) -- [#11060](https://github.com/Sylius/Sylius/issues/11060) Fixed typo in services comment ([@codreanulaurentiu](https://github.com/codreanulaurentiu)) -- [#11061](https://github.com/Sylius/Sylius/issues/11061) [Documentation] Backport of #11054 to 1.6 ([@lchrusciel](https://github.com/lchrusciel)) - -## v1.6.3, v1.6.4 (2019-12-03, 2019-12-05) - -#### CVE-2019-16768: Internal exception message exposure in login action. - -**Details:** - -Exception messages from internal exceptions (like database exception) are wrapped by -`\Symfony\Component\Security\Core\Exception\AuthenticationServiceException` and propagated through the system to UI. -Therefore, some internal system information may leak and be visible to the customer. - -A validation message with the exception details will be presented to the user when one will try to log into the shop. - -**Solution:** - -This release patches the reported vulnerability. The `src/Sylius/Bundle/UiBundle/Resources/views/Security/_login.html.twig` -file from Sylius should be overridden and `{{ messages.error(last_error.message) }}` changed to `{{ messages.error(last_error.messageKey) }}`. - -#### Details - -- [#10835](https://github.com/Sylius/Sylius/issues/10835) Improve deprecation message for "Sylius\Bundle\CoreBundle\Application\Kernel" ([@pamil](https://github.com/pamil)) -- [#10837](https://github.com/Sylius/Sylius/issues/10837) Remove unused templating engine from RemoveAvatarAction ([@pamil](https://github.com/pamil)) -- [#10841](https://github.com/Sylius/Sylius/issues/10841) [Docs] Include link to ShopApi docs to REST API Reference ([@Zales0123](https://github.com/Zales0123)) -- [#10842](https://github.com/Sylius/Sylius/issues/10842) [Docs] Update core team ([@lchrusciel](https://github.com/lchrusciel)) -- [#10844](https://github.com/Sylius/Sylius/issues/10844) Clarify BC promise for final controllers ([@pamil](https://github.com/pamil)) -- [#10846](https://github.com/Sylius/Sylius/issues/10846) [Order] Include order unit promotion adjustments and order item promotion adjustments in order promotion total ([@Tomanhez](https://github.com/Tomanhez)) -- [#10849](https://github.com/Sylius/Sylius/issues/10849) Move ShopApi reference to main menu ([@Zales0123](https://github.com/Zales0123)) -- [#10853](https://github.com/Sylius/Sylius/issues/10853) [Behat][Admin][Order] Fix scenarios for displaying promotions on 1.6 after upmerge ([@GSadee](https://github.com/GSadee)) -- [#10855](https://github.com/Sylius/Sylius/issues/10855) [Docs] Open external links in a new tab ([@Zales0123](https://github.com/Zales0123)) -- [#10857](https://github.com/Sylius/Sylius/issues/10857) Change readme banner ([@kulczy](https://github.com/kulczy)) -- [#10865](https://github.com/Sylius/Sylius/issues/10865) [Admin][Promotion] Fix the prevention of generating too many coupons ([@GSadee](https://github.com/GSadee)) -- [#10880](https://github.com/Sylius/Sylius/issues/10880) [Promotion] Improve coupon generation validation message ([@GSadee](https://github.com/GSadee)) -- [#10881](https://github.com/Sylius/Sylius/issues/10881) Add docs banner ([@kulczy](https://github.com/kulczy)) -- [#10889](https://github.com/Sylius/Sylius/issues/10889) [Fixtures] Update product names ([@CoderMaggie](https://github.com/CoderMaggie)) -- [#10890](https://github.com/Sylius/Sylius/issues/10890) Fix build - remove redundant validation message part ([@Zales0123](https://github.com/Zales0123)) -- [#10891](https://github.com/Sylius/Sylius/issues/10891) Update release process docs for 1.2 ([@pamil](https://github.com/pamil)) - -## v1.6.2 (2019-11-11) - -#### Details - -- [#9931](https://github.com/Sylius/Sylius/issues/9931) [Payum] infinite loop on state machine exception fixed ([@tautelis](https://github.com/tautelis)) -- [#10733](https://github.com/Sylius/Sylius/issues/10733) Fix 10719 infinite order fixture loading ([@igormukhingmailcom](https://github.com/igormukhingmailcom)) -- [#10734](https://github.com/Sylius/Sylius/issues/10734) Added: TimestampableInterface to core TaxonInterface (fixes #10728) ([@igormukhingmailcom](https://github.com/igormukhingmailcom)) -- [#10744](https://github.com/Sylius/Sylius/issues/10744) [Documentation][Book] Invoices ([@CoderMaggie](https://github.com/CoderMaggie)) -- [#10748](https://github.com/Sylius/Sylius/issues/10748) Switch statement conditions ([@mikemix](https://github.com/mikemix)) -- [#10750](https://github.com/Sylius/Sylius/issues/10750) Fix compound form errors ([@loic425](https://github.com/loic425)) -- [#10752](https://github.com/Sylius/Sylius/issues/10752) Translate attribute type on attributes grid ([@loic425](https://github.com/loic425)) -- [#10755](https://github.com/Sylius/Sylius/issues/10755) [Docs] Add tag that stripe is outdated and add SCA note ([@Tomanhez](https://github.com/Tomanhez), [@GSadee](https://github.com/GSadee)) -- [#10760](https://github.com/Sylius/Sylius/issues/10760) Add JQuery Dirtyforms in UPGRADE-1.6.md ([@maximehuran](https://github.com/maximehuran)) -- [#10761](https://github.com/Sylius/Sylius/issues/10761) Replace EntityManager#flush($entity) by EntityManager#flush() ([@twojtylak](https://github.com/twojtylak)) -- [#10764](https://github.com/Sylius/Sylius/issues/10764) [Behat] Fix a typo on Paypal context ([@loic425](https://github.com/loic425)) -- [#10769](https://github.com/Sylius/Sylius/issues/10769) Remove unsupported RBAC plugin from command and docs ([@GSadee](https://github.com/GSadee)) -- [#10773](https://github.com/Sylius/Sylius/issues/10773) Update ad url ([@kulczy](https://github.com/kulczy)) -- [#10776](https://github.com/Sylius/Sylius/issues/10776) [Behat] Remove final on product index and product variant index pages ([@loic425](https://github.com/loic425)) -- [#10781](https://github.com/Sylius/Sylius/issues/10781) Allow no default tax zone in channel fixtures ([@pamil](https://github.com/pamil)) -- [#10784](https://github.com/Sylius/Sylius/issues/10784) [Docs] Installation guide update ([@lchrusciel](https://github.com/lchrusciel)) -- [#10790](https://github.com/Sylius/Sylius/issues/10790) [ShippingMethod] Do not allow to specify shipping charge below 0 ([@Zales0123](https://github.com/Zales0123)) -- [#10792](https://github.com/Sylius/Sylius/issues/10792) [Behat][Admin] Add scenarios for validating default locale for a channel ([@GSadee](https://github.com/GSadee)) -- [#10793](https://github.com/Sylius/Sylius/issues/10793) [Admin][Channel] Validating default locale for a channel ([@GSadee](https://github.com/GSadee)) -- [#10805](https://github.com/Sylius/Sylius/issues/10805) [Addressing] Make sure the CountryNameExtension::translateCountryIsoCode() always returns a string ([@vvasiloi](https://github.com/vvasiloi)) -- [#10806](https://github.com/Sylius/Sylius/issues/10806) [Order] include order promotion adjustments in order promotion total ([@vvasiloi](https://github.com/vvasiloi)) -- [#10819](https://github.com/Sylius/Sylius/issues/10819) Fixed: Typo/artifact ([@igormukhingmailcom](https://github.com/igormukhingmailcom)) -- [#10820](https://github.com/Sylius/Sylius/issues/10820) Rename shop user factory to help autowiring ([@loic425](https://github.com/loic425)) -- [#10821](https://github.com/Sylius/Sylius/issues/10821) Specify PHP version for SymfonyInsights ([@pamil](https://github.com/pamil)) -- [#10823](https://github.com/Sylius/Sylius/issues/10823) Remove unnecessary +x chmod on some files ([@pamil](https://github.com/pamil)) -- [#10824](https://github.com/Sylius/Sylius/issues/10824) Use SessionInterface instead of Session in UserImpersonator ([@pamil](https://github.com/pamil)) -- [#10825](https://github.com/Sylius/Sylius/issues/10825) Fixed: Typo at grid configuration example ([@igormukhingmailcom](https://github.com/igormukhingmailcom)) -- [#10826](https://github.com/Sylius/Sylius/issues/10826) Execute PHPUnit tests inside AdminApiBundle ([@pamil](https://github.com/pamil)) -- [#10832](https://github.com/Sylius/Sylius/issues/10832) Do not merge promotion action configuration ([@pamil](https://github.com/pamil)) - -## v1.6.1 (2019-10-08) - -#### Details - -- [#10641](https://github.com/Sylius/Sylius/issues/10641) [Documentation] Fixtures customization guides - fixes ([@CoderMaggie](https://github.com/CoderMaggie), [@Zales0123](https://github.com/Zales0123)) -- [#10644](https://github.com/Sylius/Sylius/issues/10644) [Documentation] Add tip about locked adjustments ([@j0r1s](https://github.com/j0r1s)) -- [#10645](https://github.com/Sylius/Sylius/issues/10645) [Docs] Fix Blackfire Ad ([@Tomanhez](https://github.com/Tomanhez)) -- [#10646](https://github.com/Sylius/Sylius/issues/10646) [Docs] Fix Ad ([@Tomanhez](https://github.com/Tomanhez)) -- [#10649](https://github.com/Sylius/Sylius/issues/10649) Update online course ad ([@kulczy](https://github.com/kulczy)) -- [#10652](https://github.com/Sylius/Sylius/issues/10652) Add Sylius 1.6 banner to the docs ([@kulczy](https://github.com/kulczy)) -- [#10667](https://github.com/Sylius/Sylius/issues/10667) Improve GUS information notification ([@Zales0123](https://github.com/Zales0123)) -- [#10680](https://github.com/Sylius/Sylius/issues/10680) Fix ChannelCollector related serialization issue in Symfony profiler ([@ostrolucky](https://github.com/ostrolucky)) -- [#10695](https://github.com/Sylius/Sylius/issues/10695) [Admin][Product] Fix displayed stocks on product show page ([@GSadee](https://github.com/GSadee)) -- [#10700](https://github.com/Sylius/Sylius/issues/10700) [Promotion] Remove coupling to core ([@lchrusciel](https://github.com/lchrusciel)) -- [#10701](https://github.com/Sylius/Sylius/issues/10701) [Maintenance] Update docs with v1.6 ([@lchrusciel](https://github.com/lchrusciel)) -- [#10710](https://github.com/Sylius/Sylius/issues/10710) [Address book] Extensibility improvements ([@cyrosy](https://github.com/cyrosy)) -- [#10713](https://github.com/Sylius/Sylius/issues/10713) [Behat] Improve dashboard page extensibility ([@loic425](https://github.com/loic425)) -- [#10716](https://github.com/Sylius/Sylius/issues/10716) Minor fixtures fixes ([@AdamKasp](https://github.com/AdamKasp)) -- [#10727](https://github.com/Sylius/Sylius/issues/10727) Fix channels label size and alignment ([@kulczy](https://github.com/kulczy)) -- [#10732](https://github.com/Sylius/Sylius/issues/10732) Update course ad ([@kulczy](https://github.com/kulczy)) -- [#10739](https://github.com/Sylius/Sylius/issues/10739) [Admin][Adressing] fixed province code validation regex ([@twojtylak](https://github.com/twojtylak)) -- [#10742](https://github.com/Sylius/Sylius/issues/10742) Fix the build for 1.5 and 1.6 branches ([@pamil](https://github.com/pamil)) -- [#10747](https://github.com/Sylius/Sylius/issues/10747) Remove flashing from the bulk button ([@kulczy](https://github.com/kulczy)) - -## v1.6.0 (2019-08-29) - -#### Details - -- [#10382](https://github.com/Sylius/Sylius/issues/10382) [Admin][Shipment] Add filtering shipments by a channel ([@Tomanhez](https://github.com/Tomanhez), [@GSadee](https://github.com/GSadee)) -- [#10636](https://github.com/Sylius/Sylius/issues/10636) [Admin] Proper tests for shipment mailing ([@lchrusciel](https://github.com/lchrusciel)) -- [#10639](https://github.com/Sylius/Sylius/issues/10639) [Admin] Fix sorting on customer orders list ([@lchrusciel](https://github.com/lchrusciel)) - -## v1.6.0-RC.1 (2019-08-27) - -#### Details - -- [#10395](https://github.com/Sylius/Sylius/issues/10395) [Docs] How to add your custom fixtures? ([@Tomanhez](https://github.com/Tomanhez)) -- [#10397](https://github.com/Sylius/Sylius/issues/10397) [Docs]How to add your custom fixture suites? ([@Tomanhez](https://github.com/Tomanhez)) -- [#10456](https://github.com/Sylius/Sylius/issues/10456) Make image uploader easier to customize ([@Zales0123](https://github.com/Zales0123), [@pamil](https://github.com/pamil)) -- [#10512](https://github.com/Sylius/Sylius/issues/10512) [Admin] Improve breadcrumbs (especially for ProductVariants and PromotionCoupons) ([@CoderMaggie](https://github.com/CoderMaggie)) -- [#10540](https://github.com/Sylius/Sylius/issues/10540) Skip oauth_user_factory_is_not_overridden test if HWIOAuthBundle is not installed ([@vvasiloi](https://github.com/vvasiloi)) -- [#10547](https://github.com/Sylius/Sylius/issues/10547) [Admin] Remove avatar ([@Tomanhez](https://github.com/Tomanhez)) -- [#10552](https://github.com/Sylius/Sylius/issues/10552) [Order] Change OrderItemController methods to protected ([@Zales0123](https://github.com/Zales0123)) -- [#10553](https://github.com/Sylius/Sylius/issues/10553) Flags are not languages ([@vvasiloi](https://github.com/vvasiloi)) -- [#10555](https://github.com/Sylius/Sylius/issues/10555) [Admin][AdminUser] Improvements for removing an avatar ([@GSadee](https://github.com/GSadee)) -- [#10558](https://github.com/Sylius/Sylius/issues/10558) Allow translation of custom labels ([@Prometee](https://github.com/Prometee)) -- [#10560](https://github.com/Sylius/Sylius/issues/10560) [Behat][AdminUser] Fix filename typo ([@GSadee](https://github.com/GSadee)) -- [#10562](https://github.com/Sylius/Sylius/issues/10562) Avoid js when removing product from cart ([@Zales0123](https://github.com/Zales0123)) -- [#10564](https://github.com/Sylius/Sylius/issues/10564) [Fixture] Improve order fixture ([@Zales0123](https://github.com/Zales0123)) -- [#10570](https://github.com/Sylius/Sylius/issues/10570) [Fixtures] Added 'tracked' field to product fixture configuration ([@AdamKasp](https://github.com/AdamKasp)) -- [#10571](https://github.com/Sylius/Sylius/issues/10571) Update custom-promotion-rule.rst ([@jmwill86](https://github.com/jmwill86)) -- [#10572](https://github.com/Sylius/Sylius/issues/10572) [Fixtures] Minor fixes. ([@AdamKasp](https://github.com/AdamKasp)) -- [#10576](https://github.com/Sylius/Sylius/issues/10576) [Fixtures] Jeans attributes names fix ([@CoderMaggie](https://github.com/CoderMaggie)) -- [#10579](https://github.com/Sylius/Sylius/issues/10579) Fix lazy choice tree will not automatically expanded ([@tom10271](https://github.com/tom10271)) -- [#10580](https://github.com/Sylius/Sylius/issues/10580) [Admin][Order] Change item to unit discount on summary page ([@GSadee](https://github.com/GSadee)) -- [#10583](https://github.com/Sylius/Sylius/issues/10583) Enable sorting of customer orders in admin panel ([@pamil](https://github.com/pamil)) -- [#10587](https://github.com/Sylius/Sylius/issues/10587) Avoid BC break in ProductExampleFactory ([@Zales0123](https://github.com/Zales0123)) -- [#10588](https://github.com/Sylius/Sylius/issues/10588) [AdminBundle] Payments & Shipments index pages sortable by date ([@Tomanhez](https://github.com/Tomanhez)) -- [#10589](https://github.com/Sylius/Sylius/issues/10589) [Documentation][Cookbook] How to integrate a Payment Gateway as a Plugin? ([@lchrusciel](https://github.com/lchrusciel)) -- [#10594](https://github.com/Sylius/Sylius/issues/10594) [CoreBundle] Fixtures creating SimpleProduct, remove options from caps ([@Tomanhez](https://github.com/Tomanhez)) -- [#10595](https://github.com/Sylius/Sylius/issues/10595) Use {{ limit }} to allow min/max value update ([@Prometee](https://github.com/Prometee)) -- [#10596](https://github.com/Sylius/Sylius/issues/10596) [Documentation][Contribution] Improve doc contribution guide ([@lchrusciel](https://github.com/lchrusciel)) -- [#10597](https://github.com/Sylius/Sylius/issues/10597) [AdminBundle] Extract logo to separate twig file ([@Tomanhez](https://github.com/Tomanhez)) -- [#10598](https://github.com/Sylius/Sylius/issues/10598) Add course ad ([@kulczy](https://github.com/kulczy)) -- [#10599](https://github.com/Sylius/Sylius/issues/10599) [Documentation] Delete additional lines to remove ShopBundle ([@wpje](https://github.com/wpje)) -- [#10600](https://github.com/Sylius/Sylius/issues/10600) [Documentation][Minor] Removing redundant dots ([@lchrusciel](https://github.com/lchrusciel)) -- [#10601](https://github.com/Sylius/Sylius/issues/10601) Change course CTA ([@kulczy](https://github.com/kulczy)) -- [#10603](https://github.com/Sylius/Sylius/issues/10603) [Shop] Promotion integrity checker fix ([@lchrusciel](https://github.com/lchrusciel)) -- [#10605](https://github.com/Sylius/Sylius/issues/10605) [Admin][Shipment] Not displaying shipments in cart state on the list ([@GSadee](https://github.com/GSadee)) -- [#10606](https://github.com/Sylius/Sylius/issues/10606) [Admin][Payment] Not displaying payments in cart state on the list ([@GSadee](https://github.com/GSadee)) -- [#10608](https://github.com/Sylius/Sylius/issues/10608) [Docs] Fix incorrect documentation regarding payments ([@dimaip](https://github.com/dimaip)) -- [#10609](https://github.com/Sylius/Sylius/issues/10609) [Documentation][Minor] Proper comment in xml file ([@lchrusciel](https://github.com/lchrusciel)) -- [#10613](https://github.com/Sylius/Sylius/issues/10613) [PayumBundle] Use Payment amount in Payum gateways actions (, [@Zales0123](https://github.com/Zales0123)) -- [#10614](https://github.com/Sylius/Sylius/issues/10614) [AdminBundle] Uncoupled AdminBundle with ShopBundle ([@Tomanhez](https://github.com/Tomanhez)) -- [#10615](https://github.com/Sylius/Sylius/issues/10615) [HOTFIX] [Behat] Fix tax extraction ([@lchrusciel](https://github.com/lchrusciel)) -- [#10616](https://github.com/Sylius/Sylius/issues/10616) [Fixture] Make order fixture more flexible ([@TiMESPLiNTER](https://github.com/TiMESPLiNTER), [@AdamKasp](https://github.com/AdamKasp)) -- [#10617](https://github.com/Sylius/Sylius/issues/10617) Provide an upgrade guide for v1.6.0 ([@pamil](https://github.com/pamil)) -- [#10618](https://github.com/Sylius/Sylius/issues/10618) [Fixtures] Allow no shipping and payments in fixtures ([@igormukhingmailcom](https://github.com/igormukhingmailcom), [@Zales0123](https://github.com/Zales0123)) -- [#10619](https://github.com/Sylius/Sylius/issues/10619) Sending email after ship shipment on grid ([@AdamKasp](https://github.com/AdamKasp)) -- [#10620](https://github.com/Sylius/Sylius/issues/10620) Fix bug after rebase ([@AdamKasp](https://github.com/AdamKasp)) -- [#10621](https://github.com/Sylius/Sylius/issues/10621) Fix email after complete payment via grid ([@AdamKasp](https://github.com/AdamKasp)) -- [#10624](https://github.com/Sylius/Sylius/issues/10624) Disable chrome autocomplete ([@kulczy](https://github.com/kulczy)) -- [#10626](https://github.com/Sylius/Sylius/issues/10626) [Fixture] Do not skip payments and shipments manually ([@Zales0123](https://github.com/Zales0123)) -- [#10627](https://github.com/Sylius/Sylius/issues/10627) Use fallback locale as default for the new administrators ([@pamil](https://github.com/pamil)) -- [#10628](https://github.com/Sylius/Sylius/issues/10628) Fix OrderExampleFactory ([@Zales0123](https://github.com/Zales0123)) -- [#10629](https://github.com/Sylius/Sylius/issues/10629) [Docs] Add missing items to customization guide menu ([@Zales0123](https://github.com/Zales0123)) -- [#10630](https://github.com/Sylius/Sylius/issues/10630) [HotFix] Proper order of arguments ([@lchrusciel](https://github.com/lchrusciel)) -- [#10631](https://github.com/Sylius/Sylius/issues/10631) [Core] Improved fixture example factory ([@lchrusciel](https://github.com/lchrusciel)) -- [#10633](https://github.com/Sylius/Sylius/issues/10633) Add Blackfire ad ([@kulczy](https://github.com/kulczy)) -- [#10634](https://github.com/Sylius/Sylius/issues/10634) Add Blackfire logo ([@kulczy](https://github.com/kulczy)) - -## v1.6.0-ALPHA.2 (2019-07-25) - -#### Details - -- [#10165](https://github.com/Sylius/Sylius/issues/10165) Product attribute fixtures improvements ([@Zales0123](https://github.com/Zales0123), [@pamil](https://github.com/pamil)) -- [#10401](https://github.com/Sylius/Sylius/issues/10401) Psalm ([@loic425](https://github.com/loic425), [@pamil](https://github.com/pamil)) -- [#10464](https://github.com/Sylius/Sylius/issues/10464) Do not crash when duplicated locales are passed to the fixture ([@pamil](https://github.com/pamil)) -- [#10467](https://github.com/Sylius/Sylius/issues/10467) Drop support for Symfony 4.1 and 4.2 ([@pamil](https://github.com/pamil)) -- [#10468](https://github.com/Sylius/Sylius/issues/10468) Remove Symfony workarounds and add conflicts ([@pamil](https://github.com/pamil)) -- [#10471](https://github.com/Sylius/Sylius/issues/10471) Add footer with Sylius version to the admin panel ([@kulczy](https://github.com/kulczy)) -- [#10472](https://github.com/Sylius/Sylius/issues/10472) [Admin] Index of payments ([@Tomanhez](https://github.com/Tomanhez)) -- [#10473](https://github.com/Sylius/Sylius/issues/10473) Update docs to follow Symfony 4 standards ([@pamil](https://github.com/pamil)) -- [#10477](https://github.com/Sylius/Sylius/issues/10477) Improve bulk actions ([@kulczy](https://github.com/kulczy), [@AdamKasp](https://github.com/AdamKasp)) -- [#10482](https://github.com/Sylius/Sylius/issues/10482) [Promotion] Fix Action creation doc ([@pierre-H](https://github.com/pierre-H)) -- [#10483](https://github.com/Sylius/Sylius/issues/10483) [Admin]Admin choose channel in product show page ([@Tomanhez](https://github.com/Tomanhez)) -- [#10484](https://github.com/Sylius/Sylius/issues/10484) [Admin] Minor fixes payment shipment ([@Tomanhez](https://github.com/Tomanhez)) -- [#10485](https://github.com/Sylius/Sylius/issues/10485) [Promotion] Coupon prefix and suffix ([@Zales0123](https://github.com/Zales0123)) -- [#10488](https://github.com/Sylius/Sylius/issues/10488) Marked router dependency as deprecated in admin ImpersonateUserController ([@SebLours](https://github.com/SebLours)) -- [#10489](https://github.com/Sylius/Sylius/issues/10489) Make it possible to have no shipping methods for Order fixtures ([@TiMESPLiNTER](https://github.com/TiMESPLiNTER)) -- [#10491](https://github.com/Sylius/Sylius/issues/10491) [Admin] Form validation error ([@Tomanhez](https://github.com/Tomanhez)) -- [#10492](https://github.com/Sylius/Sylius/issues/10492) [Admin] Minor fixes customer group validation form ([@Tomanhez](https://github.com/Tomanhez)) -- [#10494](https://github.com/Sylius/Sylius/issues/10494) [UI] Fix button groups radius ([@kulczy](https://github.com/kulczy)) -- [#10496](https://github.com/Sylius/Sylius/issues/10496) [UPGRADE] Mention locale requirement change in UPGRADE-1.5 ([@Zales0123](https://github.com/Zales0123)) -- [#10497](https://github.com/Sylius/Sylius/issues/10497) Minor Fixes - Admin choose channel in product show page ([@Tomanhez](https://github.com/Tomanhez)) -- [#10498](https://github.com/Sylius/Sylius/issues/10498) Add search bar css rule for Firefox ([@aloupfor](https://github.com/aloupfor)) -- [#10499](https://github.com/Sylius/Sylius/issues/10499) [Admin] Fix css file ([@GSadee](https://github.com/GSadee)) -- [#10508](https://github.com/Sylius/Sylius/issues/10508) Revert "Make it possible to have no shipping methods for Order fixtures" ([@lchrusciel](https://github.com/lchrusciel)) -- [#10509](https://github.com/Sylius/Sylius/issues/10509) [Admin] Add link to product in variant breadcrumb ([@Tomanhez](https://github.com/Tomanhez)) -- [#10510](https://github.com/Sylius/Sylius/issues/10510) Add avatar preview ([@kulczy](https://github.com/kulczy)) -- [#10514](https://github.com/Sylius/Sylius/issues/10514) [Admin] In sections : edit variant and edit product add button product show page in shop ([@Tomanhez](https://github.com/Tomanhez)) -- [#10516](https://github.com/Sylius/Sylius/issues/10516) Fix Psalm false-positives ([@pamil](https://github.com/pamil)) -- [#10517](https://github.com/Sylius/Sylius/issues/10517) [Grid] Allow not to pass "apply_transition" button class ([@Zales0123](https://github.com/Zales0123)) -- [#10518](https://github.com/Sylius/Sylius/issues/10518) [Admin] Unify order link in Orders, Payments, Shipments ([@Tomanhez](https://github.com/Tomanhez)) -- [#10520](https://github.com/Sylius/Sylius/issues/10520) [Admin] Unify payment and shipment labels ([@GSadee](https://github.com/GSadee)) -- [#10521](https://github.com/Sylius/Sylius/issues/10521) [Admin][Product] Disable show in shop button when product is disabled ([@GSadee](https://github.com/GSadee)) -- [#10522](https://github.com/Sylius/Sylius/issues/10522) Fix 'disabled' label ([@kulczy](https://github.com/kulczy)) -- [#10525](https://github.com/Sylius/Sylius/issues/10525) Bump lodash from 4.17.11 to 4.17.14 ([@dependabot](https://github.com/dependabot)[[@bot](https://github.com/bot)]) -- [#10529](https://github.com/Sylius/Sylius/issues/10529) [Fixtures] Improve fixtures. ([@AdamKasp](https://github.com/AdamKasp)) -- [#10531](https://github.com/Sylius/Sylius/issues/10531) Improve filters UI ([@kulczy](https://github.com/kulczy)) -- [#10534](https://github.com/Sylius/Sylius/issues/10534) [Fixtures] Variant name now is concatenated options value. ([@AdamKasp](https://github.com/AdamKasp)) -- [#10535](https://github.com/Sylius/Sylius/issues/10535) [Shop] Fix passed channel context service to be composite ([@GSadee](https://github.com/GSadee)) -- [#10536](https://github.com/Sylius/Sylius/issues/10536) [Docs] Make Plugins and Plugin Development Guide more visible ([@CoderMaggie](https://github.com/CoderMaggie)) -- [#10539](https://github.com/Sylius/Sylius/issues/10539) [Fixtures] Add tax category to product. ([@AdamKasp](https://github.com/AdamKasp)) -- [#10541](https://github.com/Sylius/Sylius/issues/10541) Update README.md ([@AdamKasp](https://github.com/AdamKasp)) -- [#10542](https://github.com/Sylius/Sylius/issues/10542) [Fixtures] Product fixtures in yaml. ([@AdamKasp](https://github.com/AdamKasp)) -- [#10546](https://github.com/Sylius/Sylius/issues/10546) Improve filters ([@kulczy](https://github.com/kulczy)) -- [#10548](https://github.com/Sylius/Sylius/issues/10548) [HotFix?] Move mysql service to fix the build ([@Zales0123](https://github.com/Zales0123)) - -## v1.6.0-ALPHA.1 (2019-06-20) - -#### Details - -- [#10296](https://github.com/Sylius/Sylius/issues/10296) Product show page ([@kulczy](https://github.com/kulczy), [@AdamKasp](https://github.com/AdamKasp)) -- [#10342](https://github.com/Sylius/Sylius/issues/10342) [Fixture] Togglable default locale loading ([@lchrusciel](https://github.com/lchrusciel)) -- [#10355](https://github.com/Sylius/Sylius/issues/10355) Adding a coupon generator command ([@mamazu](https://github.com/mamazu)) -- [#10361](https://github.com/Sylius/Sylius/issues/10361) Change master branch to v1.6.0-DEV ([@pamil](https://github.com/pamil)) -- [#10383](https://github.com/Sylius/Sylius/issues/10383) [Behat] Make feature filenames consistent with others ([@GSadee](https://github.com/GSadee)) -- [#10388](https://github.com/Sylius/Sylius/issues/10388) Fix product show page margins ([@kulczy](https://github.com/kulczy)) -- [#10391](https://github.com/Sylius/Sylius/issues/10391) [Admin][Product] Show page fixes ([@AdamKasp](https://github.com/AdamKasp)) -- [#10392](https://github.com/Sylius/Sylius/issues/10392) improved code quality ([@oallain](https://github.com/oallain)) -- [#10393](https://github.com/Sylius/Sylius/issues/10393) [Docs] Describe available configuration options for locale fixture ([@lchrusciel](https://github.com/lchrusciel)) -- [#10396](https://github.com/Sylius/Sylius/issues/10396) [Admin] Avoid javascript in saving positions ([@Zales0123](https://github.com/Zales0123)) -- [#10399](https://github.com/Sylius/Sylius/issues/10399) Add info into install command about need of setting the locale in symfony config ([@Holicz](https://github.com/Holicz)) -- [#10400](https://github.com/Sylius/Sylius/issues/10400) Add discounts and totals in the cart ([@kulczy](https://github.com/kulczy), [@bartoszpietrzak1994](https://github.com/bartoszpietrzak1994)) -- [#10406](https://github.com/Sylius/Sylius/issues/10406) [Fixtures] Added random generated order complete date ([@AdamKasp](https://github.com/AdamKasp)) -- [#10409](https://github.com/Sylius/Sylius/issues/10409) Create SECURITY.md ([@gabiudrescu](https://github.com/gabiudrescu), [@pamil](https://github.com/pamil)) -- [#10417](https://github.com/Sylius/Sylius/issues/10417) [Admin] Order summary UI + discounts and taxes viewing logic ([@kulczy](https://github.com/kulczy), [@AdamKasp](https://github.com/AdamKasp)) -- [#10419](https://github.com/Sylius/Sylius/issues/10419) Add prices and discounts to the order summary box ([@kulczy](https://github.com/kulczy)) -- [#10420](https://github.com/Sylius/Sylius/issues/10420) Change order summary table ([@kulczy](https://github.com/kulczy), [@AdamKasp](https://github.com/AdamKasp)) -- [#10429](https://github.com/Sylius/Sylius/issues/10429) Add admin user avatar placeholder ([@kulczy](https://github.com/kulczy)) -- [#10438](https://github.com/Sylius/Sylius/issues/10438) Keep all prices in the same currency in checkout ([@pamil](https://github.com/pamil)) -- [#10441](https://github.com/Sylius/Sylius/issues/10441) [Inventory][Product] Move inventory to new tab ([@AdamKasp](https://github.com/AdamKasp)) -- [#10442](https://github.com/Sylius/Sylius/issues/10442) Add an alert about unsaved changes ([@kulczy](https://github.com/kulczy)) -- [#10443](https://github.com/Sylius/Sylius/issues/10443) Unify shipping row on the order summary table ([@kulczy](https://github.com/kulczy)) -- [#10444](https://github.com/Sylius/Sylius/issues/10444) Change dashboard view ([@kulczy](https://github.com/kulczy), [@pamil](https://github.com/pamil)) -- [#10449](https://github.com/Sylius/Sylius/issues/10449) Administrator's avatar ([@Tomanhez](https://github.com/Tomanhez), [@Zales0123](https://github.com/Zales0123)) -- [#10451](https://github.com/Sylius/Sylius/issues/10451) [Admin] Add possibility to configure custom index route in routing ([@GSadee](https://github.com/GSadee)) -- [#10453](https://github.com/Sylius/Sylius/issues/10453) Fix deprecation notice ([@loevgaard](https://github.com/loevgaard)) -- [#10455](https://github.com/Sylius/Sylius/issues/10455) Improve admin product show page UI ([@kulczy](https://github.com/kulczy), [@AdamKasp](https://github.com/AdamKasp), [@GSadee](https://github.com/GSadee)) -- [#10460](https://github.com/Sylius/Sylius/issues/10460) AvatarImage Doctrine mapping fix ([@bartoszpietrzak1994](https://github.com/bartoszpietrzak1994)) -- [#10461](https://github.com/Sylius/Sylius/issues/10461) Fix product show page elements ([@kulczy](https://github.com/kulczy)) diff --git a/CHANGELOG-1.7.md b/CHANGELOG-1.7.md deleted file mode 100644 index 5490b2f7ad..0000000000 --- a/CHANGELOG-1.7.md +++ /dev/null @@ -1,448 +0,0 @@ -# CHANGELOG FOR `1.7.X` - -## v1.7.11 (2020-11-12) - -#### Details - -- [#12009](https://github.com/Sylius/Sylius/issues/12009) Updated translation.rst ([@Romain](https://github.com/Romain)) -- [#12011](https://github.com/Sylius/Sylius/issues/12011) Customize a controller fix typo in services config ([@Oipnet](https://github.com/Oipnet)) -- [#11974](https://github.com/Sylius/Sylius/issues/11974) [UI] Fix broken checkboxes that dont change state ([@misaon](https://github.com/misaon)) -- [#11899](https://github.com/Sylius/Sylius/issues/11899) Update Github PR template ([@Zales0123](https://github.com/Zales0123)) -- [#12019](https://github.com/Sylius/Sylius/issues/12019) [AUTO] Updated translations from Crowdin (1.7) () -- [#12022](https://github.com/Sylius/Sylius/issues/12022) Suggest PayPalPlugin as the default PayPal integration ([@Zales0123](https://github.com/Zales0123)) - -## v1.7.10 (2020-11-05) - -#### Details - -- [#11940](https://github.com/Sylius/Sylius/issues/11940) [Maintenance] Adjusting symfony.lock to lowest supported PHP version ([@lchrusciel](https://github.com/lchrusciel)) -- [#11957](https://github.com/Sylius/Sylius/issues/11957) Minor CS fixes detected by ECS ([@Zales0123](https://github.com/Zales0123)) -- [#11972](https://github.com/Sylius/Sylius/issues/11972) [Maintenance] Conflict symfony doctrine bridge ([@lchrusciel](https://github.com/lchrusciel)) -- [#11871](https://github.com/Sylius/Sylius/issues/11871) Patch for Unable to extends ShopBillingData [#11625] ([@jbcr](https://github.com/jbcr)) -- [#11991](https://github.com/Sylius/Sylius/issues/11991) Remove nikic/php-parser as a conflict ([@loevgaard](https://github.com/loevgaard)) -- [#11894](https://github.com/Sylius/Sylius/issues/11894) [Order] Do not stop cancelling unpaid orders on exception during canc… ([@twojtylak](https://github.com/twojtylak)) - -## v1.7.9 (2020-10-20) - -#### Details - -- [#11452](https://github.com/Sylius/Sylius/issues/11452) [Docs] Fix redirection for backwards compatibility promise ([@pamil](https://github.com/pamil)) -- [#11919](https://github.com/Sylius/Sylius/issues/11919) [AUTO] Updated translations from Crowdin (1.7) ([@Sylius](https://github.com/Sylius) [@Bot](https://github.com/Bot)) -- [#11944](https://github.com/Sylius/Sylius/issues/11944) [Shop] Disabling customer when email has been changed ([@lchrusciel](https://github.com/lchrusciel)) - -## v1.7.8 (2020-10-02) - -#### Details - -- [#11418](https://github.com/Sylius/Sylius/issues/11418) set default value for Channel taxCalculationStrategy ([@oallain](https://github.com/oallain)) -- [#11814](https://github.com/Sylius/Sylius/issues/11814) [Channel] Fix bc-breaking changes in ChannelFactory and minor improvements ([@lchrusciel](https://github.com/lchrusciel)) -- [#11792](https://github.com/Sylius/Sylius/issues/11792) Fixed: Parent taxon selection on taxon creation ([@igormukhingmailcom](https://github.com/igormukhingmailcom)) -- [#11835](https://github.com/Sylius/Sylius/issues/11835) [ChannelPricing] Remove channel pricing 1.7 ([@AdamKasp](https://github.com/AdamKasp), [@Tomanhez](https://github.com/Tomanhez), [@lchrusciel](https://github.com/lchrusciel)) -- [#11844](https://github.com/Sylius/Sylius/issues/11844) [Minor] Dead code removal ([@lchrusciel](https://github.com/lchrusciel)) -- [#11848](https://github.com/Sylius/Sylius/issues/11848) [Product] Add possibility to create product/variant without price in disabled channels ([@AdamKasp](https://github.com/AdamKasp)) - -## v1.7.7 (2020-09-07) - -#### Details - -- [#11612](https://github.com/Sylius/Sylius/issues/11612) Don't call the backend if the notification bar is disabled ([@mikemix](https://github.com/mikemix)) -- [#11580](https://github.com/Sylius/Sylius/issues/11580) make product variant comparable ([@oallain](https://github.com/oallain)) -- [#11626](https://github.com/Sylius/Sylius/issues/11626) [Docs] Fix build - Downgrade sphinx to v1.8.5 ([@Tomanhez](https://github.com/Tomanhez)) -- [#11633](https://github.com/Sylius/Sylius/issues/11633) Add slick-carousel to ShopBundle entry.js ([@MatthieuCutin](https://github.com/MatthieuCutin)) -- [#11631](https://github.com/Sylius/Sylius/issues/11631) Add missing images in entry.js ([@jacquesbh](https://github.com/jacquesbh)) -- [#11624](https://github.com/Sylius/Sylius/issues/11624) Fix migration ([@jacquesbh](https://github.com/jacquesbh)) -- [#11643](https://github.com/Sylius/Sylius/issues/11643) Update custom-redirect-after-cart-add-action.rst ([@danakil](https://github.com/danakil)) -- [#11654](https://github.com/Sylius/Sylius/issues/11654) [Fixtures] Add Poland to fixtures ([@Zales0123](https://github.com/Zales0123)) -- [#11150](https://github.com/Sylius/Sylius/issues/11150) Add default value on default local ([@macintoshplus](https://github.com/macintoshplus)) -- [#11637](https://github.com/Sylius/Sylius/issues/11637) [DOC] Fix webpack usage with appropriate _logo.html.twig template ([@MatthieuCutin](https://github.com/MatthieuCutin)) -- [#11694](https://github.com/Sylius/Sylius/issues/11694) [Hot-Fix] Add conflict to symfonyą/form 4.11 and nikic/php-parser 4.7 ([@Tomanhez](https://github.com/Tomanhez)) -- [#11691](https://github.com/Sylius/Sylius/issues/11691) Update dates for 1.7 and 1.8 release cycle ([@pamil](https://github.com/pamil)) -- [#11710](https://github.com/Sylius/Sylius/issues/11710) [Hot-fix] Handle extra docblocks in Psalm ([@Zales0123](https://github.com/Zales0123)) -- [#11048](https://github.com/Sylius/Sylius/issues/11048) Bug #10951 [Account] fix sync username with customer email ([@hatem20](https://github.com/hatem20)) -- [#11722](https://github.com/Sylius/Sylius/issues/11722) [Documentation] fix typo in fixture docs ([@foxou33](https://github.com/foxou33)) -- [#11730](https://github.com/Sylius/Sylius/issues/11730) Fix docs for custom resource controllers ([@ivaskad](https://github.com/ivaskad)) -- [#11731](https://github.com/Sylius/Sylius/issues/11731) [Account] Add spec to sync username with customer email ([@hatem20](https://github.com/hatem20)) -- [#11696](https://github.com/Sylius/Sylius/issues/11696) [Shop] Add form in add to cart template event args ([@SebLours](https://github.com/SebLours)) -- [#11681](https://github.com/Sylius/Sylius/issues/11681) [Admin] Convert newlines in product description to breaklines ([@adamwojs](https://github.com/adamwojs)) -- [#11704](https://github.com/Sylius/Sylius/issues/11704) [BEHAT] Injecting locale parameter instead of having it harcdoded ([@Roshyo](https://github.com/Roshyo)) -- [#11713](https://github.com/Sylius/Sylius/issues/11713) [Behat] Unfinalize some Behat pages ([@Zales0123](https://github.com/Zales0123)) -- [#11732](https://github.com/Sylius/Sylius/issues/11732) [Admin] removed duplicated id attribute ([@foxou33](https://github.com/foxou33)) -- [#11736](https://github.com/Sylius/Sylius/issues/11736) [Documentation] bumped maintenance branches in docs ([@foxou33](https://github.com/foxou33), [@lchrusciel](https://github.com/lchrusciel)) -- [#11708](https://github.com/Sylius/Sylius/issues/11708) Revert "[Behat] Remove js requirement for bulk delete scenarios" ([@GalloisLuca](https://github.com/GalloisLuca)) -- [#11739](https://github.com/Sylius/Sylius/issues/11739) Fix Customer form_errors display ([@s4iya](https://github.com/s4iya)) -- [#11767](https://github.com/Sylius/Sylius/issues/11767) Add warning on tax calculation in 1.7's upgrade ([@jacquesbh](https://github.com/jacquesbh)) -- [#11780](https://github.com/Sylius/Sylius/issues/11780) [Maintenance] Adjust variable names to interfaces ([@lchrusciel](https://github.com/lchrusciel)) -- [#11801](https://github.com/Sylius/Sylius/issues/11801) [Maintenance] [Travis] Use composer 2.0 ([@lchrusciel](https://github.com/lchrusciel)) -- [#11802](https://github.com/Sylius/Sylius/issues/11802) [Maintenance] Remove redundant conflict ([@lchrusciel](https://github.com/lchrusciel)) - -## v1.7.6 (2020-06-25) - -#### Details - -- [#11522](https://github.com/Sylius/Sylius/issues/11522) [Homepage] Change lorem ipsum description and fix carousel header ([@arti0090](https://github.com/arti0090)) -- [#11534](https://github.com/Sylius/Sylius/issues/11534) Add Sylius template event ([@tavy315](https://github.com/tavy315)) -- [#11549](https://github.com/Sylius/Sylius/issues/11549) Behat for reordering taxon feature ([@titomtd](https://github.com/titomtd)) -- [#11553](https://github.com/Sylius/Sylius/issues/11553) Fix Psalm errors ([@Tomanhez](https://github.com/Tomanhez)) -- [#11578](https://github.com/Sylius/Sylius/issues/11578) [HotFix]Add symfony/form conflict ([@Tomanhez](https://github.com/Tomanhez)) -- [#11581](https://github.com/Sylius/Sylius/issues/11581) [Doc] Sylius 1.4 end of security support ([@oallain](https://github.com/oallain)) -- [#11582](https://github.com/Sylius/Sylius/issues/11582) [Maintenance] Update github PR template ([@oallain](https://github.com/oallain)) -- [#11584](https://github.com/Sylius/Sylius/issues/11584) [Fix] Less strict symfony form conflict ([@lchrusciel](https://github.com/lchrusciel)) -- [#11589](https://github.com/Sylius/Sylius/issues/11589) [Docs] fix sylius plus deployment ([@AdamKasp](https://github.com/AdamKasp)) - -## v1.7.5 (2020-06-02) - -#### TL;DR - -- Support for PHP 7.4 ([#11509](https://github.com/Sylius/Sylius/issues/11509), [#11510](https://github.com/Sylius/Sylius/issues/11510)) -- Brought back backwards compatibility with attribute templates broken with v1.7.0 ([#11473](https://github.com/Sylius/Sylius/issues/11473)) - -#### Details - -- [#11468](https://github.com/Sylius/Sylius/issues/11468) Fix for product translation tabs to be folded by default ([@arti0090](https://github.com/arti0090)) -- [#11473](https://github.com/Sylius/Sylius/issues/11473) [Attribute] Bring back attribute types templates after BC break in 1.7 ([@GSadee](https://github.com/GSadee)) -- [#11476](https://github.com/Sylius/Sylius/issues/11476) change product translation tab opening behavior ([@arti0090](https://github.com/arti0090)) -- [#11489](https://github.com/Sylius/Sylius/issues/11489) Fix route id typo ([@antiseptikk](https://github.com/antiseptikk)) -- [#11492](https://github.com/Sylius/Sylius/issues/11492) Making error messages in example factories more descriptive ([@mamazu](https://github.com/mamazu)) -- [#11509](https://github.com/Sylius/Sylius/issues/11509) [1.7] Travis Bionic + Chrome Headless + PHP 7.4 support ([@pamil](https://github.com/pamil)) -- [#11510](https://github.com/Sylius/Sylius/issues/11510) Make packages installable with PHP 7.4 ([@pamil](https://github.com/pamil)) -- [#11511](https://github.com/Sylius/Sylius/issues/11511) Change function that orders grid fields ([@arti0090](https://github.com/arti0090)) -- [#11523](https://github.com/Sylius/Sylius/issues/11523) Fix Psalm errors ([@pamil](https://github.com/pamil)) -- [#11525](https://github.com/Sylius/Sylius/issues/11525) [Docs][Plus] Add Docs with Sylius Plus deployment ([@AdamKasp](https://github.com/AdamKasp)) -- [#11527](https://github.com/Sylius/Sylius/issues/11527) [Docs][Plus] Missing information about authentication ([@AdamKasp](https://github.com/AdamKasp)) -- [#11540](https://github.com/Sylius/Sylius/issues/11540) [Docs] Update order processor documentation ([@arti0090](https://github.com/arti0090)) -- [#11542](https://github.com/Sylius/Sylius/issues/11542) [Maintenance] Add conflict to the 4.4.9 version of symfony/form ([@GSadee](https://github.com/GSadee)) - -## v1.7.4 (2020-05-14) - -#### Details - -- [#11369](https://github.com/Sylius/Sylius/issues/11369) [Docs] Don't use $HOME in SymfonyCloud deployment cookbook ([@tucksaun](https://github.com/tucksaun)) -- [#11387](https://github.com/Sylius/Sylius/issues/11387) Remove the doc reference to a promotion action that no longer exists in Core. ([@gabiudrescu](https://github.com/gabiudrescu)) -- [#11390](https://github.com/Sylius/Sylius/issues/11390) Bug #9738 Fix nested form collections ([@vic-blt](https://github.com/vic-blt)) -- [#11391](https://github.com/Sylius/Sylius/issues/11391) Fallback to the locale code if the associated name isn't found ([@dunglas](https://github.com/dunglas)) -- [#11398](https://github.com/Sylius/Sylius/issues/11398) [Docs] Fix typos ([@pgrimaud](https://github.com/pgrimaud)) -- [#11400](https://github.com/Sylius/Sylius/issues/11400) Error on show product without pricing ([@oallain](https://github.com/oallain), [@pamil](https://github.com/pamil)) -- [#11403](https://github.com/Sylius/Sylius/issues/11403) Fix Autolabeler configuration ([@Zales0123](https://github.com/Zales0123)) -- [#11409](https://github.com/Sylius/Sylius/issues/11409) Typo in code block in documentation ([@jacquesbh](https://github.com/jacquesbh)) -- [#11415](https://github.com/Sylius/Sylius/issues/11415) Doc : add renaming bundle in bundles.php ([@davidroberto](https://github.com/davidroberto), [@pamil](https://github.com/pamil)) -- [#11416](https://github.com/Sylius/Sylius/issues/11416) doc : add the composer dump-autoload instruction ([@davidroberto](https://github.com/davidroberto)) -- [#11425](https://github.com/Sylius/Sylius/issues/11425) [UI] Add tabs wrapping on Product show page > Attributes section () -- [#11427](https://github.com/Sylius/Sylius/issues/11427) [Maintenance] Upgrade psalm version ([@lchrusciel](https://github.com/lchrusciel)) -- [#11430](https://github.com/Sylius/Sylius/issues/11430) Fix all Psalm errors ([@pamil](https://github.com/pamil)) -- [#11441](https://github.com/Sylius/Sylius/issues/11441) [Composer] Add conflict to doctrine/inflector ^1.4 to fix taxons ([@GSadee](https://github.com/GSadee)) -- [#11446](https://github.com/Sylius/Sylius/issues/11446) [Docs] Remove unexisting "staging" environment section ([@pamil](https://github.com/pamil)) -- [#11449](https://github.com/Sylius/Sylius/issues/11449) synchronise dependencies ([@arti0090](https://github.com/arti0090)) -- [#11450](https://github.com/Sylius/Sylius/issues/11450) [Docs] Enable redirections on ReadTheDocs ([@pamil](https://github.com/pamil)) -- [#11453](https://github.com/Sylius/Sylius/issues/11453) [Documentation][Cookbook] Fix login & failure path ([@bchatard](https://github.com/bchatard)) -- [#11454](https://github.com/Sylius/Sylius/issues/11454) [Docs] Extract technical packages documentation to an external URLs ([@pamil](https://github.com/pamil)) -- [#11461](https://github.com/Sylius/Sylius/issues/11461) [Docs][Plus] Add Plus upgrading guide ([@CoderMaggie](https://github.com/CoderMaggie)) -- [#11462](https://github.com/Sylius/Sylius/issues/11462) [Dashboard] Add DQL to sales provider ([@oliver-schulz](https://github.com/oliver-schulz), [@AdamKasp](https://github.com/AdamKasp)) -- [#11463](https://github.com/Sylius/Sylius/issues/11463) [Admin] Use findOneBy() instead of findAll() to get the first channel ([@pamil](https://github.com/pamil)) -- [#11464](https://github.com/Sylius/Sylius/issues/11464) [Docs] Update order related state machine diagrams in the Book ([@CoderMaggie](https://github.com/CoderMaggie)) - -## v1.7.3 (2020-04-21) - -#### Details - -- [#11018](https://github.com/Sylius/Sylius/issues/11018) Fix: Check PropertyPath value for add error to form ([@Coosos](https://github.com/Coosos)) -- [#11068](https://github.com/Sylius/Sylius/issues/11068) redirect to default locale ([@oallain](https://github.com/oallain)) -- [#11129](https://github.com/Sylius/Sylius/issues/11129) impersonate user in new tab ([@oallain](https://github.com/oallain)) -- [#11191](https://github.com/Sylius/Sylius/issues/11191) Separated order items subtotal calculation logic from twig extension ([@4c0n](https://github.com/4c0n)) -- [#11203](https://github.com/Sylius/Sylius/issues/11203) Add Important information in documentation when change name of plugin ([@MathieuDelmarre](https://github.com/MathieuDelmarre), [@pamil](https://github.com/pamil)) -- [#11329](https://github.com/Sylius/Sylius/issues/11329) Make taxon comparable ([@oallain](https://github.com/oallain)) -- [#11334](https://github.com/Sylius/Sylius/issues/11334) [ShopBundle] Add missing form_theme declaration ([@misaon](https://github.com/misaon)) -- [#11341](https://github.com/Sylius/Sylius/issues/11341) [Maintenance] Upgrade packages dependencies & fix 1.6 build ([@lchrusciel](https://github.com/lchrusciel)) -- [#11342](https://github.com/Sylius/Sylius/issues/11342) [Maintenance] Remove memory swap ([@lchrusciel](https://github.com/lchrusciel)) -- [#11346](https://github.com/Sylius/Sylius/issues/11346) [ADMIN] fix closed gateway config field in payment method form ([@bigboss86](https://github.com/bigboss86)) -- [#11351](https://github.com/Sylius/Sylius/issues/11351) [HOTFIX] Travis memory upgrade & turned off composer scripts ([@lchrusciel](https://github.com/lchrusciel)) -- [#11354](https://github.com/Sylius/Sylius/issues/11354) [Doc] Describe menu taxon on channel ([@lchrusciel](https://github.com/lchrusciel)) -- [#11357](https://github.com/Sylius/Sylius/issues/11357) Add notice about moved templates during upgrade ([@jacquesbh](https://github.com/jacquesbh)) -- [#11363](https://github.com/Sylius/Sylius/issues/11363) Introduce Probot Autolabeler ([@Zales0123](https://github.com/Zales0123)) -- [#11364](https://github.com/Sylius/Sylius/issues/11364) fix #11362 : ignore channel locale listener on profiler routes ([@thi3rry](https://github.com/thi3rry)) -- [#11380](https://github.com/Sylius/Sylius/issues/11380) Use !default for SCSS variables to allow overriding them ([@pamil](https://github.com/pamil)) - -## v1.7.2 (2020-04-02) - -#### Details - -- [#11315](https://github.com/Sylius/Sylius/issues/11315) [UI] Fix stylesheets problem on the login page ([@Zales0123](https://github.com/Zales0123)) -- [#11317](https://github.com/Sylius/Sylius/issues/11317) Fix BC breaks introduced with new template event system ([@pamil](https://github.com/pamil)) -- [#11322](https://github.com/Sylius/Sylius/issues/11322) Fix Psalm docblock marked as a regular one ([@pamil](https://github.com/pamil)) -- [#11135](https://github.com/Sylius/Sylius/issues/11135) [Docs] Improved coping UX ([@lchrusciel](https://github.com/lchrusciel)) - -## v1.7.1 (2020-03-31) - -#### Details - -- [#11111](https://github.com/Sylius/Sylius/issues/11111) [Docs] Recommend trait usage in Plugin Development Guide ([@Zales0123](https://github.com/Zales0123)) -- [#11147](https://github.com/Sylius/Sylius/issues/11147) [Plus Docs] Installation guide improvement and Administrator Roles ([@CoderMaggie](https://github.com/CoderMaggie)) -- [#11169](https://github.com/Sylius/Sylius/issues/11169) [missing return] Update basic-usage ([@DurandSacha](https://github.com/DurandSacha)) -- [#11146](https://github.com/Sylius/Sylius/issues/11146) [Behat][Admin] Fix step with checking number of orders in the list ([@GSadee](https://github.com/GSadee)) -- [#11177](https://github.com/Sylius/Sylius/issues/11177) [Documentation] Sylius Plus docs part 2; including fixes to links ([@CoderMaggie](https://github.com/CoderMaggie)) -- [#11176](https://github.com/Sylius/Sylius/issues/11176) [Order] add margin around resent shipment button ([@AdamKasp](https://github.com/AdamKasp)) -- [#11181](https://github.com/Sylius/Sylius/issues/11181) Sylius Plus feature scope update ([@dukusz](https://github.com/dukusz)) -- [#11182](https://github.com/Sylius/Sylius/issues/11182) [Docs][Plus] Add docs about administrators per channel ([@GSadee](https://github.com/GSadee)) -- [#11179](https://github.com/Sylius/Sylius/issues/11179) [Maintenance] Remove uneeded step ([@lchrusciel](https://github.com/lchrusciel)) -- [#11183](https://github.com/Sylius/Sylius/issues/11183) [Docs][Plus] Update docs about admin user fixtures ([@GSadee](https://github.com/GSadee)) -- [#11192](https://github.com/Sylius/Sylius/issues/11192) Fixtures: fix French translation of cap ([@dunglas](https://github.com/dunglas)) -- [#11209](https://github.com/Sylius/Sylius/issues/11209) Rename to a more explicit word ([@Prometee](https://github.com/Prometee)) -- [#11211](https://github.com/Sylius/Sylius/issues/11211) Use the sylius_ui for css and js on admin login screen ([@Prometee](https://github.com/Prometee)) -- [#11189](https://github.com/Sylius/Sylius/issues/11189) [Minor] [Behat] Typo fix ([@lchrusciel](https://github.com/lchrusciel)) -- [#11236](https://github.com/Sylius/Sylius/issues/11236) Typo fix ([@TheDevilOnLine](https://github.com/TheDevilOnLine)) -- [#11259](https://github.com/Sylius/Sylius/issues/11259) [Behat] Rework Shop > Product > Show ([@oallain](https://github.com/oallain)) -- [#11299](https://github.com/Sylius/Sylius/issues/11299) Remove useless interface in custom_fixture.rst ([@dunglas](https://github.com/dunglas)) -- [#11304](https://github.com/Sylius/Sylius/issues/11304) [Docs] Require tagged plugins for Sylius Store ([@Zales0123](https://github.com/Zales0123)) -- [#11310](https://github.com/Sylius/Sylius/issues/11310) Install symfony/polyfill-php80 to fix the psalm build ([@Zales0123](https://github.com/Zales0123)) -- [#11311](https://github.com/Sylius/Sylius/issues/11311) [Psalm] Fix build on 1.7 as well ([@Zales0123](https://github.com/Zales0123)) - -## v1.7.0 (2020-03-02) - -#### Details - -- [#11166](https://github.com/Sylius/Sylius/issues/11166) [Behat][ProductAttribute] Remove unnecessary step ([@GSadee](https://github.com/GSadee)) -- [#11167](https://github.com/Sylius/Sylius/issues/11167) Fix UPGRADE-1.7 file ([@Zales0123](https://github.com/Zales0123)) -- [#11168](https://github.com/Sylius/Sylius/issues/11168) [Docs] Remove sensio.sphinx.refinclude ([@Tomanhez](https://github.com/Tomanhez)) - -## v1.7.0-RC.1 (2020-03-01) - -#### Details - -- [#10632](https://github.com/Sylius/Sylius/issues/10632) [ShopBundle] Logged customer after completing checkout can view order in his account ([@Tomanhez](https://github.com/Tomanhez)) -- [#10638](https://github.com/Sylius/Sylius/issues/10638) [Behat][Minor] Add a few typehints ([@lchrusciel](https://github.com/lchrusciel)) -- [#10643](https://github.com/Sylius/Sylius/issues/10643) [Fixture] channel fixture fix ([@AdamKasp](https://github.com/AdamKasp)) -- [#10651](https://github.com/Sylius/Sylius/issues/10651) removed customer from customer order grid ([@AdamKasp](https://github.com/AdamKasp)) -- [#10653](https://github.com/Sylius/Sylius/issues/10653) [Order] Added "no payments" label for order without payment ([@AdamKasp](https://github.com/AdamKasp), [@Zales0123](https://github.com/Zales0123)) -- [#10658](https://github.com/Sylius/Sylius/issues/10658) [Payment] Filtering payments by channel ([@AdamKasp](https://github.com/AdamKasp), [@Zales0123](https://github.com/Zales0123)) -- [#10660](https://github.com/Sylius/Sylius/issues/10660) [Fixture] Shipment and payment date are same like order ([@AdamKasp](https://github.com/AdamKasp)) -- [#10665](https://github.com/Sylius/Sylius/issues/10665) Remove ShippingBundle spec from autoload-dev ([@mmenozzi](https://github.com/mmenozzi)) -- [#10666](https://github.com/Sylius/Sylius/issues/10666) Test doctrine migrations up & down ([@loic425](https://github.com/loic425)) -- [#10670](https://github.com/Sylius/Sylius/issues/10670) Fix unnecessarily centered payment ([@Zales0123](https://github.com/Zales0123)) -- [#10674](https://github.com/Sylius/Sylius/issues/10674) Add authorize constant to payment transitions ([@alexander-schranz](https://github.com/alexander-schranz)) -- [#10679](https://github.com/Sylius/Sylius/issues/10679) Change channel code to name ([@AdamKasp](https://github.com/AdamKasp)) -- [#10687](https://github.com/Sylius/Sylius/issues/10687) Add support menu and CTAs ([@pjedrzejewski](https://github.com/pjedrzejewski)) -- [#10694](https://github.com/Sylius/Sylius/issues/10694) [Admin][Product] Extract some variant related templates from product show ([@GSadee](https://github.com/GSadee)) -- [#10699](https://github.com/Sylius/Sylius/issues/10699) Admin avatar - fixtures ([@AdamKasp](https://github.com/AdamKasp)) -- [#10702](https://github.com/Sylius/Sylius/issues/10702) fix order orders grid ([@AdamKasp](https://github.com/AdamKasp)) -- [#10707](https://github.com/Sylius/Sylius/issues/10707) [Currency] added parameterized currency during installation (, [@Jeroen-G](https://github.com/Jeroen-G)) -- [#10711](https://github.com/Sylius/Sylius/issues/10711) [Docs] update docs. ([@AdamKasp](https://github.com/AdamKasp)) -- [#10715](https://github.com/Sylius/Sylius/issues/10715) [Fixtures] Add env variable for channel hostname ([@GSadee](https://github.com/GSadee)) -- [#10718](https://github.com/Sylius/Sylius/issues/10718) [Product] Go to edit from product show page ([@AdamKasp](https://github.com/AdamKasp)) -- [#10721](https://github.com/Sylius/Sylius/issues/10721) Fixed: use_authorize option comparison (fixes #) ([@igormukhingmailcom](https://github.com/igormukhingmailcom)) -- [#10723](https://github.com/Sylius/Sylius/issues/10723) [Admin][Product] Fix displaying variants on product show page ([@GSadee](https://github.com/GSadee)) -- [#10731](https://github.com/Sylius/Sylius/issues/10731) [Docs] Plugins technical review checklist ([@Zales0123](https://github.com/Zales0123)) -- [#10735](https://github.com/Sylius/Sylius/issues/10735) Do not impose a length of two on attribute codes and names ([@loevgaard](https://github.com/loevgaard)) -- [#10736](https://github.com/Sylius/Sylius/issues/10736) Channel page rework ([@kulczy](https://github.com/kulczy)) -- [#10754](https://github.com/Sylius/Sylius/issues/10754) clean Twig unused variable ([@oallain](https://github.com/oallain)) -- [#10756](https://github.com/Sylius/Sylius/issues/10756) Changed visibility to make it usable when extending ([@loevgaard](https://github.com/loevgaard)) -- [#10759](https://github.com/Sylius/Sylius/issues/10759) Fix user impersonated listener when impersonating another user resource ([@loic425](https://github.com/loic425)) -- [#10762](https://github.com/Sylius/Sylius/issues/10762) [Docs] Added Docs and Instructions for how to store images on AWS-S3 ([@itinance](https://github.com/itinance)) -- [#10783](https://github.com/Sylius/Sylius/issues/10783) [Admin] Fix Github issue tracker link ([@Zales0123](https://github.com/Zales0123)) -- [#10791](https://github.com/Sylius/Sylius/issues/10791) Allow to define free products ([@Zales0123](https://github.com/Zales0123)) -- [#10796](https://github.com/Sylius/Sylius/issues/10796) [Admin][Order] Add promotions to order summary ([@GSadee](https://github.com/GSadee)) -- [#10803](https://github.com/Sylius/Sylius/issues/10803) Add Webpack Encore ([@kulczy](https://github.com/kulczy)) -- [#10810](https://github.com/Sylius/Sylius/issues/10810) [Admin][Order] Remove unnecessary tag ([@GSadee](https://github.com/GSadee)) -- [#10811](https://github.com/Sylius/Sylius/issues/10811) Explicitly list deprecated things in the code & solve Twig deprecations ([@pamil](https://github.com/pamil)) -- [#10812](https://github.com/Sylius/Sylius/issues/10812) [Shop] Hide shipping costs for orders with virtual products ([@GSadee](https://github.com/GSadee)) -- [#10814](https://github.com/Sylius/Sylius/issues/10814) Make Psalm more aggressive ([@pamil](https://github.com/pamil)) -- [#10818](https://github.com/Sylius/Sylius/issues/10818) [Payum][Checkout] Pass address data to PayPal after checkout ([@Zales0123](https://github.com/Zales0123)) -- [#10822](https://github.com/Sylius/Sylius/issues/10822) Fix typo in TaxonomyElementInterface classname ([@pamil](https://github.com/pamil)) -- [#10827](https://github.com/Sylius/Sylius/issues/10827) New Webpack approach ([@kulczy](https://github.com/kulczy)) -- [#10829](https://github.com/Sylius/Sylius/issues/10829) Remove Symfony ^3.4 support on the master branch ([@pamil](https://github.com/pamil)) -- [#10831](https://github.com/Sylius/Sylius/issues/10831) [Docs] Theming Guide: Webpack Encore v1 ([@CoderMaggie](https://github.com/CoderMaggie)) -- [#10833](https://github.com/Sylius/Sylius/issues/10833) Change banner ([@kulczy](https://github.com/kulczy)) -- [#10834](https://github.com/Sylius/Sylius/issues/10834) Remove usage of deprecated "Symfony\Component\Config\Definition\Builder\TreeBuilder::root()" ([@pamil](https://github.com/pamil)) -- [#10836](https://github.com/Sylius/Sylius/issues/10836) Do not use deprecated Symfony events ([@pamil](https://github.com/pamil)) -- [#10839](https://github.com/Sylius/Sylius/issues/10839) [Psalm] Improve docblocks ([@pamil](https://github.com/pamil)) -- [#10840](https://github.com/Sylius/Sylius/issues/10840) [Psalm] Treat PossiblyUndefined* and PossiblyFalse* as errors ([@pamil](https://github.com/pamil)) -- [#10843](https://github.com/Sylius/Sylius/issues/10843) [Psalm] Treat checks from level 5 as errors ([@pamil](https://github.com/pamil)) -- [#10845](https://github.com/Sylius/Sylius/issues/10845) [Psalm] Fix the build ([@pamil](https://github.com/pamil)) -- [#10847](https://github.com/Sylius/Sylius/issues/10847) Deprecate Stripe Checkout due to lacking support for SCA ([@pamil](https://github.com/pamil)) -- [#10848](https://github.com/Sylius/Sylius/issues/10848) Update Webpack docs ([@kulczy](https://github.com/kulczy)) -- [#10854](https://github.com/Sylius/Sylius/issues/10854) [Behat][Admin][Order] Fix scenarios for displaying promotions on master after upmerge ([@GSadee](https://github.com/GSadee)) -- [#10858](https://github.com/Sylius/Sylius/issues/10858) [Psalm] Treat MismatchingDocblockReturnType as errors ([@pamil](https://github.com/pamil)) -- [#10859](https://github.com/Sylius/Sylius/issues/10859) [Psalm] Treat MethodSignatureMismatch as errors ([@pamil](https://github.com/pamil)) -- [#10861](https://github.com/Sylius/Sylius/issues/10861) Add Bootstrap based theming guide ([@kulczy](https://github.com/kulczy)) -- [#10870](https://github.com/Sylius/Sylius/issues/10870) Allow guest checkout no matter what ([@loevgaard](https://github.com/loevgaard)) -- [#10873](https://github.com/Sylius/Sylius/issues/10873) [Psalm] Fix the build after Symfony 4.4 update ([@pamil](https://github.com/pamil)) -- [#10875](https://github.com/Sylius/Sylius/issues/10875) Revert changes causing BC break ([@pamil](https://github.com/pamil)) -- [#10876](https://github.com/Sylius/Sylius/issues/10876) Add warning message to the theming guide ([@kulczy](https://github.com/kulczy)) -- [#10883](https://github.com/Sylius/Sylius/issues/10883) Rework Behat testing from classes/ids to attributes for login and registration pages ([@Tomanhez](https://github.com/Tomanhez)) -- [#10885](https://github.com/Sylius/Sylius/issues/10885) Add help messages to settings requirements checked in CLI ([@akondas](https://github.com/akondas)) -- [#10888](https://github.com/Sylius/Sylius/issues/10888) Add missing sass-loader to dependencies ([@kulczy](https://github.com/kulczy)) -- [#10893](https://github.com/Sylius/Sylius/issues/10893) Improve emails templates ([@kulczy](https://github.com/kulczy), [@GSadee](https://github.com/GSadee), [@pamil](https://github.com/pamil)) -- [#10894](https://github.com/Sylius/Sylius/issues/10894) Add documentation for customising emails per channel ([@pamil](https://github.com/pamil)) -- [#10895](https://github.com/Sylius/Sylius/issues/10895) Fix misspellings in french fixtures files ([@DjLeChuck](https://github.com/DjLeChuck)) -- [#10897](https://github.com/Sylius/Sylius/issues/10897) Minor fixes - Rework behat tests ([@Tomanhez](https://github.com/Tomanhez)) -- [#10900](https://github.com/Sylius/Sylius/issues/10900) [Docs] [Channel]Fix docs with channel ([@AdamKasp](https://github.com/AdamKasp)) -- [#10902](https://github.com/Sylius/Sylius/issues/10902) [Documentation][Cookbook] How to add Google Analytics script to shop? ([@AdamKasp](https://github.com/AdamKasp), [@CoderMaggie](https://github.com/CoderMaggie)) -- [#10903](https://github.com/Sylius/Sylius/issues/10903) Homepage rework + fixed tests ([@kulczy](https://github.com/kulczy), [@AdamKasp](https://github.com/AdamKasp)) -- [#10904](https://github.com/Sylius/Sylius/issues/10904) Decrement length constraint on postcode ([@loevgaard](https://github.com/loevgaard)) -- [#10906](https://github.com/Sylius/Sylius/issues/10906) [Homepage] Fixes ([@AdamKasp](https://github.com/AdamKasp)) -- [#10908](https://github.com/Sylius/Sylius/issues/10908) Fix carousel links ([@kulczy](https://github.com/kulczy)) -- [#10911](https://github.com/Sylius/Sylius/issues/10911) Add code to exception message since name can be null ([@loevgaard](https://github.com/loevgaard)) -- [#10914](https://github.com/Sylius/Sylius/issues/10914) Translate emails ([@GSadee](https://github.com/GSadee)) -- [#10915](https://github.com/Sylius/Sylius/issues/10915) [Behat] Cleaning Behat checkout pages ([@AdamKasp](https://github.com/AdamKasp)) -- [#10921](https://github.com/Sylius/Sylius/issues/10921) [Behat] Rework behat - using attributes instead class/id in address and shipping page ([@AdamKasp](https://github.com/AdamKasp)) -- [#10924](https://github.com/Sylius/Sylius/issues/10924) New template events architecture (introduction) ([@pamil](https://github.com/pamil)) -- [#10932](https://github.com/Sylius/Sylius/issues/10932) [Admin][Order] Add resending an order confirmation email ([@GSadee](https://github.com/GSadee)) -- [#10936](https://github.com/Sylius/Sylius/issues/10936) [Psalm] Exclude deprecated doctrine classes from analysis ([@GSadee](https://github.com/GSadee)) -- [#10937](https://github.com/Sylius/Sylius/issues/10937) Rework ShowPage and IndexPage in Shop/Product ([@Tomanhez](https://github.com/Tomanhez)) -- [#10940](https://github.com/Sylius/Sylius/issues/10940) [Behat] Rework behat - using attributes instead class/id part in payment page ([@AdamKasp](https://github.com/AdamKasp)) -- [#10950](https://github.com/Sylius/Sylius/issues/10950) [Admin][Order] Add resending a shipment confirmation email ([@GSadee](https://github.com/GSadee)) -- [#10953](https://github.com/Sylius/Sylius/issues/10953) Rework ShowPage and IndexPage in Shop/Product to DataAttributes ([@Tomanhez](https://github.com/Tomanhez)) -- [#10955](https://github.com/Sylius/Sylius/issues/10955) Fix some Twig deprecations ([@pamil](https://github.com/pamil)) -- [#10956](https://github.com/Sylius/Sylius/issues/10956) [Email] Use channel hostname in urls ([@GSadee](https://github.com/GSadee)) -- [#10957](https://github.com/Sylius/Sylius/issues/10957) [Email][Shipment] Fix shipment confirmation email to send information about tracking only if it is provided ([@GSadee](https://github.com/GSadee)) -- [#10959](https://github.com/Sylius/Sylius/issues/10959) Lock static analysis tools versions and fix the build ([@pamil](https://github.com/pamil)) -- [#10960](https://github.com/Sylius/Sylius/issues/10960) Handle pluralisation in translations with Intl ICU ([@pamil](https://github.com/pamil)) -- [#10962](https://github.com/Sylius/Sylius/issues/10962) [Hot-Fix] Fix failing specs after prophecy update ([@Zales0123](https://github.com/Zales0123), [@pamil](https://github.com/pamil)) -- [#10965](https://github.com/Sylius/Sylius/issues/10965) Upgrade to PHPStan 0.12 ([@pamil](https://github.com/pamil)) -- [#10966](https://github.com/Sylius/Sylius/issues/10966) Upgrade to PHPSpec ^6.1 ([@pamil](https://github.com/pamil)) -- [#10969](https://github.com/Sylius/Sylius/issues/10969) Use Symfony CLI command instead of symfony/web-server-bundle ([@pamil](https://github.com/pamil)) -- [#10970](https://github.com/Sylius/Sylius/issues/10970) Require Symfony ^4.4 ([@pamil](https://github.com/pamil)) -- [#10971](https://github.com/Sylius/Sylius/issues/10971) Use Symfony CLI command to check security ([@pamil](https://github.com/pamil)) -- [#10972](https://github.com/Sylius/Sylius/issues/10972) [Travis] Use HTTPS for JS Behat tests ([@pamil](https://github.com/pamil)) -- [#10973](https://github.com/Sylius/Sylius/issues/10973) [Behat] Remove js requirement from bulk delete scenarios ([@Zales0123](https://github.com/Zales0123)) -- [#10974](https://github.com/Sylius/Sylius/issues/10974) Remove doctrine/doctrine-fixtures-bundle from dependencies and move doctrine/data-fixtures to dev dependencies ([@pamil](https://github.com/pamil)) -- [#10975](https://github.com/Sylius/Sylius/issues/10975) Upgrade to KNP Menu 3 ([@pamil](https://github.com/pamil)) -- [#10976](https://github.com/Sylius/Sylius/issues/10976) Upgrade to KNP Gaufrette ^0.8 and KNP Gaufrette Bundle ^0.7 ([@pamil](https://github.com/pamil)) -- [#10977](https://github.com/Sylius/Sylius/issues/10977) Remove sonata-project/intl-bundle in favour of twig/intl-extra ([@pamil](https://github.com/pamil)) -- [#10980](https://github.com/Sylius/Sylius/issues/10980) Add a description to the Plus logo ([@kulczy](https://github.com/kulczy)) -- [#10981](https://github.com/Sylius/Sylius/issues/10981) [Behat] Spend less time waiting for slug generation ([@Zales0123](https://github.com/Zales0123)) -- [#10984](https://github.com/Sylius/Sylius/issues/10984) Upgrade to Sonata Block Bundle ^4.0 ([@pamil](https://github.com/pamil)) -- [#10988](https://github.com/Sylius/Sylius/issues/10988) Template events system - refactoring & HTML debug comments ([@pamil](https://github.com/pamil)) -- [#10989](https://github.com/Sylius/Sylius/issues/10989) Template events system - CLI command for debugging ([@pamil](https://github.com/pamil)) -- [#10990](https://github.com/Sylius/Sylius/issues/10990) Template events system - data collector & profiler ([@pamil](https://github.com/pamil)) -- [#10991](https://github.com/Sylius/Sylius/issues/10991) Template events system - replace topbar with newly introduced events ([@pamil](https://github.com/pamil)) -- [#10996](https://github.com/Sylius/Sylius/issues/10996) Making functions protected in Product for more flexible extenidng ([@antonioperic](https://github.com/antonioperic)) -- [#11001](https://github.com/Sylius/Sylius/issues/11001) [HotFix] SyliusGridBundle downgrade to 1.7.3 ([@Tomanhez](https://github.com/Tomanhez)) -- [#11008](https://github.com/Sylius/Sylius/issues/11008) Change footer url ([@kulczy](https://github.com/kulczy)) -- [#11009](https://github.com/Sylius/Sylius/issues/11009) Rework behats after checkout and thanks page ([@AdamKasp](https://github.com/AdamKasp)) -- [#11010](https://github.com/Sylius/Sylius/issues/11010) [HomePage][Behat] Rework behats - home page ([@AdamKasp](https://github.com/AdamKasp)) -- [#11011](https://github.com/Sylius/Sylius/issues/11011) [Contact][Behat] Rework behats - contact page ([@AdamKasp](https://github.com/AdamKasp)) -- [#11012](https://github.com/Sylius/Sylius/issues/11012) [Channel][Taxon][Shop] Menu taxon on channel ([@Zales0123](https://github.com/Zales0123)) -- [#11014](https://github.com/Sylius/Sylius/issues/11014) Use template blocks for our homepage ([@pamil](https://github.com/pamil)) -- [#11016](https://github.com/Sylius/Sylius/issues/11016) Fix key order and functions names ([@AdamKasp](https://github.com/AdamKasp)) -- [#11017](https://github.com/Sylius/Sylius/issues/11017) [Behat][Checkout] Add html attributes for testing JS functionality in checkout pages ([@AdamKasp](https://github.com/AdamKasp)) -- [#11020](https://github.com/Sylius/Sylius/issues/11020) Require LiipImagineBundle ^2.3 ([@pamil](https://github.com/pamil)) -- [#11021](https://github.com/Sylius/Sylius/issues/11021) Require PHP ^7.3 ([@pamil](https://github.com/pamil)) -- [#11023](https://github.com/Sylius/Sylius/issues/11023) Fix doubled package in Composer's conflict section ([@pamil](https://github.com/pamil)) -- [#11026](https://github.com/Sylius/Sylius/issues/11026) [Maintenance] Mention about SonataCore removal in UPGRADE.md ([@lchrusciel](https://github.com/lchrusciel)) -- [#11027](https://github.com/Sylius/Sylius/issues/11027) [Maintenance] Update github PR template ([@lchrusciel](https://github.com/lchrusciel)) -- [#11032](https://github.com/Sylius/Sylius/issues/11032) Rework behats - summaryOrderPage ([@AdamKasp](https://github.com/AdamKasp), [@Tomanhez](https://github.com/Tomanhez)) -- [#11033](https://github.com/Sylius/Sylius/issues/11033) [Checkout] Make billing address the default one ([@Zales0123](https://github.com/Zales0123), [@GSadee](https://github.com/GSadee)) -- [#11034](https://github.com/Sylius/Sylius/issues/11034) [Docs] Add sphinx-copybutton to docs and update sensio.sphinx ([@Tomanhez](https://github.com/Tomanhez)) -- [#11036](https://github.com/Sylius/Sylius/issues/11036) Template events reloaded: improved HTML debug, improved code structure, added _event variable to the context ([@pamil](https://github.com/pamil)) -- [#11037](https://github.com/Sylius/Sylius/issues/11037) php-http/guzzle6-adapter dependency upgraded ([@pfazzi](https://github.com/pfazzi)) -- [#11039](https://github.com/Sylius/Sylius/issues/11039) [Checkout] Add missing unit test for using deprecated different billing address flag ([@GSadee](https://github.com/GSadee)) -- [#11040](https://github.com/Sylius/Sylius/issues/11040) Happy New Year! ([@GSadee](https://github.com/GSadee)) -- [#11043](https://github.com/Sylius/Sylius/issues/11043) [Address] Change addresses order ([@AdamKasp](https://github.com/AdamKasp)) -- [#11044](https://github.com/Sylius/Sylius/issues/11044) [Docs] Fix docs build ([@Tomanhez](https://github.com/Tomanhez)) -- [#11050](https://github.com/Sylius/Sylius/issues/11050) Add dashboard chart ([@kulczy](https://github.com/kulczy)) -- [#11051](https://github.com/Sylius/Sylius/issues/11051) [Docs] Update resource documentation ([@lchrusciel](https://github.com/lchrusciel)) -- [#11052](https://github.com/Sylius/Sylius/issues/11052) Disabled all buttons from the column after click ([@kulczy](https://github.com/kulczy)) -- [#11054](https://github.com/Sylius/Sylius/issues/11054) [Documentation] Sylius Plus features documentation v1 ([@CoderMaggie](https://github.com/CoderMaggie)) -- [#11055](https://github.com/Sylius/Sylius/issues/11055) Define countries for a channel ([@pamil](https://github.com/pamil)) -- [#11059](https://github.com/Sylius/Sylius/issues/11059) Rendering multiple dependent template events at once + admin-side CRUD events ([@pamil](https://github.com/pamil)) -- [#11066](https://github.com/Sylius/Sylius/issues/11066) [Shipment] Ship a shipment with tracking code on the list ([@AdamKasp](https://github.com/AdamKasp), [@GSadee](https://github.com/GSadee), [@lchrusciel](https://github.com/lchrusciel)) -- [#11067](https://github.com/Sylius/Sylius/issues/11067) [Fixture] Extend fixtures ([@AdamKasp](https://github.com/AdamKasp)) -- [#11070](https://github.com/Sylius/Sylius/issues/11070) [Fixture] Add missing euro ([@AdamKasp](https://github.com/AdamKasp)) -- [#11071](https://github.com/Sylius/Sylius/issues/11071) Template events for admin's layout ([@pamil](https://github.com/pamil)) -- [#11072](https://github.com/Sylius/Sylius/issues/11072) Replace "_include.html.twig" template event blocks with a simpler solution ([@pamil](https://github.com/pamil)) -- [#11075](https://github.com/Sylius/Sylius/issues/11075) Fix testing migrations ([@loic425](https://github.com/loic425)) -- [#11078](https://github.com/Sylius/Sylius/issues/11078) [Checkout] Add note to UPGRADE file about switching billing and shipping addresses ([@GSadee](https://github.com/GSadee)) -- [#11080](https://github.com/Sylius/Sylius/issues/11080) [Fixtures] Replace Cook Islands with New Zealand ([@AdamKasp](https://github.com/AdamKasp)) -- [#11082](https://github.com/Sylius/Sylius/issues/11082) [Admin] Feed dashboard graph with real data ([@Zales0123](https://github.com/Zales0123), [@GSadee](https://github.com/GSadee)) -- [#11083](https://github.com/Sylius/Sylius/issues/11083) [Behat] Fix missing Behat step ([@Zales0123](https://github.com/Zales0123)) -- [#11086](https://github.com/Sylius/Sylius/issues/11086) [Shipment] Add shipment show page ([@Tomanhez](https://github.com/Tomanhez), [@GSadee](https://github.com/GSadee)) -- [#11089](https://github.com/Sylius/Sylius/issues/11089) [Shipment] Add date when shipment has been shipped ([@AdamKasp](https://github.com/AdamKasp), [@GSadee](https://github.com/GSadee)) -- [#11090](https://github.com/Sylius/Sylius/issues/11090) [Admin] Use shipment action for shipment grid ([@lchrusciel](https://github.com/lchrusciel)) -- [#11093](https://github.com/Sylius/Sylius/issues/11093) [Behats] Rework password, profile update, change password, pages ([@AdamKasp](https://github.com/AdamKasp)) -- [#11094](https://github.com/Sylius/Sylius/issues/11094) [Fixtures] Fulfill 60% orders fixtures ([@Tomanhez](https://github.com/Tomanhez)) -- [#11096](https://github.com/Sylius/Sylius/issues/11096) [Behats] Cart summary page - test attributes added ([@AdamKasp](https://github.com/AdamKasp)) -- [#11100](https://github.com/Sylius/Sylius/issues/11100) [Behats] Rework address book tests ([@Tomanhez](https://github.com/Tomanhez)) -- [#11101](https://github.com/Sylius/Sylius/issues/11101) [Behat] Rework testing product reviews to use test attributes ([@GSadee](https://github.com/GSadee)) -- [#11103](https://github.com/Sylius/Sylius/issues/11103) [Behat] Add attributes to registration page and fix summary page. ([@AdamKasp](https://github.com/AdamKasp)) -- [#11104](https://github.com/Sylius/Sylius/issues/11104) [Behat] Rework testing customer orders to use test attributes ([@GSadee](https://github.com/GSadee)) -- [#11105](https://github.com/Sylius/Sylius/issues/11105) [Fixtures] Change order for orders ([@Tomanhez](https://github.com/Tomanhez)) -- [#11106](https://github.com/Sylius/Sylius/issues/11106) [Dashboard] Sales on dashboard updated ([@AdamKasp](https://github.com/AdamKasp)) -- [#11108](https://github.com/Sylius/Sylius/issues/11108) Make ShopBillingData a resource ([@GSadee](https://github.com/GSadee)) -- [#11118](https://github.com/Sylius/Sylius/issues/11118) [Behats] Rework behat attributes for Shop/Account/DashboardPage ([@Tomanhez](https://github.com/Tomanhez)) -- [#11143](https://github.com/Sylius/Sylius/issues/11143) [Shop] Replace Sonata block events with Sylius template events ([@pamil](https://github.com/pamil)) -- [#11151](https://github.com/Sylius/Sylius/issues/11151) [Admin] Replace Sonata block events with Sylius template events ([@pamil](https://github.com/pamil)) -- [#11152](https://github.com/Sylius/Sylius/issues/11152) Update Mink-related libraries to allow for Symfony 5 ([@pamil](https://github.com/pamil)) -- [#11154](https://github.com/Sylius/Sylius/issues/11154) Filter variables passed to legacy Sonata block events ([@pamil](https://github.com/pamil)) -- [#11159](https://github.com/Sylius/Sylius/issues/11159) [Behat] Fix missing html attributes coverage ([@AdamKasp](https://github.com/AdamKasp), [@pamil](https://github.com/pamil)) -- [#11160](https://github.com/Sylius/Sylius/issues/11160) Mark new template events implementation as experimental ([@pamil](https://github.com/pamil)) - -## v1.7.0-ALPHA.1, v1.7.0-ALPHA.2 (2019-12-03, 2019-12-05) - -#### Details - -- CVE-2019-16768: Internal exception message exposure in login action. -- [#10632](https://github.com/Sylius/Sylius/issues/10632) [ShopBundle] Logged customer after completing checkout can view order in his account ([@Tomanhez](https://github.com/Tomanhez)) -- [#10638](https://github.com/Sylius/Sylius/issues/10638) [Behat][Minor] Add a few typehints ([@lchrusciel](https://github.com/lchrusciel)) -- [#10643](https://github.com/Sylius/Sylius/issues/10643) [Fixture] channel fixture fix ([@AdamKasp](https://github.com/AdamKasp)) -- [#10651](https://github.com/Sylius/Sylius/issues/10651) removed customer from customer order grid ([@AdamKasp](https://github.com/AdamKasp)) -- [#10653](https://github.com/Sylius/Sylius/issues/10653) [Order] Added "no payments" label for order without payment ([@AdamKasp](https://github.com/AdamKasp), [@Zales0123](https://github.com/Zales0123)) -- [#10658](https://github.com/Sylius/Sylius/issues/10658) [Payment] Filtering payments by channel ([@AdamKasp](https://github.com/AdamKasp), [@Zales0123](https://github.com/Zales0123)) -- [#10660](https://github.com/Sylius/Sylius/issues/10660) [Fixture] Shipment and payment date are same like order ([@AdamKasp](https://github.com/AdamKasp)) -- [#10665](https://github.com/Sylius/Sylius/issues/10665) Remove ShippingBundle spec from autoload-dev ([@mmenozzi](https://github.com/mmenozzi)) -- [#10666](https://github.com/Sylius/Sylius/issues/10666) Test doctrine migrations up & down ([@loic425](https://github.com/loic425)) -- [#10670](https://github.com/Sylius/Sylius/issues/10670) Fix unnecessarily centered payment ([@Zales0123](https://github.com/Zales0123)) -- [#10674](https://github.com/Sylius/Sylius/issues/10674) Add authorize constant to payment transitions ([@alexander-schranz](https://github.com/alexander-schranz)) -- [#10679](https://github.com/Sylius/Sylius/issues/10679) Change channel code to name ([@AdamKasp](https://github.com/AdamKasp)) -- [#10687](https://github.com/Sylius/Sylius/issues/10687) Add support menu and CTAs ([@pjedrzejewski](https://github.com/pjedrzejewski)) -- [#10694](https://github.com/Sylius/Sylius/issues/10694) [Admin][Product] Extract some variant related templates from product show ([@GSadee](https://github.com/GSadee)) -- [#10699](https://github.com/Sylius/Sylius/issues/10699) Admin avatar - fixtures ([@AdamKasp](https://github.com/AdamKasp)) -- [#10702](https://github.com/Sylius/Sylius/issues/10702) fix order orders grid ([@AdamKasp](https://github.com/AdamKasp)) -- [#10707](https://github.com/Sylius/Sylius/issues/10707) [Currency] added parameterized currency during installation (, [@Jeroen-G](https://github.com/Jeroen-G)) -- [#10711](https://github.com/Sylius/Sylius/issues/10711) [Docs] update docs. ([@AdamKasp](https://github.com/AdamKasp)) -- [#10715](https://github.com/Sylius/Sylius/issues/10715) [Fixtures] Add env variable for channel hostname ([@GSadee](https://github.com/GSadee)) -- [#10718](https://github.com/Sylius/Sylius/issues/10718) [Product] Go to edit from product show page ([@AdamKasp](https://github.com/AdamKasp)) -- [#10721](https://github.com/Sylius/Sylius/issues/10721) Fixed: use_authorize option comparison ([@igormukhingmailcom](https://github.com/igormukhingmailcom)) -- [#10723](https://github.com/Sylius/Sylius/issues/10723) [Admin][Product] Fix displaying variants on product show page ([@GSadee](https://github.com/GSadee)) -- [#10731](https://github.com/Sylius/Sylius/issues/10731) [Docs] Plugins technical review checklist ([@Zales0123](https://github.com/Zales0123)) -- [#10735](https://github.com/Sylius/Sylius/issues/10735) Do not impose a length of two on attribute codes and names ([@loevgaard](https://github.com/loevgaard)) -- [#10736](https://github.com/Sylius/Sylius/issues/10736) Channel page rework ([@kulczy](https://github.com/kulczy)) -- [#10754](https://github.com/Sylius/Sylius/issues/10754) clean Twig unused variable ([@oallain](https://github.com/oallain)) -- [#10756](https://github.com/Sylius/Sylius/issues/10756) Changed visibility to make it usable when extending ([@loevgaard](https://github.com/loevgaard)) -- [#10759](https://github.com/Sylius/Sylius/issues/10759) Fix user impersonated listener when impersonating another user resource ([@loic425](https://github.com/loic425)) -- [#10783](https://github.com/Sylius/Sylius/issues/10783) [Admin] Fix Github issue tracker link ([@Zales0123](https://github.com/Zales0123)) -- [#10791](https://github.com/Sylius/Sylius/issues/10791) Allow to define free products ([@Zales0123](https://github.com/Zales0123)) -- [#10796](https://github.com/Sylius/Sylius/issues/10796) [Admin][Order] Add promotions to order summary ([@GSadee](https://github.com/GSadee)) -- [#10803](https://github.com/Sylius/Sylius/issues/10803) Add Webpack Encore ([@kulczy](https://github.com/kulczy)) -- [#10810](https://github.com/Sylius/Sylius/issues/10810) [Admin][Order] Remove unnecessary tag ([@GSadee](https://github.com/GSadee)) -- [#10811](https://github.com/Sylius/Sylius/issues/10811) Explicitly list deprecated things in the code & solve Twig deprecations ([@pamil](https://github.com/pamil)) -- [#10812](https://github.com/Sylius/Sylius/issues/10812) [Shop] Hide shipping costs for orders with virtual products ([@GSadee](https://github.com/GSadee)) -- [#10814](https://github.com/Sylius/Sylius/issues/10814) Make Psalm more aggressive ([@pamil](https://github.com/pamil)) -- [#10818](https://github.com/Sylius/Sylius/issues/10818) [Payum][Checkout] Pass address data to PayPal after checkout ([@Zales0123](https://github.com/Zales0123)) -- [#10822](https://github.com/Sylius/Sylius/issues/10822) Fix typo in TaxonomyElementInterface classname ([@pamil](https://github.com/pamil)) -- [#10827](https://github.com/Sylius/Sylius/issues/10827) New Webpack approach ([@kulczy](https://github.com/kulczy)) -- [#10829](https://github.com/Sylius/Sylius/issues/10829) Remove Symfony ^3.4 support on the master branch ([@pamil](https://github.com/pamil)) -- [#10831](https://github.com/Sylius/Sylius/issues/10831) [Docs] Theming Guide: Webpack Encore v1 ([@CoderMaggie](https://github.com/CoderMaggie)) -- [#10833](https://github.com/Sylius/Sylius/issues/10833) Change banner ([@kulczy](https://github.com/kulczy)) -- [#10834](https://github.com/Sylius/Sylius/issues/10834) Remove usage of deprecated "Symfony\Component\Config\Definition\Builder\TreeBuilder::root()" ([@pamil](https://github.com/pamil)) -- [#10836](https://github.com/Sylius/Sylius/issues/10836) Do not use deprecated Symfony events ([@pamil](https://github.com/pamil)) -- [#10839](https://github.com/Sylius/Sylius/issues/10839) [Psalm] Improve docblocks ([@pamil](https://github.com/pamil)) -- [#10840](https://github.com/Sylius/Sylius/issues/10840) [Psalm] Treat PossiblyUndefined* and PossiblyFalse* as errors ([@pamil](https://github.com/pamil)) -- [#10843](https://github.com/Sylius/Sylius/issues/10843) [Psalm] Treat checks from level 5 as errors ([@pamil](https://github.com/pamil)) -- [#10845](https://github.com/Sylius/Sylius/issues/10845) [Psalm] Fix the build ([@pamil](https://github.com/pamil)) -- [#10847](https://github.com/Sylius/Sylius/issues/10847) Deprecate Stripe Checkout due to lacking support for SCA ([@pamil](https://github.com/pamil)) -- [#10848](https://github.com/Sylius/Sylius/issues/10848) Update Webpack docs ([@kulczy](https://github.com/kulczy)) -- [#10854](https://github.com/Sylius/Sylius/issues/10854) [Behat][Admin][Order] Fix scenarios for displaying promotions on master after upmerge ([@GSadee](https://github.com/GSadee)) -- [#10858](https://github.com/Sylius/Sylius/issues/10858) [Psalm] Treat MismatchingDocblockReturnType as errors ([@pamil](https://github.com/pamil)) -- [#10859](https://github.com/Sylius/Sylius/issues/10859) [Psalm] Treat MethodSignatureMismatch as errors ([@pamil](https://github.com/pamil)) -- [#10860](https://github.com/Sylius/Sylius/issues/10860) [Channel] channel types ([@AdamKasp](https://github.com/AdamKasp)) -- [#10861](https://github.com/Sylius/Sylius/issues/10861) Add Bootstrap based theming guide ([@kulczy](https://github.com/kulczy)) -- [#10873](https://github.com/Sylius/Sylius/issues/10873) [Psalm] Fix the build after Symfony 4.4 update ([@pamil](https://github.com/pamil)) -- [#10875](https://github.com/Sylius/Sylius/issues/10875) Revert changes causing BC break ([@pamil](https://github.com/pamil)) -- [#10876](https://github.com/Sylius/Sylius/issues/10876) Add warning message to the theming guide ([@kulczy](https://github.com/kulczy)) -- [#10883](https://github.com/Sylius/Sylius/issues/10883) Rework Behat testing from classes/ids to attributes for login and registration pages ([@Tomanhez](https://github.com/Tomanhez)) -- [#10885](https://github.com/Sylius/Sylius/issues/10885) Add help messages to settings requirements checked in CLI ([@akondas](https://github.com/akondas)) -- [#10888](https://github.com/Sylius/Sylius/issues/10888) Add missing sass-loader to dependencies ([@kulczy](https://github.com/kulczy)) -- [#10893](https://github.com/Sylius/Sylius/issues/10893) Improve emails templates ([@kulczy](https://github.com/kulczy), [@GSadee](https://github.com/GSadee), [@pamil](https://github.com/pamil)) -- [#10894](https://github.com/Sylius/Sylius/issues/10894) Add documentation for customising emails per channel ([@pamil](https://github.com/pamil)) -- [#10895](https://github.com/Sylius/Sylius/issues/10895) Fix misspellings in french fixtures files ([@DjLeChuck](https://github.com/DjLeChuck)) -- [#10897](https://github.com/Sylius/Sylius/issues/10897) Minor fixes - Rework behat tests ([@Tomanhez](https://github.com/Tomanhez)) -- [#10900](https://github.com/Sylius/Sylius/issues/10900) [Docs] [Channel]Fix docs with channel ([@AdamKasp](https://github.com/AdamKasp)) diff --git a/CHANGELOG-1.8.md b/CHANGELOG-1.8.md deleted file mode 100644 index 9a11275421..0000000000 --- a/CHANGELOG-1.8.md +++ /dev/null @@ -1,457 +0,0 @@ -# CHANGELOG FOR `1.8.X` - -## v1.8.12 (2021-04-22) - -#### Details - -- [#12469](https://github.com/Sylius/Sylius/issues/12469) Extract sylius/admin-api-bundle out of Sylius Core (but keep it installed by default in existing minor releases) ([@pamil](https://github.com/pamil)) -- [#12489](https://github.com/Sylius/Sylius/issues/12489) Build fix Change int to string in GenerateCouponsCommand ([@Tomanhez](https://github.com/Tomanhez)) -- [#12493](https://github.com/Sylius/Sylius/issues/12493) Update model.rst ([@mariogalan](https://github.com/mariogalan)) -- [#12501](https://github.com/Sylius/Sylius/issues/12501) [BUG] Product options null value returns 400 instead of 500 ([@lchrusciel](https://github.com/lchrusciel), [@SirDomin](https://github.com/SirDomin)) -- [#12504](https://github.com/Sylius/Sylius/issues/12504) Change app.php to index.php ([@stefandoorn](https://github.com/stefandoorn)) -- [#12516](https://github.com/Sylius/Sylius/issues/12516) Fix CustomerComponent Typo ([@DennisdeBest](https://github.com/DennisdeBest)) -- [#12522](https://github.com/Sylius/Sylius/issues/12522) Revert BC break in ProductVariantInterface ([@pamil](https://github.com/pamil)) -- [#12523](https://github.com/Sylius/Sylius/issues/12523) Remove Admin API Bundle-related tests ([@pamil](https://github.com/pamil)) - -## v1.8.11 (2021-03-22) - -#### Details - -- [#12468](https://github.com/Sylius/Sylius/issues/12468) Fix the build by conflicting with doctrine/doctrine-bundle 2.3.0 ([@pamil](https://github.com/pamil)) - -## v1.8.10 (2021-03-18) - -#### Details - -- [#12126](https://github.com/Sylius/Sylius/issues/12126) Fix incorrect money format being used ([@kayue](https://github.com/kayue)) -- [#12289](https://github.com/Sylius/Sylius/issues/12289) [Docs] Add docs for LoyaltyRule[Api] ([@Tomanhez](https://github.com/Tomanhez)) -- [#12312](https://github.com/Sylius/Sylius/issues/12312) [CI] Ignore changes in "adr" directory ([@pamil](https://github.com/pamil)) -- [#12313](https://github.com/Sylius/Sylius/issues/12313) Change package type from "project" to "library" ([@vvasiloi](https://github.com/vvasiloi)) -- [#12324](https://github.com/Sylius/Sylius/issues/12324) Removing hard timeout on edit while load selected values ([@christopherhero](https://github.com/christopherhero)) -- [#12352](https://github.com/Sylius/Sylius/issues/12352) [Frontend] add box with info about api identifiers ([@SirDomin](https://github.com/SirDomin)) -- [#12363](https://github.com/Sylius/Sylius/issues/12363) [Maintenance] Run test suite for MySQL 8.0 ([@lchrusciel](https://github.com/lchrusciel), [@GSadee](https://github.com/GSadee)) -- [#12367](https://github.com/Sylius/Sylius/issues/12367) change swagger API info color to blue ([@SirDomin](https://github.com/SirDomin)) -- [#12376](https://github.com/Sylius/Sylius/issues/12376) Pass path delimiter up to parent taxon ([@Jeroen-G](https://github.com/Jeroen-G), [@Jeroen](https://github.com/Jeroen), [@pamil](https://github.com/pamil)) -- [#12384](https://github.com/Sylius/Sylius/issues/12384) Doc: Fix Doctrine project url ([@n3wborn](https://github.com/n3wborn)) -- [#12397](https://github.com/Sylius/Sylius/issues/12397) Do not fail when mb_detect_encoding returns false ([@stefandoorn](https://github.com/stefandoorn)) -- [#12404](https://github.com/Sylius/Sylius/issues/12404) Fix nested accordion initialisation ([@DjLeChuck](https://github.com/DjLeChuck)) -- [#12407](https://github.com/Sylius/Sylius/issues/12407) [AttributeBundle] custom locale_code fixed ([@Mateuszry](https://github.com/Mateuszry)) - -## v1.8.9 (2021-02-01) - -#### TL;DR - -- Fixes the application errors due to external dependencies changes - -#### Details - -- [#12234](https://github.com/Sylius/Sylius/issues/12234) Backport symfony/polyfill-mbstring:1.22.0 conflict to make the build passing on 1.8 ([@pamil](https://github.com/pamil)) -- [#12255](https://github.com/Sylius/Sylius/issues/12255) Auto-merge passing dependabot PRs ([@Zales0123](https://github.com/Zales0123)) -- [#12272](https://github.com/Sylius/Sylius/issues/12272) [Docs] fix for admin RBAC channels ([@AdamKasp](https://github.com/AdamKasp)) -- [#12274](https://github.com/Sylius/Sylius/issues/12274) Fix no identifier defined error in ApiPlatform 2.6 ([@kayue](https://github.com/kayue)) -- [#12281](https://github.com/Sylius/Sylius/issues/12281) Add conflict with api-platform/core:^2.6 ([@pamil](https://github.com/pamil)) -- [#12295](https://github.com/Sylius/Sylius/issues/12295) [Api] Fix CommandAwareInputDataTransformer ([@Tomanhez](https://github.com/Tomanhez)) - -## v1.8.8 (2021-01-11) - -#### Details - -- [#11794](https://github.com/Sylius/Sylius/issues/11794) Fixed deprecated `Intl` component usage ([@stloyd](https://github.com/stloyd)) -- [#12196](https://github.com/Sylius/Sylius/issues/12196) [CI] Ignore depenabot pushes & allow for triggering manual workflows ([@pamil](https://github.com/pamil)) -- [#12201](https://github.com/Sylius/Sylius/issues/12201) [BUG-FIX] display customer email if user is not logged in ([@SirDomin](https://github.com/SirDomin)) -- [#12209](https://github.com/Sylius/Sylius/issues/12209) Add friendsofphp/proxy-manager-lts for ocramius/proxy-manager ([@Tomanhez](https://github.com/Tomanhez)) -- [#12210](https://github.com/Sylius/Sylius/issues/12210) [BUG-FIX] [Checkout] Change email addressing step ([@SirDomin](https://github.com/SirDomin)) -- [#12211](https://github.com/Sylius/Sylius/issues/12211) [Behat][Minor] Step rephrasing to decouple from UI ([@lchrusciel](https://github.com/lchrusciel)) -- [#12216](https://github.com/Sylius/Sylius/issues/12216) Update release cycle with Sylius 1.9 information ([@pamil](https://github.com/pamil)) - -## v1.8.7 (2020-12-23) - -#### Details - -- [#12067](https://github.com/Sylius/Sylius/issues/12067) [UI] change image dimensions ([@SirDomin](https://github.com/SirDomin)) -- [#12110](https://github.com/Sylius/Sylius/issues/12110) Add behat scenario with free order ([@clem21](https://github.com/clem21)) -- [#12155](https://github.com/Sylius/Sylius/issues/12155) [CI] Add timeouts to GitHub Actions ([@pamil](https://github.com/pamil)) -- [#12156](https://github.com/Sylius/Sylius/issues/12156) Update resource_layer.rst ([@abdounikarim](https://github.com/abdounikarim)) -- [#12163](https://github.com/Sylius/Sylius/issues/12163) [CI] Switch from ubuntu-latest to ubuntu-18.04 ([@pamil](https://github.com/pamil)) -- [#12169](https://github.com/Sylius/Sylius/issues/12169) [CI] Ignore dependabot/* branch pushes, build PRs only ([@pamil](https://github.com/pamil)) -- [#12185](https://github.com/Sylius/Sylius/issues/12185) [Bugfix][1.8] `Kernel::configureContainer()` should match it's parent signature ([@stloyd](https://github.com/stloyd)) -- [#12187](https://github.com/Sylius/Sylius/issues/12187) [BugFix] Add missing argument in metchod ([@Tomanhez](https://github.com/Tomanhez)) -- [#12189](https://github.com/Sylius/Sylius/issues/12189) Notify about failed jobs ([@pamil](https://github.com/pamil)) - -## v1.8.6 (2020-12-09) - -#### Details - -- [#12004](https://github.com/Sylius/Sylius/issues/12004) Menu taxon can be null, even by default ([@jacquesbh](https://github.com/jacquesbh)) -- [#12010](https://github.com/Sylius/Sylius/issues/12010) [Hot-fix] Allow to use svg images without filtration ([@Zales0123](https://github.com/Zales0123), [@AdamKasp](https://github.com/AdamKasp), [@SirDomin](https://github.com/SirDomin)) -- [#12018](https://github.com/Sylius/Sylius/issues/12018) [BC BREAK] [Order] Order cancelation fix ([@lchrusciel](https://github.com/lchrusciel)) -- [#12046](https://github.com/Sylius/Sylius/issues/12046) Bugfix | Don't suggest old format for template locations ([@stloyd](https://github.com/stloyd)) -- [#12052](https://github.com/Sylius/Sylius/issues/12052) #12051 fix attribute registry initialized twice ([@Fantus](https://github.com/Fantus)) -- [#12055](https://github.com/Sylius/Sylius/issues/12055) Change route prefixes in security.yaml ([@jacquesbh](https://github.com/jacquesbh)) -- [#12060](https://github.com/Sylius/Sylius/issues/12060) [PoC] Add parameter to be able to disable prepending doctrine migrations ([@GSadee](https://github.com/GSadee), [@Tomanhez](https://github.com/Tomanhez)) -- [#12066](https://github.com/Sylius/Sylius/issues/12066) Fix typo in UPGRADE-1.6.md ([@stefandoorn](https://github.com/stefandoorn)) -- [#12069](https://github.com/Sylius/Sylius/issues/12069) Adjust link to migration file ([@stefandoorn](https://github.com/stefandoorn)) -- [#12071](https://github.com/Sylius/Sylius/issues/12071) Update supported versions info ([@Zales0123](https://github.com/Zales0123)) -- [#12086](https://github.com/Sylius/Sylius/issues/12086) Add conflict with lcobucci/jwt to prevent Behat build failures ([@pamil](https://github.com/pamil)) -- [#12087](https://github.com/Sylius/Sylius/issues/12087) [CI] Switch documentation build from Travis to GitHub Actions ([@pamil](https://github.com/pamil)) -- [#12089](https://github.com/Sylius/Sylius/issues/12089) [CI] Switch packages build from Travis to GitHub Actions ([@pamil](https://github.com/pamil)) -- [#12090](https://github.com/Sylius/Sylius/issues/12090) [CI] Switch application build from Travis to GitHub Actions ([@pamil](https://github.com/pamil)) -- [#12093](https://github.com/Sylius/Sylius/issues/12093) Use sha512 to encode passwords in test environments ([@pamil](https://github.com/pamil)) -- [#12101](https://github.com/Sylius/Sylius/issues/12101) Remove lcobucci/jwt v3.4 conflict ([@Tomanhez](https://github.com/Tomanhez)) -- [#12103](https://github.com/Sylius/Sylius/issues/12103) Fix the uploaded image path generator spec ([@pamil](https://github.com/pamil)) -- [#12105](https://github.com/Sylius/Sylius/issues/12105) [CI] Uploade Behat logs as artifacts if failed ([@pamil](https://github.com/pamil)) -- [#12108](https://github.com/Sylius/Sylius/issues/12108) [CI] GitHub Actions setup improvements ([@pamil](https://github.com/pamil)) -- [#12114](https://github.com/Sylius/Sylius/issues/12114) [Behat]Javascript tests helper ([@arti0090](https://github.com/arti0090)) -- [#12115](https://github.com/Sylius/Sylius/issues/12115) [CI] Improve DX while debugging failed Behat scenarios ([@pamil](https://github.com/pamil)) -- [#12117](https://github.com/Sylius/Sylius/issues/12117) Remove pamil/prophecy-common from require-dev dependencies ([@pamil](https://github.com/pamil)) -- [#12118](https://github.com/Sylius/Sylius/issues/12118) Original price is not required in UI ([@jacquesbh](https://github.com/jacquesbh)) -- [#12120](https://github.com/Sylius/Sylius/issues/12120) Fix doctrine migrations config in UPGRADE-1.8.md ([@mmenozzi](https://github.com/mmenozzi)) -- [#12123](https://github.com/Sylius/Sylius/issues/12123) [Behat] Introduce test helper for more JS tests and increase timeout ([@arti0090](https://github.com/arti0090)) -- [#12125](https://github.com/Sylius/Sylius/issues/12125) [Maintenance] Add retry to github action ([@lchrusciel](https://github.com/lchrusciel)) -- [#12127](https://github.com/Sylius/Sylius/issues/12127) [Maintenance] Move dependency from require-dev to require in CoreBundle and AdminApiBundle composers ([@GSadee](https://github.com/GSadee)) -- [#12140](https://github.com/Sylius/Sylius/issues/12140) Temporarily lock on Resource 1.6.* ([@Zales0123](https://github.com/Zales0123)) -- [#12149](https://github.com/Sylius/Sylius/issues/12149) Improve retrying Behat and reduce failure rate ([@pamil](https://github.com/pamil)) - -## v1.8.5 (2020-11-12) - -#### Details - -- [#12005](https://github.com/Sylius/Sylius/issues/12005) Use the correct variable ([@jacquesbh](https://github.com/jacquesbh)) -- [#12009](https://github.com/Sylius/Sylius/issues/12009) Updated translation.rst ([@Romain](https://github.com/Romain)) -- [#12011](https://github.com/Sylius/Sylius/issues/12011) Customize a controller fix typo in services config ([@Oipnet](https://github.com/Oipnet)) -- [#11974](https://github.com/Sylius/Sylius/issues/11974) [UI] Fix broken checkboxes that dont change state ([@misaon](https://github.com/misaon)) -- [#11908](https://github.com/Sylius/Sylius/issues/11908) Use proper parameters in access control patterns ([@loevgaard](https://github.com/loevgaard), [@lchrusciel](https://github.com/lchrusciel)) -- [#11899](https://github.com/Sylius/Sylius/issues/11899) Update Github PR template ([@Zales0123](https://github.com/Zales0123)) -- [#12019](https://github.com/Sylius/Sylius/issues/12019) [AUTO] Updated translations from Crowdin (1.7) () -- [#12022](https://github.com/Sylius/Sylius/issues/12022) Suggest PayPalPlugin as the default PayPal integration ([@Zales0123](https://github.com/Zales0123)) -- [#11993](https://github.com/Sylius/Sylius/issues/11993) [API] Explicitly define bus to all handlers ([@lchrusciel](https://github.com/lchrusciel)) -- [#12014](https://github.com/Sylius/Sylius/issues/12014) Add some explanations about the stocks issue ([@jacquesbh](https://github.com/jacquesbh)) -- [#11895](https://github.com/Sylius/Sylius/issues/11895) [API][Order] Fixed wrong where condition when looking for order ([@stloyd](https://github.com/stloyd), [@AdamKasp](https://github.com/AdamKasp)) - -## v1.8.4 (2020-11-05) - -#### Details - -- [#11932](https://github.com/Sylius/Sylius/issues/11932) [Minor][API] Add missing messenger handler interfaces ([@lchrusciel](https://github.com/lchrusciel)) -- [#11940](https://github.com/Sylius/Sylius/issues/11940) [Maintenance] Adjusting symfony.lock to lowest supported PHP version ([@lchrusciel](https://github.com/lchrusciel)) -- [#11946](https://github.com/Sylius/Sylius/issues/11946) Changed behavior of string inflector ([@arti0090](https://github.com/arti0090)) -- [#11957](https://github.com/Sylius/Sylius/issues/11957) Minor CS fixes detected by ECS ([@Zales0123](https://github.com/Zales0123)) -- [#11958](https://github.com/Sylius/Sylius/issues/11958) [Core] Decouple cart collector from shop ([@lchrusciel](https://github.com/lchrusciel)) -- [#11972](https://github.com/Sylius/Sylius/issues/11972) [Maintenance] Conflict symfony doctrine bridge ([@lchrusciel](https://github.com/lchrusciel)) -- [#11871](https://github.com/Sylius/Sylius/issues/11871) Patch for Unable to extends ShopBillingData [#11625] ([@jbcr](https://github.com/jbcr)) -- [#11982](https://github.com/Sylius/Sylius/issues/11982) [Minor] Update service definition to not using depracated service ([@lchrusciel](https://github.com/lchrusciel)) -- [#11988](https://github.com/Sylius/Sylius/issues/11988) [Behat] Fix argument name after upgrade Behat to v3.8.0 ([@GSadee](https://github.com/GSadee)) -- [#11981](https://github.com/Sylius/Sylius/issues/11981) Adjust services to symfony/serializer:^4.4 ([@Zales0123](https://github.com/Zales0123)) -- [#11991](https://github.com/Sylius/Sylius/issues/11991) Remove nikic/php-parser as a conflict ([@loevgaard](https://github.com/loevgaard)) -- [#11999](https://github.com/Sylius/Sylius/issues/11999) [Maintenance] Bump psalm, fix naming issues and build ([@lchrusciel](https://github.com/lchrusciel)) -- [#11894](https://github.com/Sylius/Sylius/issues/11894) [Order] Do not stop cancelling unpaid orders on exception during canc… ([@twojtylak](https://github.com/twojtylak)) - -## v1.8.3 (2020-10-20) - -#### Details - -- [#11452](https://github.com/Sylius/Sylius/issues/11452) [Docs] Fix redirection for backwards compatibility promise ([@pamil](https://github.com/pamil)) -- [#11919](https://github.com/Sylius/Sylius/issues/11919) [AUTO] Updated translations from Crowdin (1.7) ([@Sylius](https://github.com/Sylius) [@Bot](https://github.com/Bot)) -- [#11929](https://github.com/Sylius/Sylius/issues/11929) [API] Add missing experimental annotations ([@lchrusciel](https://github.com/lchrusciel)) -- [#11944](https://github.com/Sylius/Sylius/issues/11944) [Shop] Disabling customer when email has been changed ([@lchrusciel](https://github.com/lchrusciel)) - -## v1.8.2 (2020-10-12) - -#### Details - -- [#11882](https://github.com/Sylius/Sylius/issues/11882) Use DQL instead of repository to fetch product attributes ([@loevgaard](https://github.com/loevgaard)) -- [#11911](https://github.com/Sylius/Sylius/issues/11911) Removing typehint for Symfony 4.4 compatibility ([@mamazu](https://github.com/mamazu), [@lchrusciel](https://github.com/lchrusciel)) - -## v1.8.1 (2020-10-02) - -#### Details - -- [#11835](https://github.com/Sylius/Sylius/issues/11835) [ChannelPricing] Remove channel pricing 1.7 ([@AdamKasp](https://github.com/AdamKasp), [@Tomanhez](https://github.com/Tomanhez), [@lchrusciel](https://github.com/lchrusciel)) -- [#11839](https://github.com/Sylius/Sylius/issues/11839) [Behat] Remove duplicated method from ProductContext ([@GSadee](https://github.com/GSadee)) -- [#11778](https://github.com/Sylius/Sylius/issues/11778) Fixed compatibility with newer version of data collectors ([@stloyd](https://github.com/stloyd)) -- [#11845](https://github.com/Sylius/Sylius/issues/11845) It's been only a few days guys! ([@jacquesbh](https://github.com/jacquesbh)) -- [#11844](https://github.com/Sylius/Sylius/issues/11844) [Minor] Dead code removal ([@lchrusciel](https://github.com/lchrusciel)) -- [#11855](https://github.com/Sylius/Sylius/issues/11855) Typo in UPGRADE-1.8.md ([@jacquesbh](https://github.com/jacquesbh)) -- [#11848](https://github.com/Sylius/Sylius/issues/11848) [Product] Add possibility to create product/variant without price in disabled channels ([@AdamKasp](https://github.com/AdamKasp)) -- [#11865](https://github.com/Sylius/Sylius/issues/11865) Fix build and add missing migration ([@Tomanhez](https://github.com/Tomanhez), [@AdamKasp](https://github.com/AdamKasp)) -- [#11852](https://github.com/Sylius/Sylius/issues/11852) [Docs] Add changes in UPGRADE-1.8.md ([@Tomanhez](https://github.com/Tomanhez)) -- [#11830](https://github.com/Sylius/Sylius/issues/11830) [Api][Cart] Fix for Cart access tests ([@Tomanhez](https://github.com/Tomanhez)) -- [#11898](https://github.com/Sylius/Sylius/issues/11898) Improve 1.8 migrations upgrade instructions ([@Zales0123](https://github.com/Zales0123)) -- [#11901](https://github.com/Sylius/Sylius/issues/11901) [1.8] Fix migration generation ([@Jibbarth](https://github.com/Jibbarth)) -- [#11904](https://github.com/Sylius/Sylius/issues/11904) [API] Separate providers for shop and admin users ([@GSadee](https://github.com/GSadee)) - -## v1.8.0 (2020-09-14) - -#### Details - -- [#11418](https://github.com/Sylius/Sylius/issues/11418) set default value for Channel taxCalculationStrategy ([@oallain](https://github.com/oallain)) -- [#11745](https://github.com/Sylius/Sylius/issues/11745) [Api][Checkout] Modify ShippingMethod and PaymentMethod paths on Checkout ([@Tomanhez](https://github.com/Tomanhez)) -- [#11781](https://github.com/Sylius/Sylius/issues/11781) Add missing new method into form extensions ([@stloyd](https://github.com/stloyd)) -- [#11786](https://github.com/Sylius/Sylius/issues/11786) Fixed deprecated option usage on Email validator ([@stloyd](https://github.com/stloyd)) -- [#11790](https://github.com/Sylius/Sylius/issues/11790) [Api] Add experimental warning to swagger ([@lchrusciel](https://github.com/lchrusciel)) -- [#11792](https://github.com/Sylius/Sylius/issues/11792) Fixed: Parent taxon selection on taxon creation ([@igormukhingmailcom](https://github.com/igormukhingmailcom)) -- [#11795](https://github.com/Sylius/Sylius/issues/11795) Api refactor product and order related endpoints ([@AdamKasp](https://github.com/AdamKasp)) -- [#11797](https://github.com/Sylius/Sylius/issues/11797) Fixed Twig translate extension not working with `null` values ([@stloyd](https://github.com/stloyd)) -- [#11799](https://github.com/Sylius/Sylius/issues/11799) [API]Fixed endpoints related to order-items that returns 500 error ([@arti0090](https://github.com/arti0090)) -- [#11806](https://github.com/Sylius/Sylius/issues/11806) [Api][Checkout] Allowing access only for correctly logged in ([@Tomanhez](https://github.com/Tomanhez)) -- [#11807](https://github.com/Sylius/Sylius/issues/11807) [API] Disable province code change in PUT endpoint ([@arti0090](https://github.com/arti0090)) -- [#11808](https://github.com/Sylius/Sylius/issues/11808) allow sonata block bundle v3 ([@esserj](https://github.com/esserj)) -- [#11813](https://github.com/Sylius/Sylius/issues/11813) [ADR] Minor text adjustments ([@lchrusciel](https://github.com/lchrusciel)) -- [#11814](https://github.com/Sylius/Sylius/issues/11814) [Channel] Fix bc-breaking changes in ChannelFactory and minor improvements ([@lchrusciel](https://github.com/lchrusciel)) -- [#11818](https://github.com/Sylius/Sylius/issues/11818) [Api] Hide token value in create cart endpoint's body ([@AdamKasp](https://github.com/AdamKasp)) -- [#11819](https://github.com/Sylius/Sylius/issues/11819) [API] Refactored data transformers ([@lchrusciel](https://github.com/lchrusciel)) -- [#11820](https://github.com/Sylius/Sylius/issues/11820) [ChannelPricing] Ability to remove price on channel pricing when channel is disabled ([@AdamKasp](https://github.com/AdamKasp), [@Tomanhez](https://github.com/Tomanhez)) -- [#11821](https://github.com/Sylius/Sylius/issues/11821) [API] Hide product review in product create endpoint ([@AdamKasp](https://github.com/AdamKasp)) -- [#11822](https://github.com/Sylius/Sylius/issues/11822) Bugfix | Fixed wrong Symfony controller class usage ([@stloyd](https://github.com/stloyd)) -- [#11823](https://github.com/Sylius/Sylius/issues/11823) [API] Unify interface parameters ([@lchrusciel](https://github.com/lchrusciel)) -- [#11824](https://github.com/Sylius/Sylius/issues/11824) [API]add to swagger documentation missing locale code in translations ([@arti0090](https://github.com/arti0090)) -- [#11825](https://github.com/Sylius/Sylius/issues/11825) [Api][Cart] Fix for OrderGetMethodItemExtension ([@Tomanhez](https://github.com/Tomanhez)) -- [#11831](https://github.com/Sylius/Sylius/issues/11831) [API] fix route for pickup cart ([@AdamKasp](https://github.com/AdamKasp)) -- [#11832](https://github.com/Sylius/Sylius/issues/11832) [Api][Checkout] Allowing access only for correctly logged in - minor fixes(1.8) ([@Tomanhez](https://github.com/Tomanhez)) -- [#11833](https://github.com/Sylius/Sylius/issues/11833) [Admin] Channel pricing removal for channels where the product is not available ([@lchrusciel](https://github.com/lchrusciel)) -- [#11837](https://github.com/Sylius/Sylius/issues/11837) Update README.md ([@CoderMaggie](https://github.com/CoderMaggie)) - -## v1.8.0-RC.1 (2020-09-07) - -#### Details - -- [#9661](https://github.com/Sylius/Sylius/issues/9661) typo maybe! ([@xeptore](https://github.com/xeptore), [@pamil](https://github.com/pamil)) -- [#10434](https://github.com/Sylius/Sylius/issues/10434) [Shipping] Shipping method rules ([@loevgaard](https://github.com/loevgaard)) -- [#10565](https://github.com/Sylius/Sylius/issues/10565) Remove deprecations on Symfony Intl component ([@loic425](https://github.com/loic425)) -- [#10688](https://github.com/Sylius/Sylius/issues/10688) MVP of the debug cart panel (, [@pamil](https://github.com/pamil)) -- [#10749](https://github.com/Sylius/Sylius/issues/10749) Promotion fixture coupons ([@JakobTolkemit](https://github.com/JakobTolkemit), [@lchrusciel](https://github.com/lchrusciel), [@Zales0123](https://github.com/Zales0123)) -- [#11029](https://github.com/Sylius/Sylius/issues/11029) Try out Behat packages supporting Symfony 5 ([@pamil](https://github.com/pamil)) -- [#11116](https://github.com/Sylius/Sylius/issues/11116) Fixed: Hardcoded locale at Behat product transformer ([@igormukhingmailcom](https://github.com/igormukhingmailcom)) -- [#11124](https://github.com/Sylius/Sylius/issues/11124) Template events for shop's cart ([@Tomanhez](https://github.com/Tomanhez)) -- [#11126](https://github.com/Sylius/Sylius/issues/11126) Template events for layout, footer, header ([@Tomanhez](https://github.com/Tomanhez)) -- [#11131](https://github.com/Sylius/Sylius/issues/11131) Template events minor fix for Shop/Cart ([@Tomanhez](https://github.com/Tomanhez)) -- [#11134](https://github.com/Sylius/Sylius/issues/11134) Adding documentation of the order processor ([@mamazu](https://github.com/mamazu), [@lchrusciel](https://github.com/lchrusciel)) -- [#11139](https://github.com/Sylius/Sylius/issues/11139) Disable clicked button ([@kulczy](https://github.com/kulczy)) -- [#11156](https://github.com/Sylius/Sylius/issues/11156) Add link to product detail page ([@floplus](https://github.com/floplus)) -- [#11164](https://github.com/Sylius/Sylius/issues/11164) [typography] return function ([@DurandSacha](https://github.com/DurandSacha)) -- [#11165](https://github.com/Sylius/Sylius/issues/11165) Update basic-usage.rst with return Typography ([@DurandSacha](https://github.com/DurandSacha)) -- [#11188](https://github.com/Sylius/Sylius/issues/11188) [Admin] [Shipment] Add back button on shipment show page ([@GSadee](https://github.com/GSadee)) -- [#11190](https://github.com/Sylius/Sylius/issues/11190) [Maintenance] Update github PR template ([@lchrusciel](https://github.com/lchrusciel)) -- [#11194](https://github.com/Sylius/Sylius/issues/11194) Opening show in the store in new tab from admin ([@antonioperic](https://github.com/antonioperic)) -- [#11201](https://github.com/Sylius/Sylius/issues/11201) [Docs] [Installation] Update latest stable version ([@Jibbarth](https://github.com/Jibbarth)) -- [#11207](https://github.com/Sylius/Sylius/issues/11207) Add translations issue template ([@CoderMaggie](https://github.com/CoderMaggie)) -- [#11212](https://github.com/Sylius/Sylius/issues/11212) Use events fully for layout css and js ([@Prometee](https://github.com/Prometee)) -- [#11214](https://github.com/Sylius/Sylius/issues/11214) Use https instead of http for Channel's hostname in form ([@jacquesbh](https://github.com/jacquesbh)) -- [#11226](https://github.com/Sylius/Sylius/issues/11226) Initializing adjustments before the order item is processed ([@mamazu](https://github.com/mamazu)) -- [#11227](https://github.com/Sylius/Sylius/issues/11227) Update Bootstrap-theme.rst ([@Yohann76](https://github.com/Yohann76)) -- [#11239](https://github.com/Sylius/Sylius/issues/11239) [API] [Order] Orders browsing, cancelling and cancelling with promotion ([@AdamKasp](https://github.com/AdamKasp)) -- [#11240](https://github.com/Sylius/Sylius/issues/11240) [API] [Product] Crud product browsing deleting editing ([@Tomanhez](https://github.com/Tomanhez)) -- [#11241](https://github.com/Sylius/Sylius/issues/11241) Toggleable product variant ([@LucaGallinari](https://github.com/LucaGallinari), [@mmenozzi](https://github.com/mmenozzi)) -- [#11245](https://github.com/Sylius/Sylius/issues/11245) [API] [Administrator] Implement deleting and editing administrators features ([@GSadee](https://github.com/GSadee)) -- [#11246](https://github.com/Sylius/Sylius/issues/11246) [API] Browsing and deleting shipping methods ([@lchrusciel](https://github.com/lchrusciel)) -- [#11248](https://github.com/Sylius/Sylius/issues/11248) [API] [Order] Fulfilling orders ([@AdamKasp](https://github.com/AdamKasp), [@Zales0123](https://github.com/Zales0123)) -- [#11249](https://github.com/Sylius/Sylius/issues/11249) [API] [Shipment] Send email after shipment ship ([@AdamKasp](https://github.com/AdamKasp)) -- [#11251](https://github.com/Sylius/Sylius/issues/11251) [API] [Product] Crud product validation sorting ([@Tomanhez](https://github.com/Tomanhez)) -- [#11252](https://github.com/Sylius/Sylius/issues/11252) [API] Change operation path resolver from underscore to dash resolver ([@GSadee](https://github.com/GSadee)) -- [#11253](https://github.com/Sylius/Sylius/issues/11253) [API] Adding shipping methods ([@lchrusciel](https://github.com/lchrusciel)) -- [#11254](https://github.com/Sylius/Sylius/issues/11254) [API] Adding shipping methods ([@lchrusciel](https://github.com/lchrusciel)) -- [#11255](https://github.com/Sylius/Sylius/issues/11255) [API] [Administrator] Implement managing avatar features ([@GSadee](https://github.com/GSadee)) -- [#11256](https://github.com/Sylius/Sylius/issues/11256) [API] [Product] Add fixes for addTheOptions ([@Tomanhez](https://github.com/Tomanhez)) -- [#11257](https://github.com/Sylius/Sylius/issues/11257) [API] Editing and validation of shipping methods ([@lchrusciel](https://github.com/lchrusciel)) -- [#11258](https://github.com/Sylius/Sylius/issues/11258) [Minor] Improve ShippingCategory test ([@lchrusciel](https://github.com/lchrusciel)) -- [#11260](https://github.com/Sylius/Sylius/issues/11260) [Api] [Product] Fix default product sorting ([@Tomanhez](https://github.com/Tomanhez)) -- [#11262](https://github.com/Sylius/Sylius/issues/11262) [API] Protect shipping method from removal when in use ([@lchrusciel](https://github.com/lchrusciel)) -- [#11264](https://github.com/Sylius/Sylius/issues/11264) [Minor] Move doctrine filters to doctrine folder in api bundle ([@lchrusciel](https://github.com/lchrusciel)) -- [#11266](https://github.com/Sylius/Sylius/issues/11266) [API] Hide archived shipping methods ([@lchrusciel](https://github.com/lchrusciel)) -- [#11267](https://github.com/Sylius/Sylius/issues/11267) [API] Sorting shipping method by code and position ([@Zales0123](https://github.com/Zales0123)) -- [#11268](https://github.com/Sylius/Sylius/issues/11268) [API] Sorting shipping methods by name ([@Zales0123](https://github.com/Zales0123)) -- [#11269](https://github.com/Sylius/Sylius/issues/11269) [API] Archivization toggling and filtration ([@lchrusciel](https://github.com/lchrusciel)) -- [#11270](https://github.com/Sylius/Sylius/issues/11270) Fix build with API Behat ([@Zales0123](https://github.com/Zales0123)) -- [#11273](https://github.com/Sylius/Sylius/issues/11273) [API] add locale to Api Platform ([@oallain](https://github.com/oallain)) -- [#11274](https://github.com/Sylius/Sylius/issues/11274) [API] [Administrator] Refactor upload action in api client + minor fixes ([@GSadee](https://github.com/GSadee)) -- [#11275](https://github.com/Sylius/Sylius/issues/11275) [API] Move API Platform configuration to ApiBundle ([@GSadee](https://github.com/GSadee)) -- [#11276](https://github.com/Sylius/Sylius/issues/11276) [ShopBundle] Fix the checkout page ([@nayluge](https://github.com/nayluge), [@lchrusciel](https://github.com/lchrusciel)) -- [#11278](https://github.com/Sylius/Sylius/issues/11278) [API] add country ([@oallain](https://github.com/oallain)) -- [#11280](https://github.com/Sylius/Sylius/issues/11280) Order feature folder reorganization ([@lchrusciel](https://github.com/lchrusciel)) -- [#11281](https://github.com/Sylius/Sylius/issues/11281) [Maintenance] Bump ApiTestCase to v5.0 ([@lchrusciel](https://github.com/lchrusciel)) -- [#11282](https://github.com/Sylius/Sylius/issues/11282) [API] [Shipping Method] Improvement after PR preview ([@AdamKasp](https://github.com/AdamKasp)) -- [#11283](https://github.com/Sylius/Sylius/issues/11283) [API] Add endpoint to Swagger to retrieve a JWT token ([@GSadee](https://github.com/GSadee)) -- [#11286](https://github.com/Sylius/Sylius/issues/11286) [Docs] [API] Reorganize Sylius API docs + add authorization in Swagger UI ([@GSadee](https://github.com/GSadee)) -- [#11287](https://github.com/Sylius/Sylius/issues/11287) [Feature] Toggleable taxon ([@mmenozzi](https://github.com/mmenozzi), [@LucaGallinari](https://github.com/LucaGallinari)) -- [#11288](https://github.com/Sylius/Sylius/issues/11288) [API] Update UPGRADE-1.8 file after adding ApiBundle ([@GSadee](https://github.com/GSadee)) -- [#11289](https://github.com/Sylius/Sylius/issues/11289) [API] Move serializer configuration to ApiBundle ([@GSadee](https://github.com/GSadee)) -- [#11290](https://github.com/Sylius/Sylius/issues/11290) [API] Fix serializer config ([@lchrusciel](https://github.com/lchrusciel)) -- [#11291](https://github.com/Sylius/Sylius/issues/11291) [API] [Homepage] Latest products ([@AdamKasp](https://github.com/AdamKasp)) -- [#11293](https://github.com/Sylius/Sylius/issues/11293) Fixed hardcoded route &prefix in UPGRADE-1.8 document ([@stloyd](https://github.com/stloyd)) -- [#11295](https://github.com/Sylius/Sylius/issues/11295) [API] [Product] Add sorting for products by name ([@Tomanhez](https://github.com/Tomanhez)) -- [#11297](https://github.com/Sylius/Sylius/issues/11297) [API] Add prefix to all admin routes ([@GSadee](https://github.com/GSadee)) -- [#11298](https://github.com/Sylius/Sylius/issues/11298) [Psalm] Add symfony/polyfill-php80 to fix build ([@GSadee](https://github.com/GSadee)) -- [#11300](https://github.com/Sylius/Sylius/issues/11300) Updated OrderShipmentProcessor documentation ([@mamazu](https://github.com/mamazu)) -- [#11303](https://github.com/Sylius/Sylius/issues/11303) [API] [Shop] Add customer login ([@GSadee](https://github.com/GSadee)) -- [#11307](https://github.com/Sylius/Sylius/issues/11307) [API] [Product] Product sorting by name ([@Tomanhez](https://github.com/Tomanhez)) -- [#11314](https://github.com/Sylius/Sylius/issues/11314) Add translation key ([@loevgaard](https://github.com/loevgaard)) -- [#11316](https://github.com/Sylius/Sylius/issues/11316) [Api] [Homepage] menu taxons ([@AdamKasp](https://github.com/AdamKasp)) -- [#11318](https://github.com/Sylius/Sylius/issues/11318) [API] [Product] Add subscriber for generating slug automatically ([@GSadee](https://github.com/GSadee)) -- [#11319](https://github.com/Sylius/Sylius/issues/11319) [API] product association type ([@oallain](https://github.com/oallain)) -- [#11321](https://github.com/Sylius/Sylius/issues/11321) [API] Extract services configs + fixes to product slug event subscriber ([@GSadee](https://github.com/GSadee)) -- [#11323](https://github.com/Sylius/Sylius/issues/11323) [Symfony 5] Upgrade to PHPUnit 8 and DependencyInjectionTest 4 ([@pamil](https://github.com/pamil)) -- [#11325](https://github.com/Sylius/Sylius/issues/11325) [Minor] [API] Add interfaces to applicators ([@lchrusciel](https://github.com/lchrusciel)) -- [#11328](https://github.com/Sylius/Sylius/issues/11328) [API] Add description to custom path ([@AdamKasp](https://github.com/AdamKasp)) -- [#11332](https://github.com/Sylius/Sylius/issues/11332) [API] disable input on stateMachine transition endpoints ([@AdamKasp](https://github.com/AdamKasp)) -- [#11333](https://github.com/Sylius/Sylius/issues/11333) [API] fix typo in services ([@AdamKasp](https://github.com/AdamKasp)) -- [#11337](https://github.com/Sylius/Sylius/issues/11337) [API] Association types improvements ([@lchrusciel](https://github.com/lchrusciel)) -- [#11339](https://github.com/Sylius/Sylius/issues/11339) [Fixtures] Add possibility to specify menu taxon ([@lchrusciel](https://github.com/lchrusciel)) -- [#11347](https://github.com/Sylius/Sylius/issues/11347) [RFC] [DX] Open consts holder classes ([@lchrusciel](https://github.com/lchrusciel)) -- [#11352](https://github.com/Sylius/Sylius/issues/11352) [Maintenance] [Travis] Upgrade php memory to 6G ([@lchrusciel](https://github.com/lchrusciel)) -- [#11356](https://github.com/Sylius/Sylius/issues/11356) [API] Registering shop users ([@pamil](https://github.com/pamil)) -- [#11359](https://github.com/Sylius/Sylius/issues/11359) [Docs] [Plus] Resolving inventory stocks after shipment ([@AdamKasp](https://github.com/AdamKasp)) -- [#11360](https://github.com/Sylius/Sylius/issues/11360) Admin filtering promotions by coupon code ([@vvasiloi](https://github.com/vvasiloi)) -- [#11361](https://github.com/Sylius/Sylius/issues/11361) [API] Move messenger config to bundles + extract providing customer to a separate service ([@GSadee](https://github.com/GSadee)) -- [#11367](https://github.com/Sylius/Sylius/issues/11367) Check different shipping address field and display shipping address form ([@vvasiloi](https://github.com/vvasiloi)) -- [#11372](https://github.com/Sylius/Sylius/issues/11372) [API] Zones ([@oallain](https://github.com/oallain), [@GSadee](https://github.com/GSadee)) -- [#11377](https://github.com/Sylius/Sylius/issues/11377) Filter the orders grid on shipping method ([@jacquesbh](https://github.com/jacquesbh)) -- [#11379](https://github.com/Sylius/Sylius/issues/11379) Use hwi/oauth-bundle:^1.0 in packages ([@pamil](https://github.com/pamil)) -- [#11381](https://github.com/Sylius/Sylius/issues/11381) [API] [ShippingMethod] [Product] Improve sort filter and tests ([@Tomanhez](https://github.com/Tomanhez), [@pamil](https://github.com/pamil)) -- [#11383](https://github.com/Sylius/Sylius/issues/11383) [DX] update Psalm version ([@oallain](https://github.com/oallain)) -- [#11388](https://github.com/Sylius/Sylius/issues/11388) [Shipment] Remove shipment index and add show shipment from order button ([@Tomanhez](https://github.com/Tomanhez)) -- [#11389](https://github.com/Sylius/Sylius/issues/11389) Switch to Doctrine/Migrations 3.0 ([@pamil](https://github.com/pamil)) -- [#11392](https://github.com/Sylius/Sylius/issues/11392) Add title on most pages ([@dunglas](https://github.com/dunglas)) -- [#11393](https://github.com/Sylius/Sylius/issues/11393) Ignore Symfony CLI PHP settings files ([@vvasiloi](https://github.com/vvasiloi)) -- [#11394](https://github.com/Sylius/Sylius/issues/11394) [ChannelBundle] Fix channel context interface alias ([@vvasiloi](https://github.com/vvasiloi)) -- [#11396](https://github.com/Sylius/Sylius/issues/11396) [Hot-fix] Conflict API Platform 2.5.5 to fix the build ([@Zales0123](https://github.com/Zales0123)) -- [#11397](https://github.com/Sylius/Sylius/issues/11397) [API] Unified admin and shop paths ([@lchrusciel](https://github.com/lchrusciel), [@GSadee](https://github.com/GSadee)) -- [#11401](https://github.com/Sylius/Sylius/issues/11401) [Backend] Feeding sales statistics graph with date from chosen period ([@AdamKasp](https://github.com/AdamKasp)) -- [#11402](https://github.com/Sylius/Sylius/issues/11402) [API] Remove custom menu taxon endpoint ([@Zales0123](https://github.com/Zales0123)) -- [#11404](https://github.com/Sylius/Sylius/issues/11404) [API] Channel switching ([@Zales0123](https://github.com/Zales0123)) -- [#11406](https://github.com/Sylius/Sylius/issues/11406) Automatically add API label ([@Zales0123](https://github.com/Zales0123)) -- [#11407](https://github.com/Sylius/Sylius/issues/11407) [API] [Shipment] Add implementation and test for shipment show ([@Tomanhez](https://github.com/Tomanhez), [@Zales0123](https://github.com/Zales0123)) -- [#11410](https://github.com/Sylius/Sylius/issues/11410) Bump jquery from 3.4.1 to 3.5.0 ([@dependabot](https://github.com/dependabot)[[@bot](https://github.com/bot)]) -- [#11411](https://github.com/Sylius/Sylius/issues/11411) [API] Add missing access control ([@lchrusciel](https://github.com/lchrusciel)) -- [#11413](https://github.com/Sylius/Sylius/issues/11413) Add a filter icon for filters in admin grids ([@jacquesbh](https://github.com/jacquesbh)) -- [#11417](https://github.com/Sylius/Sylius/issues/11417) [API] adding and browsing Channel ([@oallain](https://github.com/oallain), [@GSadee](https://github.com/GSadee)) -- [#11419](https://github.com/Sylius/Sylius/issues/11419) [Maintenance] Update release cycle ([@lchrusciel](https://github.com/lchrusciel)) -- [#11420](https://github.com/Sylius/Sylius/issues/11420) Fix UI in Product's inventory tab ([@jacquesbh](https://github.com/jacquesbh)) -- [#11423](https://github.com/Sylius/Sylius/issues/11423) [Shop] [Product] Display product original price on product page (no bc break) ([@JulienLoison](https://github.com/JulienLoison), ) -- [#11424](https://github.com/Sylius/Sylius/issues/11424) [Admin] [Product] Ajax product search fails ([@Prometee](https://github.com/Prometee)) -- [#11431](https://github.com/Sylius/Sylius/issues/11431) [Countries] [API] cover non-empty province name validation ([@AdamKasp](https://github.com/AdamKasp), [@GSadee](https://github.com/GSadee)) -- [#11434](https://github.com/Sylius/Sylius/issues/11434) Revert "[Backend] Feeding sales statistics graph with date from chosen period" ([@lchrusciel](https://github.com/lchrusciel)) -- [#11435](https://github.com/Sylius/Sylius/issues/11435) [Api]Add new-api regexp to shop firewall ([@Tomanhez](https://github.com/Tomanhez), [@pamil](https://github.com/pamil)) -- [#11436](https://github.com/Sylius/Sylius/issues/11436) [Behat] Consistent channel setup context ([@vvasiloi](https://github.com/vvasiloi)) -- [#11442](https://github.com/Sylius/Sylius/issues/11442) [Feature] Products filtering by channel () -- [#11444](https://github.com/Sylius/Sylius/issues/11444) [Docs] Replace book concepts images with up-to-date list of topics ([@pamil](https://github.com/pamil)) -- [#11445](https://github.com/Sylius/Sylius/issues/11445) [Docs] Update installation requirements & add upgrade instructions for Plus ([@pamil](https://github.com/pamil)) -- [#11447](https://github.com/Sylius/Sylius/issues/11447) [Docs] Fix dates specified in the release cycle ([@pamil](https://github.com/pamil)) -- [#11448](https://github.com/Sylius/Sylius/issues/11448) [Docs] Remove experimental badges mentioning "master" branch from theming guide ([@pamil](https://github.com/pamil)) -- [#11451](https://github.com/Sylius/Sylius/issues/11451) synchronise dependencies ([@arti0090](https://github.com/arti0090)) -- [#11455](https://github.com/Sylius/Sylius/issues/11455) Update webpack.rst ([@pocky](https://github.com/pocky)) -- [#11457](https://github.com/Sylius/Sylius/issues/11457) [API] Remove unnecessary shop billing data client + minor fixes ([@GSadee](https://github.com/GSadee)) -- [#11460](https://github.com/Sylius/Sylius/issues/11460) [Behat] Add missing zone step to fix the build ([@Zales0123](https://github.com/Zales0123)) -- [#11465](https://github.com/Sylius/Sylius/issues/11465) Refactor and upgrade dashboard statistics ([@AdamKasp](https://github.com/AdamKasp), [@pamil](https://github.com/pamil)) -- [#11466](https://github.com/Sylius/Sylius/issues/11466) [API] [Product] Remove custom latest products endpoint ([@GSadee](https://github.com/GSadee)) -- [#11469](https://github.com/Sylius/Sylius/issues/11469) [Docs] Move contributing and support sections to the Book ([@pamil](https://github.com/pamil)) -- [#11470](https://github.com/Sylius/Sylius/issues/11470) [Docs] Partition theming guide and move to other docs sections ([@pamil](https://github.com/pamil)) -- [#11471](https://github.com/Sylius/Sylius/issues/11471) [Docs] Create an unified section about all Sylius APIs ([@pamil](https://github.com/pamil)) -- [#11472](https://github.com/Sylius/Sylius/issues/11472) [Docs] Move plugins development guide to "The Book -> Plugins" ([@pamil](https://github.com/pamil)) -- [#11474](https://github.com/Sylius/Sylius/issues/11474) [HOTFIX] [API] Resolve subresource class parameters ([@lchrusciel](https://github.com/lchrusciel)) -- [#11479](https://github.com/Sylius/Sylius/issues/11479) [Api] Fix hardcoded class constraints ([@lchrusciel](https://github.com/lchrusciel), [@GSadee](https://github.com/GSadee)) -- [#11481](https://github.com/Sylius/Sylius/issues/11481) Use https instead of http for all (almost) links ([@jacquesbh](https://github.com/jacquesbh)) -- [#11490](https://github.com/Sylius/Sylius/issues/11490) [Countries]Add fixes for broken edit channel page and add product to cart ([@Tomanhez](https://github.com/Tomanhez)) -- [#11494](https://github.com/Sylius/Sylius/issues/11494) [Minor] Sort api suites ([@lchrusciel](https://github.com/lchrusciel)) -- [#11496](https://github.com/Sylius/Sylius/issues/11496) [Minor] Dead code removal ([@lchrusciel](https://github.com/lchrusciel)) -- [#11499](https://github.com/Sylius/Sylius/issues/11499) [UI] added display of product variant original price on product page ([@JulienLoison](https://github.com/JulienLoison)) -- [#11500](https://github.com/Sylius/Sylius/issues/11500) [Maintenance] Bump up minor versions of requirements ([@pamil](https://github.com/pamil)) -- [#11503](https://github.com/Sylius/Sylius/issues/11503) [Hot-fix] Conflict SyliusFixturesBundle 1.6.0 to fix the build ([@Zales0123](https://github.com/Zales0123)) -- [#11504](https://github.com/Sylius/Sylius/issues/11504) [UI] As an Administrator, I want to select period of graphs and counts on the dashboard (-Day/2 Weeks/Month/Year) ([@kulczy](https://github.com/kulczy), , [@GSadee](https://github.com/GSadee)) -- [#11505](https://github.com/Sylius/Sylius/issues/11505) Travis Bionic + Chrome Headless + PHP 7.4 support ([@pamil](https://github.com/pamil)) -- [#11506](https://github.com/Sylius/Sylius/issues/11506) Make compiler passes use all tags rather than the first tag ([@pamil](https://github.com/pamil)) -- [#11507](https://github.com/Sylius/Sylius/issues/11507) Synchronise packages composer.json files with the main one + normalize them ([@pamil](https://github.com/pamil)) -- [#11508](https://github.com/Sylius/Sylius/issues/11508) [Minor] [DX] Using parent definition for api clients ([@lchrusciel](https://github.com/lchrusciel)) -- [#11514](https://github.com/Sylius/Sylius/issues/11514) [Minor] Move command to separate folder ([@lchrusciel](https://github.com/lchrusciel)) -- [#11517](https://github.com/Sylius/Sylius/issues/11517) [Api] Add test for checking access ([@Tomanhez](https://github.com/Tomanhez)) -- [#11520](https://github.com/Sylius/Sylius/issues/11520) Fix Psalm errors ([@pamil](https://github.com/pamil)) -- [#11524](https://github.com/Sylius/Sylius/issues/11524) [API] Pick up cart implementation ([@lchrusciel](https://github.com/lchrusciel)) -- [#11529](https://github.com/Sylius/Sylius/issues/11529) [RFC] Using tabs for channel pricing ([@mamazu](https://github.com/mamazu)) -- [#11531](https://github.com/Sylius/Sylius/issues/11531) [Maintenance] Temporarily extend conflict to the ^2.5.5 versions of api-platform/core ([@GSadee](https://github.com/GSadee)) -- [#11532](https://github.com/Sylius/Sylius/issues/11532) [API] Add simple item to cart ([@lchrusciel](https://github.com/lchrusciel)) -- [#11535](https://github.com/Sylius/Sylius/issues/11535) Resolve awaiting_payment state in resolver ([@kayue](https://github.com/kayue)) -- [#11536](https://github.com/Sylius/Sylius/issues/11536) [UI] add form helper ([@oallain](https://github.com/oallain)) -- [#11541](https://github.com/Sylius/Sylius/issues/11541) fixed url to send valid key for channel () -- [#11543](https://github.com/Sylius/Sylius/issues/11543) [Travis] Fix deprecations in the config ([@pamil](https://github.com/pamil)) -- [#11544](https://github.com/Sylius/Sylius/issues/11544) ensure swagger docs route matches the configured new api route ([@esserj](https://github.com/esserj)) -- [#11545](https://github.com/Sylius/Sylius/issues/11545) Add priority to payment gateways ([@Zales0123](https://github.com/Zales0123)) -- [#11548](https://github.com/Sylius/Sylius/issues/11548) [Api] [Cart] Clear cart ([@Tomanhez](https://github.com/Tomanhez)) -- [#11558](https://github.com/Sylius/Sylius/issues/11558) switch timeframe on admin dashboard ([@arti0090](https://github.com/arti0090)) -- [#11560](https://github.com/Sylius/Sylius/issues/11560) [HOTFIX] Fix build ([@Tomanhez](https://github.com/Tomanhez)) -- [#11561](https://github.com/Sylius/Sylius/issues/11561) [Travis] Update config on 1.7 with master ([@Tomanhez](https://github.com/Tomanhez)) -- [#11563](https://github.com/Sylius/Sylius/issues/11563) [AdminApi] Add ShippingMethod authorization test ([@Tomanhez](https://github.com/Tomanhez)) -- [#11564](https://github.com/Sylius/Sylius/issues/11564) [Minor] [Behat] Typo fix ([@lchrusciel](https://github.com/lchrusciel)) -- [#11566](https://github.com/Sylius/Sylius/issues/11566) Limit dashboard move on future dates ([@arti0090](https://github.com/arti0090)) -- [#11567](https://github.com/Sylius/Sylius/issues/11567) [Doc] change sylius.security.shop_regex in doc for new api ([@oallain](https://github.com/oallain)) -- [#11571](https://github.com/Sylius/Sylius/issues/11571) [Admin] Make sidebar menu searchable ([@Florian-Merle](https://github.com/Florian-Merle)) -- [#11586](https://github.com/Sylius/Sylius/issues/11586) fix left navigation arrow double click on admin statistics ([@arti0090](https://github.com/arti0090)) -- [#11593](https://github.com/Sylius/Sylius/issues/11593) Upgrade static analysis tools and improve their usage ([@pamil](https://github.com/pamil)) -- [#11600](https://github.com/Sylius/Sylius/issues/11600) Fix: link in github folder ([@toofff](https://github.com/toofff)) -- [#11601](https://github.com/Sylius/Sylius/issues/11601) [Api] [Cart] Fix minor bug ([@Tomanhez](https://github.com/Tomanhez)) -- [#11609](https://github.com/Sylius/Sylius/issues/11609) Use a placeholder in tracking code sentence in shipment email ([@jacquesbh](https://github.com/jacquesbh)) -- [#11613](https://github.com/Sylius/Sylius/issues/11613) [Api] [Cart] Cart remove items ([@Tomanhez](https://github.com/Tomanhez)) -- [#11615](https://github.com/Sylius/Sylius/issues/11615) [Composer] Remove conflict to api-platform/core ([@GSadee](https://github.com/GSadee)) -- [#11616](https://github.com/Sylius/Sylius/issues/11616) [API] Secure subresources' endpoints ([@GSadee](https://github.com/GSadee)) -- [#11619](https://github.com/Sylius/Sylius/issues/11619) [Docs] Fixing php-errors in the documentation ([@mamazu](https://github.com/mamazu)) -- [#11620](https://github.com/Sylius/Sylius/issues/11620) Adding help to the tracking ([@mamazu](https://github.com/mamazu)) -- [#11627](https://github.com/Sylius/Sylius/issues/11627) Add link to verify BC breaks in Pull request's template ([@jacquesbh](https://github.com/jacquesbh)) -- [#11632](https://github.com/Sylius/Sylius/issues/11632) Use env:SYLIUS_FIXTURES_THEME_NAME to set the theme in fixtures ([@jacquesbh](https://github.com/jacquesbh)) -- [#11636](https://github.com/Sylius/Sylius/issues/11636) Update .symfony.insight.yaml to latest PHP version ([@jacquesbh](https://github.com/jacquesbh)) -- [#11642](https://github.com/Sylius/Sylius/issues/11642) Add field where You can verify shop user ([@arti0090](https://github.com/arti0090)) -- [#11645](https://github.com/Sylius/Sylius/issues/11645) Add mention about translation in CONTRIBUTING.md ([@jacquesbh](https://github.com/jacquesbh)) -- [#11646](https://github.com/Sylius/Sylius/issues/11646) [API] [Behat] Usage of proper tense in background ([@lchrusciel](https://github.com/lchrusciel)) -- [#11651](https://github.com/Sylius/Sylius/issues/11651) Revert "Add field where You can verify shop user" ([@lchrusciel](https://github.com/lchrusciel)) -- [#11655](https://github.com/Sylius/Sylius/issues/11655) [Minor] Remove final keyword ([@lchrusciel](https://github.com/lchrusciel)) -- [#11656](https://github.com/Sylius/Sylius/issues/11656) [Minor] Move pickup cart command to proper namespace ([@lchrusciel](https://github.com/lchrusciel)) -- [#11657](https://github.com/Sylius/Sylius/issues/11657) Make console commands lazy ([@ERuban](https://github.com/ERuban)) -- [#11658](https://github.com/Sylius/Sylius/issues/11658) [Minor] Move cart commands serialization to separate folder ([@lchrusciel](https://github.com/lchrusciel)) -- [#11660](https://github.com/Sylius/Sylius/issues/11660) Add documentation for checkout initialize events ([@antiseptikk](https://github.com/antiseptikk)) -- [#11661](https://github.com/Sylius/Sylius/issues/11661) Loop.first is easier to 0 == loop.index0 ([@jacquesbh](https://github.com/jacquesbh)) -- [#11664](https://github.com/Sylius/Sylius/issues/11664) Use env(SYLIUS_ADMIN_ROUTING_PATH_NAME) as admin's route name ([@jacquesbh](https://github.com/jacquesbh)) -- [#11665](https://github.com/Sylius/Sylius/issues/11665) [Api] [Product] Product show ([@Tomanhez](https://github.com/Tomanhez)) -- [#11668](https://github.com/Sylius/Sylius/issues/11668) [Admin] Added collapse menu ([@StefDedi](https://github.com/StefDedi)) -- [#11671](https://github.com/Sylius/Sylius/issues/11671) Fix space position ([@andrew-demb](https://github.com/andrew-demb)) -- [#11672](https://github.com/Sylius/Sylius/issues/11672) [Product] add flags to product attributes translations ([@AdamKasp](https://github.com/AdamKasp)) -- [#11673](https://github.com/Sylius/Sylius/issues/11673) [API] Checkout addressing step added - fixes ([@lchrusciel](https://github.com/lchrusciel), [@Tomanhez](https://github.com/Tomanhez)) -- [#11674](https://github.com/Sylius/Sylius/issues/11674) Revert "[Admin] Added collapse menu" ([@CoderMaggie](https://github.com/CoderMaggie)) -- [#11675](https://github.com/Sylius/Sylius/issues/11675) [API] Initial checkout implementation - fixes ([@lchrusciel](https://github.com/lchrusciel), [@Tomanhez](https://github.com/Tomanhez)) -- [#11676](https://github.com/Sylius/Sylius/issues/11676) changed place of attribute tag ([@arti0090](https://github.com/arti0090)) -- [#11683](https://github.com/Sylius/Sylius/issues/11683) [Product] [Admin] Unify product breadcrumb in both show and update page ([@hatem20](https://github.com/hatem20)) -- [#11693](https://github.com/Sylius/Sylius/issues/11693) [Api]Add AddressDenormalizer ([@Tomanhez](https://github.com/Tomanhez)) -- [#11695](https://github.com/Sylius/Sylius/issues/11695) [Api] [Cart] change quantity on cart ([@AdamKasp](https://github.com/AdamKasp)) -- [#11698](https://github.com/Sylius/Sylius/issues/11698) Fixing the ChannelContext deprecations ([@mamazu](https://github.com/mamazu)) -- [#11700](https://github.com/Sylius/Sylius/issues/11700) [Api] [Checkout] Add notes during checkout ([@Tomanhez](https://github.com/Tomanhez)) -- [#11705](https://github.com/Sylius/Sylius/issues/11705) [Api] [Checkout] cover skipping payment steps in behat ([@AdamKasp](https://github.com/AdamKasp)) -- [#11706](https://github.com/Sylius/Sylius/issues/11706) [API] [Cart] Maintaining cart after authorization ([@GSadee](https://github.com/GSadee)) -- [#11711](https://github.com/Sylius/Sylius/issues/11711) [Api] [Checkout] skipping shipment step ([@AdamKasp](https://github.com/AdamKasp)) -- [#11714](https://github.com/Sylius/Sylius/issues/11714) [API] Filling also shipping address during checkout ([@GSadee](https://github.com/GSadee)) -- [#11715](https://github.com/Sylius/Sylius/issues/11715) [Api] [Checkout] [Order] Add tests for accessing order right after completing checkout ([@Tomanhez](https://github.com/Tomanhez)) -- [#11716](https://github.com/Sylius/Sylius/issues/11716) [API] Minor fixes for filling shipping address during checkout ([@GSadee](https://github.com/GSadee)) -- [#11717](https://github.com/Sylius/Sylius/issues/11717) [API] [Checkout]checkout without logged in account ([@arti0090](https://github.com/arti0090)) -- [#11718](https://github.com/Sylius/Sylius/issues/11718) [Api] [Checkout] Add checkout:read for order api serialization configuration ([@Tomanhez](https://github.com/Tomanhez)) -- [#11719](https://github.com/Sylius/Sylius/issues/11719) [API] Implement scenarios for selecting payment and shipping methods during checkout ([@GSadee](https://github.com/GSadee)) -- [#11721](https://github.com/Sylius/Sylius/issues/11721) [Documentation] Add example to the grid documentation ([@s4iya](https://github.com/s4iya)) -- [#11728](https://github.com/Sylius/Sylius/issues/11728) [API]seeing total tax on order summary ([@arti0090](https://github.com/arti0090)) -- [#11729](https://github.com/Sylius/Sylius/issues/11729) [API] Add products by variant code ([@lchrusciel](https://github.com/lchrusciel)) -- [#11734](https://github.com/Sylius/Sylius/issues/11734) [API] [Shop] Add possibility to show variants from product ([@lchrusciel](https://github.com/lchrusciel)) -- [#11735](https://github.com/Sylius/Sylius/issues/11735) [Api] [Checkout] ShippingMethod on Checkout ([@Tomanhez](https://github.com/Tomanhez)) -- [#11740](https://github.com/Sylius/Sylius/issues/11740) [API]getting available payment methods ([@arti0090](https://github.com/arti0090)) -- [#11741](https://github.com/Sylius/Sylius/issues/11741) [API] Remove CartShippingMethod API resource configuration ([@lchrusciel](https://github.com/lchrusciel)) -- [#11742](https://github.com/Sylius/Sylius/issues/11742) [Api] [Checkout] ShippingMethod on Checkout - complete scenarios ([@lchrusciel](https://github.com/lchrusciel), [@Tomanhez](https://github.com/Tomanhez)) -- [#11743](https://github.com/Sylius/Sylius/issues/11743) [Api] [Checkout] Order, shipping, promotion totals and order items on checkout summary ([@AdamKasp](https://github.com/AdamKasp), [@GSadee](https://github.com/GSadee)) -- [#11746](https://github.com/Sylius/Sylius/issues/11746) [API]Add validation to addressing fields ([@arti0090](https://github.com/arti0090)) -- [#11747](https://github.com/Sylius/Sylius/issues/11747) [Api] [Checkout] Placing order with difference scopes ([@Tomanhez](https://github.com/Tomanhez)) -- [#11748](https://github.com/Sylius/Sylius/issues/11748) [Api] [Checkout] Placing order with difference scopes - minor fixes ([@Tomanhez](https://github.com/Tomanhez)) -- [#11749](https://github.com/Sylius/Sylius/issues/11749) [API] [Checkout] Cover scenarios for checking promotions ([@GSadee](https://github.com/GSadee)) -- [#11750](https://github.com/Sylius/Sylius/issues/11750) [Api] [checkout] product integrity validation ([@AdamKasp](https://github.com/AdamKasp)) -- [#11753](https://github.com/Sylius/Sylius/issues/11753) [API] Minor fixes for adjustments ([@GSadee](https://github.com/GSadee)) -- [#11756](https://github.com/Sylius/Sylius/issues/11756) Replace outdated "symfony/security" package ([@stloyd](https://github.com/stloyd)) -- [#11761](https://github.com/Sylius/Sylius/issues/11761) Fix bug in order total shipping rules ([@pamil](https://github.com/pamil), [@loevgaard](https://github.com/loevgaard)) -- [#11769](https://github.com/Sylius/Sylius/issues/11769) [API] Mark ApiBundle as @experimental ([@GSadee](https://github.com/GSadee)) -- [#11776](https://github.com/Sylius/Sylius/issues/11776) [Api] [Administrator] refactor endpoints for admin and admin avatar ([@AdamKasp](https://github.com/AdamKasp)) -- [#11779](https://github.com/Sylius/Sylius/issues/11779) Api refactor simple entities part 1 ([@AdamKasp](https://github.com/AdamKasp)) -- [#11782](https://github.com/Sylius/Sylius/issues/11782) [Maintenance] [HotFix] Conflict with Symofny/Form 4.4.12 ([@lchrusciel](https://github.com/lchrusciel)) -- [#11789](https://github.com/Sylius/Sylius/issues/11789) [ADR] Path prefixes in new Sylius API ([@lchrusciel](https://github.com/lchrusciel)) -- [#11791](https://github.com/Sylius/Sylius/issues/11791) [API] refactor endpoint for api resources ([@AdamKasp](https://github.com/AdamKasp)) -- [#11796](https://github.com/Sylius/Sylius/issues/11796) Add symfony form 4.4.13 conflict ([@AdamKasp](https://github.com/AdamKasp)) -- [#11810](https://github.com/Sylius/Sylius/issues/11810) [Maintenance] Update composer, bundles and symfony lock ([@lchrusciel](https://github.com/lchrusciel)) -- [#11812](https://github.com/Sylius/Sylius/issues/11812) [Maintenance] Update dev-master config for bundles and components ([@lchrusciel](https://github.com/lchrusciel)) diff --git a/CHANGELOG-1.9.md b/CHANGELOG-1.9.md deleted file mode 100644 index be2449f53d..0000000000 --- a/CHANGELOG-1.9.md +++ /dev/null @@ -1,597 +0,0 @@ -# CHANGELOG FOR `1.9.X` - -## v1.9.10 (2022-03-14) - -#### Details - -- [#13275](https://github.com/Sylius/Sylius/issues/13275) [Maintenance] Add note about doctrine/dbal requirement ([@lchrusciel](https://github.com/lchrusciel)) -- [#13282](https://github.com/Sylius/Sylius/issues/13282) [API] Revert changes of checked keys in cart and checkout responses to fix the build ([@GSadee](https://github.com/GSadee)) -- [#13730](https://github.com/Sylius/Sylius/issues/13730) [Maintenance] Add conflict to symfony/framework-bundle to fix problem with solving path prefix in API scenarios ([@GSadee](https://github.com/GSadee)) -- [#13750](https://github.com/Sylius/Sylius/issues/13750) [Admin][Shop] placehold.it replaced to local placeholders ([@ernestWarwas](https://github.com/ernestWarwas)) -- [#13765](https://github.com/Sylius/Sylius/issues/13765) [Security] Fixes for SVG XSS, wrong cache for logged in users and clickjacking ([@ernestWarwas](https://github.com/ernestWarwas), [@lchrusciel](https://github.com/lchrusciel), [@GSadee](https://github.com/GSadee), [@Zales0123](https://github.com/Zales0123), [@Rafikooo](https://github.com/Rafikooo)) - -## v1.9.9 (2021-11-03) - -- [#13165](https://github.com/Sylius/Sylius/issues/13165) [HotFix] Add conflict to doctrine/orm to fix the problem with creating taxons ([@GSadee](https://github.com/GSadee)) -- [#13173](https://github.com/Sylius/Sylius/issues/13173) [HotFix] Update conflict to doctrine/orm to fix the problem with creating taxons ([@GSadee](https://github.com/GSadee)) -- [#13215](https://github.com/Sylius/Sylius/issues/13215) Add conflict with doctrine/dbal ^3 to avoid missing `json_array` doctrine type error ([@Prometee](https://github.com/Prometee)) -- [#13216](https://github.com/Sylius/Sylius/issues/13216) [Maintenance] Bump node version in CI ([@lchrusciel](https://github.com/lchrusciel)) -- [#13243](https://github.com/Sylius/Sylius/issues/13243) BUGFIX: #12859 Fix link to ResourceController in documentation ([@Jashi](https://github.com/Jashi)) -- [#13244](https://github.com/Sylius/Sylius/issues/13244) Fix builds ([@nedac-sorbo](https://github.com/nedac-sorbo)) -- [#13252](https://github.com/Sylius/Sylius/issues/13252) [Maintenance] Replace dbal conflict with explicit requirement ([@lchrusciel](https://github.com/lchrusciel)) -- [#13261](https://github.com/Sylius/Sylius/issues/13261) Conflict liip/imagine-bundle ^2.7 ([@Zales0123](https://github.com/Zales0123)) -- [#13263](https://github.com/Sylius/Sylius/issues/13263) Remove undocumented conflict on laminas-code ^4.0 ([@4c0n](https://github.com/4c0n)) - -## v1.9.8 (2021-09-30) - -- [#12222](https://github.com/Sylius/Sylius/issues/12222) logo path corrected ([@Snowbaha](https://github.com/Snowbaha), [@CoderMaggie](https://github.com/CoderMaggie)) -- [#12452](https://github.com/Sylius/Sylius/issues/12452) [Doc] Customizing admin routes prefix ([@oallain](https://github.com/oallain), [@CoderMaggie](https://github.com/CoderMaggie)) -- [#12637](https://github.com/Sylius/Sylius/issues/12637) Missing Behat directory on the path to be excluded ([@tonicospinelli](https://github.com/tonicospinelli)) -- [#12824](https://github.com/Sylius/Sylius/issues/12824) [Documentation] Fixed logo customization (, [@CoderMaggie](https://github.com/CoderMaggie)) -- [#12849](https://github.com/Sylius/Sylius/issues/12849) [Docs] Webpack - Display logo on login page ([@Jibbarth](https://github.com/Jibbarth)) -- [#12863](https://github.com/Sylius/Sylius/issues/12863) Add yaml configuration examples to the "Custom Payment Gateway" cookbook ([@DennisCodeBuds](https://github.com/DennisCodeBuds)) -- [#12892](https://github.com/Sylius/Sylius/issues/12892) [DOCS] Add note about docker builder ([@arti0090](https://github.com/arti0090)) -- [#13070](https://github.com/Sylius/Sylius/issues/13070) [Minor][DI] Add interface alias to UriBasedSectionProvider ([@lchrusciel](https://github.com/lchrusciel)) -- [#13102](https://github.com/Sylius/Sylius/issues/13102) Check if the form is submitted before validation ([@jacquesbh](https://github.com/jacquesbh)) -- [#13154](https://github.com/Sylius/Sylius/issues/13154) [API] Do not allow to address empty cart ([@Zales0123](https://github.com/Zales0123)) - -## v1.9.7 (2021-09-02) - -#### Details - -- [#11623](https://github.com/Sylius/Sylius/issues/11623) Fix #11603, Update documentation to replace use of removed function ([@CoderMaggie](https://github.com/CoderMaggie)) -- [#12085](https://github.com/Sylius/Sylius/issues/12085) [Doc] Add contact email ([@MatthieuCutin](https://github.com/MatthieuCutin), [@CoderMaggie](https://github.com/CoderMaggie)) -- [#12223](https://github.com/Sylius/Sylius/issues/12223) Remove security.yaml change when disabling localized URLs ([@maximehuran](https://github.com/maximehuran)) -- [#12852](https://github.com/Sylius/Sylius/issues/12852) [API] Do not check command arguments if there is an object to populate ([@GSadee](https://github.com/GSadee)) -- [#12873](https://github.com/Sylius/Sylius/issues/12873) [Docs] sylius performance boost ([@SirDomin](https://github.com/SirDomin), [@arti0090](https://github.com/arti0090)) -- [#12875](https://github.com/Sylius/Sylius/issues/12875) [Admin] Fix shipping totals in order summary ([@aleho](https://github.com/aleho)) -- [#12881](https://github.com/Sylius/Sylius/issues/12881) [Documentation] Note about changes related to upgrade to GridBundle 1.10 ([@AdamKasp](https://github.com/AdamKasp), [@GSadee](https://github.com/GSadee)) -- [#12973](https://github.com/Sylius/Sylius/issues/12973) Fix borders in order - show - addresses ([@pavol-tk](https://github.com/pavol-tk)) -- [#12975](https://github.com/Sylius/Sylius/issues/12975) [Docs] fix annotations ([@SirDomin](https://github.com/SirDomin)) -- [#12976](https://github.com/Sylius/Sylius/issues/12976) [Documentation] Minor fix in grids docs ([@GSadee](https://github.com/GSadee)) -- [#12977](https://github.com/Sylius/Sylius/issues/12977) [Docs] add prefix to sylius customer table ([@SirDomin](https://github.com/SirDomin)) -- [#12984](https://github.com/Sylius/Sylius/issues/12984) [Documentation] Move invoice cookbooks to payments section ([@GSadee](https://github.com/GSadee)) -- [#12993](https://github.com/Sylius/Sylius/issues/12993) [Build] Force symfony flex in github actions ([@SirDomin](https://github.com/SirDomin)) -- [#13018](https://github.com/Sylius/Sylius/issues/13018) [Bug] Fix default sylius config file path in Sylius 1.8 ([@lchrusciel](https://github.com/lchrusciel)) -- [#13019](https://github.com/Sylius/Sylius/issues/13019) [Bug] Fix default sylius config file path in Sylius 1.9 ([@lchrusciel](https://github.com/lchrusciel)) -- [#13032](https://github.com/Sylius/Sylius/issues/13032) [Docs] Choosing the right branch - fix ([@CoderMaggie](https://github.com/CoderMaggie)) - -## v1.9.6 (2021-07-30) - -#### Details - -- [#12751](https://github.com/Sylius/Sylius/issues/12751) [Docs] Describe API customization requirement for SyliusPlus with Sylius 1.9 ([@Zales0123](https://github.com/Zales0123), [@Tomanhez](https://github.com/Tomanhez)) -- [#12763](https://github.com/Sylius/Sylius/issues/12763) [Docs] Remove redundant refund interfaces ([@Tomanhez](https://github.com/Tomanhez)) -- [#12764](https://github.com/Sylius/Sylius/issues/12764) [Taxon] Wrap resource deletion operation with a transaction to fix a problem with removing used taxon ([@GSadee](https://github.com/GSadee)) -- [#12767](https://github.com/Sylius/Sylius/issues/12767) [Documentation] Fix warning about version of Sylius in Plus installation guide ([@GSadee](https://github.com/GSadee)) -- [#12770](https://github.com/Sylius/Sylius/issues/12770) [Documentation] One more fix for warning about version of Sylius in Plus installation guide ([@GSadee](https://github.com/GSadee)) -- [#12771](https://github.com/Sylius/Sylius/issues/12771) [API] Turn on/off api endpoints with parameter ([@SirDomin](https://github.com/SirDomin)) -- [#12776](https://github.com/Sylius/Sylius/issues/12776) [Docs][Plus] Modify plus installation guide ([@Tomanhez](https://github.com/Tomanhez)) -- [#12784](https://github.com/Sylius/Sylius/issues/12784) [Documentation][Cookbook] How to add another type of refund? ([@GSadee](https://github.com/GSadee)) -- [#12789](https://github.com/Sylius/Sylius/issues/12789) [API] Disable API by default ([@GSadee](https://github.com/GSadee)) -- [#12801](https://github.com/Sylius/Sylius/issues/12801) [Documentation] Update Plus installation guide for Sylius 1.9 ([@GSadee](https://github.com/GSadee)) -- [#12804](https://github.com/Sylius/Sylius/issues/12804) Enable API by default in dev environment ([@Zales0123](https://github.com/Zales0123)) -- [#12807](https://github.com/Sylius/Sylius/issues/12807) Optimizing the attribute loading in product edit ([@mamazu](https://github.com/mamazu)) -- [#12811](https://github.com/Sylius/Sylius/issues/12811) [API] Test not providing required fields during registration ([@Zales0123](https://github.com/Zales0123)) -- [#12816](https://github.com/Sylius/Sylius/issues/12816) [Maintenance] Fix 1.8 build ([@GSadee](https://github.com/GSadee), [@SirDomin](https://github.com/SirDomin)) -- [#12817](https://github.com/Sylius/Sylius/issues/12817) [Taxation] Add scenarios for applying proper taxes for shipping ([@GSadee](https://github.com/GSadee)) -- [#12818](https://github.com/Sylius/Sylius/issues/12818) [Core] Bring back String u function ([@GSadee](https://github.com/GSadee)) -- [#12819](https://github.com/Sylius/Sylius/issues/12819) [API] 1.8 api as opt ([@SirDomin](https://github.com/SirDomin)) -- [#12823](https://github.com/Sylius/Sylius/issues/12823) [API] Allow creation of commands with no arguments with a default value ([@GSadee](https://github.com/GSadee)) -- [#12833](https://github.com/Sylius/Sylius/issues/12833) [API] Disable API by default ([@GSadee](https://github.com/GSadee)) -- [#12837](https://github.com/Sylius/Sylius/issues/12837) [UPGRADE] Split API and non API upgrade files ([@lchrusciel](https://github.com/lchrusciel)) -- [#12838](https://github.com/Sylius/Sylius/issues/12838) [UPGRADE] Split API and non API upgrade files ([@lchrusciel](https://github.com/lchrusciel)) -- [#12839](https://github.com/Sylius/Sylius/issues/12839) [UI] Add bottom scroll to the order summary table ([@kulczy](https://github.com/kulczy)) -- [#12843](https://github.com/Sylius/Sylius/issues/12843) [Documentation] Change version of Plus in installation guide ([@GSadee](https://github.com/GSadee)) -- [#12845](https://github.com/Sylius/Sylius/issues/12845) Quick Typo update :) ([@FaithlessLooting](https://github.com/FaithlessLooting)) - -## v1.9.5 (2021-06-28) - -#### TL;DR - -**This is a security release!** - -Fixes the follwing vulnerability: - -- [List of order ids, number, items total and token value exposed for unauthorized uses via new API](https://github.com/Sylius/Sylius/security/advisories/GHSA-rpxh-vg2x-526v) - -#### Details - -- [#12596](https://github.com/Sylius/Sylius/issues/12596) Country api resource shouldn't have created/updated at ([@kayue](https://github.com/kayue)) -- [#12618](https://github.com/Sylius/Sylius/issues/12618) [Docs] Fix cookbook for custom entity ([@Tomanhez](https://github.com/Tomanhez)) -- [#12682](https://github.com/Sylius/Sylius/issues/12682) Use Symfony 5.2.* instead of ^5.2 for GitHub Actions ([@pamil](https://github.com/pamil)) -- [#12686](https://github.com/Sylius/Sylius/issues/12686) [DOCS] Cookbook for customizing refund process ([@arti0090](https://github.com/arti0090)) -- [#12687](https://github.com/Sylius/Sylius/issues/12687) Fix typo and imporve error message ([@dantleech](https://github.com/dantleech)) -- [#12690](https://github.com/Sylius/Sylius/issues/12690) [Doctrine] Fix problem with explicitly defining entity managers ([@GSadee](https://github.com/GSadee)) -- [#12698](https://github.com/Sylius/Sylius/issues/12698) Fix the build with Symfony 5.3 ([@pamil](https://github.com/pamil)) -- [#12699](https://github.com/Sylius/Sylius/issues/12699) [Documentation] Update templates directory in Themes doc ([@CoderMaggie](https://github.com/CoderMaggie)) -- [#12702](https://github.com/Sylius/Sylius/issues/12702) [Documentation] Fix Refund Process Cookbook ([@GSadee](https://github.com/GSadee)) -- [#12706](https://github.com/Sylius/Sylius/issues/12706) [Documentation] Tweaks on the refunds process cookbook ([@CoderMaggie](https://github.com/CoderMaggie), [@GSadee](https://github.com/GSadee)) -- [#12707](https://github.com/Sylius/Sylius/issues/12707) [Documentation] Fix links in the refunds process cookbook ([@GSadee](https://github.com/GSadee)) -- [#12715](https://github.com/Sylius/Sylius/issues/12715) [Dql] Add parameter instead of hardcoding it in where statement ([@SirDomin](https://github.com/SirDomin)) -- [#12720](https://github.com/Sylius/Sylius/issues/12720) [DQL] Change hardcoded enabled value to parameter in where statements ([@GSadee](https://github.com/GSadee)) -- [#12726](https://github.com/Sylius/Sylius/issues/12726) [DQL] Change hardcoded tracked value to parameter in where statements ([@lchrusciel](https://github.com/lchrusciel)) -- [#12731](https://github.com/Sylius/Sylius/issues/12731) Add cookbook with how to change tax address ([@arti0090](https://github.com/arti0090)) -- [#12748](https://github.com/Sylius/Sylius/issues/12748) [Documentation][Refund] Add cookbook about refund customization with improvements ([@AdamKasp](https://github.com/AdamKasp), [@GSadee](https://github.com/GSadee)) - -## v1.9.4 (2021-05-27) - -#### Details - -- [#12557](https://github.com/Sylius/Sylius/issues/12557) update Plus installation guide ([@AdamKasp](https://github.com/AdamKasp)) -- [#12558](https://github.com/Sylius/Sylius/issues/12558) [Order] Fix race condition problem with multiple order recalculations ([@GSadee](https://github.com/GSadee)) -- [#12564](https://github.com/Sylius/Sylius/issues/12564) [Docs] add minor improvement to Plus installation guide ([@AdamKasp](https://github.com/AdamKasp)) -- [#12565](https://github.com/Sylius/Sylius/issues/12565) [API][Order] Fix possibility to limit orders by refactoring from data provider to extension ([@GSadee](https://github.com/GSadee)) -- [#12569](https://github.com/Sylius/Sylius/issues/12569) Bugfix | Filter out not enabled products in API collection ([@stloyd](https://github.com/stloyd), [@arti0090](https://github.com/arti0090)) -- [#12604](https://github.com/Sylius/Sylius/issues/12604) [API] Cherry pick commits on 1.9 branch for validating if product is enabled during adding to cart ([@arti0090](https://github.com/arti0090), [@GSadee](https://github.com/GSadee)) -- [#12609](https://github.com/Sylius/Sylius/issues/12609) Adding product from another channel bugfix ([@arti0090](https://github.com/arti0090)) -- [#12612](https://github.com/Sylius/Sylius/issues/12612) [Documentation] Update cookbook about Facebook login ([@GSadee](https://github.com/GSadee)) -- [#12613](https://github.com/Sylius/Sylius/issues/12613) [API] Adding inexistent variant ([@arti0090](https://github.com/arti0090), [@GSadee](https://github.com/GSadee)) -- [#12619](https://github.com/Sylius/Sylius/issues/12619) [Docs] Add docs for custom entity with access per admin channel ([@Tomanhez](https://github.com/Tomanhez), [@GSadee](https://github.com/GSadee)) -- [#12628](https://github.com/Sylius/Sylius/issues/12628) [API] Conflict with symfony/property-info due to problem with wrong namespaces of some translation entities ([@GSadee](https://github.com/GSadee)) -- [#12632](https://github.com/Sylius/Sylius/issues/12632) [Docs] Mention localhost exposure for easier Facebook login ([@Zales0123](https://github.com/Zales0123)) -- [#12633](https://github.com/Sylius/Sylius/issues/12633) [Bug] [Temporary solution] Comment out 2 behats steps for checking notifications ([@SirDomin](https://github.com/SirDomin)) -- [#12643](https://github.com/Sylius/Sylius/issues/12643) [README] Fix link to plugin list ([@lchrusciel](https://github.com/lchrusciel)) -- [#12650](https://github.com/Sylius/Sylius/issues/12650) [API][ProductVariant] Fix product variant response by using proper normalizer ([@GSadee](https://github.com/GSadee)) -- [#12651](https://github.com/Sylius/Sylius/issues/12651) [API][ProductVariant] Add additional specs for product variant normalizer ([@GSadee](https://github.com/GSadee)) -- [#12655](https://github.com/Sylius/Sylius/issues/12655) [Documentation][Plus] Minor improvements in cookbook for accessing to entities by channel admins ([@GSadee](https://github.com/GSadee)) -- [#12667](https://github.com/Sylius/Sylius/issues/12667) [Documentation] Customizing CreditMemo entity by adding a new field ([@GSadee](https://github.com/GSadee)) -- [#12668](https://github.com/Sylius/Sylius/issues/12668) [API] write order email send test in api bundle ([@pamil](https://github.com/pamil), [@SirDomin](https://github.com/SirDomin)) -- [#12671](https://github.com/Sylius/Sylius/issues/12671) [Api] Tests adding incorrect county code to address order ([@Tomanhez](https://github.com/Tomanhez)) -- [#12674](https://github.com/Sylius/Sylius/issues/12674) [Minor] Return shop user after registration command to improve extendibility ([@lchrusciel](https://github.com/lchrusciel)) - -## v1.9.3 (2021-04-22) - -#### Details - -- [#12458](https://github.com/Sylius/Sylius/issues/12458) [Locale] Current locale set on request ([@lchrusciel](https://github.com/lchrusciel), [@SirDomin](https://github.com/SirDomin)) -- [#12469](https://github.com/Sylius/Sylius/issues/12469) Extract sylius/admin-api-bundle out of Sylius Core (but keep it installed by default in existing minor releases) ([@pamil](https://github.com/pamil)) -- [#12475](https://github.com/Sylius/Sylius/issues/12475) [Taxation] Fix applying shipment taxes for multiple shipments ([@GSadee](https://github.com/GSadee)) -- [#12489](https://github.com/Sylius/Sylius/issues/12489) Build fix Change int to string in GenerateCouponsCommand ([@Tomanhez](https://github.com/Tomanhez)) -- [#12493](https://github.com/Sylius/Sylius/issues/12493) Update model.rst ([@mariogalan](https://github.com/mariogalan)) -- [#12494](https://github.com/Sylius/Sylius/issues/12494) [Behat][Customer] Fix assertions ([@GSadee](https://github.com/GSadee)) -- [#12500](https://github.com/Sylius/Sylius/issues/12500) [Documentation] Customizing credit memo ([@pamil](https://github.com/pamil)) -- [#12501](https://github.com/Sylius/Sylius/issues/12501) [BUG] Product options null value returns 400 instead of 500 ([@lchrusciel](https://github.com/lchrusciel), [@SirDomin](https://github.com/SirDomin)) -- [#12504](https://github.com/Sylius/Sylius/issues/12504) Change app.php to index.php ([@stefandoorn](https://github.com/stefandoorn)) -- [#12508](https://github.com/Sylius/Sylius/issues/12508) Fix the build by solving errors reported by static analysis tools ([@pamil](https://github.com/pamil)) -- [#12516](https://github.com/Sylius/Sylius/issues/12516) Fix CustomerComponent Typo ([@DennisdeBest](https://github.com/DennisdeBest)) -- [#12522](https://github.com/Sylius/Sylius/issues/12522) Revert BC break in ProductVariantInterface ([@pamil](https://github.com/pamil)) -- [#12523](https://github.com/Sylius/Sylius/issues/12523) Remove Admin API Bundle-related tests ([@pamil](https://github.com/pamil)) -- [#12525](https://github.com/Sylius/Sylius/issues/12525) Move note from UPGRADE-1.8 to UPGRADE-1.9 file ([@GSadee](https://github.com/GSadee)) -- [#12535](https://github.com/Sylius/Sylius/issues/12535) [API] Add prefix to subresource endpoint of order item's adjustments ([@GSadee](https://github.com/GSadee)) -- [#12546](https://github.com/Sylius/Sylius/issues/12546) [Minor] Use explicit bus instead of the default one ([@lchrusciel](https://github.com/lchrusciel)) - -## v1.9.2 (2021-03-23) - -#### Details - -- [#12439](https://github.com/Sylius/Sylius/issues/12439) Don't render _token field if it's already rendered ([@maximehuran](https://github.com/maximehuran)) -- [#12454](https://github.com/Sylius/Sylius/issues/12454) Don't render _token field if it's already rendered in update template ([@pamil](https://github.com/pamil)) -- [#12461](https://github.com/Sylius/Sylius/issues/12461) Fix packages builds: ResourceBundle v1.8 does not require StofDoctrineExtensionsBundle anymore ([@pamil](https://github.com/pamil)) -- [#12468](https://github.com/Sylius/Sylius/issues/12468) Fix the build by conflicting with doctrine/doctrine-bundle 2.3.0 ([@pamil](https://github.com/pamil)) -- [#12471](https://github.com/Sylius/Sylius/issues/12471) [Maintenance] Conflict with JMSSerializer 3.9.0 due to issues with mapping of persistent collection ([@lchrusciel](https://github.com/lchrusciel)) - -## v1.9.1 (2021-03-18) - -#### Details - -- [#12324](https://github.com/Sylius/Sylius/issues/12324) Removing hard timeout on edit while load selected values ([@christopherhero](https://github.com/christopherhero)) -- [#12376](https://github.com/Sylius/Sylius/issues/12376) Pass path delimiter up to parent taxon ([@Jeroen-G](https://github.com/Jeroen-G), [@Jeroen](https://github.com/Jeroen), [@pamil](https://github.com/pamil)) -- [#12384](https://github.com/Sylius/Sylius/issues/12384) Doc: Fix Doctrine project url ([@n3wborn](https://github.com/n3wborn)) -- [#12393](https://github.com/Sylius/Sylius/issues/12393) [ApiBundle] Fixes in test application ([@GSadee](https://github.com/GSadee)) -- [#12397](https://github.com/Sylius/Sylius/issues/12397) Do not fail when mb_detect_encoding returns false ([@stefandoorn](https://github.com/stefandoorn)) -- [#12398](https://github.com/Sylius/Sylius/issues/12398) [API] add missing spec ([@AdamKasp](https://github.com/AdamKasp)) -- [#12401](https://github.com/Sylius/Sylius/issues/12401) Use bold to alert on some changes in the README ([@jacquesbh](https://github.com/jacquesbh)) -- [#12403](https://github.com/Sylius/Sylius/issues/12403) Minor fixes and CS ([@AdamKasp](https://github.com/AdamKasp)) -- [#12404](https://github.com/Sylius/Sylius/issues/12404) Fix nested accordion initialisation ([@DjLeChuck](https://github.com/DjLeChuck)) -- [#12407](https://github.com/Sylius/Sylius/issues/12407) [AttributeBundle] custom locale_code fixed ([@Mateuszry](https://github.com/Mateuszry)) -- [#12410](https://github.com/Sylius/Sylius/issues/12410) [ApiBundle] Improve tests for custom Sylius resource in test application ([@GSadee](https://github.com/GSadee)) -- [#12411](https://github.com/Sylius/Sylius/issues/12411) [API] improve tests for overwriting api configs ([@AdamKasp](https://github.com/AdamKasp)) -- [#12412](https://github.com/Sylius/Sylius/issues/12412) [API][DOCS] custom path ([@AdamKasp](https://github.com/AdamKasp)) -- [#12416](https://github.com/Sylius/Sylius/issues/12416) [ApiBundle] Improve tests for custom entity in test application ([@GSadee](https://github.com/GSadee)) -- [#12417](https://github.com/Sylius/Sylius/issues/12417) [API][Documentation] Fix link to jwt documentation ([@GSadee](https://github.com/GSadee)) -- [#12418](https://github.com/Sylius/Sylius/issues/12418) [API][Documentation] Fix path to security file ([@GSadee](https://github.com/GSadee)) -- [#12423](https://github.com/Sylius/Sylius/issues/12423) Temporarily conflict to symfony/doctrine-bridge in Core and Api bundles ([@GSadee](https://github.com/GSadee)) -- [#12427](https://github.com/Sylius/Sylius/issues/12427) [FOSOAuthServerBundle] Remove incompatible version ([@Prometee](https://github.com/Prometee)) -- [#12447](https://github.com/Sylius/Sylius/issues/12447) Fix build for CoreBundle and ApiBundle packages ([@pamil](https://github.com/pamil)) -- [#12448](https://github.com/Sylius/Sylius/issues/12448) [ApiBundle] Fix displaying testing section in README file ([@GSadee](https://github.com/GSadee)) - -## v1.9.0 (2021-03-01) - -#### TL;DR - -- Added support for Symfony 5 -- Enhanced adjustment calculations to take shipping and promotions taxes into account while generating invoices and credit memos -- Added support for non-translatable product attributes -- Improved API v2 coverage up to 50% (customer account, orders, emails, products & product variants management) - -#### Details - -- [#12126](https://github.com/Sylius/Sylius/issues/12126) Fix incorrect money format being used ([@kayue](https://github.com/kayue)) -- [#12329](https://github.com/Sylius/Sylius/issues/12329) [Api] Add test app for ApiBundle ([@Tomanhez](https://github.com/Tomanhez), [@GSadee](https://github.com/GSadee), [@lchrusciel](https://github.com/lchrusciel)) -- [#12383](https://github.com/Sylius/Sylius/issues/12383) [API] ProductVariant serialization with new key "price" ([@SirDomin](https://github.com/SirDomin)) - -#### Full 1.9 changelog - -- [#11370](https://github.com/Sylius/Sylius/issues/11370) Introduce limit parameter for quantity modifier ([@arti0090](https://github.com/arti0090)) -- [#11478](https://github.com/Sylius/Sylius/issues/11478) [ADR] Custom operation in new Sylius API ([@lchrusciel](https://github.com/lchrusciel)) -- [#11597](https://github.com/Sylius/Sylius/issues/11597) Update fixtures.rst ([@gabiudrescu](https://github.com/gabiudrescu)) -- [#11752](https://github.com/Sylius/Sylius/issues/11752) [Minor] Sort checkout contexts ([@lchrusciel](https://github.com/lchrusciel)) -- [#11754](https://github.com/Sylius/Sylius/issues/11754) [API] Order confirmation email sending ([@lchrusciel](https://github.com/lchrusciel), [@SirDomin](https://github.com/SirDomin)) -- [#11758](https://github.com/Sylius/Sylius/issues/11758) Allow newer "doctrine/doctrine-bundle" to match upcoming ResourceBundle reqs ([@stloyd](https://github.com/stloyd)) -- [#11762](https://github.com/Sylius/Sylius/issues/11762) add toogle button that verifies user account ([@arti0090](https://github.com/arti0090)) -- [#11765](https://github.com/Sylius/Sylius/issues/11765) Making the error message on fixutre load helpful ([@mamazu](https://github.com/mamazu)) -- [#11771](https://github.com/Sylius/Sylius/issues/11771) Reflect admin path change in UPGRADE-1.8 ([@jacquesbh](https://github.com/jacquesbh)) -- [#11805](https://github.com/Sylius/Sylius/issues/11805) Redirect /.well-known/change-password to the right page ([@jacquesbh](https://github.com/jacquesbh)) -- [#11811](https://github.com/Sylius/Sylius/issues/11811) [Maintenance] Remove dead part of travis installation script ([@lchrusciel](https://github.com/lchrusciel)) -- [#11817](https://github.com/Sylius/Sylius/issues/11817) [Api][Checkout] Allowing access only for correctly logged in - minor fixes ([@Tomanhez](https://github.com/Tomanhez)) -- [#11828](https://github.com/Sylius/Sylius/issues/11828) [API] add missing prefix to payments route ([@AdamKasp](https://github.com/AdamKasp)) -- [#11834](https://github.com/Sylius/Sylius/issues/11834) Update symfony.lock with a few missing entries ([@jacquesbh](https://github.com/jacquesbh)) -- [#11858](https://github.com/Sylius/Sylius/issues/11858) [API] Added behat tag for seeing shipping and payment methods on summary ([@arti0090](https://github.com/arti0090)) -- [#11859](https://github.com/Sylius/Sylius/issues/11859) [API]Seeing shipping and billing addresses on order summary page ([@arti0090](https://github.com/arti0090)) -- [#11860](https://github.com/Sylius/Sylius/issues/11860) [Api][Checkout][Shipping] Shipping method integrity validation ([@Tomanhez](https://github.com/Tomanhez)) -- [#11863](https://github.com/Sylius/Sylius/issues/11863) [API]Payment Method integrity check ([@arti0090](https://github.com/arti0090)) -- [#11874](https://github.com/Sylius/Sylius/issues/11874) [Api] restrict access to customer account editing ([@AdamKasp](https://github.com/AdamKasp)) -- [#11875](https://github.com/Sylius/Sylius/issues/11875) [API] Not being able to modify cart after completed checkout ([@arti0090](https://github.com/arti0090)) -- [#11877](https://github.com/Sylius/Sylius/issues/11877) [API] add payment method code to methods endpoint ([@arti0090](https://github.com/arti0090)) -- [#11888](https://github.com/Sylius/Sylius/issues/11888) [Api][Shop][Order][Address] Viewing order ([@Tomanhez](https://github.com/Tomanhez)) -- [#11889](https://github.com/Sylius/Sylius/issues/11889) [API] Implement choosing province during checkout ([@GSadee](https://github.com/GSadee)) -- [#11891](https://github.com/Sylius/Sylius/issues/11891) [Api] orders index for customer's account ([@AdamKasp](https://github.com/AdamKasp)) -- [#11896](https://github.com/Sylius/Sylius/issues/11896) [Api][Order]Viewing order details ([@Tomanhez](https://github.com/Tomanhez)) -- [#11906](https://github.com/Sylius/Sylius/issues/11906) [Api] Add validation for add to cart command ([@AdamKasp](https://github.com/AdamKasp)) -- [#11909](https://github.com/Sylius/Sylius/issues/11909) [Address] Improve province validation ([@GSadee](https://github.com/GSadee)) -- [#11912](https://github.com/Sylius/Sylius/issues/11912) [Admin][API][Shipment] Add filtering shipments by a shipping method ([@GSadee](https://github.com/GSadee)) -- [#11914](https://github.com/Sylius/Sylius/issues/11914) [Api][Address] Browsing AddressBook ([@Tomanhez](https://github.com/Tomanhez)) -- [#11915](https://github.com/Sylius/Sylius/issues/11915) [API]delete address book ([@arti0090](https://github.com/arti0090)) -- [#11916](https://github.com/Sylius/Sylius/issues/11916) End of maintenance date fixed ([@leniwy-splendor](https://github.com/leniwy-splendor)) -- [#11917](https://github.com/Sylius/Sylius/issues/11917) 1.5 version EoL update ([@leniwy-splendor](https://github.com/leniwy-splendor)) -- [#11923](https://github.com/Sylius/Sylius/issues/11923) Keep it consistent with simple quotes ([@jacquesbh](https://github.com/jacquesbh)) -- [#11924](https://github.com/Sylius/Sylius/issues/11924) [Api] Change payment method after checkout ([@AdamKasp](https://github.com/AdamKasp)) -- [#11925](https://github.com/Sylius/Sylius/issues/11925) [PoC][API] Resolve proper IRI in admin/shop contexts ([@Tomanhez](https://github.com/Tomanhez), [@GSadee](https://github.com/GSadee)) -- [#11928](https://github.com/Sylius/Sylius/issues/11928) Adding select type to doc ([@moein](https://github.com/moein)) -- [#11930](https://github.com/Sylius/Sylius/issues/11930) Branch update ([@leniwy-splendor](https://github.com/leniwy-splendor)) -- [#11933](https://github.com/Sylius/Sylius/issues/11933) Brunch update vol.2 ([@leniwy-splendor](https://github.com/leniwy-splendor)) -- [#11934](https://github.com/Sylius/Sylius/issues/11934) Update ChangeItemQuantityInCart ([@leniwy-splendor](https://github.com/leniwy-splendor)) -- [#11935](https://github.com/Sylius/Sylius/issues/11935) Updated Sylius description in documentation's README ([@ValentineJester](https://github.com/ValentineJester)) -- [#11937](https://github.com/Sylius/Sylius/issues/11937) [Cart] Change logic for maintaining cart after logging in ([@GSadee](https://github.com/GSadee)) -- [#11938](https://github.com/Sylius/Sylius/issues/11938) [API][AddressBook] Adding new address ([@SirDomin](https://github.com/SirDomin), [@GSadee](https://github.com/GSadee)) -- [#11939](https://github.com/Sylius/Sylius/issues/11939) [API]Seeing shipping cost of order ([@arti0090](https://github.com/arti0090)) -- [#11947](https://github.com/Sylius/Sylius/issues/11947) [API] Add removed feature ([@lchrusciel](https://github.com/lchrusciel)) -- [#11950](https://github.com/Sylius/Sylius/issues/11950) [Core][Channel] Add contact phone number to channel ([@twojtylak](https://github.com/twojtylak)) -- [#11951](https://github.com/Sylius/Sylius/issues/11951) [Api] Be able to change authorization header ([@Tomanhez](https://github.com/Tomanhez)) -- [#11952](https://github.com/Sylius/Sylius/issues/11952) [Fixture] Add getOneBy method to LazyOption ([@lchrusciel](https://github.com/lchrusciel)) -- [#11953](https://github.com/Sylius/Sylius/issues/11953) [Docs] Announce 1.9 release period ([@lchrusciel](https://github.com/lchrusciel)) -- [#11954](https://github.com/Sylius/Sylius/issues/11954) Delete redundant steps ([@AdamKasp](https://github.com/AdamKasp)) -- [#11961](https://github.com/Sylius/Sylius/issues/11961) [API][AddressBook] Setting default address ([@AdamKasp](https://github.com/AdamKasp)) -- [#11963](https://github.com/Sylius/Sylius/issues/11963) [API][AddressBook] Minor fixes to api behats ([@AdamKasp](https://github.com/AdamKasp)) -- [#11964](https://github.com/Sylius/Sylius/issues/11964) [API][AddressBook] Protect addresses with new firewall ([@AdamKasp](https://github.com/AdamKasp)) -- [#11971](https://github.com/Sylius/Sylius/issues/11971) [API] Seeing promotions total in cart ([@arti0090](https://github.com/arti0090)) -- [#11973](https://github.com/Sylius/Sylius/issues/11973) [API] [My Account] Edit addressbook ([@SirDomin](https://github.com/SirDomin)) -- [#11983](https://github.com/Sylius/Sylius/issues/11983) [Minor] Update service definition to not using depracated service ([@lchrusciel](https://github.com/lchrusciel)) -- [#11984](https://github.com/Sylius/Sylius/issues/11984) [API]maintaining cart after login and registration ([@arti0090](https://github.com/arti0090)) -- [#11989](https://github.com/Sylius/Sylius/issues/11989) [API]added missing serialization to address editing endpoint ([@arti0090](https://github.com/arti0090)) -- [#11995](https://github.com/Sylius/Sylius/issues/11995) [Behat] Fix argument name after upgrade Behat to v3.8.0 ([@GSadee](https://github.com/GSadee)) -- [#11997](https://github.com/Sylius/Sylius/issues/11997) Revert "[API]added missing serialization to address editing endpoint" ([@lchrusciel](https://github.com/lchrusciel)) -- [#11998](https://github.com/Sylius/Sylius/issues/11998) [API][Shop] Logging in after changing password implementation ([@lchrusciel](https://github.com/lchrusciel), [@arti0090](https://github.com/arti0090)) -- [#12001](https://github.com/Sylius/Sylius/issues/12001) [Maintenance] Fix naming issues after psalm bump ([@lchrusciel](https://github.com/lchrusciel)) -- [#12002](https://github.com/Sylius/Sylius/issues/12002) [API]added missing serialization to address editing endpoint ([@arti0090](https://github.com/arti0090)) -- [#12003](https://github.com/Sylius/Sylius/issues/12003) [API][Behat]refactor api admin context ([@arti0090](https://github.com/arti0090)) -- [#12006](https://github.com/Sylius/Sylius/issues/12006) [API][Checkout] Implement scenarios for preventing checkout with an empty cart ([@GSadee](https://github.com/GSadee)) -- [#12007](https://github.com/Sylius/Sylius/issues/12007) [API] Fix names in change password command ([@AdamKasp](https://github.com/AdamKasp)) -- [#12008](https://github.com/Sylius/Sylius/issues/12008) Note about disabled product variants and taxons ([@jacquesbh](https://github.com/jacquesbh)) -- [#12013](https://github.com/Sylius/Sylius/issues/12013) [API]adding promotions with expire date ([@arti0090](https://github.com/arti0090)) -- [#12016](https://github.com/Sylius/Sylius/issues/12016) [Api] Changing orders payment methods on shop account ([@Tomanhez](https://github.com/Tomanhez)) -- [#12021](https://github.com/Sylius/Sylius/issues/12021) Remove unnecessary conflicts ([@pamil](https://github.com/pamil)) -- [#12025](https://github.com/Sylius/Sylius/issues/12025) [API]adding promotions with expire date ([@arti0090](https://github.com/arti0090)) -- [#12026](https://github.com/Sylius/Sylius/issues/12026) [Order] Change localisation of findCartByTokenValue function ([@AdamKasp](https://github.com/AdamKasp)) -- [#12027](https://github.com/Sylius/Sylius/issues/12027) [FIXTURES] Use shopbillDataFactory in ChannelExampleFactory ([@lukasz](https://github.com/lukasz).[@wroblewski88](https://github.com/wroblewski88)@[@gmail](https://github.com/gmail).[@com](https://github.com/com)) -- [#12032](https://github.com/Sylius/Sylius/issues/12032) [API] Move register operation below customers endpoint ([@lchrusciel](https://github.com/lchrusciel)) -- [#12034](https://github.com/Sylius/Sylius/issues/12034) [API][Product] Change identifier for shop endpoint from slug to code ([@GSadee](https://github.com/GSadee)) -- [#12035](https://github.com/Sylius/Sylius/issues/12035) info about JWT token generation required ([@rafbit](https://github.com/rafbit)) -- [#12036](https://github.com/Sylius/Sylius/issues/12036) [API] Fix PHPSpec of order query extension after upmerge ([@GSadee](https://github.com/GSadee)) -- [#12037](https://github.com/Sylius/Sylius/issues/12037) [API]fixes to `adding promotions with expire date` ([@arti0090](https://github.com/arti0090)) -- [#12038](https://github.com/Sylius/Sylius/issues/12038) [Minor][ADR] Explicit bus declaration on handlers ([@lchrusciel](https://github.com/lchrusciel)) -- [#12039](https://github.com/Sylius/Sylius/issues/12039) [Minor] Inject proper order processor ([@lchrusciel](https://github.com/lchrusciel)) -- [#12041](https://github.com/Sylius/Sylius/issues/12041) [API] Fixes after PR with resolving proper iri in different contexts ([@GSadee](https://github.com/GSadee)) -- [#12044](https://github.com/Sylius/Sylius/issues/12044) [API][Product] Add note in UPGRADE file about changing identifier for shop endpoint ([@GSadee](https://github.com/GSadee)) -- [#12045](https://github.com/Sylius/Sylius/issues/12045) [API] Add missing endpoints for address and country resources ([@GSadee](https://github.com/GSadee)) -- [#12050](https://github.com/Sylius/Sylius/issues/12050) Refactor mailing ([@lchrusciel](https://github.com/lchrusciel), [@SirDomin](https://github.com/SirDomin)) -- [#12054](https://github.com/Sylius/Sylius/issues/12054) [ADR] Sending emails via api ([@SirDomin](https://github.com/SirDomin)) -- [#12057](https://github.com/Sylius/Sylius/issues/12057) Switch to Psalm 4 ([@pamil](https://github.com/pamil)) -- [#12058](https://github.com/Sylius/Sylius/issues/12058) Update PHPStan and its configuration ([@pamil](https://github.com/pamil)) -- [#12059](https://github.com/Sylius/Sylius/issues/12059) Upgrade to PHPSpec 7 ([@pamil](https://github.com/pamil)) -- [#12073](https://github.com/Sylius/Sylius/issues/12073) Replace fzaninotto/faker with fakerphp/faker ([@DieterHolvoet](https://github.com/DieterHolvoet)) -- [#12074](https://github.com/Sylius/Sylius/issues/12074) [API] add api tag to applying promotions with expiration date ([@arti0090](https://github.com/arti0090)) -- [#12075](https://github.com/Sylius/Sylius/issues/12075) [Behat]refactor of setup/PromotionContext class ([@arti0090](https://github.com/arti0090)) -- [#12076](https://github.com/Sylius/Sylius/issues/12076) [API][Behat] fixed steps for quantity-change api test ([@arti0090](https://github.com/arti0090)) -- [#12078](https://github.com/Sylius/Sylius/issues/12078) [Behat] refactor of cart and checkout contexts ([@arti0090](https://github.com/arti0090)) -- [#12081](https://github.com/Sylius/Sylius/issues/12081) [Api] Receiving discount promotion ([@Tomanhez](https://github.com/Tomanhez)) -- [#12082](https://github.com/Sylius/Sylius/issues/12082) [Promotions] Replace wrong names ([@Tomanhez](https://github.com/Tomanhez)) -- [#12083](https://github.com/Sylius/Sylius/issues/12083) [Api] Receiving percentage discount ([@Tomanhez](https://github.com/Tomanhez)) -- [#12084](https://github.com/Sylius/Sylius/issues/12084) Upgrade all dependencies to versions supporting Symfony 5 ([@pamil](https://github.com/pamil), [@Zales0123](https://github.com/Zales0123)) -- [#12098](https://github.com/Sylius/Sylius/issues/12098) [Attributes][PoC] Attributes view reorganization ([@Tomanhez](https://github.com/Tomanhez), [@kulczy](https://github.com/kulczy), [@AdamKasp](https://github.com/AdamKasp), [@SirDomin](https://github.com/SirDomin)) -- [#12107](https://github.com/Sylius/Sylius/issues/12107) Api platform payment ([@SirDomin](https://github.com/SirDomin)) -- [#12109](https://github.com/Sylius/Sylius/issues/12109) [API] placing order on multiple channels with api ([@arti0090](https://github.com/arti0090)) -- [#12116](https://github.com/Sylius/Sylius/issues/12116) [Adjustment] Add more details to adjustment and make shipment adjustable ([@GSadee](https://github.com/GSadee), [@SirDomin](https://github.com/SirDomin), [@lchrusciel](https://github.com/lchrusciel)) -- [#12128](https://github.com/Sylius/Sylius/issues/12128) [AdminApiBundle][CoreBundle] Update unit test versions ([@Tomanhez](https://github.com/Tomanhez)) -- [#12139](https://github.com/Sylius/Sylius/issues/12139) [Api] Locale code on checkout ([@Tomanhez](https://github.com/Tomanhez)) -- [#12148](https://github.com/Sylius/Sylius/issues/12148) Support for Symfony 5 ([@pamil](https://github.com/pamil)) -- [#12153](https://github.com/Sylius/Sylius/issues/12153) [API] prevent checkout skipping shipping step ([@arti0090](https://github.com/arti0090)) -- [#12154](https://github.com/Sylius/Sylius/issues/12154) [API] show possible shipping methods for order ([@arti0090](https://github.com/arti0090)) -- [#12157](https://github.com/Sylius/Sylius/issues/12157) Bump ini from 1.3.5 to 1.3.7 ([@dependabot](https://github.com/dependabot)[[@bot](https://github.com/bot)]) -- [#12161](https://github.com/Sylius/Sylius/issues/12161) Add tag no-api to scenario ([@arti0090](https://github.com/arti0090)) -- [#12162](https://github.com/Sylius/Sylius/issues/12162) [Api][Checkout] Shipping fees on multi-channel ([@Tomanhez](https://github.com/Tomanhez)) -- [#12164](https://github.com/Sylius/Sylius/issues/12164) update upgrade file after changes with tax adjustment ([@arti0090](https://github.com/arti0090)) -- [#12165](https://github.com/Sylius/Sylius/issues/12165) [Api] Check currency on channel ([@Tomanhez](https://github.com/Tomanhez)) -- [#12178](https://github.com/Sylius/Sylius/issues/12178) [API] Browsing promotions ([@arti0090](https://github.com/arti0090)) -- [#12179](https://github.com/Sylius/Sylius/issues/12179) [API] deleting promotions ([@arti0090](https://github.com/arti0090)) -- [#12184](https://github.com/Sylius/Sylius/issues/12184) [BC BREAK] [Api][AdminUser][AvatarImage][Channel][Currency][Customer] Refactor api serialization groups ([@Tomanhez](https://github.com/Tomanhez)) -- [#12188](https://github.com/Sylius/Sylius/issues/12188) [BC BREAK] [Api][Order] Refactor api serialization groups ([@Tomanhez](https://github.com/Tomanhez)) -- [#12205](https://github.com/Sylius/Sylius/issues/12205) [BC BREAK] [Api][Product] Refactor api serialization groups ([@Tomanhez](https://github.com/Tomanhez)) -- [#12206](https://github.com/Sylius/Sylius/issues/12206) [BC BREAK] [Api][OrderItem][OrderItemUnit] Refactor api serialization groups ([@Tomanhez](https://github.com/Tomanhez)) -- [#12206](https://github.com/Sylius/Sylius/issues/12206) [BC BREAK] [Api][OrderItem][OrderItemUnit] Refactor api serialization groups ([@Tomanhez](https://github.com/Tomanhez)) -- [#12212](https://github.com/Sylius/Sylius/issues/12212) [BC BREAK] [Api][Promotion][Province] Refactor api serialization groups ([@lchrusciel](https://github.com/lchrusciel)) -- [#12213](https://github.com/Sylius/Sylius/issues/12213) Upgrade psalm ([@Tomanhez](https://github.com/Tomanhez)) -- [#12214](https://github.com/Sylius/Sylius/issues/12214) Add conflict liminas/liminas-code 4.0.0 ([@Tomanhez](https://github.com/Tomanhez)) -- [#12215](https://github.com/Sylius/Sylius/issues/12215) Update CONFLICTS.MD ([@Tomanhez](https://github.com/Tomanhez)) -- [#12218](https://github.com/Sylius/Sylius/issues/12218) Remove laminas/laminas-code conflict ([@Tomanhez](https://github.com/Tomanhez)) -- [#12220](https://github.com/Sylius/Sylius/issues/12220) Fix event deprecations ([@loic425](https://github.com/loic425)) -- [#12228](https://github.com/Sylius/Sylius/issues/12228) [BC BREAK] [Api][Adjustment][CustomerGrouop][ExchangeRate][Locale][Payment][PaymentMethod] Refactor api serialization groups ([@Tomanhez](https://github.com/Tomanhez)) -- [#12230](https://github.com/Sylius/Sylius/issues/12230) [BC BREAK] [Api][ShippingMethod][ShopBillingData][TaxCategory][Taxon][TaxonTranslation][Zone][ZoneMemberRefactor] serializations groups ([@Tomanhez](https://github.com/Tomanhez)) -- [#12231](https://github.com/Sylius/Sylius/issues/12231) Add conflict with polyfill-mbstring 1.22.0 ([@Tomanhez](https://github.com/Tomanhez)) -- [#12233](https://github.com/Sylius/Sylius/issues/12233) [Bug] Add Twig verification to check is taxon is enabled ([@clem21](https://github.com/clem21)) -- [#12239](https://github.com/Sylius/Sylius/issues/12239) Update phpstan/phpstan requirement from 0.12.64 to 0.12.66 ([@dependabot-preview](https://github.com/dependabot-preview)[[@bot](https://github.com/bot)]) -- [#12246](https://github.com/Sylius/Sylius/issues/12246) [OrderProcessor] Fix clearing tax adjustments ([@GSadee](https://github.com/GSadee)) -- [#12248](https://github.com/Sylius/Sylius/issues/12248) Make upgrade of serializations easier to read ([@Jeroen-G](https://github.com/Jeroen-G)) -- [#12256](https://github.com/Sylius/Sylius/issues/12256) Ability to create non-translatable attributes fixtures + info about non-translatable attributes. ([@SirDomin](https://github.com/SirDomin)) -- [#12257](https://github.com/Sylius/Sylius/issues/12257) [API] change new-api prefix to api ([@SirDomin](https://github.com/SirDomin)) -- [#12258](https://github.com/Sylius/Sylius/issues/12258) [Docs] Add steps to upgrade jms configuration in UPGRADE-1.9 file ([@Tomanhez](https://github.com/Tomanhez)) -- [#12260](https://github.com/Sylius/Sylius/issues/12260) [Minor][Documentation] Improve attribute documentation ([@lchrusciel](https://github.com/lchrusciel)) -- [#12262](https://github.com/Sylius/Sylius/issues/12262) [Migrations] Use adding SQL instead of query execution ([@GSadee](https://github.com/GSadee)) -- [#12270](https://github.com/Sylius/Sylius/issues/12270) [Cart] change remove order item from PATCH method to DELETE method ([@AdamKasp](https://github.com/AdamKasp)) -- [#12278](https://github.com/Sylius/Sylius/issues/12278) [API] move security parameters to bundles ([@SirDomin](https://github.com/SirDomin), [@lchrusciel](https://github.com/lchrusciel)) -- [#12279](https://github.com/Sylius/Sylius/issues/12279) [API] show product price ([@SirDomin](https://github.com/SirDomin)) -- [#12282](https://github.com/Sylius/Sylius/issues/12282) [Shipment] Applying discounts and taxes for each shipment ([@GSadee](https://github.com/GSadee)) -- [#12283](https://github.com/Sylius/Sylius/issues/12283) Getting back to customer details in admin panel. ([@mamazu](https://github.com/mamazu)) -- [#12284](https://github.com/Sylius/Sylius/issues/12284) [Psalm] Fix build by casting to string in sprintf methods ([@GSadee](https://github.com/GSadee)) -- [#12287](https://github.com/Sylius/Sylius/issues/12287) [API] Search products by name within specific taxon ([@pamil](https://github.com/pamil)) -- [#12288](https://github.com/Sylius/Sylius/issues/12288) Add proper date in licenses ([@Tomanhez](https://github.com/Tomanhez)) -- [#12290](https://github.com/Sylius/Sylius/issues/12290) [Docs] Upgrade sphinx installation guide ([@Tomanhez](https://github.com/Tomanhez), [@pamil](https://github.com/pamil)) -- [#12291](https://github.com/Sylius/Sylius/issues/12291) Fix Taxon collection API name ([@kayue](https://github.com/kayue)) -- [#12296](https://github.com/Sylius/Sylius/issues/12296) Typo fix ([@Xeriaz](https://github.com/Xeriaz)) -- [#12301](https://github.com/Sylius/Sylius/issues/12301) [API] Add missing api and no-api tags ([@lchrusciel](https://github.com/lchrusciel)) -- [#12311](https://github.com/Sylius/Sylius/issues/12311) [ADR] Unified API prefix ([@lchrusciel](https://github.com/lchrusciel)) -- [#12319](https://github.com/Sylius/Sylius/issues/12319) Fix the appearance of the UPGRADE-1.9 file ([@GSadee](https://github.com/GSadee)) -- [#12322](https://github.com/Sylius/Sylius/issues/12322) update documentation for creating custom model ([@arti0090](https://github.com/arti0090)) -- [#12323](https://github.com/Sylius/Sylius/issues/12323) Change the order of sections in the UPGRADE-1.9 file ([@GSadee](https://github.com/GSadee)) -- [#12325](https://github.com/Sylius/Sylius/issues/12325) fix problem with registered service ([@AdamKasp](https://github.com/AdamKasp), [@pamil](https://github.com/pamil)) -- [#12326](https://github.com/Sylius/Sylius/issues/12326) Fixes in the UPGRADE-1.9 file ([@GSadee](https://github.com/GSadee)) -- [#12328](https://github.com/Sylius/Sylius/issues/12328) update documentation for creating custom resource controller ([@arti0090](https://github.com/arti0090)) -- [#12329](https://github.com/Sylius/Sylius/issues/12329) [Api] Add test app for ApiBundle ([@Tomanhez](https://github.com/Tomanhez), [@GSadee](https://github.com/GSadee), [@lchrusciel](https://github.com/lchrusciel)) -- [#12331](https://github.com/Sylius/Sylius/issues/12331) Add note about removing Twig route config in the UPGRADE-1.9 file ([@GSadee](https://github.com/GSadee)) -- [#12332](https://github.com/Sylius/Sylius/issues/12332) Reorganize UPGRADE-1.9 file to extract steps for Symfony v5.2 ([@GSadee](https://github.com/GSadee)) -- [#12336](https://github.com/Sylius/Sylius/issues/12336) Fix timeout on 404 Not Found errors when using templating and Symfony 4.4 ([@pamil](https://github.com/pamil)) -- [#12338](https://github.com/Sylius/Sylius/issues/12338) [DOCS] Updating the controller customization ([@Roshyo](https://github.com/Roshyo)) -- [#12342](https://github.com/Sylius/Sylius/issues/12342) Fixes according to composer require commands in the UPGRADE-1.9 file ([@GSadee](https://github.com/GSadee)) -- [#12351](https://github.com/Sylius/Sylius/issues/12351) [Doc] remove generator bundle info (deprecated) ([@SirDomin](https://github.com/SirDomin)) -- [#12355](https://github.com/Sylius/Sylius/issues/12355) Remove unneeded zendframework/zend-hydrator dependency ([@pamil](https://github.com/pamil)) -- [#12364](https://github.com/Sylius/Sylius/issues/12364) [Adjustment] Update new migrations not to execute if the changes already exist in db ([@GSadee](https://github.com/GSadee)) -- [#12365](https://github.com/Sylius/Sylius/issues/12365) [Adjustment] Update down methods of new migrations not to execute if the changes already exist in db ([@GSadee](https://github.com/GSadee)) -- [#12373](https://github.com/Sylius/Sylius/issues/12373) Move some steps to different section in the UPGRADE-1.9 file ([@GSadee](https://github.com/GSadee)) -- [#12378](https://github.com/Sylius/Sylius/issues/12378) [Bug-fix] Fix default form problem with _token field ([@Zales0123](https://github.com/Zales0123)) -- [#12383](https://github.com/Sylius/Sylius/issues/12383) [API] ProductVariant serialization with new key "price" ([@SirDomin](https://github.com/SirDomin)) - -## v1.9.0-RC.2 (2021-02-23) - -#### Details - -- [#12378](https://github.com/Sylius/Sylius/issues/12378) [Bug-fix] Fix default form problem with _token field ([@Zales0123](https://github.com/Zales0123)) - -## v1.9.0-RC.1 (2021-02-22) - -#### Details - -- [#12311](https://github.com/Sylius/Sylius/issues/12311) [ADR] Unified API prefix ([@lchrusciel](https://github.com/lchrusciel)) -- [#12351](https://github.com/Sylius/Sylius/issues/12351) [Doc] remove generator bundle info (deprecated) ([@SirDomin](https://github.com/SirDomin)) -- [#12352](https://github.com/Sylius/Sylius/issues/12352) [Frontend] add box with info about api identifiers ([@SirDomin](https://github.com/SirDomin)) -- [#12355](https://github.com/Sylius/Sylius/issues/12355) Remove unneeded zendframework/zend-hydrator dependency ([@pamil](https://github.com/pamil)) -- [#12363](https://github.com/Sylius/Sylius/issues/12363) [Maintenance] Run test suite for MySQL 8.0 ([@lchrusciel](https://github.com/lchrusciel), [@GSadee](https://github.com/GSadee)) -- [#12364](https://github.com/Sylius/Sylius/issues/12364) [Adjustment] Update new migrations not to execute if the changes already exist in db ([@GSadee](https://github.com/GSadee)) -- [#12365](https://github.com/Sylius/Sylius/issues/12365) [Adjustment] Update down methods of new migrations not to execute if the changes already exist in db ([@GSadee](https://github.com/GSadee)) -- [#12367](https://github.com/Sylius/Sylius/issues/12367) change swagger API info color to blue ([@SirDomin](https://github.com/SirDomin)) -- [#12373](https://github.com/Sylius/Sylius/issues/12373) Move some steps to different section in the UPGRADE-1.9 file ([@GSadee](https://github.com/GSadee)) - -## v1.9.0-BETA.3 (2021-02-15) - -#### Details - -- [#12313](https://github.com/Sylius/Sylius/issues/12313) Change package type from "project" to "library" ([@vvasiloi](https://github.com/vvasiloi)) -- [#12322](https://github.com/Sylius/Sylius/issues/12322) update documentation for creating custom model ([@arti0090](https://github.com/arti0090)) -- [#12328](https://github.com/Sylius/Sylius/issues/12328) update documentation for creating custom resource controller ([@arti0090](https://github.com/arti0090)) -- [#12331](https://github.com/Sylius/Sylius/issues/12331) Add note about removing Twig route config in the UPGRADE-1.9 file ([@GSadee](https://github.com/GSadee)) -- [#12332](https://github.com/Sylius/Sylius/issues/12332) Reorganize UPGRADE-1.9 file to extract steps for Symfony v5.2 ([@GSadee](https://github.com/GSadee)) -- [#12336](https://github.com/Sylius/Sylius/issues/12336) Fix timeout on 404 Not Found errors when using templating and Symfony 4.4 ([@pamil](https://github.com/pamil)) -- [#12338](https://github.com/Sylius/Sylius/issues/12338) [DOCS] Updating the controller customization ([@Roshyo](https://github.com/Roshyo)) -- [#12342](https://github.com/Sylius/Sylius/issues/12342) Fixes according to composer require commands in the UPGRADE-1.9 file ([@GSadee](https://github.com/GSadee)) - -## v1.9.0-BETA.2 (2021-02-10) - -#### Details - -- [#12230](https://github.com/Sylius/Sylius/issues/12230) [BC BREAK] [Api] [ShippingMethod] [ShopBillingData] [TaxCategory] [Taxon][TaxonTranslation] [Zone] [ZoneMemberRefactor] serializations groups ([@Tomanhez](https://github.com/Tomanhez)) -- [#12278](https://github.com/Sylius/Sylius/issues/12278) [API] move security parameters to bundles ([@SirDomin](https://github.com/SirDomin), [@lchrusciel](https://github.com/lchrusciel)) -- [#12289](https://github.com/Sylius/Sylius/issues/12289) [Docs] Add docs for LoyaltyRule ([@Tomanhez](https://github.com/Tomanhez)) -- [#12301](https://github.com/Sylius/Sylius/issues/12301) [API] Add missing api and no-api tags ([@lchrusciel](https://github.com/lchrusciel)) -- [#12312](https://github.com/Sylius/Sylius/issues/12312) [CI] Ignore changes in "adr" directory ([@pamil](https://github.com/pamil)) -- [#12319](https://github.com/Sylius/Sylius/issues/12319) Fix the appearance of the UPGRADE-1.9 file ([@GSadee](https://github.com/GSadee)) -- [#12323](https://github.com/Sylius/Sylius/issues/12323) Change the order of sections in the UPGRADE-1.9 file ([@GSadee](https://github.com/GSadee)) -- [#12325](https://github.com/Sylius/Sylius/issues/12325) fix problem with registered service ([@AdamKasp](https://github.com/AdamKasp), [@pamil](https://github.com/pamil)) -- [#12326](https://github.com/Sylius/Sylius/issues/12326) Fixes in the UPGRADE-1.9 file ([@GSadee](https://github.com/GSadee)) - -## v1.9.0-BETA.1 (2021-02-01) - -#### Details - -- [#12272](https://github.com/Sylius/Sylius/issues/12272) [Docs] fix for admin RBAC channels ([@AdamKasp](https://github.com/AdamKasp)) -- [#12274](https://github.com/Sylius/Sylius/issues/12274) Fix no identifier defined error in ApiPlatform 2.6 ([@kayue](https://github.com/kayue)) -- [#12279](https://github.com/Sylius/Sylius/issues/12279) [API] show product price ([@SirDomin](https://github.com/SirDomin)) -- [#12281](https://github.com/Sylius/Sylius/issues/12281) Add conflict with api-platform/core:^2.6 ([@pamil](https://github.com/pamil)) -- [#12282](https://github.com/Sylius/Sylius/issues/12282) [Shipment] Applying discounts and taxes for each shipment ([@GSadee](https://github.com/GSadee)) -- [#12283](https://github.com/Sylius/Sylius/issues/12283) Getting back to customer details in admin panel. ([@mamazu](https://github.com/mamazu)) -- [#12284](https://github.com/Sylius/Sylius/issues/12284) [Psalm] Fix build by casting to string in sprintf methods ([@GSadee](https://github.com/GSadee)) -- [#12287](https://github.com/Sylius/Sylius/issues/12287) [API] Search products by name within specific taxon ([@pamil](https://github.com/pamil)) -- [#12288](https://github.com/Sylius/Sylius/issues/12288) Add proper date in licenses ([@Tomanhez](https://github.com/Tomanhez)) -- [#12290](https://github.com/Sylius/Sylius/issues/12290) [Docs] Upgrade sphinx installation guide ([@Tomanhez](https://github.com/Tomanhez), [@pamil](https://github.com/pamil)) -- [#12291](https://github.com/Sylius/Sylius/issues/12291) Fix Taxon collection API name ([@kayue](https://github.com/kayue)) -- [#12295](https://github.com/Sylius/Sylius/issues/12295) [Api] Fix CommandAwareInputDataTransformer ([@Tomanhez](https://github.com/Tomanhez)) -- [#12296](https://github.com/Sylius/Sylius/issues/12296) Typo fix ([@Xeriaz](https://github.com/Xeriaz)) - -## v1.9.0-ALPHA.2 (2021-01-21) - -#### TL;DR - -- Added support for Symfony 5 - -#### Details - -- [#12098](https://github.com/Sylius/Sylius/issues/12098) [Attributes][PoC] Attributes view reorganization ([@Tomanhez](https://github.com/Tomanhez), [@kulczy](https://github.com/kulczy), [@AdamKasp](https://github.com/AdamKasp), [@SirDomin](https://github.com/SirDomin)) -- [#12148](https://github.com/Sylius/Sylius/issues/12148) Support for Symfony 5 ([@pamil](https://github.com/pamil)) -- [#12220](https://github.com/Sylius/Sylius/issues/12220) Fix event deprecations ([@loic425](https://github.com/loic425)) -- [#12233](https://github.com/Sylius/Sylius/issues/12233) [Bug] Add Twig verification to check is taxon is enabled ([@clem21](https://github.com/clem21)) -- [#12234](https://github.com/Sylius/Sylius/issues/12234) Backport symfony/polyfill-mbstring:1.22.0 conflict to make the build passing on 1.8 ([@pamil](https://github.com/pamil)) -- [#12246](https://github.com/Sylius/Sylius/issues/12246) [OrderProcessor] Fix clearing tax adjustments ([@GSadee](https://github.com/GSadee)) -- [#12248](https://github.com/Sylius/Sylius/issues/12248) Make upgrade of serializations easier to read ([@Jeroen-G](https://github.com/Jeroen-G)) -- [#12255](https://github.com/Sylius/Sylius/issues/12255) Auto-merge passing dependabot PRs ([@Zales0123](https://github.com/Zales0123)) -- [#12256](https://github.com/Sylius/Sylius/issues/12256) Ability to create non-translatable attributes fixtures + info about non-translatable attributes. ([@SirDomin](https://github.com/SirDomin)) -- [#12257](https://github.com/Sylius/Sylius/issues/12257) [API] change new-api prefix to api ([@SirDomin](https://github.com/SirDomin)) -- [#12258](https://github.com/Sylius/Sylius/issues/12258) [Docs] Add steps to upgrade jms configuration in UPGRADE-1.9 file ([@Tomanhez](https://github.com/Tomanhez)) -- [#12260](https://github.com/Sylius/Sylius/issues/12260) [Minor][Documentation] Improve attribute documentation ([@lchrusciel](https://github.com/lchrusciel)) -- [#12262](https://github.com/Sylius/Sylius/issues/12262) [Migrations] Use adding SQL instead of query execution ([@GSadee](https://github.com/GSadee)) -- [#12270](https://github.com/Sylius/Sylius/issues/12270) [Cart] change remove order item from PATCH method to DELETE method ([@AdamKasp](https://github.com/AdamKasp)) - -## v1.9.0-ALPHA.1 (2021-01-11) - -#### Details - -- [#11370](https://github.com/Sylius/Sylius/issues/11370) Introduce limit parameter for quantity modifier ([@arti0090](https://github.com/arti0090)) -- [#11478](https://github.com/Sylius/Sylius/issues/11478) [ADR] Custom operation in new Sylius API ([@lchrusciel](https://github.com/lchrusciel)) -- [#11597](https://github.com/Sylius/Sylius/issues/11597) Update fixtures.rst ([@gabiudrescu](https://github.com/gabiudrescu)) -- [#11752](https://github.com/Sylius/Sylius/issues/11752) [Minor] Sort checkout contexts ([@lchrusciel](https://github.com/lchrusciel)) -- [#11754](https://github.com/Sylius/Sylius/issues/11754) [API] Order confirmation email sending ([@lchrusciel](https://github.com/lchrusciel), [@SirDomin](https://github.com/SirDomin)) -- [#11758](https://github.com/Sylius/Sylius/issues/11758) Allow newer "doctrine/doctrine-bundle" to match upcoming ResourceBundle reqs ([@stloyd](https://github.com/stloyd)) -- [#11762](https://github.com/Sylius/Sylius/issues/11762) add toogle button that verifies user account ([@arti0090](https://github.com/arti0090)) -- [#11765](https://github.com/Sylius/Sylius/issues/11765) Making the error message on fixutre load helpful ([@mamazu](https://github.com/mamazu)) -- [#11771](https://github.com/Sylius/Sylius/issues/11771) Reflect admin path change in UPGRADE-1.8 ([@jacquesbh](https://github.com/jacquesbh)) -- [#11805](https://github.com/Sylius/Sylius/issues/11805) Redirect /.well-known/change-password to the right page ([@jacquesbh](https://github.com/jacquesbh)) -- [#11811](https://github.com/Sylius/Sylius/issues/11811) [Maintenance] Remove dead part of travis installation script ([@lchrusciel](https://github.com/lchrusciel)) -- [#11817](https://github.com/Sylius/Sylius/issues/11817) [Api][Checkout] Allowing access only for correctly logged in - minor fixes ([@Tomanhez](https://github.com/Tomanhez)) -- [#11828](https://github.com/Sylius/Sylius/issues/11828) [API] add missing prefix to payments route ([@AdamKasp](https://github.com/AdamKasp)) -- [#11834](https://github.com/Sylius/Sylius/issues/11834) Update symfony.lock with a few missing entries ([@jacquesbh](https://github.com/jacquesbh)) -- [#11858](https://github.com/Sylius/Sylius/issues/11858) [API] Added behat tag for seeing shipping and payment methods on summary ([@arti0090](https://github.com/arti0090)) -- [#11859](https://github.com/Sylius/Sylius/issues/11859) [API]Seeing shipping and billing addresses on order summary page ([@arti0090](https://github.com/arti0090)) -- [#11860](https://github.com/Sylius/Sylius/issues/11860) [Api][Checkout][Shipping] Shipping method integrity validation ([@Tomanhez](https://github.com/Tomanhez)) -- [#11863](https://github.com/Sylius/Sylius/issues/11863) [API]Payment Method integrity check ([@arti0090](https://github.com/arti0090)) -- [#11874](https://github.com/Sylius/Sylius/issues/11874) [Api] restrict access to customer account editing ([@AdamKasp](https://github.com/AdamKasp)) -- [#11875](https://github.com/Sylius/Sylius/issues/11875) [API] Not being able to modify cart after completed checkout ([@arti0090](https://github.com/arti0090)) -- [#11877](https://github.com/Sylius/Sylius/issues/11877) [API] add payment method code to methods endpoint ([@arti0090](https://github.com/arti0090)) -- [#11888](https://github.com/Sylius/Sylius/issues/11888) [Api][Shop][Order][Address] Viewing order ([@Tomanhez](https://github.com/Tomanhez)) -- [#11889](https://github.com/Sylius/Sylius/issues/11889) [API] Implement choosing province during checkout ([@GSadee](https://github.com/GSadee)) -- [#11891](https://github.com/Sylius/Sylius/issues/11891) [Api] orders index for customer's account ([@AdamKasp](https://github.com/AdamKasp)) -- [#11896](https://github.com/Sylius/Sylius/issues/11896) [Api][Order]Viewing order details ([@Tomanhez](https://github.com/Tomanhez)) -- [#11906](https://github.com/Sylius/Sylius/issues/11906) [Api] Add validation for add to cart command ([@AdamKasp](https://github.com/AdamKasp)) -- [#11909](https://github.com/Sylius/Sylius/issues/11909) [Address] Improve province validation ([@GSadee](https://github.com/GSadee)) -- [#11912](https://github.com/Sylius/Sylius/issues/11912) [Admin][API][Shipment] Add filtering shipments by a shipping method ([@GSadee](https://github.com/GSadee)) -- [#11914](https://github.com/Sylius/Sylius/issues/11914) [Api][Address] Browsing AddressBook ([@Tomanhez](https://github.com/Tomanhez)) -- [#11915](https://github.com/Sylius/Sylius/issues/11915) [API]delete address book ([@arti0090](https://github.com/arti0090)) -- [#11916](https://github.com/Sylius/Sylius/issues/11916) End of maintenance date fixed ([@leniwy-splendor](https://github.com/leniwy-splendor)) -- [#11917](https://github.com/Sylius/Sylius/issues/11917) 1.5 version EoL update ([@leniwy-splendor](https://github.com/leniwy-splendor)) -- [#11923](https://github.com/Sylius/Sylius/issues/11923) Keep it consistent with simple quotes ([@jacquesbh](https://github.com/jacquesbh)) -- [#11924](https://github.com/Sylius/Sylius/issues/11924) [Api] Change payment method after checkout ([@AdamKasp](https://github.com/AdamKasp)) -- [#11925](https://github.com/Sylius/Sylius/issues/11925) [PoC][API] Resolve proper IRI in admin/shop contexts ([@Tomanhez](https://github.com/Tomanhez), [@GSadee](https://github.com/GSadee)) -- [#11928](https://github.com/Sylius/Sylius/issues/11928) Adding select type to doc ([@moein](https://github.com/moein)) -- [#11930](https://github.com/Sylius/Sylius/issues/11930) Branch update ([@leniwy-splendor](https://github.com/leniwy-splendor)) -- [#11933](https://github.com/Sylius/Sylius/issues/11933) Brunch update vol.2 ([@leniwy-splendor](https://github.com/leniwy-splendor)) -- [#11934](https://github.com/Sylius/Sylius/issues/11934) Update ChangeItemQuantityInCart ([@leniwy-splendor](https://github.com/leniwy-splendor)) -- [#11935](https://github.com/Sylius/Sylius/issues/11935) Updated Sylius description in documentation's README ([@ValentineJester](https://github.com/ValentineJester)) -- [#11937](https://github.com/Sylius/Sylius/issues/11937) [Cart] Change logic for maintaining cart after logging in ([@GSadee](https://github.com/GSadee)) -- [#11938](https://github.com/Sylius/Sylius/issues/11938) [API][AddressBook] Adding new address ([@SirDomin](https://github.com/SirDomin), [@GSadee](https://github.com/GSadee)) -- [#11939](https://github.com/Sylius/Sylius/issues/11939) [API]Seeing shipping cost of order ([@arti0090](https://github.com/arti0090)) -- [#11947](https://github.com/Sylius/Sylius/issues/11947) [API] Add removed feature ([@lchrusciel](https://github.com/lchrusciel)) -- [#11950](https://github.com/Sylius/Sylius/issues/11950) [Core][Channel] Add contact phone number to channel ([@twojtylak](https://github.com/twojtylak)) -- [#11951](https://github.com/Sylius/Sylius/issues/11951) [Api] Be able to change authorization header ([@Tomanhez](https://github.com/Tomanhez)) -- [#11952](https://github.com/Sylius/Sylius/issues/11952) [Fixture] Add getOneBy method to LazyOption ([@lchrusciel](https://github.com/lchrusciel)) -- [#11953](https://github.com/Sylius/Sylius/issues/11953) [Docs] Announce 1.9 release period ([@lchrusciel](https://github.com/lchrusciel)) -- [#11954](https://github.com/Sylius/Sylius/issues/11954) Delete redundant steps ([@AdamKasp](https://github.com/AdamKasp)) -- [#11961](https://github.com/Sylius/Sylius/issues/11961) [API][AddressBook] Setting default address ([@AdamKasp](https://github.com/AdamKasp)) -- [#11963](https://github.com/Sylius/Sylius/issues/11963) [API][AddressBook] Minor fixes to api behats ([@AdamKasp](https://github.com/AdamKasp)) -- [#11964](https://github.com/Sylius/Sylius/issues/11964) [API][AddressBook] Protect addresses with new firewall ([@AdamKasp](https://github.com/AdamKasp)) -- [#11971](https://github.com/Sylius/Sylius/issues/11971) [API] Seeing promotions total in cart ([@arti0090](https://github.com/arti0090)) -- [#11973](https://github.com/Sylius/Sylius/issues/11973) [API] [My Account] Edit addressbook ([@SirDomin](https://github.com/SirDomin)) -- [#11983](https://github.com/Sylius/Sylius/issues/11983) [Minor] Update service definition to not using depracated service ([@lchrusciel](https://github.com/lchrusciel)) -- [#11984](https://github.com/Sylius/Sylius/issues/11984) [API]maintaining cart after login and registration ([@arti0090](https://github.com/arti0090)) -- [#11989](https://github.com/Sylius/Sylius/issues/11989) [API]added missing serialization to address editing endpoint ([@arti0090](https://github.com/arti0090)) -- [#11995](https://github.com/Sylius/Sylius/issues/11995) [Behat] Fix argument name after upgrade Behat to v3.8.0 ([@GSadee](https://github.com/GSadee)) -- [#11997](https://github.com/Sylius/Sylius/issues/11997) Revert "[API]added missing serialization to address editing endpoint" ([@lchrusciel](https://github.com/lchrusciel)) -- [#11998](https://github.com/Sylius/Sylius/issues/11998) [API][Shop] Logging in after changing password implementation ([@lchrusciel](https://github.com/lchrusciel), [@arti0090](https://github.com/arti0090)) -- [#12001](https://github.com/Sylius/Sylius/issues/12001) [Maintenance] Fix naming issues after psalm bump ([@lchrusciel](https://github.com/lchrusciel)) -- [#12002](https://github.com/Sylius/Sylius/issues/12002) [API]added missing serialization to address editing endpoint ([@arti0090](https://github.com/arti0090)) -- [#12003](https://github.com/Sylius/Sylius/issues/12003) [API][Behat]refactor api admin context ([@arti0090](https://github.com/arti0090)) -- [#12006](https://github.com/Sylius/Sylius/issues/12006) [API][Checkout] Implement scenarios for preventing checkout with an empty cart ([@GSadee](https://github.com/GSadee)) -- [#12007](https://github.com/Sylius/Sylius/issues/12007) [API] Fix names in change password command ([@AdamKasp](https://github.com/AdamKasp)) -- [#12008](https://github.com/Sylius/Sylius/issues/12008) Note about disabled product variants and taxons ([@jacquesbh](https://github.com/jacquesbh)) -- [#12013](https://github.com/Sylius/Sylius/issues/12013) [API]adding promotions with expire date ([@arti0090](https://github.com/arti0090)) -- [#12016](https://github.com/Sylius/Sylius/issues/12016) [Api] Changing orders payment methods on shop account ([@Tomanhez](https://github.com/Tomanhez)) -- [#12021](https://github.com/Sylius/Sylius/issues/12021) Remove unnecessary conflicts ([@pamil](https://github.com/pamil)) -- [#12025](https://github.com/Sylius/Sylius/issues/12025) [API]adding promotions with expire date ([@arti0090](https://github.com/arti0090)) -- [#12026](https://github.com/Sylius/Sylius/issues/12026) [Order] Change localisation of findCartByTokenValue function ([@AdamKasp](https://github.com/AdamKasp)) -- [#12027](https://github.com/Sylius/Sylius/issues/12027) [FIXTURES] Use shopbillDataFactory in ChannelExampleFactory ([@lukasz](https://github.com/lukasz).[@wroblewski88](https://github.com/wroblewski88)@[@gmail](https://github.com/gmail).[@com](https://github.com/com)) -- [#12032](https://github.com/Sylius/Sylius/issues/12032) [API] Move register operation below customers endpoint ([@lchrusciel](https://github.com/lchrusciel)) -- [#12034](https://github.com/Sylius/Sylius/issues/12034) [API][Product] Change identifier for shop endpoint from slug to code ([@GSadee](https://github.com/GSadee)) -- [#12035](https://github.com/Sylius/Sylius/issues/12035) info about JWT token generation required ([@rafbit](https://github.com/rafbit)) -- [#12036](https://github.com/Sylius/Sylius/issues/12036) [API] Fix PHPSpec of order query extension after upmerge ([@GSadee](https://github.com/GSadee)) -- [#12037](https://github.com/Sylius/Sylius/issues/12037) [API]fixes to `adding promotions with expire date` ([@arti0090](https://github.com/arti0090)) -- [#12038](https://github.com/Sylius/Sylius/issues/12038) [Minor][ADR] Explicit bus declaration on handlers ([@lchrusciel](https://github.com/lchrusciel)) -- [#12039](https://github.com/Sylius/Sylius/issues/12039) [Minor] Inject proper order processor ([@lchrusciel](https://github.com/lchrusciel)) -- [#12041](https://github.com/Sylius/Sylius/issues/12041) [API] Fixes after PR with resolving proper iri in different contexts ([@GSadee](https://github.com/GSadee)) -- [#12044](https://github.com/Sylius/Sylius/issues/12044) [API][Product] Add note in UPGRADE file about changing identifier for shop endpoint ([@GSadee](https://github.com/GSadee)) -- [#12045](https://github.com/Sylius/Sylius/issues/12045) [API] Add missing endpoints for address and country resources ([@GSadee](https://github.com/GSadee)) -- [#12050](https://github.com/Sylius/Sylius/issues/12050) Refactor mailing ([@lchrusciel](https://github.com/lchrusciel), [@SirDomin](https://github.com/SirDomin)) -- [#12054](https://github.com/Sylius/Sylius/issues/12054) [ADR] Sending emails via api ([@SirDomin](https://github.com/SirDomin)) -- [#12057](https://github.com/Sylius/Sylius/issues/12057) Switch to Psalm 4 ([@pamil](https://github.com/pamil)) -- [#12058](https://github.com/Sylius/Sylius/issues/12058) Update PHPStan and its configuration ([@pamil](https://github.com/pamil)) -- [#12059](https://github.com/Sylius/Sylius/issues/12059) Upgrade to PHPSpec 7 ([@pamil](https://github.com/pamil)) -- [#12073](https://github.com/Sylius/Sylius/issues/12073) Replace fzaninotto/faker with fakerphp/faker ([@DieterHolvoet](https://github.com/DieterHolvoet)) -- [#12074](https://github.com/Sylius/Sylius/issues/12074) [API] add api tag to applying promotions with expiration date ([@arti0090](https://github.com/arti0090)) -- [#12075](https://github.com/Sylius/Sylius/issues/12075) [Behat]refactor of setup/PromotionContext class ([@arti0090](https://github.com/arti0090)) -- [#12076](https://github.com/Sylius/Sylius/issues/12076) [API][Behat] fixed steps for quantity-change api test ([@arti0090](https://github.com/arti0090)) -- [#12078](https://github.com/Sylius/Sylius/issues/12078) [Behat] refactor of cart and checkout contexts ([@arti0090](https://github.com/arti0090)) -- [#12081](https://github.com/Sylius/Sylius/issues/12081) [Api] Receiving discount promotion ([@Tomanhez](https://github.com/Tomanhez)) -- [#12082](https://github.com/Sylius/Sylius/issues/12082) [Promotions] Replace wrong names ([@Tomanhez](https://github.com/Tomanhez)) -- [#12083](https://github.com/Sylius/Sylius/issues/12083) [Api] Receiving percentage discount ([@Tomanhez](https://github.com/Tomanhez)) -- [#12084](https://github.com/Sylius/Sylius/issues/12084) Upgrade all dependencies to versions supporting Symfony 5 ([@pamil](https://github.com/pamil), [@Zales0123](https://github.com/Zales0123)) -- [#12107](https://github.com/Sylius/Sylius/issues/12107) Api platform payment ([@SirDomin](https://github.com/SirDomin)) -- [#12109](https://github.com/Sylius/Sylius/issues/12109) [API] placing order on multiple channels with api ([@arti0090](https://github.com/arti0090)) -- [#12116](https://github.com/Sylius/Sylius/issues/12116) [Adjustment] Add more details to adjustment and make shipment adjustable ([@GSadee](https://github.com/GSadee), [@SirDomin](https://github.com/SirDomin), [@lchrusciel](https://github.com/lchrusciel)) -- [#12128](https://github.com/Sylius/Sylius/issues/12128) [AdminApiBundle][CoreBundle] Update unit test versions ([@Tomanhez](https://github.com/Tomanhez)) -- [#12139](https://github.com/Sylius/Sylius/issues/12139) [Api] Locale code on checkout ([@Tomanhez](https://github.com/Tomanhez)) -- [#12153](https://github.com/Sylius/Sylius/issues/12153) [API] prevent checkout skipping shipping step ([@arti0090](https://github.com/arti0090)) -- [#12154](https://github.com/Sylius/Sylius/issues/12154) [API] show possible shipping methods for order ([@arti0090](https://github.com/arti0090)) -- [#12157](https://github.com/Sylius/Sylius/issues/12157) Bump ini from 1.3.5 to 1.3.7 ([@dependabot](https://github.com/dependabot)[[@bot](https://github.com/bot)]) -- [#12161](https://github.com/Sylius/Sylius/issues/12161) Add tag no-api to scenario ([@arti0090](https://github.com/arti0090)) -- [#12162](https://github.com/Sylius/Sylius/issues/12162) [Api][Checkout] Shipping fees on multi-channel ([@Tomanhez](https://github.com/Tomanhez)) -- [#12164](https://github.com/Sylius/Sylius/issues/12164) update upgrade file after changes with tax adjustment ([@arti0090](https://github.com/arti0090)) -- [#12165](https://github.com/Sylius/Sylius/issues/12165) [Api] Check currency on channel ([@Tomanhez](https://github.com/Tomanhez)) -- [#12178](https://github.com/Sylius/Sylius/issues/12178) [API] Browsing promotions ([@arti0090](https://github.com/arti0090)) -- [#12179](https://github.com/Sylius/Sylius/issues/12179) [API] deleting promotions ([@arti0090](https://github.com/arti0090)) -- [#12184](https://github.com/Sylius/Sylius/issues/12184) [BC BREAK] [Api][AdminUser][AvatarImage][Channel][Currency][Customer] Refactor api serialization groups ([@Tomanhez](https://github.com/Tomanhez)) -- [#12188](https://github.com/Sylius/Sylius/issues/12188) [BC BREAK] [Api][Order] Refactor api serialization groups ([@Tomanhez](https://github.com/Tomanhez)) -- [#12205](https://github.com/Sylius/Sylius/issues/12205) [BC BREAK] [Api][Product] Refactor api serialization groups ([@Tomanhez](https://github.com/Tomanhez)) -- [#12206](https://github.com/Sylius/Sylius/issues/12206) [BC BREAK] [Api][OrderItem][OrderItemUnit] Refactor api serialization groups ([@Tomanhez](https://github.com/Tomanhez)) -- [#12206](https://github.com/Sylius/Sylius/issues/12206) [BC BREAK] [Api][OrderItem][OrderItemUnit] Refactor api serialization groups ([@Tomanhez](https://github.com/Tomanhez)) -- [#12212](https://github.com/Sylius/Sylius/issues/12212) [BC BREAK] [Api][Promotion][Province] Refactor api serialization groups ([@lchrusciel](https://github.com/lchrusciel)) -- [#12213](https://github.com/Sylius/Sylius/issues/12213) Upgrade psalm ([@Tomanhez](https://github.com/Tomanhez)) -- [#12214](https://github.com/Sylius/Sylius/issues/12214) Add conflict liminas/liminas-code 4.0.0 ([@Tomanhez](https://github.com/Tomanhez)) -- [#12215](https://github.com/Sylius/Sylius/issues/12215) Update CONFLICTS.MD ([@Tomanhez](https://github.com/Tomanhez)) -- [#12218](https://github.com/Sylius/Sylius/issues/12218) Remove laminas/laminas-code conflict ([@Tomanhez](https://github.com/Tomanhez)) -- [#12228](https://github.com/Sylius/Sylius/issues/12228) [BC BREAK] [Api][Adjustment][CustomerGrouop][ExchangeRate][Locale][Payment][PaymentMethod] Refactor api serialization groups ([@Tomanhez](https://github.com/Tomanhez)) -- [#12231](https://github.com/Sylius/Sylius/issues/12231) Add conflict with polyfill-mbstring 1.22.0 ([@Tomanhez](https://github.com/Tomanhez)) diff --git a/RoboFile.php b/RoboFile.php index 61a894264e..96278ad14a 100644 --- a/RoboFile.php +++ b/RoboFile.php @@ -48,7 +48,6 @@ class RoboFile extends Tasks private function processPackagePipeline(string $package): ?Result { $symfonyVersion = getenv('SYMFONY_VERSION'); - $useSwiftmailer = getenv('USE_SWIFTMAILER'); $unstable = getenv('UNSTABLE'); $packagePath = sprintf('%s/src/Sylius/%s', self::ROOT_DIR, $package); @@ -62,13 +61,6 @@ class RoboFile extends Tasks ->exec(sprintf('composer config extra.symfony.require "%s"', $symfonyVersion)) ; - if (self::YES === $useSwiftmailer) { - $task - ->exec('composer require --no-progress --no-update --no-scripts --no-plugins "sylius/mailer-bundle:^1.8"') - ->exec('composer require --no-progress --no-update --no-scripts --no-plugins "symfony/swiftmailer-bundle:^3.4"') - ; - } - if (self::YES === $unstable) { $task->exec('composer config minimum-stability dev'); $task->exec('composer config prefer-stable false'); @@ -88,10 +80,6 @@ class RoboFile extends Tasks $task->exec('Tests/Application/bin/console doctrine:schema:update --force'); } - if (false === str_starts_with($symfonyVersion, '^5.4') && 'Bundle/UserBundle' === $package) { - $task->exec('rm spec/Security/UserPasswordEncoderSpec.php'); - } - $task->exec('vendor/bin/phpspec run --ansi --no-interaction -f dot'); if (file_exists(sprintf('%s/phpunit.xml', $packagePath)) || file_exists(sprintf('%s/phpunit.xml.dist', $packagePath))) { diff --git a/UPGRADE-1.0.md b/UPGRADE-1.0.md deleted file mode 100644 index 50ca21c543..0000000000 --- a/UPGRADE-1.0.md +++ /dev/null @@ -1,916 +0,0 @@ -# UPGRADE FROM `v1.0.17` TO `v1.0.18` - -* **BC BREAK**: `OrderShowMenuBuilder` constructor now requires the fourth argument being - `Symfony\Component\Security\Csrf\CsrfTokenManagerInterface` instance due to security reasons. - -# UPGRADE FROM `v1.0.16` TO `v1.0.17` - -* **BC BREAK**: `Sylius\Bundle\ResourceBundle\Controller::applyStateMachineTransitionAction` method now includes CSRF token checks due - to security reasons. If you used it for REST API, these checks can be disabled by adding - `csrf_protection: false` to your routing configuration. - -# UPGRADE FROM `v1.0.8` TO `v1.0.9` - -* `Sylius\Bundle\CoreBundle\Templating\Helper\VariantResolverHelper`'s `resolveVariant(ProductInterface $product): ProductVariantInterface` - signature was changed to `resolveVariant(ProductInterface $product): ?ProductVariantInterface` in order to reflect - the real behaviour. - -# UPGRADE FROM `v1.0.1` TO `v1.0.2` - -* `Sylius\Bundle\AdminApiBundle\Model\ClientManager`'s `findClientByPublicId($publicId): ClientInterface` signature - was changed to `findClientByPublicId($publicId): ?ClientInterface` in order to reflect the real behaviour. - -# UPGRADE FROM `v1.0.0-beta.3` TO `v1.0.0` - -## Application: - -* Parameter `locale` has been removed from `parameters.yml.dist` and `parameters.yml` file and is now configured as default in `app/config/config.yml`. - If you would like to use a different default locale you should modify it there and commit such change to your project repository. - -* `\DateTimeInterface` is used for typehints instead of `\DateTime` to allow for compatibility with `\DateTimeImmutable`. - Do not rely on mutable behaviour and set changes directly on the model. - -* `WebServerBundle` which is used to run PHP's internal web server is no longer loaded in the production environment. - You can re-add the bundle if you need to by adding the following code to your AppKernel.php: - ```php - public function registerBundles() - { - // Other registrered bundles - - if (in_array($this->getEnvironment(), ['prod'])) - { - $bundles[] = new \Symfony\Bundle\WebServerBundle\WebServerBundle(); - } - - return array_merge(parent::registerBundles(), $bundles); - } - ``` - -* Scalar and return typehints have been introduced in the codebase. Please introduce these in your codebase for classes - that implement Sylius interfaces or extend Sylius classes. It is also highly recommended to add `declare(strict_types=1);` declaration to your PHP files. - Learn more about PHP 7.1 features here: https://php.net/manual/de/migration71.new-features.php - -* Starting with Symfony version 3.3.8, the custom autoloader is not needed anymore and therefore it has been removed in favour of the Composer - autoloader. Apply the following changes (reference: https://github.com/Sylius/Sylius/pull/8340): - - * Remove `app/autoload.php` - * Change autoload path in `bin/console`: replace 'app' with 'vendor' - * Change autoload path in `web/app.php`: replace 'app' with 'vendor' - * Change autoload path in `web/app_dev.php`: replace 'app' with 'vendor' - * Change autoload path in `phpunit.xml.dist`: replace 'app' with 'vendor' - * Remove `"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",` from composer.json scripts - -* Model classes now return ArrayCollections instead of arrays, so if you want to mock it in PHPSpec, - you need to wrap the mocked object like this: - - ```php - function it_does_something( - ReviewableInterface $reviewable, - ReviewInterface $review - ): void { - $reviewable->getReviews()->willReturn(new ArrayCollection([$review->getWrappedObject()])); - } - ``` - -* Moreover remember that you will have to change typehints from array to ArrayCollection in you classes, not only in tests. - -* Due to new Twig version, macros in included templates need to be imported in the child template. - Read more here: https://stackoverflow.com/questions/41590051/twig-2-0-error-message-accessing-twig-template-attributes-is-forbidden/41590052 - -* Check the differences between `TestAppKernel` you have and the one from Sylius/Sylius repository, as it was changed. - -* The issue `Warning: Cannot bind closure to scope of internal class ReflectionProperty` should be fixed by clearing the cache. - -## Packages: - -### Addressing / AddressingBundle - -* `ZoneMatcher` has been made final, use decoration instead of extending it. - -* The following methods no longer have a default null argument and require one to be explicitly passed: - - * `AddressInterface::setCountryCode` - * `AddressInterface::setProviceCode` - * `AddressInterface::setProviceName` - * `ProvinceInterface::setCountry` - * `ZoneMemberInterface::setBelongsTo` - -### Attribute / AttributeBundle - -* `SelectAttributeType` has been made final, use decoration instead of extending it. -* `AttributeFactory` has been made final, use decoration instead of extending it. -* `ProductAttributeValueInterface::setProduct` method no longer has a default null argument and requires one to be explicitly passed. -* The `AttributeTranslationInterface` now extends the `Sylius\Component\Resource\Model\TranslationInterface`. - -### AdminBundle - -* `CustomerStatisticsController` has been made final, use decoration instead of extending it. -* `DashboardController` has been made final, use decoration instead of extending it. -* `ImpersonateUserController` has been made final, use decoration instead of extending it. - -### AdminApiBundle - -* `CreateClientCommand` has been made final, use decoration instead of extending it. - -### Channel / ChannelBundle - -* `ChannelFactory` has been made final, use decoration instead of extending it. - -* `ChannelAwareInterface::setChannel` no longer has a default null argument and requires one to be explicitly passed. - -### Core / CoreBundle - -* Method `OrderInterface::isShippingRequired` added, used in place of similar methods in `OrderShippingMethodSelectionRequirementChecker` and `OrderShipmentProcessor` -* `createByCustomerAndChannelIdQueryBuilder($customerId, $channelId)` method added to `OrderRepositoryInterface` -* The following classes have been made final, use decoration instead of extending them: - - * `CartItemTypeExtension` - * `CartTypeExtension` - * `HandleException` - * `IntegerDistributor` - * `MissingChannelConfigurationException` - * `PromotionActionFactory` - * `PromotionRuleFactory` - * `ReviewerReviewsRemover` - * `TestPromotionFactory` - * `UnsupportedTaxCalculationStrategyException` - * `CheckoutStepsHelper` - * `PriceHelper` - * `ProductVariantsPricesHelper` - * `VariantResolverHelper` - -* The following methods no longer have a default null argument and require one to be explicitly passed: - - * `ChannelPricingInterface::setProductVariant` - * `CustomerInterface::setDefaultAddress` - * `OrderInterface::setPromotionCoupon` - * `ProductInterface::setMainTaxon` - * `ProductVariantInterface::setTaxCategory` - * `ShippingMethodInterface::setTaxCategory` - * `ShippingMethodInterface::setZone` - * `TaxRateInterface::setZone` - -* Constructor of `Sylius\Bundle\CoreBundle\Context\SessionAndChannelBasedCartContext` has been changed to use `Sylius\Component\Core\Storage\CartStorageInterface` - -* `SessionCartSubscriber` and `ShopUserLogoutHandler` has been moved to ShopBundle. If you used them, you need to add ShopBundle to your Kernel or define this services by your own. - -* The service definition of `session_and_channel_based` has been moved to ShopBundle. If you used it, you need to add ShopBundle to your Kernel or define this services by your own. - -* `AssociationHydrator` was moved to `sylius-labs/association-hydrator` package. - -* Protected methods `ShopUser::assignUser` and `Customer::assignCustomer` were deleted. - -### Customer / CustomerBundle - -* The following methods no longer have a default null argument and require one to be explicitly passed: - - * `CustomerInterface::setBirthday` - * `CustomerInterface::setGroup` - * `CustomerAwareInterface::setCustomer` - -### Inventory / InventoryBundle - -* `InventoryHelper` has been made final, use decoration instead of extending it. - -### Mailer / MailerBundle - -* `Email` has been made final, use decoration instead of extending it. -* `SenderInterface::send` method has been changed: `replyTo` argument was added. - -### Order / OrderBundle - -* In order to be compatible with Doctrine ORM 2.6+ and be more consistent, - `OrderRepositoryInterface::count()` signature was changed to `OrderRepositoryInterface::countPlacedOrders()`. - -* The following methods no longer have a default null argument and require one to be explicitly passed: - - * `AdjustableInterface::getAdjustments` - * `AdjustmentInterface::setAdjustable` - * `OrderAwareInterace::setOrder` - * `OrderInterface::setCheckoutCompletedAt` - -* `OrderInterface::getAdjustmentsRecursively` and `OrderItemInterface::getAdjustmentsRecursively` return types changed from `array` to `Collection`. - -* In order to display information only about fulfilled orders in the dashboard statistics - the `OrderRepositoryInterface::countByChannel()` method's signature was changed to `OrderRepositoryInterface::countFulfilledByChannel()`. - -* The service definition of `sylius.context.cart.session_based` has been removed. Declare it by your own if you want to use `SessionBasedCartContext` - - ```xml - - - _sylius.cart - - - - ``` -### Payment / PaymentBundle - -* In `PaymentInterface::setMethod` the `PaymentMethodInterface $method` parameter no longer has a default value. -* The `PaymentMethodTranslationInterface` now extends the `Sylius\Component\Resource\Model\TranslationInterface`. - -### Product / ProductBundle - -* `ProductVariantCombination` has been made final, use decoration instead of extending it. -* `ProductVariantCombinationValidator` has been made final, use decoration instead of extending it. -* The following methods no longer have a default null argument and require one to be explicitly passed: - - * `ProductAssociationInterface::setOwner` - * `ProductAttributeValueInterface::setProduct` - * `ProductOptionValueInterface::setOption` - * `ProductVariantInterface::setProduct` - -* `Sylius\Component\Product\Repository\ProductVariantRepositoryInterface` definition changed. - - * `findByCodeAndProductCode(string $code, string $productCode)` was changed to - `findByCodesAndProductCode(array $codes, string $productCode)`. - -* The `ProductAssociationTypeTranslationInterface` now extends the `Sylius\Component\Resource\Model\TranslationInterface`. -* The `ProductOptionTranslationInterface` now extends the `Sylius\Component\Resource\Model\TranslationInterface`. -* The `ProductOptionValueTranslationInterface` now extends the `Sylius\Component\Resource\Model\TranslationInterface`. -* The `ProductVariantTranslationInterface` now extends the `Sylius\Component\Resource\Model\TranslationInterface`. - -### Promotion / PromotionBundle - -* `ActivePromotionsProvider` has been made final, use decoration instead of extending it. -* The following methods no longer have a default null argument and require one to be explicitly passed: - * `PromotionCouponGeneratorInstructionInterface::setExpiresAt` - * `PromotionCouponInterface::setPromotion` - * `PromotionCouponInterface::setExpiresAt` - * `PromotionInterface::setStartsAt` - * `PromotionInterface::setEndsAt` - * `PromotionRuleInterface::setPromotion` -* `createPaginatorForPromotion(string $promotionCode)` added to `PromotionCouponRepositoryInterface` - -### Registry - -* `PrioritizedServiceRegistryInterface::all` method return type changed from Zend's `PriorityQueue` to `iterable`. - -### Resource / ResourceBundle - -* The following methods no longer have a default null argument and require one to be explicitly passed: - - * `TranslationInterface::setTranslatable` - * `Archivable::setArchivedAt` - * `SlugAwareInterface::setSlug` - -* `dispatchMultiple(string $eventName, RequestConfiguration $requestConfiguration, $resources)` added to `EventDispatcherInterface` - -### Review / ReviewBundle - -* The `ReviewInterface::setAuthor` method no longer has a default null argument and requires one to be explicitly passed. -* The `ReviewFactoryInterface::createForSubjectWithReviewer` method no longer has a default null value for `$reviewer` argument and requires one to be explicitly passed. -* Default null value of `ReviewFactoryInterface::createForSubjectWithReviewer` was removed. To create a review without reviewer use `createForSubject` method from the same interface instead. - -### ShopBundle - -* `ContactController` has been made final, use decoration instead of extending it. - -* `_liip_imagine` routing import has been moved to the main routing of Sylius app. If you are not importing `app/config/routing.yml` you need to add this import by your own: - - ```yml - _liip_imagine: - resource: "@LiipImagineBundle/Resources/config/routing.xml" - ``` - -* ImagineBundle has been upgraded from ^1.6 to ^1.9.1 to move past a BC break in console commands: https://github.com/liip/LiipImagineBundle/releases/tag/1.9.1. - -* If `sylius_shop.locale_switcher` is set to `storage`, `LocaleStrippingRouter` is loaded, which strips out `_locale` parameter - from the URL if it's the same as the one already in the storage. In order to disable localized urls, follow this cookbook entry: https://docs.sylius.com/en/latest/cookbook/disabling-localised-urls.html - -* `ShopUserLogoutHandler` has different parameters in constructor: - * `HttpUtils $httpUtils` - * `string $targetUrl` - * `ChannelContextInterface $channelContext` - * `CartStorageInterface $cartStorage` - -* Last constructor parameter of `SessionCartSubscriber` is now `CartStorageInterface $cartStorage` instead of `string $sessionKeyName` - -### Shipping / ShippingBundle - -* `UnresolvedDefaultShippingMethodException` has been made final, use decoration instead of extending it. -* `setShippable(?ShippableInterface $shippable)` method has been added to `ShipmentUnitInterface`. -* The following methods no longer have a default null argument and require one to be explicitly passed: - - * `ShipmentInterface::setMethod` - * `ShipmentUnitInterface::setShipment` - * `ShipmentMethodInterface::setCategory` - -* static `getCategoryRequirementLabels` method was removed from `ShippingMethod` -* `getCategoryRequirementLabel` method was removed from `ShippingMethodInterface` - -* The `ShippingMethodTranslationInterface` now extends the `Sylius\Component\Resource\Model\TranslationInterface`. - -### Taxation / TaxationBundle - -* The following methods no longer have a default null argument and require one to be explicitly passed: - - * `TaxRateInterface::setTranslatable` - * `TaxRateInterface::setCategory` - -### Taxonomy / TaxonomyBundle - -* `TaxonInterface::getParents` method was renamed to `TaxonInterface::getAncestors`. - -### ThemeBundle - -* `ThemeHierarchyProviderInterface::getThemeHierarchy` no longer accepts null as the passed argument. - -### User / UserBundle - -* The following classes have been made final, use decoration instead of extending them: - - * `UserDeleteListener` - * `UserLastLoginSubscriber` - * `UserReloaderListener` - -* The following methods no longer have a default null argument and require one to be explicitly passed: - - * `UserAwareInterface::setUser` - * `UserInterface::setPasswordRequestedAt` - * `UserInterface::setVerifiedAt` - * `UserInterface::setExpiresAt` - * `UserInterface::setLastLogin` - -# UPGRADE FROM `v1.0.0-beta.2` TO `v1.0.0-beta.3` - -## Packages: - -* The following tag attributes were renamed in order to keep consistency with Symfony - (changes not needed if using XML for service definitions): - - * from `form-type` to `form_type` - * from `attribute-type` to `attribute_type` - * from `configuration-form-type` to `configuration_form_type` - -### PayumBundle - -* Constructor of `CapturePaymentAction` now takes a `PaymentDescriptionProviderInterface` as first argument. This allows granular customisation of the payment description. - -### Taxonomy / TaxonomyBundle - -* `Sylius\Bundle\TaxonomyBundle\Controller\TaxonSlugController` has been made final, decorate it or copy instead of extending it. - -* `Sylius\Component\Taxonomy\Generator\TaxonSlugGeneratorInterface::generate` signature has changed from `generate(string $name, ?mixed $parentId = null): string` to `generate(TaxonInterface $taxon, ?string $locale = null): string`. - -### Core / CoreBundle - -* The following serialization configuration was moved from CoreBundle/Resources/config/app/config.yml to AdminApiBundle/Resources/config/app/config.yml - - ```yaml - jms_serializer: - metadata: - directories: - sylius-core: - namespace_prefix: "Sylius\\Component\\Core" - path: "@SyliusCoreBundle/Resources/config/serializer" - ``` - to - ```yaml - jms_serializer: - metadata: - directories: - sylius-core: - namespace_prefix: "Sylius\\Component\\Core" - path: "@SyliusAdminApiBundle/Resources/config/serializer" - ``` -* Relations in serializations files were moved from Sylius bundles to SyliusAdminApiBundle - - Example of relation for SyliusOrderBundle/Resources/config/serializer/Model.OrderItem.yml - ```yaml - relations: - - rel: order - href: - route: sylius_admin_api_order_show - parameters: - id: expr(object.getOrder().getId()) - version: 1 - exclusion: - groups: [Default, Detailed, DetailedCart] - ``` - -* The following serialization configurations files were moved: - - * from `SyliusCoreBundle/Resources/config/serializer/Model.AdminUser.yml` to `SyliusAdminApiBundle/Resources/config/serializer/Model.AdminUser.yml` - * from `SyliusCoreBundle/Resources/config/serializer/Model.Channel.yml` to `SyliusAdminApiBundle/Resources/config/serializer/Model.Channel.yml` - * from `SyliusCoreBundle/Resources/config/serializer/Model.ChannelPricing.yml` to `SyliusAdminApiBundle/Resources/config/serializer/Model.ChannelPricing.yml` - * from `SyliusCoreBundle/Resources/config/serializer/Model.Customer.yml` to `SyliusAdminApiBundle/Resources/config/serializer/Model.Customer.yml` - * from `SyliusCoreBundle/Resources/config/serializer/Model.Image.yml` to `SyliusAdminApiBundle/Resources/config/serializer/Model.Image.yml` - * from `SyliusCoreBundle/Resources/config/serializer/Model.Order.yml` to `SyliusAdminApiBundle/Resources/config/serializer/Model.Order.yml` - * from `SyliusCoreBundle/Resources/config/serializer/Model.OrderItem.yml` to `SyliusAdminApiBundle/Resources/config/serializer/Model.OrderItem.yml` - * from `SyliusCoreBundle/Resources/config/serializer/Model.OrderItemUnit.yml` to `SyliusAdminApiBundle/Resources/config/serializer/Model.OrderItemUnit.yml` - * from `SyliusCoreBundle/Resources/config/serializer/Model.Payment.yml` to `SyliusAdminApiBundle/Resources/config/serializer/Model.Payment.yml` - * from `SyliusCoreBundle/Resources/config/serializer/Model.PaymentMethod.yml` to `SyliusAdminApiBundle/Resources/config/serializer/Model.PaymentMethod.yml` - * from `SyliusCoreBundle/Resources/config/serializer/Model.Product.yml` to `SyliusAdminApiBundle/Resources/config/serializer/Model.Product.yml` - * from `SyliusCoreBundle/Resources/config/serializer/Model.ProductImage.yml` to `SyliusAdminApiBundle/Resources/config/serializer/Model.ProductImage.yml` - * from `SyliusCoreBundle/Resources/config/serializer/Model.ProductTaxon.yml` to `SyliusAdminApiBundle/Resources/config/serializer/Model.ProductTaxon.yml` - * from `SyliusCoreBundle/Resources/config/serializer/Model.ProductVariant.yml` to `SyliusAdminApiBundle/Resources/config/serializer/Model.ProductVariant.yml` - * from `SyliusCoreBundle/Resources/config/serializer/Model.Promotion.yml` to `SyliusAdminApiBundle/Resources/config/serializer/Model.Promotion.yml` - * from `SyliusCoreBundle/Resources/config/serializer/Model.PromotionCoupon.yml` to `SyliusAdminApiBundle/Resources/config/serializer/Model.PromotionCoupon.yml` - * from `SyliusCoreBundle/Resources/config/serializer/Model.Property.yml` to `SyliusAdminApiBundle/Resources/config/serializer/Model.Property.yml` - * from `SyliusCoreBundle/Resources/config/serializer/Model.Shipment.yml` to `SyliusAdminApiBundle/Resources/config/serializer/Model.Shipment.yml` - * from `SyliusCoreBundle/Resources/config/serializer/Model.ShippingMethod.yml` to `SyliusAdminApiBundle/Resources/config/serializer/Model.ShippingMethod.yml` - * from `SyliusCoreBundle/Resources/config/serializer/Model.ShopUser.yml` to `SyliusAdminApiBundle/Resources/config/serializer/Model.ShopUser.yml` - * from `SyliusCoreBundle/Resources/config/serializer/Model.TaxRate.yml` to `SyliusAdminApiBundle/Resources/config/serializer/Model.TaxRate.yml` - * from `SyliusCoreBundle/Resources/config/serializer/Model.Taxon.yml` to `SyliusAdminApiBundle/Resources/config/serializer/Model.Taxon.yml` - -# UPGRADE FROM `v1.0.0-beta.1` TO `v1.0.0-beta.2` - -* Bundles, container extensions and bundles configurations were made final and can't be extended anymore, follow Symfony - best practices and do not extend them. - -## Packages: - -### Addressing / AddressingBundle - -### AdminBundle - -* Route `sylius_admin_order_shipment_ship` has been added to have specific endpoint only for updating via HTTP PUT method and `sylius_admin_partial_shipment_ship` route is only for rendering the form. - -* Route `sylius_admin_address_log_entry_index` was renamed to `sylius_admin_partial_log_entry_index`. - -* Class `Sylius\Bundle\AdminBundle\Controller\NotificationController` has been made final and can't be extended anymore, follow Symfony best practices and do not extend it. - -### AdminApiBundle (former ApiBundle) - -* Bundle was renamed from `ApiBundle` to `AdminApiBundle`. Routing and config was changed from `sylius_api` to `sylius_admin_api`. - -* Change the import path of your API config from `@SyliusApiBundle/Resources/config/app/config.yml` to `@SyliusAdminApiBundle/Resources/config/app/config.yml` (in file `app/config/config.yml`). - -* Change the import path of your API routing from `src/Sylius/Bundle/ApiBundle/Resources/config/routing/main.yml` to `src/Sylius/Bundle/AdminApiBundle/Resources/config/routing.yml`. API became versioned, so you need to prefix them accordingly (e.g. `/api/customer` -> `/api/v1/customer`). - -* Routing for the following resources has been changed to use code instead of id: - - * `Products` - * `Product Variants` - * `Taxons` - - You can bring back previous configuration by overriding current routing with your definition. - -* Routing for the following resources has been removed and replaced with the auto generated routing: - - * `Channels`, which are now resolved by code instead of id and only index and show endpoint are available. - * `Countries`, which are now resolved by code instead of id. - * `Locales`, which are now resolved by code instead of id. - * `Product Attributes`, which are now by code instead of id and only index and show endpoint are available. - * `Product Options`, which are now resolved by code instead of id and only index and show endpoint are available. - * `Promotions`, which are now resolved by code instead of id. - * `Promotions Coupons`, which are now resolved by code instead of id and only index and show endpoint are available. - * `Shipping Categories`, which are now resolved by code instead of id. - * `Tax Categories`, which are now resolved by code instead of id. - * `Tax Rates`, which have now only index and show endpoint available. - * `Payment Methods`, which have now only show endpoint available. - - You can bring back previous configuration by overriding current routing with your definition. - -### Attribute / AttributeBundle - -* `AttributeValue::$localeCode` property was added to make it translatable. Now, every attribute value has a locale code - to be displayed properly in different locales. All attribute values are migrated to the new concept with migration - `Version20170109143010`. Look at [this PR](https://github.com/Sylius/Sylius/pull/7219) if you have any problems with upgrade. - -* `Sylius\Component\Attribute\Repository\AttributeRepositoryInterface` and its implementations were removed due to not being - used anymore. You can bring back missing `findByName` method by copying it from Git history to your codebase. - -### Channel / ChannelBundle - -### Core / CoreBundle - -* `ImageUniqueCode` and `ImageUniqueCodeValidator` were deleted and replaced by `UniqueWithinCollectionConstraint` and - `UniqueWithinCollectionConstraintValidator` from `ResourceBundle`. - To use it replace name of constraint in constraint mapping file from `Sylius\Bundle\CoreBundle\Validator\Constraints\ImageUniqueCode` - to `Sylius\Bundle\ResourceBundle\Validator\Constraints\UniqueWithinCollectionConstraint` - -* Renamed ``getLastNewPayment()`` on ``OrderInterface`` to ``getLastPayment($state)``, where ``$state`` is target last payment state. - Every ``getLastNewPayment()`` method should be replaced with ``getLastPayment(PaymentInterface::STATE_NEW)``. - -* `Sylius\Component\Core\OrderProcessing\OrderTaxesProcessor` and `Sylius\Component\Core\Resolver\ZoneAndChannelBasedShippingMethodsResolver` - have become a zone scope aware. From now, only zones with scope `shipping` or `all` will be considered in - `Sylius\Component\Core\Resolver\ZoneAndChannelBasedShippingMethodsResolver` and a scope `tax` or `all` is required by - `Sylius\Component\Core\OrderProcessing\OrderTaxesProcessor`. A migration file has been prepared which fill in `all` - as scope for zones that didn't have it specified, so they will be resolved by new implementation. - -* State resolvers have been made final. In order to change theirs behavior please decorate them or provide your own implementation. - -* `Sylius\Bundle\CoreBundle\DependencyInjection\Compiler\RoutingRepositoryPass` was removed, implement it yourself. - -* Method `createQueryBuilderByChannelAndTaxonSlug` from `Sylius\Bundle\CoreBundle\Doctrine\ORM\ProductRepositoryInterface` - was renamed to `createShopListQueryBuilder` and receives taxon object instead of taxon slug string as the second parameter. - -* `Sylius\Bundle\CoreBundle\Test\MySqlDriver` and `Sylius\Bundle\CoreBundle\Test\PgSqlDriver` were removed in favour of - `dama/doctrine-test-bundle` package. - -* `Sylius\Component\Core\Test\Services\RandomInvoiceNumberGenerator` was moved to `Sylius\Component\Core\Payment\RandomInvoiceNumberGenerator`, - change your usages accordingly. - -* `Sylius\Component\Core\Payment\RandomInvoiceNumberGenerator` and `Sylius\Component\Core\Payment\IdBasedInvoiceNumberGenerator` - were made final, use decoration and implement `Sylius\Component\Core\Payment\InvoiceNumberGeneratorInterface` instead of - extending them. - -* `Sylius\Component\Core\Currency\SessionBasedCurrencyStorage` was removed and replaced by more generic `Sylius\Component\Core\Currency\CurrencyStorage` - -* The following classes were removed due to being no longer used in current implementation: - - * `Sylius\Bundle\CoreBundle\Handler\ShopCurrencyChangeHandler` - * `Sylius\Component\Core\Currency\Handler\CompositeCurrencyChangeHandler` - * `Sylius\Component\Core\Currency\Handler\CurrencyChangeHandlerInterface` - * `Sylius\Component\Core\Provider\ChannelBasedCurrencyProvider` - * `Sylius\Component\Core\SyliusCurrencyEvents` - -* The following classes and interfaces was removed due to changes in locales handling (prepending them in URLs): - - * `Sylius\Bundle\CoreBundle\Handler\CartLocaleChangeHandler` - * `Sylius\Bundle\CoreBundle\Handler\ShopLocaleChangeHandler` - * `Sylius\Component\Core\Locale\Handler\CompositeLocaleChangeHandler` - * `Sylius\Component\Core\Locale\Handler\LocaleChangeHandlerInterface` - -* `Sylius\Component\Core\Repository\ProductRepositoryInterface` definition changed. - - * `findLatestByChannel(ChannelInterface $channel, int $count)` was changed to - `findLatestByChannel(ChannelInterface $channel, string $locale, int $count)`. - Please provide your current locale to fetch products together with their translations. - - * `findOneBySlugAndChannel(string $slug, ChannelInterface $channel)` was changed to - `findOneByChannelAndSlug(ChannelInterface $channel, string $locale, string $slug)`. - Please provide your current locale to fetch product together with its translations. - - * `findOneBySlug(string $slug)` was removed and replaced with more specific - `findOneByChannelAndSlug(ChannelInterface $channel, string $locale, string $slug)`. - -* Added `Payment::$gatewayConfig` property (with corresponding getter and setter) to allow dynamic gateways. Use it instead of old `Payment::$gateway` property. - -* The following methods were added to `Sylius\Component\Core\Repository\OrderRepositoryInterface`: - - * `findCartForSummary($id): ?OrderInterface` - * `findCartForAddressing($id): ?OrderInterface` - * `findCartForSelectingShipping($id): ?OrderInterface` - * `findCartForSelectingPayment($id): ?OrderInterface` - -* `Channel` relation was removed from `ChannelPricing` model. `ChannelPricing::$channelCode` should be used instead. - -* The following classes were moved: - - * from `Sylius\Bundle\CoreBundle\EmailManager\ShipmentEmailManager` to `Sylius\Bundle\AdminBundle\EmailManager\ShipmentEmailManager` - * from `Sylius\Bundle\CoreBundle\EmailManager\ShipmentEmailManagerInterface` to `Sylius\Bundle\AdminBundle\EmailManager\ShipmentEmailManagerInterface` - * from `Sylius\Bundle\CoreBundle\EmailManager\ContactEmailManager` to `Sylius\Bundle\ShopBundle\EmailManager\ContactEmailManager` - * from `Sylius\Bundle\CoreBundle\EmailManager\ContactEmailManagerInterface` to `Sylius\Bundle\ShopBundle\EmailManager\ContactEmailManagerInterface` - * from `Sylius\Bundle\CoreBundle\EmailManager\OrderEmailManager` to `Sylius\Bundle\ShopBundle\EmailManager\OrderEmailManager` - * from `Sylius\Bundle\CoreBundle\EmailManager\OrderEmailManagerInterface` to `Sylius\Bundle\ShopBundle\EmailManager\OrderEmailManagerInterface` - * from `Sylius\Bundle\CoreBundle\EventListener\UserMailerListener` to `Sylius\Bundle\ShopBundle\EventListener\UserMailerListener` - -* The following email templates were moved: - - * from `SyliusCoreBundle:Email:shipmentConfirmation.html.twig` to `SyliusAdminBundle:Email:shipmentConfirmation.html.twig` - * from `SyliusCoreBundle:Email:contactRequest.html.twig` to `SyliusShopBundle:Email:contactRequest.html.twig` - * from `SyliusCoreBundle:Email:orderConfirmation.html.twig` to `SyliusShopBundle:Email:orderConfirmation.html.twig` - * from `SyliusCoreBundle:Email:userRegistration.html.twig` to `SyliusShopBundle:Email:userRegistration.html.twig` - * from `SyliusCoreBundle:Email:passwordReset.html.twig` to `SyliusShopBundle:Email:passwordReset.html.twig` - * from `SyliusCoreBundle:Email:verification.html.twig` to `SyliusShopBundle:Email:verification.html.twig` - -* Removed class `Sylius\Bundle\CoreBundle\Form\Type\ProductTaxonChoiceType`, use `Sylius\Bundle\CoreBundle\Form\Type\Taxon\ProductTaxonAutocompleteChoiceType` instead. - -* Removed `Sylius\Bundle\CoreBundle\Form\Type\Promotion\PromotionConfigurationType` class as it has no behaviour and is not used. - -* Removed `filterProductTaxonsByTaxon` method from `ProductTaxonAwareInterface`, added `getTaxons` and `hasTaxon` methods. - If you used the removed method to determine whether product belongs to a given taxon, use `hasTaxon` instead. - -* Removed `Sylius\Component\Core\Promotion\Action\ChannelBasedPromotionActionCommandInterface` and - `Sylius\Component\Core\Promotion\Checker\Rule\ChannelBasedRuleCheckerInterface` interfaces together with - `Sylius\Bundle\CoreBundle\Form\EventSubscriber\BuildChannelBasedPromotionActionFormSubscriber` and - `Sylius\Bundle\CoreBundle\Form\EventSubscriber\BuildChannelBasedPromotionRuleFormSubscriber` event subscribers, - which magically resolved channel-based configurations, look at `ChannelBased*Type` to implement your own channel-based configs. - -* Services tagged with `sylius.promotion_action` and `sylius.promotion_rule_checker` must include `form-type` parameter - being the FQCN of configuration type. - -* Removed class `Sylius\Component\Core\TokenAssigner\UniqueTokenGenerator`, use `Sylius\Component\Resource\Generator\RandomnessGenerator` instead. - -### Currency / CurrencyBundle - -* The following classes were removed due to being no longer used in current implementation: - - * `Sylius\Component\Currency\Provider\CurrencyProviderInterface` - * `Sylius\Component\Currency\Context\ProviderBasedCurrencyContext` - * `Sylius\Component\Currency\Provider\CurrencyProvider` - -* `sylius_currency.currency` configuration option was removed as well as `sylius_currency.currency` parameter. - -### Customer / CustomerBundle - -### FixturesBundle - -### Grid / GridBundle - -* Custom options for filter form types was extracted from ``options`` to ``form_options`` in grid configuration. - - Before: - ```yaml - sylius_grid: - grids: - app_order: - filters: - channel: - type: entity - options: - class: "%app.model.channel%" - fields: [channel] - ``` - - After: - ```yaml - sylius_grid: - grids: - app_order: - filters: - channel: - type: entity - options: - fields: [channel] - form_options: - class: "%app.model.channel%" - ``` - -* Grid configuration was upgraded to allow setting the number of maximum visible items per page on index. - - ```yaml - sylius_grid: - grids: - app_order: - limits: [15, 20, 30] - ``` - -### Inventory / InventoryBundle - -### Locale / LocaleBundle - -* `Locale` model's `$enabled` field has been removed along with all logic depending on it. - -### Mailer / MailerBundle - -### MoneyBundle - -### Order / OrderBundle - -* The `ExpiredCartsRemover` service has been moved from the component and into the bundle. - In addition it dispatches the `sylius.carts.pre_remove` and `sylius.carts.post_remove` events, both of which hold - the collection of carts to be, or already removed, depending on the event. - Also, as of now, it depends on the `sylius.manager.order` to remove the carts instead of - the repository in order to not flush every outdated `cart`, but the whole collection. - -* Moved `Sylius\Component\Order\Factory\AddToCartCommandFactoryInterface` to `Sylius\Bundle\OrderBundle\Factory\AddToCartCommandFactoryInterface`. - -### Payment / PaymentBundle - -* Changed default ``Payment::$state`` from *new* to *cart*. - -* Credit Card model and all related code have been removed. - -* `PaymentInterface::getSource()` and `PaymentInterface::setSource(PaymentSourceInterface $source)` were removed. - -* `PaymentSourceInterface` has been removed. - -* `void` transition and state has been removed due to being not used. - -### PayumBundle - -* There were changes made with handling payment states: - - * *authorized* is treated as *processing* - * *payedout* is treated as *refunded* - -* Removed `Payment::$gateway` property and corresponding methods. - -* Introduced `PaypalGatewayConfigurationType` and `StripeGatewayConfigurationType` for dynamic gateways configuration. - -### Product / ProductBundle - -* `ProductVariant::$name` property (and corresponding getter and setter) was removed to make it translatable. - Therefore, `ProductVariantTranslation` was introduced with one `$name` property. - All product variants names are migrated to new concept with migration `Version2016121415313`. - Look at [this PR](https://github.com/Sylius/Sylius/pull/7091) if you have any problems with upgrade. - -* `ProductAssociationType::$name` property (and corresponding getter and setter) was removed to make it translatable. - Therefore, `ProductAssociationTypeTranslation` was introduced with one `$name` property. - All product association types names are migrated to new concept with migration `Version20161219160441`. - Look at [this PR](https://github.com/Sylius/Sylius/pull/7134) if you have any problems with upgrade. - -* `Product::$availableOn` and `Product::$availableUntil` properties (and corresponding getters and setters) were removed. - Look at [this PR](https://github.com/Sylius/Sylius/pull/7451) if you have any problems with upgrade. - -* `ProductVariant::$availableOn` and `ProductVariant::$availableUntil` properties (and corresponding getters and setters) were removed. - -* `ProductInterface::getAvailableVariants()` method was removed as well. - -* `ProductVariantRepositoryInterface::findOneByCode($code)` method has been replaced with `ProductVariantRepositoryInterface::findOneByCodeAndProductCode($code, $productCode)`. - -* `ProductVariantRepositoryInterface::findOneByIdAndProductId($id, $productId)` method signature was added. - -### Promotion / PromotionBundle - -* Removed `Sylius\Bundle\PromotionBundle\Form\EventListener\AbstractConfigurationSubscriber`, - `Sylius\Bundle\PromotionBundle\Form\EventListener\BuildPromotionActionFormSubscriber` and - `Sylius\Bundle\PromotionBundle\Form\EventListener\BuildPromotionRuleFormSubscriber` event subscribers, - use `Sylius\Bundle\PromotionBundle\Form\Type\ConfigurablePromotionElementType` as parent type instead. - -### Registry / RegistryBundle - -### Resource / ResourceBundle - -* Removed `sylius_resource.resources.*.translation.fields` configuration key, it was not used at all - if causing issues, - remove your configuration under it. - -* Moved `Sylius\Bundle\ResourceBundle\Model\ResourceLogEntry` to `Sylius\Component\Resource\Model\ResourceLogEntry`. - -### Review / ReviewBundle - -* Service `sylius.average_rating_updater` name has been changed to `sylius.product_review.average_rating_updater` and - service `sylius.listener.review_change` name has been changed to `sylius.listener.product_review_change` - These services will be generated automatically based on subject name. - -### Shipping / ShippingBundle - -### ShopBundle - -* The following templates were moved: - - * `@SyliusShop/Homepage/_header.html.twig` -> `@SyliusShop/_header.html.twig` - * `@SyliusShop/Homepage/_footer.html.twig` -> `@SyliusShop/_footer.html.twig` - * `@SyliusShop/Homepage/Menu/_security.html.twig` -> `@SyliusShop/Menu/_security.html.twig` - * `@SyliusShop/_currencySwitch.html.twig` -> `@SyliusShop/Menu/_currencySwitch.html.twig` - * `@SyliusShop/_localeSwitch.html.twig` -> `@SyliusShop/Menu/_localeSwitch.html.twig` - -* `HomepageController` has been made final and can't be extended anymore, follow Symfony best practices and do not extend it. - Instead extend the `Symfony\Bundle\FrameworkBundle\Controller\Controller` and override the `sylius.controller.shop.homepage` service definition. - -### Taxation / TaxationBundle - -* Signature of method `findChildren(string $parentCode)` in `Sylius\Component\Taxonomy\Repository\TaxonRepositoryInterface` - was changed to `findChildren(string $parentCode, string $locale)`. - -* Removed `Sylius\Bundle\TaxonomyBundle\Form\Type\TaxonChoiceType` and `Sylius\Bundle\TaxonomyBundle\Form\Type\TaxonCodeChoiceType` form types. - Use `Sylius\Bundle\TaxonomyBundle\Form\Type\TaxonAutocompleteChoiceType` instead. - -* Removed method `findNodesTreeSorted()` from `Sylius\Component\Taxonomy\Repository\TaxonRepositoryInterface` - provide your own implementation instead. - -### Taxonomy / TaxonomyBundle - -### ThemeBundle - -* `Sylius\Bundle\ThemeBundle\Translation\Provider\Locale\FallbackLocalesProvider` and `Sylius\Bundle\ThemeBundle\Translation\Provider\Locale\FallbackLocalesProviderInterface` have been removed. - -* The fallback locales generation of `Sylius\Bundle\ThemeBundle\Translation\Translator` has been nerfed to more strongly rely on symfony's default logic. - From now on it won't compute every possible permutation of fallback locales from the given one, but only the themeless version, - the base locale with and without theme's modifier, and every pre-configured fallback with and without the modifier. - -### UiBundle - -* `Sylius\Bundle\UiBundle\Menu\AbstractMenuBuilder` was removed, you should add the following code to classes previously extending it: - - ```php - use Knp\Menu\FactoryInterface; - use Symfony\Component\EventDispatcher\EventDispatcher; - - /** - * @var FactoryInterface - */ - private $factory; - - /** - * @var EventDispatcher - */ - private $eventDispatcher; - - /** - * @param FactoryInterface $factory - * @param EventDispatcher $eventDispatcher - */ - public function __construct(FactoryInterface $factory, EventDispatcher $eventDispatcher) - { - $this->factory = $factory; - $this->eventDispatcher = $eventDispatcher; - } - ``` - - Also `sylius.menu_builder` service was removed, you should add the following code to services previously extending it: - - ```xml - - - ``` - -### User / UserBundle - -## Application: - -* `sylius_admin_dashboard_redirect` route was removed, use `sylius_admin_dashboard` instead. - -* All shop routes became prepended with locale code, see below for required routing and security changes. - -* Shop only shows products / taxons having translations in current language. - -### Configuration - -* Move `sylius_shop` routing below `sylius_admin` and `sylius_admin_api` in `app/config/routing.yml` and replace it with the following one: - - ```yaml - sylius_shop: - resource: "@SyliusShopBundle/Resources/config/routing.yml" - prefix: /{_locale} - requirements: - _locale: ^[a-z]{2}(?:_[A-Z]{2})?$ - - sylius_shop_default_locale: - path: / - methods: [GET] - defaults: - _controller: sylius.controller.shop.locale_switch:switchAction - ``` - -* Payum gateways configuration is now done in Admin panel. Don't use `yml` file to configure your custom gateways. - -* While providing multiple locales you need to insert the two letter base (i.e. `en`), along with the `%locale%` parameter, to the fallbacks array in `app/config/config.yml`. - - ```yaml - framework: - translator: { fallbacks: ["%locale%", "en"] } - ``` - -* Payum routes were made independent of the current locale. Add the following code to `app/config/routing.yml`: - - ```yaml - sylius_shop_payum: - resource: "@SyliusShopBundle/Resources/config/routing/payum.yml" - ``` - -* Add exception config to `fos_rest` in `config.yml`: - -```yml -fos_rest: - exception: ~ -``` - -### Security - -* Firewalls configuration was changed to provide better CSRF protection and turn on remember me feature, update your `app/config/security.yml`: - - ```yaml - security: - firewalls: - admin: - form_login: - csrf_token_generator: security.csrf.token_manager - csrf_parameter: _csrf_admin_security_token - csrf_token_id: admin_authenticate - remember_me: - secret: "%secret%" - path: /admin - name: APP_ADMIN_REMEMBER_ME - lifetime: 31536000 - remember_me_parameter: _remember_me - shop: - form_login: - csrf_token_generator: security.csrf.token_manager - csrf_parameter: _csrf_shop_security_token - csrf_token_id: shop_authenticate - remember_me: - secret: "%secret%" - name: APP_SHOP_REMEMBER_ME - lifetime: 31536000 - remember_me_parameter: _remember_me - ``` - - From now on you need to pass CSRF token to your login-check request so you need to add `` into your login form. - Example input for admin login looks like ``. - - The remember me feature did not work properly due to missing additional configuration. - -* Securing partial routes and prepending shop URLs with locales need changes in `access_control` section of your `app/config/security.yml`: - - ```yaml - security: - access_control: - - { path: "^/[^/]++/_partial", role: IS_AUTHENTICATED_ANONYMOUSLY, ips: [127.0.0.1, ::1] } - - { path: "^/[^/]++/_partial", role: ROLE_NO_ACCESS } - - - { path: "^/[^/]++/login", role: IS_AUTHENTICATED_ANONYMOUSLY } - - - { path: "^/(?!admin|api)[^/]++/register", role: IS_AUTHENTICATED_ANONYMOUSLY } - - { path: "^/(?!admin|api)[^/]++/verify", role: IS_AUTHENTICATED_ANONYMOUSLY } - - - { path: "^/admin", role: ROLE_ADMINISTRATION_ACCESS } - - { path: "^/api/.*", role: ROLE_API_ACCESS } - - { path: "^/(?!admin|api)[^/]++/account", role: ROLE_USER } - ``` -### Database Migrations - -* Check if the Sylius migrations are in your `app/migrations` directory. If not, then add to this directory - the migrations from the `vendor/sylius/sylius/app/migrations/` directory. - - If you've got your own migrations here, please run the migrations carefully. The doctrine migrations system is comparing dates of the migrations, - then if some of your migrations have the same dates as migrations in Sylius, then they may corrupt the sequence of running Sylius migrations. - - In such situations we suggest running migrations one by one, instead of all at once. - -### Behat - -* `Sylius\Behat\Page\Admin\Crud\IndexPage`, `Sylius\Behat\Page\Admin\Crud\CreatePage`, `Sylius\Behat\Page\Admin\Crud\UpdatePage` now accepts route name instead of resource name. diff --git a/UPGRADE-1.1.md b/UPGRADE-1.1.md deleted file mode 100644 index f0cf123ed1..0000000000 --- a/UPGRADE-1.1.md +++ /dev/null @@ -1,26 +0,0 @@ -# UPGRADE FROM `v1.1.9` TO `v1.1.10` - -* **BC BREAK**: `OrderShowMenuBuilder` constructor now requires the fourth argument being - `Symfony\Component\Security\Csrf\CsrfTokenManagerInterface` instance due to security reasons. - -# UPGRADE FROM `v1.1.0` TO `v1.1.9` - -* **BC BREAK**: `Sylius\Bundle\ResourceBundle\Controller::applyStateMachineTransitionAction` method now includes CSRF token checks due - to security reasons. If you used it for REST API, these checks can be disabled by adding - `csrf_protection: false` to your routing configuration. - -# UPGRADE FROM `v1.0.X` TO `v1.1.0` - -* Scanning for `composer.json` file inside themes directories is recursive by default, which can result in slow performance - when e.g. a `node_modules` folder is present inside a theme folder. Supply the optional `scan_depth` (integer) setting - to the `sylius_theme` configuration to restrict scanning for the theme configuration file to a specific depth inside - the specified theme directories. - -* Methods `createQueryBuilderByProductCode` and `findOneByIdAndProductCode` were added to - `Sylius\Component\Core\Repository\ProductReviewRepositoryInterface` (no manual action needed if your implementation - extends `Sylius\Bundle\CoreBundle\Doctrine\ORM\ProductReviewRepository`). - -* Copy the following migrations from `vendor/sylius/sylius/app/migrations` to your own application, review them and apply them afterwards. - * `Version20170913125128.php` - * `Version20171003103916.php` - * `Version20180102140039.php` diff --git a/UPGRADE-1.10.md b/UPGRADE-1.10.md deleted file mode 100644 index 15f0c98241..0000000000 --- a/UPGRADE-1.10.md +++ /dev/null @@ -1,119 +0,0 @@ -# UPGRADE FROM `v1.10.12` TO `v1.10.13` - -1. The support for Symfony 5.2 has been dropped, because it is not maintained version that has some security vulnerabilities. - The recommended Symfony version to use with Sylius is 5.4 as it is the current long-term support version. - -2. `Order total` shipping rule has been changed to `Items total` and now it is based on items total instead of order total. - -# UPGRADE FROM `v1.10.x` TO `v1.10.12` - -1. Order Processors' priorities have changed and `sylius.order_processing.order_prices_recalculator` has now a higher priority than `sylius.order_processing.order_shipment_processor`. - -Previous priorities: -```shell -sylius.order_processing.order_adjustments_clearer 60 Sylius\Component\Core\OrderProcessing\OrderAdjustmentsClearer -sylius.order_processing.order_shipment_processor 50 Sylius\Component\Core\OrderProcessing\OrderShipmentProcessor -sylius.order_processing.order_prices_recalculator 40 Sylius\Component\Core\OrderProcessing\OrderPricesRecalculator -... -``` - -Current priorities: -```shell -sylius.order_processing.order_adjustments_clearer 60 Sylius\Component\Core\OrderProcessing\OrderAdjustmentsClearer -sylius.order_processing.order_prices_recalculator 50 Sylius\Component\Core\OrderProcessing\OrderPricesRecalculator -sylius.order_processing.order_shipment_processor 40 Sylius\Component\Core\OrderProcessing\OrderShipmentProcessor -... -``` - -If you rely on previous priorities, you can bring them back by setting flag ``sylius_core.process_shipments_before_recalculating_prices`` to ``true`` in ``config/packages/_sylius.yaml``: -```yaml -sylius_core: - process_shipments_before_recalculating_prices: true -``` -However, it is not recommended because new priorities fix [invalid estimated shipping costs](https://github.com/Sylius/Sylius/pull/13769). - -# UPGRADE FROM `v1.10.8` TO `v1.10.10` - -1. Field `createdByGuest` has been added to `Sylius\Component\Core\Model\Order`, this change will allow us to distinguish carts -between guests and logged in customers. - -2. Not passing `createdByGuestFlagResolver` through constructor in `Sylius\Component\Core\Cart\Context\ShopBasedCartContext` -is deprecated in Sylius 1.10.9 and it will be prohibited in Sylius 2.0. - -# UPGRADE FROM `v1.10.x` TO `v1.10.8` - -1. Update `payum/payum` to `^1.7` and execute Doctrine Migrations - -If `payum/payum` is a root requirement (in the project's `composer.json`), then run: - -```shell -composer require payum/payum:^1.7 -``` - -otherwise, run: - -```shell -composer update payum/payum -``` - -then execute the migrations: - -```shell -bin/console doctrine:migrations:migrate -``` - -# UPGRADE FROM `v1.10.0` TO `v1.10.1` - -1. API is disabled by default, to enable it you need to set flag to ``true`` in ``config/packages/_sylius.yaml``: - - ```yaml - sylius_api: - enabled: true - ``` - -# UPGRADE FROM `v1.9.X` TO `v1.10.0` - -### Admin API Bundle Removal - -Sylius v1.10 extracts AdminApiBundle outside the core package. You might choose either to keep that bundle or remove it in case it's not used. - -#### Keeping Admin API Bundle - -1. Add Admin API Bundle to your application by running the following command: - -``` -composer require sylius/admin-api-bundle -``` - -#### Removing Admin API Bundle - -1. **Before installing Sylius 1.10**, run the following command to adjust the database schema: - -``` -bin/console doctrine:migrations:execute Sylius\\Bundle\\AdminApiBundle\\Migrations\\Version20161202011556 Sylius\\Bundle\\AdminApiBundle\\Migrations\\Version20170313125424 Sylius\\Bundle\\AdminApiBundle\\Migrations\\Version20170711151342 --down -``` - -1. After installing Sylius v1.10, remove the remaining configuration by following the changes in [this PR](https://github.com/Sylius/Sylius-Standard/pull/543/files): - -- remove `friendsofsymfony/oauth-server-bundle` from your `composer.json` and run `composer update` -- remove `FOS\OAuthServerBundle\FOSOAuthServerBundle` and `Sylius\Bundle\AdminApiBundle\SyliusAdminApiBundle` from `config/bundles.php` -- remove `@SyliusAdminApiBundle/Resources/config/app/config.yml` import from `config/packages/_sylius.yaml` -- remove `sylius_admin_api` package configuration from `config/packages/_sylius.yaml` -- remove `oauth_token` and `api` firewalls from `config/security.yaml` -- remove `sylius.security.api_regex` parameter and all its usage in access control from `config/security.yaml` -- remove `config/routes/sylius_admin_api.yaml` file -- remove all classes from `src/Entity/AdminApi` directory - -### Buses - -1. Message buses `sylius_default.bus` and `sylius_event.bus` has been deprecated. Use `sylius.command_bus` and `sylius.event_bus` instead. - -### Shop & Core Decoupled - -1. `Sylius\Bundle\CoreBundle\EventListener\CartBlamerListener` has been moved from CoreBundle to ShopBundle, renamed to `Sylius\Bundle\ShopBundle\EventListener\ShopCartBlamerListener` and adjusted to work properly when decoupled. - -1. `Sylius\Bundle\CoreBundle\EventListener\UserCartRecalculationListener` has been moved from CoreBundle to ShopBundle as `Sylius\Bundle\ShopBundle\EventListener\UserCartRecalculationListener` and adjusted to work properly when decoupled. - -### API v2 - -For changes according to the API v2, please visit [API v2 upgrade file](UPGRADE-API-1.10.md). diff --git a/UPGRADE-1.11.md b/UPGRADE-1.11.md deleted file mode 100644 index 9c9169d62c..0000000000 --- a/UPGRADE-1.11.md +++ /dev/null @@ -1,187 +0,0 @@ -# UPGRADE FROM `v1.11.11` TO `v1.11.12` - -1. All entities and their relationships have a default order by identifier if no order is specified. You can disable -this behavior by setting the `sylius_core.order_by_identifier` parameter to `false`: -```yaml -sylius_core: - order_by_identifier: false -``` - -# UPGRADE FROM `v1.11.7` TO `v1.11.8` - -1. Cloning `Sylius\Component\Order\Model\Adjustment` resets values of fields `id`, `createdAt` and `updatedAt`. - -# UPGRADE FROM `v1.11.6` TO `v1.11.7` - -1. Method `Sylius\Component\Channel\Repository\ChannelRepository::findOneByHostname` has become deprecated, use -`Sylius\Component\Channel\Repository\ChannelRepository::findOneEnabledByHostname` instead. Simultaneously with this change -`Sylius\Component\Channel\Context\RequestBased\HostnameBasedRequestResolver::findChannel` will start selecting only a channel from a range -of enabled channels. - -2. The `code` field was removed from OrderItem serialization (in `src/Sylius/Bundle/ApiBundle/Resources/config/serialization/OrderItem.xml`) -as such field does not exist. Please, add it in your code base if you need it. - -# UPGRADE FROM `v1.11.2` TO `v1.11.3` - -1. Order Processors' priorities have changed and `sylius.order_processing.order_prices_recalculator` has now a higher priority than `sylius.order_processing.order_shipment_processor`. - -Previous priorities: -```shell -sylius.order_processing.order_adjustments_clearer 60 Sylius\Component\Core\OrderProcessing\OrderAdjustmentsClearer -sylius.order_processing.order_shipment_processor 50 Sylius\Component\Core\OrderProcessing\OrderShipmentProcessor -sylius.order_processing.order_prices_recalculator 40 Sylius\Component\Core\OrderProcessing\OrderPricesRecalculator -... -``` - -Current priorities: -```shell -sylius.order_processing.order_adjustments_clearer 60 Sylius\Component\Core\OrderProcessing\OrderAdjustmentsClearer -sylius.order_processing.order_prices_recalculator 50 Sylius\Component\Core\OrderProcessing\OrderPricesRecalculator -sylius.order_processing.order_shipment_processor 40 Sylius\Component\Core\OrderProcessing\OrderShipmentProcessor -... -``` - -If you rely on previous priorities, you can bring them back by setting flag ``sylius_core.process_shipments_before_recalculating_prices`` to ``true`` in ``config/packages/_sylius.yaml``: -```yaml -sylius_core: - process_shipments_before_recalculating_prices: true -``` -However, it is not recommended because new priorities fix [invalid estimated shipping costs](https://github.com/Sylius/Sylius/pull/13769). - -# UPGRADE FROM `v1.10.X` TO `v1.11.0` - -## Preconditions - -### PHP 8.0 support - -Sylius v1.11 comes with bump of minimal dependencies of PHP to v8.0. We strongly advice to make upgrade process step by step, -so it is highly recommended updating your PHP version being still on Sylius v1.10, as it is supporting both PHP7.4 and PHP8.0. - -After ensuring, that previous step succeed, you may move forward to the Sylius v1.11 update. - -## Main update - -### "pagerfanta/pagerfanta" semantic_ui_translated removed - -The `pagination.html.twig` has been changed to use the Twig view. - -There are differences in the markup between the PHP template and the Twig template. - -The wrapping container from 2.x branch of Pagerfanta in the PHP template was: - -```html - {% endif %} - {% if resource.gatewayConfig.factoryName == 'paypal_express_checkout' %} -
- - -
-
- {% autoescape false %}{{ 'sylius.ui.gateway.pay_pal_express_checkout_deprecation_notice'|trans }}{% endautoescape %} -
-
-
- {% endif %} {{ form_row(form.gatewayConfig.factoryName) }} {% if form.gatewayConfig.config is defined %} diff --git a/src/Sylius/Bundle/AdminBundle/Resources/views/Product/Show/_mainImage.html.twig b/src/Sylius/Bundle/AdminBundle/Resources/views/Product/Show/_mainImage.html.twig index 5c911006a3..4a44de1f2b 100644 --- a/src/Sylius/Bundle/AdminBundle/Resources/views/Product/Show/_mainImage.html.twig +++ b/src/Sylius/Bundle/AdminBundle/Resources/views/Product/Show/_mainImage.html.twig @@ -3,11 +3,7 @@ {% elseif product.images.first %} {% set path = product.images.first.path|imagine_filter(filter|default('sylius_admin_product_thumbnail')) %} {% else %} - {% if use_webpack %} - {% set path = asset('build/admin/images/200x200.png', 'admin') %} - {% else %} - {% set path = asset('assets/admin/img/200x200.png') %} - {% endif %} + {% set path = asset('build/admin/images/200x200.png', 'admin') %} {% endif %} {{ product.name }} diff --git a/src/Sylius/Bundle/AdminBundle/Resources/views/Product/Show/_media.html.twig b/src/Sylius/Bundle/AdminBundle/Resources/views/Product/Show/_media.html.twig index 809a8832d8..da50ea8550 100644 --- a/src/Sylius/Bundle/AdminBundle/Resources/views/Product/Show/_media.html.twig +++ b/src/Sylius/Bundle/AdminBundle/Resources/views/Product/Show/_media.html.twig @@ -7,11 +7,7 @@ {% if product.images|length >= 1 %}
{% for image in product.images %} - {% if use_webpack %} - {% set path = image.path is not null ? image.path|imagine_filter('sylius_admin_product_small_thumbnail') : asset('build/admin/images/200x200.png', 'admin') %} - {% else %} - {% set path = image.path is not null ? image.path|imagine_filter('sylius_admin_product_small_thumbnail') : asset('assets/admin/img/200x200.png') %} - {% endif %} + {% set path = image.path is not null ? image.path|imagine_filter('sylius_admin_product_small_thumbnail') : asset('build/admin/images/200x200.png', 'admin') %}
{% if product.isConfigurable() and product.variants|length > 0 %} {% include '@SyliusAdmin/Product/Show/_imageVariants.html.twig' %} diff --git a/src/Sylius/Bundle/AdminBundle/Resources/views/Product/_mainImage.html.twig b/src/Sylius/Bundle/AdminBundle/Resources/views/Product/_mainImage.html.twig index bb3b04e922..6fb55dcb60 100644 --- a/src/Sylius/Bundle/AdminBundle/Resources/views/Product/_mainImage.html.twig +++ b/src/Sylius/Bundle/AdminBundle/Resources/views/Product/_mainImage.html.twig @@ -3,11 +3,7 @@ {% elseif product.images.first %} {% set path = product.images.first.path|imagine_filter(filter|default('sylius_admin_product_thumbnail')) %} {% else %} - {% if use_webpack %} - {% set path = asset('build/admin/images/50x50.png', 'admin') %} - {% else %} - {% set path = asset('assets/admin/img/50x50.png') %} - {% endif %} + {% set path = asset('build/admin/images/50x50.png', 'admin') %} {% endif %} diff --git a/src/Sylius/Bundle/AdminBundle/Resources/views/Security/_content.html.twig b/src/Sylius/Bundle/AdminBundle/Resources/views/Security/_content.html.twig index 6daf7f8789..3cdf42fac3 100644 --- a/src/Sylius/Bundle/AdminBundle/Resources/views/Security/_content.html.twig +++ b/src/Sylius/Bundle/AdminBundle/Resources/views/Security/_content.html.twig @@ -1,15 +1,6 @@ -{% if use_webpack %} - {% include '@SyliusUi/Security/_login.html.twig' - with { - 'action': path('sylius_admin_login_check'), - 'paths': {'logo': asset('build/admin/images/logo.png', 'admin')} - } - %} -{% else %} - {% include '@SyliusUi/Security/_login.html.twig' - with { - 'action': path('sylius_admin_login_check'), - 'paths': {'logo': 'assets/admin/img/logo.png'} - } - %} -{% endif %} +{% include '@SyliusUi/Security/_login.html.twig' + with { + 'action': path('sylius_admin_login_check'), + 'paths': {'logo': asset('build/admin/images/logo.png', 'admin')} + } +%} diff --git a/src/Sylius/Bundle/AdminBundle/Resources/views/Security/_logo.html.twig b/src/Sylius/Bundle/AdminBundle/Resources/views/Security/_logo.html.twig index e094700fac..06765f40a9 100644 --- a/src/Sylius/Bundle/AdminBundle/Resources/views/Security/_logo.html.twig +++ b/src/Sylius/Bundle/AdminBundle/Resources/views/Security/_logo.html.twig @@ -1,5 +1 @@ -{% if use_webpack %} - {% include '@SyliusUi/Security/_logo.html.twig' with {'paths': {'logo': asset('build/admin/images/logo.png', 'admin')}} %} -{% else %} - {% include '@SyliusUi/Security/_logo.html.twig' with {'paths': {'logo': 'assets/admin/img/logo.png'}} %} -{% endif %} +{% include '@SyliusUi/Security/_logo.html.twig' with {'paths': {'logo': asset('build/admin/images/logo.png', 'admin')}} %} diff --git a/src/Sylius/Bundle/AdminBundle/Resources/views/_channelLinks.html.twig b/src/Sylius/Bundle/AdminBundle/Resources/views/_channelLinks.html.twig deleted file mode 100644 index c60b9a21f4..0000000000 --- a/src/Sylius/Bundle/AdminBundle/Resources/views/_channelLinks.html.twig +++ /dev/null @@ -1,3 +0,0 @@ -{% deprecated "This template has been moved to @SyliusAdmin/Layout/_channelLinks.html.twig" %} - -{% include "@SyliusAdmin/Layout/_channelLinks.html.twig" %} diff --git a/src/Sylius/Bundle/AdminBundle/Resources/views/_flashes.html.twig b/src/Sylius/Bundle/AdminBundle/Resources/views/_flashes.html.twig deleted file mode 100644 index a6d6567e8f..0000000000 --- a/src/Sylius/Bundle/AdminBundle/Resources/views/_flashes.html.twig +++ /dev/null @@ -1,3 +0,0 @@ -{% deprecated "This template has been moved to @SyliusAdmin/Layout/_flashes.html.twig" %} - -{% include "@SyliusAdmin/Layout/_flashes.html.twig" %} diff --git a/src/Sylius/Bundle/AdminBundle/Resources/views/_logo.html.twig b/src/Sylius/Bundle/AdminBundle/Resources/views/_logo.html.twig deleted file mode 100644 index 49e1a0a7d1..0000000000 --- a/src/Sylius/Bundle/AdminBundle/Resources/views/_logo.html.twig +++ /dev/null @@ -1,3 +0,0 @@ -{% deprecated "This template has been moved to @SyliusAdmin/Layout/_logo.html.twig" %} - -{% include "@SyliusAdmin/Layout/_logo.html.twig" %} diff --git a/src/Sylius/Bundle/AdminBundle/Resources/views/_menu.html.twig b/src/Sylius/Bundle/AdminBundle/Resources/views/_menu.html.twig deleted file mode 100644 index a9d9647458..0000000000 --- a/src/Sylius/Bundle/AdminBundle/Resources/views/_menu.html.twig +++ /dev/null @@ -1,3 +0,0 @@ -{% deprecated "This template has been moved to @SyliusAdmin/Layout/_menu.html.twig" %} - -{% include "@SyliusAdmin/Layout/_menu.html.twig" %} diff --git a/src/Sylius/Bundle/AdminBundle/Resources/views/_notification.html.twig b/src/Sylius/Bundle/AdminBundle/Resources/views/_notification.html.twig deleted file mode 100644 index b3c246012e..0000000000 --- a/src/Sylius/Bundle/AdminBundle/Resources/views/_notification.html.twig +++ /dev/null @@ -1,3 +0,0 @@ -{% deprecated "This template has been moved to @SyliusAdmin/Layout/_notification.html.twig" %} - -{% include "@SyliusAdmin/Layout/_notification.html.twig" %} diff --git a/src/Sylius/Bundle/AdminBundle/Resources/views/_scripts.html.twig b/src/Sylius/Bundle/AdminBundle/Resources/views/_scripts.html.twig deleted file mode 100644 index 0e6482422f..0000000000 --- a/src/Sylius/Bundle/AdminBundle/Resources/views/_scripts.html.twig +++ /dev/null @@ -1,3 +0,0 @@ -{% deprecated "This template has been moved to @SyliusAdmin/Layout/_scripts.html.twig" %} - -{% include "@SyliusAdmin/Layout/_scripts.html.twig" %} diff --git a/src/Sylius/Bundle/AdminBundle/Resources/views/_search.html.twig b/src/Sylius/Bundle/AdminBundle/Resources/views/_search.html.twig deleted file mode 100644 index f7a47470ba..0000000000 --- a/src/Sylius/Bundle/AdminBundle/Resources/views/_search.html.twig +++ /dev/null @@ -1,3 +0,0 @@ -{% deprecated "This template has been moved to @SyliusAdmin/Layout/_search.html.twig" %} - -{% include "@SyliusAdmin/Layout/_search.html.twig" %} diff --git a/src/Sylius/Bundle/AdminBundle/Resources/views/_security.html.twig b/src/Sylius/Bundle/AdminBundle/Resources/views/_security.html.twig deleted file mode 100644 index ebda5cfc59..0000000000 --- a/src/Sylius/Bundle/AdminBundle/Resources/views/_security.html.twig +++ /dev/null @@ -1,3 +0,0 @@ -{% deprecated "This template has been moved to @SyliusAdmin/Layout/_security.html.twig" %} - -{% include "@SyliusAdmin/Layout/_security.html.twig" %} diff --git a/src/Sylius/Bundle/AdminBundle/Resources/views/_styles.html.twig b/src/Sylius/Bundle/AdminBundle/Resources/views/_styles.html.twig deleted file mode 100644 index d6356eea2a..0000000000 --- a/src/Sylius/Bundle/AdminBundle/Resources/views/_styles.html.twig +++ /dev/null @@ -1,3 +0,0 @@ -{% deprecated "This template has been moved to @SyliusAdmin/Layout/_styles.html.twig" %} - -{% include "@SyliusAdmin/Layout/_styles.html.twig" %} diff --git a/src/Sylius/Bundle/AdminBundle/Resources/views/_support.html.twig b/src/Sylius/Bundle/AdminBundle/Resources/views/_support.html.twig deleted file mode 100644 index 809beaf033..0000000000 --- a/src/Sylius/Bundle/AdminBundle/Resources/views/_support.html.twig +++ /dev/null @@ -1,3 +0,0 @@ -{% deprecated "This template has been moved to @SyliusAdmin/Layout/_support.html.twig" %} - -{% include "@SyliusAdmin/Layout/_support.html.twig" %} diff --git a/src/Sylius/Bundle/AdminBundle/Resources/views/layout.html.twig b/src/Sylius/Bundle/AdminBundle/Resources/views/layout.html.twig index 298ea6dbf5..dc40065bb1 100644 --- a/src/Sylius/Bundle/AdminBundle/Resources/views/layout.html.twig +++ b/src/Sylius/Bundle/AdminBundle/Resources/views/layout.html.twig @@ -7,7 +7,7 @@ {% endblock %} {% block flash_messages %} - {% include '@SyliusAdmin/_flashes.html.twig' %} + {% include '@SyliusAdmin/Layout/_flashes.html.twig' %} {% endblock %} {% block topbar %} diff --git a/src/Sylius/Bundle/AdminBundle/Tests/Controller/NotificationControllerTest.php b/src/Sylius/Bundle/AdminBundle/Tests/Controller/NotificationControllerTest.php index 2532723ed6..cedc6eaae5 100644 --- a/src/Sylius/Bundle/AdminBundle/Tests/Controller/NotificationControllerTest.php +++ b/src/Sylius/Bundle/AdminBundle/Tests/Controller/NotificationControllerTest.php @@ -20,6 +20,7 @@ use Prophecy\Argument; use Prophecy\PhpUnit\ProphecyTrait; use Prophecy\Prophecy\ObjectProphecy; use Prophecy\Prophecy\ProphecyInterface; +use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; use Psr\Http\Message\ResponseInterface; @@ -35,8 +36,6 @@ final class NotificationControllerTest extends TestCase private ObjectProphecy $client; - private ObjectProphecy $legacyClient; - private ObjectProphecy $requestFactory; private ObjectProphecy $messageFactory; @@ -45,8 +44,6 @@ final class NotificationControllerTest extends TestCase private NotificationController $controller; - private NotificationController $legacyController; - private static string $hubUri = 'www.doesnotexist.test.com'; /** @test */ @@ -69,27 +66,6 @@ final class NotificationControllerTest extends TestCase $this->assertEquals('""', $emptyResponse->getContent()); } - /** - * @test - * - * @legacy This test will be removed in Sylius 2.0. - */ - public function it_returns_an_empty_json_response_upon_client_exception_deprecated(): void - { - $requestInterface = $this->prophesize(RequestInterface::class); - - $this->messageFactory->createRequest(Argument::cetera())->willReturn($requestInterface); - $requestInterface->withHeader('Content-Type', 'application/json')->willReturn($requestInterface); - $requestInterface->withBody(Argument::any())->willReturn($requestInterface); - - $this->legacyClient->send(Argument::cetera())->willThrow(ConnectException::class); - - $emptyResponse = $this->legacyController->getVersionAction(new Request()); - - $this->assertEquals(JsonResponse::HTTP_NO_CONTENT, $emptyResponse->getStatusCode()); - $this->assertEquals('""', $emptyResponse->getContent()); - } - /** @test */ public function it_returns_json_response_from_client_on_success(): void { @@ -120,41 +96,9 @@ final class NotificationControllerTest extends TestCase $this->assertEquals($content, $response->getContent()); } - /** - * @test - * - * @legacy This test will be removed in Sylius 2.0. - */ - public function it_returns_json_response_from_client_on_success_deprecated(): void - { - $content = json_encode(['version' => '9001']); - - $requestInterface = $this->prophesize(RequestInterface::class); - - $this->messageFactory->createRequest(Argument::cetera())->willReturn($requestInterface); - $requestInterface->withHeader('Content-Type', 'application/json')->willReturn($requestInterface); - $requestInterface->withBody(Argument::any())->willReturn($requestInterface); - - /** @var ProphecyInterface|StreamInterface $stream */ - $stream = $this->prophesize(StreamInterface::class); - $stream->getContents()->willReturn($content); - - /** @var ProphecyInterface|ResponseInterface $externalResponse */ - $externalResponse = $this->prophesize(ResponseInterface::class); - $externalResponse->getBody()->willReturn($stream->reveal()); - - $this->legacyClient->send(Argument::cetera())->willReturn($externalResponse->reveal()); - - $response = $this->legacyController->getVersionAction(new Request()); - - $this->assertEquals(JsonResponse::HTTP_OK, $response->getStatusCode()); - $this->assertEquals($content, $response->getContent()); - } - protected function setUp(): void { - $this->client = $this->prophesize(\Psr\Http\Client\ClientInterface::class); - $this->legacyClient = $this->prophesize(\GuzzleHttp\ClientInterface::class); + $this->client = $this->prophesize(ClientInterface::class); $this->requestFactory = $this->prophesize(RequestFactoryInterface::class); $this->messageFactory = $this->prophesize(MessageFactory::class); $this->streamFactory = $this->prophesize(StreamFactoryInterface::class); @@ -167,13 +111,6 @@ final class NotificationControllerTest extends TestCase $this->streamFactory->reveal(), ); - $this->legacyController = new NotificationController( - $this->legacyClient->reveal(), - $this->messageFactory->reveal(), - self::$hubUri, - 'environment', - ); - parent::setUp(); } } diff --git a/src/Sylius/Bundle/AdminBundle/Tests/MessageHandler/Admin/SendResetPasswordEmailHandlerTest.php b/src/Sylius/Bundle/AdminBundle/Tests/MessageHandler/Admin/SendResetPasswordEmailHandlerTest.php index cca655a0a9..fedcc1aaa4 100644 --- a/src/Sylius/Bundle/AdminBundle/Tests/MessageHandler/Admin/SendResetPasswordEmailHandlerTest.php +++ b/src/Sylius/Bundle/AdminBundle/Tests/MessageHandler/Admin/SendResetPasswordEmailHandlerTest.php @@ -16,24 +16,16 @@ namespace Sylius\Bundle\AdminBundle\Tests\MessageHandler\Admin; use Sylius\Bundle\CoreBundle\Message\Admin\Account\SendResetPasswordEmail; use Sylius\Bundle\CoreBundle\MessageHandler\Admin\Account\SendResetPasswordEmailHandler; use Sylius\Component\Core\Model\AdminUser; -use Sylius\Component\Core\Test\SwiftmailerAssertionTrait; use Sylius\Component\Mailer\Sender\SenderInterface; use Sylius\Component\User\Repository\UserRepositoryInterface; use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase; -use Symfony\Component\Filesystem\Filesystem; use Symfony\Contracts\Translation\TranslatorInterface; final class SendResetPasswordEmailHandlerTest extends KernelTestCase { - use SwiftmailerAssertionTrait; - /** @test */ public function it_sends_password_reset_token_email(): void { - if (self::isItSwiftmailerTestEnv()) { - $this->markTestSkipped('Test is relevant only for the environment without swiftmailer'); - } - $container = self::bootKernel()->getContainer(); /** @var TranslatorInterface $translator */ @@ -67,57 +59,4 @@ final class SendResetPasswordEmailHandlerTest extends KernelTestCase $translator->trans('sylius.email.admin_password_reset.to_reset_your_password', [], null, 'en_US'), ); } - - /** @test */ - public function it_sends_password_reset_token_email_with_swiftmailer(): void - { - if (!self::isItSwiftmailerTestEnv()) { - $this->markTestSkipped('Test is relevant only for the environment with swiftmailer'); - } - - $container = self::bootKernel()->getContainer(); - - self::setSpoolDirectory($container->getParameter('kernel.cache_dir') . '/spool'); - - /** @var Filesystem $filesystem */ - $filesystem = $container->get('test.filesystem.public'); - - $filesystem->remove(self::getSpoolDirectory()); - - /** @var TranslatorInterface $translator */ - $translator = $container->get('translator'); - - /** @var SenderInterface $emailSender */ - $emailSender = $container->get('sylius.email_sender'); - - $adminUser = new AdminUser(); - $adminUser->setEmail('sylius@example.com'); - $adminUser->setPasswordResetToken('my_reset_token'); - - $adminUserRepository = $this->createMock(UserRepositoryInterface::class); - $adminUserRepository - ->method('findOneByEmail') - ->with('sylius@example.com') - ->willReturn($adminUser) - ; - - $resetPasswordEmailHandler = new SendResetPasswordEmailHandler($adminUserRepository, $emailSender); - $resetPasswordEmailHandler(new SendResetPasswordEmail( - 'sylius@example.com', - 'en_US', - )); - - self::assertSpooledMessagesCountWithRecipient(1, 'sylius@example.com'); - self::assertSpooledMessageWithContentHasRecipient( - $translator->trans('sylius.email.admin_password_reset.to_reset_your_password', [], null, 'en_US'), - 'sylius@example.com', - ); - } - - private static function isItSwiftmailerTestEnv(): bool - { - $env = self::getContainer()->getParameter('kernel.environment'); - - return $env === 'test_with_swiftmailer'; - } } diff --git a/src/Sylius/Bundle/AdminBundle/Twig/NotificationWidgetExtension.php b/src/Sylius/Bundle/AdminBundle/Twig/NotificationWidgetExtension.php index 00b4bd11fa..72edc128d6 100644 --- a/src/Sylius/Bundle/AdminBundle/Twig/NotificationWidgetExtension.php +++ b/src/Sylius/Bundle/AdminBundle/Twig/NotificationWidgetExtension.php @@ -44,7 +44,7 @@ final class NotificationWidgetExtension extends AbstractExtension return ''; } - return $environment->render('@SyliusAdmin/_notification.html.twig', [ + return $environment->render('@SyliusAdmin/Layout/_notification.html.twig', [ 'frequency' => $this->checkFrequency, 'currentVersion' => SyliusCoreBundle::VERSION, ]); diff --git a/src/Sylius/Bundle/AdminBundle/composer.json b/src/Sylius/Bundle/AdminBundle/composer.json index 88df3c3934..ea93e69a36 100644 --- a/src/Sylius/Bundle/AdminBundle/composer.json +++ b/src/Sylius/Bundle/AdminBundle/composer.json @@ -30,13 +30,13 @@ } ], "require": { - "php": "^8.0", + "php": "^8.2", "knplabs/knp-menu": "^3.1", "knplabs/knp-menu-bundle": "^3.0", - "sylius/core-bundle": "^1.12", - "sylius/ui-bundle": "^1.12", - "symfony/framework-bundle": "^5.4.21 || ^6.0", - "symfony/webpack-encore-bundle": "^1.15", + "sylius/core-bundle": "^2.0", + "sylius/ui-bundle": "^2.0", + "symfony/framework-bundle": "^6.3.4", + "symfony/webpack-encore-bundle": "^1.17.1", "twig/intl-extra": "^2.12 || ^3.4", "twig/twig": "^2.12 || ^3.3" }, @@ -45,8 +45,8 @@ "phpspec/phpspec": "^7.2", "phpspec/prophecy-phpunit": "^2.0", "phpunit/phpunit": "^9.5", - "symfony/dependency-injection": "^5.4.21 || ^6.0", - "symfony/dotenv": "^5.4.21 || ^6.0" + "symfony/dependency-injection": "^6.3.4", + "symfony/dotenv": "^6.3.0" }, "config": { "allow-plugins": { @@ -55,7 +55,7 @@ }, "extra": { "branch-alias": { - "dev-master": "1.12-dev" + "dev-main": "2.0-dev" } }, "autoload": { diff --git a/src/Sylius/Bundle/AdminBundle/gulpfile.babel.js b/src/Sylius/Bundle/AdminBundle/gulpfile.babel.js deleted file mode 100644 index 6c69f99e64..0000000000 --- a/src/Sylius/Bundle/AdminBundle/gulpfile.babel.js +++ /dev/null @@ -1,248 +0,0 @@ -import { rollup } from 'rollup'; -import { terser } from 'rollup-plugin-terser'; -import babel from '@rollup/plugin-babel'; -import commonjs from '@rollup/plugin-commonjs'; -import concat from 'gulp-concat'; -import dedent from 'dedent'; -import gulp from 'gulp'; -import gulpif from 'gulp-if'; -import gulpSass from 'gulp-sass'; -import inject from '@rollup/plugin-inject'; -import livereload from 'gulp-livereload'; -import merge from 'merge-stream'; -import order from 'gulp-order'; -import realSass from 'sass'; -import resolve from '@rollup/plugin-node-resolve'; -import sourcemaps from 'gulp-sourcemaps'; -import uglifycss from 'gulp-uglifycss'; -import upath from 'upath'; -import yargs from 'yargs'; - -const sass = gulpSass(realSass); - -const { argv } = yargs - .options({ - rootPath: { - description: ' path to web assets directory', - type: 'string', - requiresArg: true, - required: true, - }, - vendorPath: { - description: ' path to vendor directory', - type: 'string', - requiresArg: true, - required: false, - }, - nodeModulesPath: { - description: ' path to node_modules directory', - type: 'string', - requiresArg: true, - required: true, - }, - }); - -const env = process.env.GULP_ENV; -const options = { - minify: env === 'prod', - sourcemaps: env !== 'prod', -}; - -const rootPath = upath.normalizeSafe(argv.rootPath); -const adminRootPath = upath.joinSafe(rootPath, 'admin'); -const vendorPath = upath.normalizeSafe(argv.vendorPath || '.'); -const vendorAdminPath = vendorPath === '.' ? '.' : upath.joinSafe(vendorPath, 'AdminBundle'); -const vendorUiPath = vendorPath === '.' ? '../UiBundle/' : upath.joinSafe(vendorPath, 'UiBundle'); -const nodeModulesPath = upath.normalizeSafe(argv.nodeModulesPath); - -const paths = { - admin: { - js: [ - upath.joinSafe(vendorUiPath, 'Resources/private/js/**'), - upath.joinSafe(vendorAdminPath, 'Resources/private/js/**'), - ], - sass: [ - upath.joinSafe(vendorUiPath, 'Resources/private/sass/**'), - upath.joinSafe(vendorAdminPath, 'Resources/private/sass/**'), - ], - css: [ - upath.joinSafe(nodeModulesPath, 'semantic-ui-css/semantic.min.css'), - upath.joinSafe(vendorUiPath, 'Resources/private/css/**'), - upath.joinSafe(vendorAdminPath, 'Resources/private/css/**'), - ], - img: [ - upath.joinSafe(vendorUiPath, 'Resources/private/img/**'), - upath.joinSafe(vendorAdminPath, 'Resources/private/img/**'), - ], - }, -}; - -const sourcePathMap = [ - { - sourceDir: upath.relative('', upath.joinSafe(vendorAdminPath, 'Resources/private/')), - destPath: '/SyliusAdminBundle', - }, - { - sourceDir: upath.relative('', upath.joinSafe(vendorUiPath, 'Resources/private/')), - destPath: '/SyliusUiBundle', - }, - { - sourceDir: upath.relative('', nodeModulesPath), - destPath: '/node_modules', - }, -]; - -const mapSourcePath = function mapSourcePath(sourcePath) { - const match = sourcePathMap.find(({ sourceDir }) => ( - sourcePath.substring(0, sourceDir.length) === sourceDir - )); - - if (!match) { - return sourcePath; - } - - const { sourceDir, destPath } = match; - - return upath.joinSafe(destPath, sourcePath.substring(sourceDir.length)); -}; - -export const buildAdminJs = async function buildAdminJs() { - const bundle = await rollup({ - input: upath.joinSafe(vendorAdminPath, 'Resources/private/js/app.js'), - plugins: [ - { - name: 'shim-app', - - transform(code, id) { - if (upath.relative('', id) === upath.relative('', upath.joinSafe(vendorAdminPath, 'Resources/private/js/app.js'))) { - return { - code: dedent` - import './shim/shim-polyfill'; - import './shim/shim-jquery'; - import './shim/shim-semantic-ui'; - - ${code} - `, - map: null, - }; - } - - return undefined; - }, - }, - inject({ - include: `${nodeModulesPath}/**`, - modules: { - $: 'jquery', - jQuery: 'jquery', - }, - }), - resolve({ - jail: upath.resolve(nodeModulesPath), - }), - commonjs({ - include: `${nodeModulesPath}/**`, - }), - babel({ - babelrc: false, - exclude: `${nodeModulesPath}/**`, - presets: [ - ['@babel/preset-env', { - targets: { - browsers: [ - 'last 2 versions', - 'Firefox ESR', - 'IE >= 9', - 'Android >= 4.0', - 'iOS >= 7', - ], - }, - modules: false, - exclude: [ - 'transform-async-to-generator', - 'transform-regenerator', - ] - }], - ], - plugins: [ - ['fast-async'], - ['module-resolver', { - alias: { - 'sylius/ui': upath.relative('', upath.joinSafe(vendorUiPath, 'Resources/private/js')), - }, - }], - ['@babel/plugin-proposal-object-rest-spread', { - useBuiltIns: false, - }], - ], - }), - options.minify && terser(), - ], - treeshake: false, - }); - - await bundle.write({ - file: upath.joinSafe(adminRootPath, 'js/app.js'), - format: 'iife', - sourcemap: options.sourcemaps, - }); -}; -buildAdminJs.description = 'Build admin js assets.'; - -export const buildAdminCss = function buildAdminCss() { - const copyStream = merge( - gulp.src(upath.joinSafe(nodeModulesPath, 'semantic-ui-css/themes/**/*')) - .pipe(gulp.dest(upath.joinSafe(adminRootPath, 'css/themes'))), - ); - - const cssStream = gulp.src(paths.admin.css, { base: './' }) - .pipe(gulpif(options.sourcemaps, sourcemaps.init())) - .pipe(concat('css-files.css')); - - const sassStream = gulp.src(paths.admin.sass, { base: './' }) - .pipe(gulpif(options.sourcemaps, sourcemaps.init())) - .pipe(sass()) - .pipe(concat('sass-files.scss')); - - return merge( - copyStream, - merge(cssStream, sassStream) - .pipe(order(['css-files.css', 'sass-files.scss'])) - .pipe(concat('style.css')) - .pipe(gulpif(options.minify, uglifycss())) - .pipe(gulpif(options.sourcemaps, sourcemaps.mapSources(mapSourcePath))) - .pipe(gulpif(options.sourcemaps, sourcemaps.write('./'))) - .pipe(gulp.dest(upath.joinSafe(adminRootPath, 'css'))) - .pipe(livereload()), - ); -}; -buildAdminCss.description = 'Build admin css assets.'; - -export const buildAdminImg = function buildAdminImg() { - return gulp.src(paths.admin.img) - .pipe(gulp.dest(upath.joinSafe(adminRootPath, 'img'))); -}; -buildAdminImg.description = 'Build admin img assets.'; - -export const watchAdmin = function watchAdmin() { - livereload.listen(); - - gulp.watch(paths.admin.js, buildAdminJs); - gulp.watch(paths.admin.sass, buildAdminCss); - gulp.watch(paths.admin.css, buildAdminCss); - gulp.watch(paths.admin.img, buildAdminImg); -}; -watchAdmin.description = 'Watch admin asset sources and rebuild on changes.'; - -export const build = gulp.parallel(buildAdminJs, buildAdminCss, buildAdminImg); -build.description = 'Build assets.'; - -export const watch = gulp.parallel(build, watchAdmin); -watch.description = 'Watch asset sources and rebuild on changes.'; - -gulp.task('admin-js', buildAdminJs); -gulp.task('admin-css', buildAdminCss); -gulp.task('admin-img', buildAdminImg); -gulp.task('admin-watch', watchAdmin); - -export default build; diff --git a/src/Sylius/Bundle/AdminBundle/test/config/bundles.php b/src/Sylius/Bundle/AdminBundle/test/config/bundles.php index 6d2563035c..4f3ef19851 100644 --- a/src/Sylius/Bundle/AdminBundle/test/config/bundles.php +++ b/src/Sylius/Bundle/AdminBundle/test/config/bundles.php @@ -14,11 +14,9 @@ declare(strict_types=1); return [ Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true], Symfony\Bundle\SecurityBundle\SecurityBundle::class => ['all' => true], - Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle::class => ['test_with_swiftmailer' => true], Symfony\Bundle\TwigBundle\TwigBundle::class => ['all' => true], Symfony\WebpackEncoreBundle\WebpackEncoreBundle::class => ['all' => true], Doctrine\Bundle\DoctrineBundle\DoctrineBundle::class => ['all' => true], - Sylius\Calendar\SyliusCalendarBundle::class => ['all' => true], Sylius\Bundle\OrderBundle\SyliusOrderBundle::class => ['all' => true], Sylius\Bundle\MoneyBundle\SyliusMoneyBundle::class => ['all' => true], Sylius\Bundle\CurrencyBundle\SyliusCurrencyBundle::class => ['all' => true], diff --git a/src/Sylius/Bundle/AdminBundle/test/config/packages/config.yaml b/src/Sylius/Bundle/AdminBundle/test/config/packages/config.yaml index dcdbff194e..dfea3e341e 100644 --- a/src/Sylius/Bundle/AdminBundle/test/config/packages/config.yaml +++ b/src/Sylius/Bundle/AdminBundle/test/config/packages/config.yaml @@ -15,6 +15,16 @@ framework: test: ~ mailer: dsn: 'null://null' + assets: + packages: + admin: + json_manifest_path: '%kernel.project_dir%/public/build/admin/manifest.json' + shop: + json_manifest_path: '%kernel.project_dir%/public/build/shop/manifest.json' + app.admin: + json_manifest_path: '%kernel.project_dir%/public/build/app/admin/manifest.json' + app.shop: + json_manifest_path: '%kernel.project_dir%/public/build/app/shop/manifest.json' workflows: ~ security: @@ -32,3 +42,11 @@ doctrine: driver: "%database_driver%" path: "%database_path%" charset: UTF8 + +webpack_encore: + output_path: '%kernel.project_dir%/public/build/default' + builds: + admin: '%kernel.project_dir%/public/build/admin' + shop: '%kernel.project_dir%/public/build/shop' + app.admin: '%kernel.project_dir%/public/build/app/admin' + app.shop: '%kernel.project_dir%/public/build/app/shop' diff --git a/src/Sylius/Bundle/AdminBundle/test/config/packages/test_with_swiftmailer/filesystem.yaml b/src/Sylius/Bundle/AdminBundle/test/config/packages/test_with_swiftmailer/filesystem.yaml deleted file mode 100644 index 1828fd69a2..0000000000 --- a/src/Sylius/Bundle/AdminBundle/test/config/packages/test_with_swiftmailer/filesystem.yaml +++ /dev/null @@ -1,4 +0,0 @@ -services: - test.filesystem.public: - alias: filesystem - public: true diff --git a/src/Sylius/Bundle/AdminBundle/test/config/packages/test_with_swiftmailer/swiftmailer.yaml b/src/Sylius/Bundle/AdminBundle/test/config/packages/test_with_swiftmailer/swiftmailer.yaml deleted file mode 100644 index c438f4b256..0000000000 --- a/src/Sylius/Bundle/AdminBundle/test/config/packages/test_with_swiftmailer/swiftmailer.yaml +++ /dev/null @@ -1,6 +0,0 @@ -swiftmailer: - disable_delivery: true - logging: true - spool: - type: file - path: "%kernel.cache_dir%/spool" diff --git a/src/Sylius/Bundle/AdminBundle/test/config/packages/test_with_swiftmailer/sylius_mailer.yaml b/src/Sylius/Bundle/AdminBundle/test/config/packages/test_with_swiftmailer/sylius_mailer.yaml deleted file mode 100644 index e2310f20bf..0000000000 --- a/src/Sylius/Bundle/AdminBundle/test/config/packages/test_with_swiftmailer/sylius_mailer.yaml +++ /dev/null @@ -1,2 +0,0 @@ -sylius_mailer: - sender_adapter: sylius.email_sender.adapter.swiftmailer diff --git a/src/Sylius/Bundle/ApiBundle/Applicator/ArchivingShippingMethodApplicator.php b/src/Sylius/Bundle/ApiBundle/Applicator/ArchivingShippingMethodApplicator.php index daa6354f4b..3fe1bbbe83 100644 --- a/src/Sylius/Bundle/ApiBundle/Applicator/ArchivingShippingMethodApplicator.php +++ b/src/Sylius/Bundle/ApiBundle/Applicator/ArchivingShippingMethodApplicator.php @@ -13,19 +13,19 @@ declare(strict_types=1); namespace Sylius\Bundle\ApiBundle\Applicator; -use Sylius\Calendar\Provider\DateTimeProviderInterface; use Sylius\Component\Core\Model\ShippingMethodInterface; +use Symfony\Component\Clock\ClockInterface; /** @experimental */ final class ArchivingShippingMethodApplicator implements ArchivingShippingMethodApplicatorInterface { - public function __construct(private DateTimeProviderInterface $calendar) + public function __construct(private ClockInterface $clock) { } public function archive(ShippingMethodInterface $data): ShippingMethodInterface { - $data->setArchivedAt($this->calendar->now()); + $data->setArchivedAt($this->clock->now()); return $data; } diff --git a/src/Sylius/Bundle/ApiBundle/CommandHandler/Account/RequestResetPasswordTokenHandler.php b/src/Sylius/Bundle/ApiBundle/CommandHandler/Account/RequestResetPasswordTokenHandler.php index 13f01b2c08..d40569bedb 100644 --- a/src/Sylius/Bundle/ApiBundle/CommandHandler/Account/RequestResetPasswordTokenHandler.php +++ b/src/Sylius/Bundle/ApiBundle/CommandHandler/Account/RequestResetPasswordTokenHandler.php @@ -15,9 +15,9 @@ namespace Sylius\Bundle\ApiBundle\CommandHandler\Account; use Sylius\Bundle\ApiBundle\Command\Account\RequestResetPasswordToken; use Sylius\Bundle\ApiBundle\Command\Account\SendResetPasswordEmail; -use Sylius\Calendar\Provider\DateTimeProviderInterface; use Sylius\Component\User\Repository\UserRepositoryInterface; use Sylius\Component\User\Security\Generator\GeneratorInterface; +use Symfony\Component\Clock\ClockInterface; use Symfony\Component\Messenger\Handler\MessageHandlerInterface; use Symfony\Component\Messenger\MessageBusInterface; use Symfony\Component\Messenger\Stamp\DispatchAfterCurrentBusStamp; @@ -29,7 +29,7 @@ final class RequestResetPasswordTokenHandler implements MessageHandlerInterface private UserRepositoryInterface $userRepository, private MessageBusInterface $commandBus, private GeneratorInterface $generator, - private DateTimeProviderInterface $calendar, + private ClockInterface $clock, ) { } @@ -41,7 +41,7 @@ final class RequestResetPasswordTokenHandler implements MessageHandlerInterface } $user->setPasswordResetToken($this->generator->generate()); - $user->setPasswordRequestedAt($this->calendar->now()); + $user->setPasswordRequestedAt($this->clock->now()); $this->commandBus->dispatch( new SendResetPasswordEmail( diff --git a/src/Sylius/Bundle/ApiBundle/CommandHandler/Account/VerifyCustomerAccountHandler.php b/src/Sylius/Bundle/ApiBundle/CommandHandler/Account/VerifyCustomerAccountHandler.php index 7daa3dc370..9c2e0ccb42 100644 --- a/src/Sylius/Bundle/ApiBundle/CommandHandler/Account/VerifyCustomerAccountHandler.php +++ b/src/Sylius/Bundle/ApiBundle/CommandHandler/Account/VerifyCustomerAccountHandler.php @@ -16,9 +16,9 @@ namespace Sylius\Bundle\ApiBundle\CommandHandler\Account; use InvalidArgumentException; use Sylius\Bundle\ApiBundle\Command\Account\SendAccountRegistrationEmail; use Sylius\Bundle\ApiBundle\Command\Account\VerifyCustomerAccount; -use Sylius\Calendar\Provider\DateTimeProviderInterface; use Sylius\Component\Core\Model\ShopUserInterface; use Sylius\Component\Resource\Repository\RepositoryInterface; +use Symfony\Component\Clock\ClockInterface; use Symfony\Component\HttpFoundation\JsonResponse; use Symfony\Component\Messenger\Handler\MessageHandlerInterface; use Symfony\Component\Messenger\MessageBusInterface; @@ -29,7 +29,7 @@ final class VerifyCustomerAccountHandler implements MessageHandlerInterface { public function __construct( private RepositoryInterface $shopUserRepository, - private DateTimeProviderInterface $calendar, + private ClockInterface $clock, private MessageBusInterface $commandBus, ) { } @@ -44,7 +44,7 @@ final class VerifyCustomerAccountHandler implements MessageHandlerInterface ); } - $user->setVerifiedAt($this->calendar->now()); + $user->setVerifiedAt($this->clock->now()); $user->setEmailVerificationToken(null); $user->enable(); diff --git a/src/Sylius/Bundle/ApiBundle/DependencyInjection/Compiler/SyliusPriceHistoryLegacyAliasesPass.php b/src/Sylius/Bundle/ApiBundle/DependencyInjection/Compiler/SyliusPriceHistoryLegacyAliasesPass.php deleted file mode 100644 index 753c262c66..0000000000 --- a/src/Sylius/Bundle/ApiBundle/DependencyInjection/Compiler/SyliusPriceHistoryLegacyAliasesPass.php +++ /dev/null @@ -1,73 +0,0 @@ - 'Sylius\Bundle\ApiBundle\Validator\ResourceApiInputDataPropertiesValidatorInterface', - 'Sylius\PriceHistoryPlugin\Infrastructure\Serializer\ChannelDenormalizer' => 'Sylius\Bundle\ApiBundle\Serializer\ChannelDenormalizer', - 'Sylius\PriceHistoryPlugin\Infrastructure\Serializer\ChannelPriceHistoryConfigDenormalizer' => 'Sylius\Bundle\ApiBundle\Serializer\ChannelPriceHistoryConfigDenormalizer', - 'Sylius\PriceHistoryPlugin\Infrastructure\Serializer\ProductVariantNormalizer' => 'Sylius\Bundle\ApiBundle\Serializer\ProductVariantNormalizer', - ]; - - public function process(ContainerBuilder $container): void - { - foreach ($container->getDefinitions() as $serviceName => $definition) { - if ($this->shouldHaveLegacyAlias($container, $serviceName)) { - $this->addLegacyAlias($container, $serviceName); - } - } - } - - private function shouldHaveLegacyAlias(ContainerBuilder $container, string $serviceName): bool - { - foreach (self::PLUGIN_TO_SYLIUS_PREFIXES_MAP as $legacyPrefix => $syliusPrefix) { - $legacyServiceName = $this->getLegacyServiceName($serviceName); - - if (str_starts_with($serviceName, $syliusPrefix) && !$container->has($legacyServiceName)) { - return true; - } - } - - return false; - } - - private function addLegacyAlias(ContainerBuilder $container, string $serviceName): void - { - $legacyServiceName = $this->getLegacyServiceName($serviceName); - - $container - ->setAlias($legacyServiceName, $serviceName) - ->setPublic(true) - ->setDeprecated( - 'sylius/sylius', - '1.13', - sprintf('Alias %%alias_id%% is deprecated. Consider using the %s service.', $serviceName), - ) - ; - } - - private function getLegacyServiceName(string $name): string - { - return str_replace( - array_values(self::PLUGIN_TO_SYLIUS_PREFIXES_MAP), - array_keys(self::PLUGIN_TO_SYLIUS_PREFIXES_MAP), - $name, - ); - } -} diff --git a/src/Sylius/Bundle/ApiBundle/Resources/config/services/applicators.xml b/src/Sylius/Bundle/ApiBundle/Resources/config/services/applicators.xml index 9ee3efa0de..a6a3ee5e82 100644 --- a/src/Sylius/Bundle/ApiBundle/Resources/config/services/applicators.xml +++ b/src/Sylius/Bundle/ApiBundle/Resources/config/services/applicators.xml @@ -19,7 +19,7 @@ - + diff --git a/src/Sylius/Bundle/ApiBundle/Resources/config/services/command_handlers.xml b/src/Sylius/Bundle/ApiBundle/Resources/config/services/command_handlers.xml index 0c922f0212..0c752f98a5 100644 --- a/src/Sylius/Bundle/ApiBundle/Resources/config/services/command_handlers.xml +++ b/src/Sylius/Bundle/ApiBundle/Resources/config/services/command_handlers.xml @@ -153,7 +153,7 @@ - + @@ -212,7 +212,7 @@ - + diff --git a/src/Sylius/Bundle/ApiBundle/Resources/config/services/serializers.xml b/src/Sylius/Bundle/ApiBundle/Resources/config/services/serializers.xml index 5d2b872998..c0c427846c 100644 --- a/src/Sylius/Bundle/ApiBundle/Resources/config/services/serializers.xml +++ b/src/Sylius/Bundle/ApiBundle/Resources/config/services/serializers.xml @@ -131,7 +131,7 @@ - + diff --git a/src/Sylius/Bundle/ApiBundle/Serializer/CustomerDenormalizer.php b/src/Sylius/Bundle/ApiBundle/Serializer/CustomerDenormalizer.php index 2797f7d112..80a642aff2 100644 --- a/src/Sylius/Bundle/ApiBundle/Serializer/CustomerDenormalizer.php +++ b/src/Sylius/Bundle/ApiBundle/Serializer/CustomerDenormalizer.php @@ -13,8 +13,8 @@ declare(strict_types=1); namespace Sylius\Bundle\ApiBundle\Serializer; -use Sylius\Calendar\Provider\DateTimeProviderInterface; use Sylius\Component\Core\Model\CustomerInterface; +use Symfony\Component\Clock\ClockInterface; use Symfony\Component\Serializer\Normalizer\ContextAwareDenormalizerInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; @@ -26,7 +26,7 @@ final class CustomerDenormalizer implements ContextAwareDenormalizerInterface, D private const ALREADY_CALLED = 'sylius_customer_denormalizer_already_called'; - public function __construct(private DateTimeProviderInterface $calendar) + public function __construct(private ClockInterface $clock) { } @@ -46,7 +46,7 @@ final class CustomerDenormalizer implements ContextAwareDenormalizerInterface, D $user = $data['user'] ?? null; if (null !== $user && array_key_exists('verified', $user)) { - $data['user']['verified'] = true === $user['verified'] ? $this->calendar->now()->format(\DateTimeInterface::RFC3339) : null; + $data['user']['verified'] = true === $user['verified'] ? $this->clock->now()->format(\DateTimeInterface::RFC3339) : null; } return $this->denormalizer->denormalize($data, $type, $format, $context); diff --git a/src/Sylius/Bundle/ApiBundle/SyliusApiBundle.php b/src/Sylius/Bundle/ApiBundle/SyliusApiBundle.php index 2a2e32e985..8b8f3f48ca 100644 --- a/src/Sylius/Bundle/ApiBundle/SyliusApiBundle.php +++ b/src/Sylius/Bundle/ApiBundle/SyliusApiBundle.php @@ -17,7 +17,6 @@ use Sylius\Bundle\ApiBundle\DependencyInjection\Compiler\CommandDataTransformerP use Sylius\Bundle\ApiBundle\DependencyInjection\Compiler\ExtractorMergingCompilerPass; use Sylius\Bundle\ApiBundle\DependencyInjection\Compiler\FlattenExceptionNormalizerDecoratorCompilerPass; use Sylius\Bundle\ApiBundle\DependencyInjection\Compiler\LegacyErrorHandlingCompilerPass; -use Sylius\Bundle\ApiBundle\DependencyInjection\Compiler\SyliusPriceHistoryLegacyAliasesPass; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\HttpKernel\Bundle\Bundle; @@ -29,7 +28,6 @@ final class SyliusApiBundle extends Bundle $container->addCompilerPass(new CommandDataTransformerPass()); $container->addCompilerPass(new FlattenExceptionNormalizerDecoratorCompilerPass()); $container->addCompilerPass(new LegacyErrorHandlingCompilerPass()); - $container->addCompilerPass(new SyliusPriceHistoryLegacyAliasesPass()); $container->addCompilerPass(new ExtractorMergingCompilerPass()); } } diff --git a/src/Sylius/Bundle/ApiBundle/Tests/Application/.env.test_with_swiftmailer b/src/Sylius/Bundle/ApiBundle/Tests/Application/.env.test_with_swiftmailer deleted file mode 100644 index 26a5ec11b1..0000000000 --- a/src/Sylius/Bundle/ApiBundle/Tests/Application/.env.test_with_swiftmailer +++ /dev/null @@ -1 +0,0 @@ -APP_ENV=test_with_swiftmailer diff --git a/src/Sylius/Bundle/ApiBundle/Tests/Application/config/bundles.php b/src/Sylius/Bundle/ApiBundle/Tests/Application/config/bundles.php index f1ad14ebee..24b1e7b40d 100644 --- a/src/Sylius/Bundle/ApiBundle/Tests/Application/config/bundles.php +++ b/src/Sylius/Bundle/ApiBundle/Tests/Application/config/bundles.php @@ -13,11 +13,9 @@ declare(strict_types=1); return [ Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true], - Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle::class => ['test_with_swiftmailer' => true], Symfony\Bundle\SecurityBundle\SecurityBundle::class => ['all' => true], Symfony\Bundle\TwigBundle\TwigBundle::class => ['all' => true], Doctrine\Bundle\DoctrineBundle\DoctrineBundle::class => ['all' => true], - Sylius\Calendar\SyliusCalendarBundle::class => ['all' => true], Sylius\Bundle\OrderBundle\SyliusOrderBundle::class => ['all' => true], Sylius\Bundle\MoneyBundle\SyliusMoneyBundle::class => ['all' => true], Sylius\Bundle\CurrencyBundle\SyliusCurrencyBundle::class => ['all' => true], @@ -55,9 +53,9 @@ return [ Sylius\Bundle\PayumBundle\SyliusPayumBundle::class => ['all' => true], ApiPlatform\Core\Bridge\Symfony\Bundle\ApiPlatformBundle::class => ['all' => true], Sylius\Bundle\ApiBundle\SyliusApiBundle::class => ['all' => true], - Symfony\Bundle\DebugBundle\DebugBundle::class => ['dev' => true, 'test' => true, 'test_cached' => true, 'test_with_swiftmailer' => true], - Nelmio\Alice\Bridge\Symfony\NelmioAliceBundle::class => ['dev' => true, 'test' => true, 'test_cached' => true, 'test_with_swiftmailer' => true], - Fidry\AliceDataFixtures\Bridge\Symfony\FidryAliceDataFixturesBundle::class => ['dev' => true, 'test' => true, 'test_cached' => true, 'test_with_swiftmailer' => true], + Symfony\Bundle\DebugBundle\DebugBundle::class => ['dev' => true, 'test' => true, 'test_cached' => true], + Nelmio\Alice\Bridge\Symfony\NelmioAliceBundle::class => ['dev' => true, 'test' => true, 'test_cached' => true], + Fidry\AliceDataFixtures\Bridge\Symfony\FidryAliceDataFixturesBundle::class => ['dev' => true, 'test' => true, 'test_cached' => true], Lexik\Bundle\JWTAuthenticationBundle\LexikJWTAuthenticationBundle::class => ['all' => true], SyliusLabs\DoctrineMigrationsExtraBundle\SyliusLabsDoctrineMigrationsExtraBundle::class => ['all' => true], SyliusLabs\Polyfill\Symfony\Security\Bundle\SyliusLabsPolyfillSymfonySecurityBundle::class => ['all' => true], diff --git a/src/Sylius/Bundle/ApiBundle/Tests/Application/config/config.yaml b/src/Sylius/Bundle/ApiBundle/Tests/Application/config/config.yaml index 016b52f50f..5946f73c63 100644 --- a/src/Sylius/Bundle/ApiBundle/Tests/Application/config/config.yaml +++ b/src/Sylius/Bundle/ApiBundle/Tests/Application/config/config.yaml @@ -24,7 +24,6 @@ sylius_api: enabled: '%env(bool:SYLIUS_API_ENABLED)%' framework: - assets: ~ secret: "ch4mb3r0f5ecr3ts" default_locale: "%locale%" session: @@ -39,6 +38,16 @@ framework: paths: ['%kernel.project_dir%/config/serialization'] mailer: dsn: 'null://null' + assets: + packages: + admin: + json_manifest_path: '%kernel.project_dir%/public/build/admin/manifest.json' + shop: + json_manifest_path: '%kernel.project_dir%/public/build/shop/manifest.json' + app.admin: + json_manifest_path: '%kernel.project_dir%/public/build/app/admin/manifest.json' + app.shop: + json_manifest_path: '%kernel.project_dir%/public/build/app/shop/manifest.json' workflows: ~ doctrine_migrations: @@ -94,3 +103,11 @@ services: Sylius\Bundle\ApiBundle\Application\CommandHandler\FooHandler: tags: - { name: messenger.message_handler, bus: sylius.command_bus } + +webpack_encore: + output_path: '%kernel.project_dir%/public/build/default' + builds: + admin: '%kernel.project_dir%/public/build/admin' + shop: '%kernel.project_dir%/public/build/shop' + app.admin: '%kernel.project_dir%/public/build/app/admin' + app.shop: '%kernel.project_dir%/public/build/app/shop' diff --git a/src/Sylius/Bundle/ApiBundle/Tests/Application/config/packages/test_with_swiftmailer/filesystem.yaml b/src/Sylius/Bundle/ApiBundle/Tests/Application/config/packages/test_with_swiftmailer/filesystem.yaml deleted file mode 100644 index 1828fd69a2..0000000000 --- a/src/Sylius/Bundle/ApiBundle/Tests/Application/config/packages/test_with_swiftmailer/filesystem.yaml +++ /dev/null @@ -1,4 +0,0 @@ -services: - test.filesystem.public: - alias: filesystem - public: true diff --git a/src/Sylius/Bundle/ApiBundle/Tests/Application/config/packages/test_with_swiftmailer/swiftmailer.yaml b/src/Sylius/Bundle/ApiBundle/Tests/Application/config/packages/test_with_swiftmailer/swiftmailer.yaml deleted file mode 100644 index c438f4b256..0000000000 --- a/src/Sylius/Bundle/ApiBundle/Tests/Application/config/packages/test_with_swiftmailer/swiftmailer.yaml +++ /dev/null @@ -1,6 +0,0 @@ -swiftmailer: - disable_delivery: true - logging: true - spool: - type: file - path: "%kernel.cache_dir%/spool" diff --git a/src/Sylius/Bundle/ApiBundle/Tests/Application/config/packages/test_with_swiftmailer/sylius_mailer.yaml b/src/Sylius/Bundle/ApiBundle/Tests/Application/config/packages/test_with_swiftmailer/sylius_mailer.yaml deleted file mode 100644 index e2310f20bf..0000000000 --- a/src/Sylius/Bundle/ApiBundle/Tests/Application/config/packages/test_with_swiftmailer/sylius_mailer.yaml +++ /dev/null @@ -1,2 +0,0 @@ -sylius_mailer: - sender_adapter: sylius.email_sender.adapter.swiftmailer diff --git a/src/Sylius/Bundle/ApiBundle/Tests/CommandHandler/SendAccountRegistrationEmailHandlerTest.php b/src/Sylius/Bundle/ApiBundle/Tests/CommandHandler/SendAccountRegistrationEmailHandlerTest.php index cf1e1472f3..6117d0268f 100644 --- a/src/Sylius/Bundle/ApiBundle/Tests/CommandHandler/SendAccountRegistrationEmailHandlerTest.php +++ b/src/Sylius/Bundle/ApiBundle/Tests/CommandHandler/SendAccountRegistrationEmailHandlerTest.php @@ -19,25 +19,18 @@ use Sylius\Bundle\ApiBundle\Command\Account\SendAccountRegistrationEmail; use Sylius\Bundle\ApiBundle\CommandHandler\Account\SendAccountRegistrationEmailHandler; use Sylius\Component\Channel\Repository\ChannelRepositoryInterface; use Sylius\Component\Core\Model\ChannelInterface; -use Sylius\Component\Core\Test\SwiftmailerAssertionTrait; use Sylius\Component\User\Model\UserInterface; use Sylius\Component\User\Repository\UserRepositoryInterface; use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase; -use Symfony\Component\Filesystem\Filesystem; use Symfony\Contracts\Translation\TranslatorInterface; final class SendAccountRegistrationEmailHandlerTest extends KernelTestCase { use ProphecyTrait; - use SwiftmailerAssertionTrait; /** @test */ public function it_sends_account_registration_email(): void { - if ($this->isItSwiftmailerTestEnv()) { - $this->markTestSkipped('Test is relevant only for the environment without swiftmailer'); - } - $container = self::getContainer(); /** @var TranslatorInterface $translator */ @@ -82,71 +75,4 @@ final class SendAccountRegistrationEmailHandlerTest extends KernelTestCase self::assertEmailAddressContains($email, 'To', 'user@example.com'); self::assertEmailHtmlBodyContains($email, $translator->trans('sylius.email.user_registration.start_shopping', [], null, 'en_US')); } - - /** @test */ - public function it_sends_account_registration_email_with_swiftmailer(): void - { - if (!$this->isItSwiftmailerTestEnv()) { - $this->markTestSkipped('Test is relevant only for the environment with swiftmailer'); - } - - $container = self::getContainer(); - - self::setSpoolDirectory($container->getParameter('kernel.cache_dir') . '/spool'); - - /** @var Filesystem $filesystem */ - $filesystem = $container->get('test.filesystem.public'); - - /** @var TranslatorInterface $translator */ - $translator = $container->get('translator'); - - $filesystem->remove(self::getSpoolDirectory()); - - $emailSender = $container->get('sylius.email_sender'); - - /** @var ChannelRepositoryInterface|ObjectProphecy $channelRepository */ - $channelRepository = $this->prophesize(ChannelRepositoryInterface::class); - /** @var UserRepositoryInterface|ObjectProphecy $userRepository */ - $userRepository = $this->prophesize(UserRepositoryInterface::class); - /** @var ChannelInterface|ObjectProphecy $channel */ - $channel = $this->prophesize(ChannelInterface::class); - /** @var UserInterface|ObjectProphecy $user */ - $user = $this->prophesize(UserInterface::class); - - $channel->isAccountVerificationRequired()->willReturn(false); - $channel->getHostname()->willReturn('example.com'); - - $user->getUsername()->willReturn('username'); - $user->getEmailVerificationToken()->willReturn('token'); - - $channelRepository->findOneByCode('CHANNEL_CODE')->willReturn($channel->reveal()); - $userRepository->findOneByEmail('user@example.com')->willReturn($user->reveal()); - - $sendAccountRegistrationEmailHandler = new SendAccountRegistrationEmailHandler( - $userRepository->reveal(), - $channelRepository->reveal(), - $emailSender, - ); - - $sendAccountRegistrationEmailHandler( - new SendAccountRegistrationEmail( - 'user@example.com', - 'en_US', - 'CHANNEL_CODE', - ), - ); - - self::assertSpooledMessagesCountWithRecipient(1, 'user@example.com'); - self::assertSpooledMessageWithContentHasRecipient( - $translator->trans('sylius.email.user_registration.start_shopping', [], null, 'en_US'), - 'user@example.com', - ); - } - - private function isItSwiftmailerTestEnv(): bool - { - $env = self::getContainer()->getParameter('kernel.environment'); - - return $env === 'test_with_swiftmailer'; - } } diff --git a/src/Sylius/Bundle/ApiBundle/Tests/CommandHandler/SendAccountVerificationEmailHandlerTest.php b/src/Sylius/Bundle/ApiBundle/Tests/CommandHandler/SendAccountVerificationEmailHandlerTest.php index d95e900e07..afe39c0959 100644 --- a/src/Sylius/Bundle/ApiBundle/Tests/CommandHandler/SendAccountVerificationEmailHandlerTest.php +++ b/src/Sylius/Bundle/ApiBundle/Tests/CommandHandler/SendAccountVerificationEmailHandlerTest.php @@ -33,10 +33,6 @@ final class SendAccountVerificationEmailHandlerTest extends KernelTestCase /** @test */ public function it_sends_account_verification_token_email(): void { - if ($this->isItSwiftmailerTestEnv()) { - $this->markTestSkipped('Test is relevant only for the environment without swiftmailer'); - } - $container = self::getContainer(); /** @var TranslatorInterface $translator */ @@ -81,11 +77,4 @@ final class SendAccountVerificationEmailHandlerTest extends KernelTestCase $translator->trans('sylius.email.verification_token.message', [], null, 'en_US'), ); } - - private function isItSwiftmailerTestEnv(): bool - { - $env = self::getContainer()->getParameter('kernel.environment'); - - return $env === 'test_with_swiftmailer'; - } } diff --git a/src/Sylius/Bundle/ApiBundle/Tests/CommandHandler/SendContactRequestHandlerTest.php b/src/Sylius/Bundle/ApiBundle/Tests/CommandHandler/SendContactRequestHandlerTest.php index f63e347593..8f71931a63 100644 --- a/src/Sylius/Bundle/ApiBundle/Tests/CommandHandler/SendContactRequestHandlerTest.php +++ b/src/Sylius/Bundle/ApiBundle/Tests/CommandHandler/SendContactRequestHandlerTest.php @@ -31,10 +31,6 @@ final class SendContactRequestHandlerTest extends KernelTestCase /** @test */ public function it_sends_contact_request(): void { - if ($this->isItSwiftmailerTestEnv()) { - $this->markTestSkipped('Test is relevant only for the environment without swiftmailer'); - } - $container = self::getContainer(); /** @var TranslatorInterface $translator */ @@ -68,11 +64,4 @@ final class SendContactRequestHandlerTest extends KernelTestCase self::assertEmailAddressContains($email, 'To', 'shop@example.com'); self::assertEmailHtmlBodyContains($email, $translator->trans('sylius.email.contact_request.content', [], null, 'en_US')); } - - private function isItSwiftmailerTestEnv(): bool - { - $env = self::getContainer()->getParameter('kernel.environment'); - - return $env === 'test_with_swiftmailer'; - } } diff --git a/src/Sylius/Bundle/ApiBundle/Tests/CommandHandler/SendOrderConfirmationEmailHandlerTest.php b/src/Sylius/Bundle/ApiBundle/Tests/CommandHandler/SendOrderConfirmationEmailHandlerTest.php index 224454c019..cd391103e7 100644 --- a/src/Sylius/Bundle/ApiBundle/Tests/CommandHandler/SendOrderConfirmationEmailHandlerTest.php +++ b/src/Sylius/Bundle/ApiBundle/Tests/CommandHandler/SendOrderConfirmationEmailHandlerTest.php @@ -32,10 +32,6 @@ final class SendOrderConfirmationEmailHandlerTest extends KernelTestCase /** @test */ public function it_sends_order_confirmation_email(): void { - if ($this->isItSwiftmailerTestEnv()) { - $this->markTestSkipped('Test is relevant only for the environment without swiftmailer'); - } - $container = self::bootKernel()->getContainer(); $emailSender = $container->get('sylius.email_sender'); @@ -70,11 +66,4 @@ final class SendOrderConfirmationEmailHandlerTest extends KernelTestCase $this->assertEmailAddressContains($email, 'To', 'johnny.bravo@email.com'); $this->assertEmailHtmlBodyContains($email, '#000001'); } - - private function isItSwiftmailerTestEnv(): bool - { - $env = $this->getContainer()->getParameter('kernel.environment'); - - return $env === 'test_with_swiftmailer'; - } } diff --git a/src/Sylius/Bundle/ApiBundle/Tests/CommandHandler/SendResetPasswordEmailHandlerTest.php b/src/Sylius/Bundle/ApiBundle/Tests/CommandHandler/SendResetPasswordEmailHandlerTest.php index 5cc8c19925..94245e9d20 100644 --- a/src/Sylius/Bundle/ApiBundle/Tests/CommandHandler/SendResetPasswordEmailHandlerTest.php +++ b/src/Sylius/Bundle/ApiBundle/Tests/CommandHandler/SendResetPasswordEmailHandlerTest.php @@ -33,10 +33,6 @@ final class SendResetPasswordEmailHandlerTest extends KernelTestCase /** @test */ public function it_sends_password_reset_token_email(): void { - if ($this->isItSwiftmailerTestEnv()) { - $this->markTestSkipped('Test is relevant only for the environment without swiftmailer'); - } - $container = self::getContainer(); /** @var TranslatorInterface $translator */ @@ -79,11 +75,4 @@ final class SendResetPasswordEmailHandlerTest extends KernelTestCase $translator->trans('sylius.email.password_reset.to_reset_your_password_token', [], null, 'en_US'), ); } - - private function isItSwiftmailerTestEnv(): bool - { - $env = self::getContainer()->getParameter('kernel.environment'); - - return $env === 'test_with_swiftmailer'; - } } diff --git a/src/Sylius/Bundle/ApiBundle/Tests/DependencyInjection/Compiler/SyliusPriceHistoryLegacyAliasesPassTest.php b/src/Sylius/Bundle/ApiBundle/Tests/DependencyInjection/Compiler/SyliusPriceHistoryLegacyAliasesPassTest.php deleted file mode 100644 index 1ca92d0469..0000000000 --- a/src/Sylius/Bundle/ApiBundle/Tests/DependencyInjection/Compiler/SyliusPriceHistoryLegacyAliasesPassTest.php +++ /dev/null @@ -1,43 +0,0 @@ -register('Sylius\Bundle\ApiBundle\Serializer\ChannelDenormalizer'); - $container->register('Sylius\Bundle\ApiBundle\Validator\ResourceApiInputDataPropertiesValidatorInterface'); - - $this->process($container); - - $this->assertHasAlias($container, 'Sylius\PriceHistoryPlugin\Infrastructure\Serializer\ChannelDenormalizer'); - $this->assertHasAlias($container, 'Sylius\PriceHistoryPlugin\Application\Validator\ResourceInputDataPropertiesValidatorInterface'); - } - - private function assertHasAlias(ContainerBuilder $container, string $alias): void - { - $this->assertTrue($container->hasAlias($alias), 'Expected to find alias ' . $alias); - } - - private function process(ContainerBuilder $container): void - { - (new SyliusPriceHistoryLegacyAliasesPass())->process($container); - } -} diff --git a/src/Sylius/Bundle/ApiBundle/Tests/MessageHandler/Admin/SendResetPasswordEmailHandlerTest.php b/src/Sylius/Bundle/ApiBundle/Tests/MessageHandler/Admin/SendResetPasswordEmailHandlerTest.php index be39846a29..bf2279f62a 100644 --- a/src/Sylius/Bundle/ApiBundle/Tests/MessageHandler/Admin/SendResetPasswordEmailHandlerTest.php +++ b/src/Sylius/Bundle/ApiBundle/Tests/MessageHandler/Admin/SendResetPasswordEmailHandlerTest.php @@ -29,10 +29,6 @@ final class SendResetPasswordEmailHandlerTest extends KernelTestCase /** @test */ public function it_sends_password_reset_token_email(): void { - if ($this->isItSwiftmailerTestEnv()) { - $this->markTestSkipped('Test is relevant only for the environment without swiftmailer'); - } - $container = self::getContainer(); /** @var TranslatorInterface $translator */ @@ -66,11 +62,4 @@ final class SendResetPasswordEmailHandlerTest extends KernelTestCase $translator->trans('sylius.email.admin_password_reset.to_reset_your_password_token', [], null, 'en_US'), ); } - - private function isItSwiftmailerTestEnv(): bool - { - $env = self::getContainer()->getParameter('kernel.environment'); - - return $env === 'test_with_swiftmailer'; - } } diff --git a/src/Sylius/Bundle/ApiBundle/composer.json b/src/Sylius/Bundle/ApiBundle/composer.json index 95d6b521f1..dacdbffba9 100644 --- a/src/Sylius/Bundle/ApiBundle/composer.json +++ b/src/Sylius/Bundle/ApiBundle/composer.json @@ -23,13 +23,13 @@ } ], "require": { - "php": "^8.0", + "php": "^8.2", "doctrine/dbal": "^3.0", "api-platform/core": "^2.7.10", "enshrined/svg-sanitize": "^0.16", "lexik/jwt-authentication-bundle": "^2.11", - "sylius/core-bundle": "^1.12", - "symfony/messenger": "^5.4.21 || ^6.0" + "sylius/core-bundle": "^2.0", + "symfony/messenger": "^6.3.4" }, "require-dev": { "ext-sqlite3": "*", @@ -40,16 +40,15 @@ "phpspec/phpspec": "^7.2", "phpspec/prophecy-phpunit": "^2.0", "phpunit/phpunit": "^9.5", - "symfony/browser-kit": "^5.4.21 || ^6.0", - "symfony/debug-bundle": "^5.4.21 || ^6.0", - "symfony/dotenv": "^5.4.21 || ^6.0", - "symfony/webpack-encore-bundle": "^1.15", + "symfony/browser-kit": "^6.3.2", + "symfony/debug-bundle": "^6.3.2", + "symfony/dotenv": "^6.3.0", + "symfony/webpack-encore-bundle": "^1.17.1", "theofidry/alice-data-fixtures": "^1.4" }, "conflict": { "doctrine/doctrine-bundle": "2.3.0", - "lexik/jwt-authentication-bundle": "^2.18", - "symfony/doctrine-bridge": "4.4.20 || 5.2.4 || 5.2.5" + "lexik/jwt-authentication-bundle": "^2.18" }, "config": { "allow-plugins": { @@ -58,7 +57,7 @@ }, "extra": { "branch-alias": { - "dev-master": "1.12-dev" + "dev-main": "2.0-dev" } }, "autoload": { diff --git a/src/Sylius/Bundle/ApiBundle/spec/CommandHandler/Account/RequestResetPasswordTokenHandlerSpec.php b/src/Sylius/Bundle/ApiBundle/spec/CommandHandler/Account/RequestResetPasswordTokenHandlerSpec.php index 5f65d18538..41bda61eed 100644 --- a/src/Sylius/Bundle/ApiBundle/spec/CommandHandler/Account/RequestResetPasswordTokenHandlerSpec.php +++ b/src/Sylius/Bundle/ApiBundle/spec/CommandHandler/Account/RequestResetPasswordTokenHandlerSpec.php @@ -17,10 +17,10 @@ use PhpSpec\ObjectBehavior; use Prophecy\Argument; use Sylius\Bundle\ApiBundle\Command\Account\RequestResetPasswordToken; use Sylius\Bundle\ApiBundle\Command\Account\SendResetPasswordEmail; -use Sylius\Calendar\Provider\DateTimeProviderInterface; use Sylius\Component\Core\Model\ShopUserInterface; use Sylius\Component\User\Repository\UserRepositoryInterface; use Sylius\Component\User\Security\Generator\GeneratorInterface; +use Symfony\Component\Clock\ClockInterface; use Symfony\Component\Messenger\Envelope; use Symfony\Component\Messenger\Handler\MessageHandlerInterface; use Symfony\Component\Messenger\MessageBusInterface; @@ -32,9 +32,9 @@ final class RequestResetPasswordTokenHandlerSpec extends ObjectBehavior UserRepositoryInterface $userRepository, MessageBusInterface $messageBus, GeneratorInterface $generator, - DateTimeProviderInterface $dateTimeProvider, + ClockInterface $clock, ): void { - $this->beConstructedWith($userRepository, $messageBus, $generator, $dateTimeProvider); + $this->beConstructedWith($userRepository, $messageBus, $generator, $clock); } function it_is_a_message_handler(): void @@ -46,15 +46,15 @@ final class RequestResetPasswordTokenHandlerSpec extends ObjectBehavior UserRepositoryInterface $userRepository, ShopUserInterface $shopUser, GeneratorInterface $generator, - DateTimeProviderInterface $dateTimeProvider, + ClockInterface $clock, MessageBusInterface $messageBus, ): void { $userRepository->findOneByEmail('test@email.com')->willReturn($shopUser); - $dateTimeProvider->now()->willReturn(new \DateTime()); + $clock->now()->willReturn(new \DateTimeImmutable()); $generator->generate()->willReturn('TOKEN'); $shopUser->setPasswordResetToken('TOKEN')->shouldBeCalled(); - $shopUser->setPasswordRequestedAt(Argument::type(\DateTime::class)); + $shopUser->setPasswordRequestedAt(Argument::type(\DateTimeImmutable::class)); $sendResetPasswordEmail = new SendResetPasswordEmail('test@email.com', 'WEB', 'en_US'); diff --git a/src/Sylius/Bundle/ApiBundle/spec/CommandHandler/Account/VerifyCustomerAccountHandlerSpec.php b/src/Sylius/Bundle/ApiBundle/spec/CommandHandler/Account/VerifyCustomerAccountHandlerSpec.php index f4f868d433..8c9615075e 100644 --- a/src/Sylius/Bundle/ApiBundle/spec/CommandHandler/Account/VerifyCustomerAccountHandlerSpec.php +++ b/src/Sylius/Bundle/ApiBundle/spec/CommandHandler/Account/VerifyCustomerAccountHandlerSpec.php @@ -17,9 +17,9 @@ use PhpSpec\ObjectBehavior; use Prophecy\Argument; use Sylius\Bundle\ApiBundle\Command\Account\SendAccountRegistrationEmail; use Sylius\Bundle\ApiBundle\Command\Account\VerifyCustomerAccount; -use Sylius\Calendar\Provider\DateTimeProviderInterface; use Sylius\Component\Resource\Repository\RepositoryInterface; use Sylius\Component\User\Model\UserInterface; +use Symfony\Component\Clock\ClockInterface; use Symfony\Component\Messenger\Envelope; use Symfony\Component\Messenger\Handler\MessageHandlerInterface; use Symfony\Component\Messenger\MessageBusInterface; @@ -29,10 +29,10 @@ final class VerifyCustomerAccountHandlerSpec extends ObjectBehavior { function let( RepositoryInterface $shopUserRepository, - DateTimeProviderInterface $dateTimeProvider, + ClockInterface $clock, MessageBusInterface $commandBus, ): void { - $this->beConstructedWith($shopUserRepository, $dateTimeProvider, $commandBus); + $this->beConstructedWith($shopUserRepository, $clock, $commandBus); } function it_is_a_message_handler(): void @@ -42,15 +42,15 @@ final class VerifyCustomerAccountHandlerSpec extends ObjectBehavior function it_verifies_shop_user( RepositoryInterface $shopUserRepository, - DateTimeProviderInterface $dateTimeProvider, + ClockInterface $clock, UserInterface $user, MessageBusInterface $commandBus, ): void { $shopUserRepository->findOneBy(['emailVerificationToken' => 'ToKeN'])->willReturn($user); - $dateTimeProvider->now()->willReturn(new \DateTime()); + $clock->now()->willReturn(new \DateTimeImmutable()); $user->getEmail()->willReturn('shop@example.com'); - $user->setVerifiedAt(Argument::type(\DateTime::class))->shouldBeCalled(); + $user->setVerifiedAt(Argument::type(\DateTimeImmutable::class))->shouldBeCalled(); $user->setEmailVerificationToken(null)->shouldBeCalled(); $user->enable()->shouldBeCalled(); diff --git a/src/Sylius/Bundle/ApiBundle/spec/CommandHandler/Checkout/ChooseShippingMethodHandlerSpec.php b/src/Sylius/Bundle/ApiBundle/spec/CommandHandler/Checkout/ChooseShippingMethodHandlerSpec.php index 7e2f3665d8..c36ef688ad 100644 --- a/src/Sylius/Bundle/ApiBundle/spec/CommandHandler/Checkout/ChooseShippingMethodHandlerSpec.php +++ b/src/Sylius/Bundle/ApiBundle/spec/CommandHandler/Checkout/ChooseShippingMethodHandlerSpec.php @@ -26,7 +26,7 @@ use Sylius\Component\Core\OrderCheckoutTransitions; use Sylius\Component\Core\Repository\OrderRepositoryInterface; use Sylius\Component\Core\Repository\ShipmentRepositoryInterface; use Sylius\Component\Core\Repository\ShippingMethodRepositoryInterface; -use Sylius\Component\Shipping\Checker\ShippingMethodEligibilityCheckerInterface; +use Sylius\Component\Shipping\Checker\Eligibility\ShippingMethodEligibilityCheckerInterface; final class ChooseShippingMethodHandlerSpec extends ObjectBehavior { diff --git a/src/Sylius/Bundle/ApiBundle/spec/Serializer/CustomerDenormalizerSpec.php b/src/Sylius/Bundle/ApiBundle/spec/Serializer/CustomerDenormalizerSpec.php index 3484d8160f..b5683724ce 100644 --- a/src/Sylius/Bundle/ApiBundle/spec/Serializer/CustomerDenormalizerSpec.php +++ b/src/Sylius/Bundle/ApiBundle/spec/Serializer/CustomerDenormalizerSpec.php @@ -14,17 +14,17 @@ declare(strict_types=1); namespace spec\Sylius\Bundle\ApiBundle\Serializer; use PhpSpec\ObjectBehavior; -use Sylius\Calendar\Provider\DateTimeProviderInterface; use Sylius\Component\Customer\Model\CustomerInterface; +use Symfony\Component\Clock\ClockInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; final class CustomerDenormalizerSpec extends ObjectBehavior { private const ALREADY_CALLED = 'sylius_customer_denormalizer_already_called'; - function let(DateTimeProviderInterface $calendar): void + function let(ClockInterface $clock): void { - $this->beConstructedWith($calendar); + $this->beConstructedWith($clock); } function it_does_not_support_denormalization_when_the_denormalizer_has_already_been_called(): void @@ -44,7 +44,7 @@ final class CustomerDenormalizerSpec extends ObjectBehavior function it_does_nothing_if_user_verified_is_not_set( DenormalizerInterface $denormalizer, - DateTimeProviderInterface $calendar, + ClockInterface $clock, CustomerInterface $customer, ): void { $this->setDenormalizer($denormalizer); @@ -52,12 +52,12 @@ final class CustomerDenormalizerSpec extends ObjectBehavior $this->denormalize([], CustomerInterface::class)->shouldReturn($customer); - $calendar->now()->shouldNotHaveBeenCalled(); + $clock->now()->shouldNotHaveBeenCalled(); } public function it_changes_user_verified_from_false_to_null( DenormalizerInterface $denormalizer, - DateTimeProviderInterface $calendar, + ClockInterface $clock, CustomerInterface $customer, ): void { $this->setDenormalizer($denormalizer); @@ -65,18 +65,18 @@ final class CustomerDenormalizerSpec extends ObjectBehavior $this->denormalize(['user' => ['verified' => false]], CustomerInterface::class)->shouldReturn($customer); - $calendar->now()->shouldNotHaveBeenCalled(); + $clock->now()->shouldNotHaveBeenCalled(); } public function it_changes_user_verified_from_true_to_datetime( DenormalizerInterface $denormalizer, - DateTimeProviderInterface $calendar, + ClockInterface $clock, CustomerInterface $customer, ): void { $this->setDenormalizer($denormalizer); - $dateTime = new \DateTime('2021-01-01T00:00:00+00:00'); - $calendar->now()->willReturn($dateTime); + $dateTime = new \DateTimeImmutable('2021-01-01T00:00:00+00:00'); + $clock->now()->willReturn($dateTime); $denormalizer->denormalize(['user' => ['verified' => '2021-01-01T00:00:00+00:00']], CustomerInterface::class, null, [self::ALREADY_CALLED => true])->willReturn($customer); $this->denormalize(['user' => ['verified' => true]], CustomerInterface::class)->shouldReturn($customer); diff --git a/src/Sylius/Bundle/AttributeBundle/DependencyInjection/Configuration.php b/src/Sylius/Bundle/AttributeBundle/DependencyInjection/Configuration.php index b3726e4458..9ca1b94928 100644 --- a/src/Sylius/Bundle/AttributeBundle/DependencyInjection/Configuration.php +++ b/src/Sylius/Bundle/AttributeBundle/DependencyInjection/Configuration.php @@ -13,6 +13,9 @@ declare(strict_types=1); namespace Sylius\Bundle\AttributeBundle\DependencyInjection; +use Sylius\Bundle\AttributeBundle\Doctrine\ORM\AttributeRepository; +use Sylius\Bundle\AttributeBundle\Doctrine\ORM\AttributeTranslationRepository; +use Sylius\Bundle\AttributeBundle\Doctrine\ORM\AttributeValueRepository; use Sylius\Bundle\ResourceBundle\Controller\ResourceController; use Sylius\Bundle\ResourceBundle\SyliusResourceBundle; use Sylius\Component\Attribute\Model\Attribute; @@ -64,7 +67,7 @@ final class Configuration implements ConfigurationInterface ->scalarNode('model')->defaultValue(Attribute::class)->cannotBeEmpty()->end() ->scalarNode('interface')->defaultValue(AttributeInterface::class)->cannotBeEmpty()->end() ->scalarNode('controller')->cannotBeEmpty()->end() - ->scalarNode('repository')->cannotBeEmpty()->end() + ->scalarNode('repository')->defaultValue(AttributeRepository::class)->cannotBeEmpty()->end() ->scalarNode('factory')->defaultValue(TranslatableFactory::class)->end() ->scalarNode('form')->cannotBeEmpty()->end() ->end() @@ -79,7 +82,7 @@ final class Configuration implements ConfigurationInterface ->scalarNode('model')->defaultValue(AttributeTranslation::class)->cannotBeEmpty()->end() ->scalarNode('interface')->defaultValue(AttributeTranslationInterface::class)->cannotBeEmpty()->end() ->scalarNode('controller')->defaultValue(ResourceController::class)->cannotBeEmpty()->end() - ->scalarNode('repository')->cannotBeEmpty()->end() + ->scalarNode('repository')->defaultValue(AttributeTranslationRepository::class)->cannotBeEmpty()->end() ->scalarNode('factory')->defaultValue(Factory::class)->end() ->scalarNode('form')->cannotBeEmpty()->end() ->end() @@ -99,7 +102,7 @@ final class Configuration implements ConfigurationInterface ->scalarNode('model')->isRequired()->cannotBeEmpty()->end() ->scalarNode('interface')->isRequired()->cannotBeEmpty()->end() ->scalarNode('controller')->defaultValue(ResourceController::class)->cannotBeEmpty()->end() - ->scalarNode('repository')->cannotBeEmpty()->end() + ->scalarNode('repository')->defaultValue(AttributeValueRepository::class)->cannotBeEmpty()->end() ->scalarNode('factory')->defaultValue(Factory::class)->end() ->scalarNode('form')->cannotBeEmpty()->end() ->end() diff --git a/src/Sylius/Bundle/AttributeBundle/Doctrine/ORM/AttributeRepository.php b/src/Sylius/Bundle/AttributeBundle/Doctrine/ORM/AttributeRepository.php new file mode 100644 index 0000000000..777acea5f9 --- /dev/null +++ b/src/Sylius/Bundle/AttributeBundle/Doctrine/ORM/AttributeRepository.php @@ -0,0 +1,25 @@ + + */ +class AttributeRepository extends EntityRepository implements AttributeRepositoryInterface +{ +} diff --git a/src/Sylius/Bundle/AttributeBundle/Doctrine/ORM/AttributeTranslationRepository.php b/src/Sylius/Bundle/AttributeBundle/Doctrine/ORM/AttributeTranslationRepository.php new file mode 100644 index 0000000000..2e5a784daa --- /dev/null +++ b/src/Sylius/Bundle/AttributeBundle/Doctrine/ORM/AttributeTranslationRepository.php @@ -0,0 +1,25 @@ + + */ +class AttributeTranslationRepository extends EntityRepository implements AttributeTranslationRepositoryInterface +{ +} diff --git a/src/Sylius/Bundle/AttributeBundle/Doctrine/ORM/AttributeValueRepository.php b/src/Sylius/Bundle/AttributeBundle/Doctrine/ORM/AttributeValueRepository.php new file mode 100644 index 0000000000..9107746446 --- /dev/null +++ b/src/Sylius/Bundle/AttributeBundle/Doctrine/ORM/AttributeValueRepository.php @@ -0,0 +1,25 @@ + + */ +class AttributeValueRepository extends EntityRepository implements AttributeValueRepositoryInterface +{ +} diff --git a/src/Sylius/Bundle/AttributeBundle/Form/Type/AttributeType/Configuration/SelectAttributeChoicesCollectionType.php b/src/Sylius/Bundle/AttributeBundle/Form/Type/AttributeType/Configuration/SelectAttributeChoicesCollectionType.php index d9b7ea1a10..680444a4a2 100644 --- a/src/Sylius/Bundle/AttributeBundle/Form/Type/AttributeType/Configuration/SelectAttributeChoicesCollectionType.php +++ b/src/Sylius/Bundle/AttributeBundle/Form/Type/AttributeType/Configuration/SelectAttributeChoicesCollectionType.php @@ -14,7 +14,6 @@ declare(strict_types=1); namespace Sylius\Bundle\AttributeBundle\Form\Type\AttributeType\Configuration; use Ramsey\Uuid\Uuid; -use Sylius\Component\Resource\Translation\Provider\TranslationLocaleProviderInterface; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\CollectionType; use Symfony\Component\Form\FormBuilderInterface; @@ -23,23 +22,6 @@ use Symfony\Component\Form\FormEvents; class SelectAttributeChoicesCollectionType extends AbstractType { - private ?string $defaultLocaleCode = null; - - public function __construct(?TranslationLocaleProviderInterface $localeProvider = null) - { - if (null !== $localeProvider) { - trigger_deprecation( - 'sylius/attribute-bundle', - '1.13', - 'Passing an instance of %s as a constructor argument for %s is deprecated and will not be possible in Sylius 2.0.', - TranslationLocaleProviderInterface::class, - self::class, - ); - - $this->defaultLocaleCode = $localeProvider->getDefaultLocaleCode(); - } - } - public function buildForm(FormBuilderInterface $builder, array $options): void { $builder->addEventListener(FormEvents::SUBMIT, function (FormEvent $event) { @@ -55,10 +37,6 @@ class SelectAttributeChoicesCollectionType extends AbstractType continue; } - if ($this->defaultLocaleCode !== null && !array_key_exists($this->defaultLocaleCode, $values)) { - continue; - } - $key = (string) $key; $newKey = $this->getUniqueKey(); $fixedData[$newKey] = $this->resolveValues($values); diff --git a/src/Sylius/Bundle/AttributeBundle/composer.json b/src/Sylius/Bundle/AttributeBundle/composer.json index 16dc291de9..3e452af032 100644 --- a/src/Sylius/Bundle/AttributeBundle/composer.json +++ b/src/Sylius/Bundle/AttributeBundle/composer.json @@ -26,12 +26,12 @@ } ], "require": { - "php": "^8.0", + "php": "^8.2", "ramsey/uuid": "^4.0", "stof/doctrine-extensions-bundle": "^1.4", - "sylius/attribute": "^1.12", - "sylius/resource-bundle": "^1.9", - "symfony/framework-bundle": "^5.4.21 || ^6.0" + "sylius/attribute": "^2.0", + "sylius/resource-bundle": "^1.10", + "symfony/framework-bundle": "^6.3.4" }, "require-dev": { "doctrine/orm": "^2.13", @@ -39,9 +39,9 @@ "phpspec/phpspec": "^7.2", "phpspec/prophecy-phpunit": "^2.0", "phpunit/phpunit": "^9.5", - "symfony/browser-kit": "^5.4.21 || ^6.0", - "symfony/dependency-injection": "^5.4.21 || ^6.0", - "symfony/form": "^5.4.21 || ^6.0" + "symfony/browser-kit": "^6.3.2", + "symfony/dependency-injection": "^6.3.4", + "symfony/form": "^6.3.2" }, "conflict": { "doctrine/orm": ">= 2.16.0", @@ -54,7 +54,7 @@ }, "extra": { "branch-alias": { - "dev-master": "1.12-dev" + "dev-main": "2.0-dev" } }, "autoload": { diff --git a/src/Sylius/Bundle/ChannelBundle/composer.json b/src/Sylius/Bundle/ChannelBundle/composer.json index ee7c6ae698..503dbce7db 100644 --- a/src/Sylius/Bundle/ChannelBundle/composer.json +++ b/src/Sylius/Bundle/ChannelBundle/composer.json @@ -25,10 +25,10 @@ } ], "require": { - "php": "^8.0", - "sylius/channel": "^1.12", - "sylius/resource-bundle": "^1.9", - "symfony/framework-bundle": "^5.4.21 || ^6.0" + "php": "^8.2", + "sylius/channel": "^2.0", + "sylius/resource-bundle": "^1.10", + "symfony/framework-bundle": "^6.3.4" }, "require-dev": { "doctrine/orm": "^2.13", @@ -36,9 +36,9 @@ "phpspec/phpspec": "^7.2", "phpunit/phpunit": "^9.5", "polishsymfonycommunity/symfony-mocker-container": "^1.0", - "symfony/browser-kit": "^5.4.21 || ^6.0", - "symfony/dependency-injection": "^5.4.21 || ^6.0", - "symfony/form": "^5.4.21 || ^6.0", + "symfony/browser-kit": "^6.3.2", + "symfony/dependency-injection": "^6.3.4", + "symfony/form": "^6.3.2", "twig/twig": "^2.12 || ^3.3" }, "conflict": { @@ -51,7 +51,7 @@ }, "extra": { "branch-alias": { - "dev-master": "1.12-dev" + "dev-main": "2.0-dev" } }, "autoload": { diff --git a/src/Sylius/Bundle/CoreBundle/Application/Kernel.php b/src/Sylius/Bundle/CoreBundle/Application/Kernel.php deleted file mode 100644 index 4aef9e62d0..0000000000 --- a/src/Sylius/Bundle/CoreBundle/Application/Kernel.php +++ /dev/null @@ -1,60 +0,0 @@ -getStartDate() > $this->dateTimeProvider->now()) { + if ($catalogPromotion->getStartDate() > $this->clock->now()) { $this->eventBus->dispatch(new CatalogPromotionUpdated($catalogPromotion->getCode()), []); } @@ -57,7 +57,7 @@ final class CatalogPromotionAnnouncer implements CatalogPromotionAnnouncerInterf private function calculateStartDateStamp(CatalogPromotionInterface $catalogPromotion): array { if ($catalogPromotion->getStartDate() !== null) { - return [$this->delayStampCalculator->calculate($this->dateTimeProvider->now(), $catalogPromotion->getStartDate())]; + return [$this->delayStampCalculator->calculate($this->clock->now(), $catalogPromotion->getStartDate())]; } return []; @@ -68,7 +68,7 @@ final class CatalogPromotionAnnouncer implements CatalogPromotionAnnouncerInterf if ($catalogPromotion->getEndDate() !== null) { $this->eventBus->dispatch( new CatalogPromotionEnded($catalogPromotion->getCode()), - [$this->delayStampCalculator->calculate($this->dateTimeProvider->now(), $catalogPromotion->getEndDate())], + [$this->delayStampCalculator->calculate($this->clock->now(), $catalogPromotion->getEndDate())], ); } } diff --git a/src/Sylius/Bundle/CoreBundle/CatalogPromotion/Command/RemoveInactiveCatalogPromotion.php b/src/Sylius/Bundle/CoreBundle/CatalogPromotion/Command/RemoveInactiveCatalogPromotion.php deleted file mode 100644 index 25882bb250..0000000000 --- a/src/Sylius/Bundle/CoreBundle/CatalogPromotion/Command/RemoveInactiveCatalogPromotion.php +++ /dev/null @@ -1,29 +0,0 @@ -catalogPromotionRepository->findOneBy(['code' => $command->code]); - - if (null === $catalogPromotion) { - return; - } - - if ($catalogPromotion->getState() !== CatalogPromotionStates::STATE_INACTIVE) { - throw new InvalidCatalogPromotionStateException( - sprintf( - 'Catalog promotion with code "%s" cannot be removed as it is not in an inactive state.', - $catalogPromotion->getCode(), - ), - ); - } - - $this->entityManager->remove($catalogPromotion); - } -} diff --git a/src/Sylius/Bundle/CoreBundle/CatalogPromotion/Processor/CatalogPromotionRemovalProcessor.php b/src/Sylius/Bundle/CoreBundle/CatalogPromotion/Processor/CatalogPromotionRemovalProcessor.php index 5da2786ab0..ee324ed1cb 100644 --- a/src/Sylius/Bundle/CoreBundle/CatalogPromotion/Processor/CatalogPromotionRemovalProcessor.php +++ b/src/Sylius/Bundle/CoreBundle/CatalogPromotion/Processor/CatalogPromotionRemovalProcessor.php @@ -13,44 +13,19 @@ declare(strict_types=1); namespace Sylius\Bundle\CoreBundle\CatalogPromotion\Processor; -use Sylius\Bundle\CoreBundle\CatalogPromotion\Announcer\CatalogPromotionRemovalAnnouncer; use Sylius\Bundle\CoreBundle\CatalogPromotion\Announcer\CatalogPromotionRemovalAnnouncerInterface; use Sylius\Component\Core\Model\CatalogPromotionInterface; use Sylius\Component\Promotion\Exception\CatalogPromotionNotFoundException; use Sylius\Component\Promotion\Exception\InvalidCatalogPromotionStateException; use Sylius\Component\Promotion\Model\CatalogPromotionStates; use Sylius\Component\Promotion\Repository\CatalogPromotionRepositoryInterface; -use Symfony\Component\Messenger\MessageBusInterface; final class CatalogPromotionRemovalProcessor implements CatalogPromotionRemovalProcessorInterface { public function __construct( private CatalogPromotionRepositoryInterface $catalogPromotionRepository, - /** @var CatalogPromotionRemovalAnnouncerInterface $catalogPromotionRemovalAnnouncer */ - private CatalogPromotionRemovalAnnouncerInterface|MessageBusInterface $catalogPromotionRemovalAnnouncer, - private ?MessageBusInterface $eventBus = null, /** @phpstan-ignore-line */ + private CatalogPromotionRemovalAnnouncerInterface $catalogPromotionRemovalAnnouncer, ) { - if ($catalogPromotionRemovalAnnouncer instanceof MessageBusInterface) { - trigger_deprecation( - 'sylius/core-bundle', - '1.13', - 'Passing an instance of %s as second constructor argument for %s is deprecated and will be removed in Sylius 2.0. Pass an instance of %s instead.', - MessageBusInterface::class, - self::class, - CatalogPromotionRemovalAnnouncerInterface::class, - ); - - $this->catalogPromotionRemovalAnnouncer = new CatalogPromotionRemovalAnnouncer($catalogPromotionRemovalAnnouncer); - } - - if (null !== $eventBus) { - trigger_deprecation( - 'sylius/core-bundle', - '1.13', - 'Passing third constructor argument for %s is deprecated and will be removed in Sylius 2.0.', - self::class, - ); - } } public function removeCatalogPromotion(string $catalogPromotionCode): void diff --git a/src/Sylius/Bundle/CoreBundle/Command/AbstractInstallCommand.php b/src/Sylius/Bundle/CoreBundle/Command/AbstractInstallCommand.php index f53034d2f3..67ba870066 100644 --- a/src/Sylius/Bundle/CoreBundle/Command/AbstractInstallCommand.php +++ b/src/Sylius/Bundle/CoreBundle/Command/AbstractInstallCommand.php @@ -24,18 +24,6 @@ use Symfony\Component\Console\Output\OutputInterface; abstract class AbstractInstallCommand extends ContainerAwareCommand { - /** @deprecated */ - public const WEB_ASSETS_DIRECTORY = 'web/assets/'; - - /** @deprecated */ - public const WEB_BUNDLES_DIRECTORY = 'web/bundles/'; - - /** @deprecated */ - public const WEB_MEDIA_DIRECTORY = 'web/media/'; - - /** @deprecated */ - public const WEB_MEDIA_IMAGE_DIRECTORY = 'web/media/image/'; - /** @var CommandExecutor|null */ protected $commandExecutor; diff --git a/src/Sylius/Bundle/CoreBundle/Controller/ProductTaxonController.php b/src/Sylius/Bundle/CoreBundle/Controller/ProductTaxonController.php index 3d35f5cd00..67235832f6 100644 --- a/src/Sylius/Bundle/CoreBundle/Controller/ProductTaxonController.php +++ b/src/Sylius/Bundle/CoreBundle/Controller/ProductTaxonController.php @@ -20,7 +20,6 @@ use Sylius\Component\Core\Model\ProductTaxonInterface; use Sylius\Component\Core\Positioner\PositionerInterface; use Sylius\Component\Resource\Repository\RepositoryInterface; use Sylius\Component\Resource\ResourceActions; -use Symfony\Component\HttpFoundation\JsonResponse; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\Session\Session; @@ -28,39 +27,6 @@ use Symfony\Component\HttpKernel\Exception\HttpException; class ProductTaxonController extends ResourceController { - /** - * @throws HttpException - * - * @deprecated This ajax action is deprecated and will be removed in Sylius 2.0 - use ProductTaxonController::updateProductTaxonsPositionsAction instead. - */ - public function updatePositionsAction(Request $request): Response - { - $configuration = $this->requestConfigurationFactory->create($this->metadata, $request); - $this->isGrantedOr403($configuration, ResourceActions::UPDATE); - $productTaxons = $this->getParameterFromRequest($request, 'productTaxons'); - $this->validateCsrfProtection($request, $configuration); - - if ($this->shouldProductsPositionsBeUpdated($request, $productTaxons)) { - /** @var array{position: string|int, id: int} $productTaxon */ - foreach ($productTaxons as $productTaxon) { - try { - $id = $productTaxon['id']; - $position = $productTaxon['position']; - - /** @var ProductTaxonInterface $productTaxonFromBase */ - $productTaxonFromBase = $this->repository->findOneBy(['id' => $id]); - $productTaxonFromBase->setPosition((int) $position); - } catch (\InvalidArgumentException $exception) { - throw new HttpException(Response::HTTP_BAD_REQUEST, $exception->getMessage()); - } - - $this->manager->flush(); - } - } - - return new JsonResponse(); - } - public function updateProductTaxonsPositionsAction(Request $request): Response { $configuration = $this->requestConfigurationFactory->create($this->metadata, $request); @@ -147,29 +113,6 @@ class ProductTaxonController extends ResourceController ; } - /** - * @return mixed - * - * @deprecated This function will be removed in Sylius 2.0, since Symfony 5.4, use explicit input sources instead - * based on Symfony\Component\HttpFoundation\Request::get - */ - private function getParameterFromRequest(Request $request, string $key) - { - if ($request !== $result = $request->attributes->get($key, $request)) { - return $result; - } - - if ($request->query->has($key)) { - return $request->query->all()[$key]; - } - - if ($request->request->has($key)) { - return $request->request->all()[$key]; - } - - return null; - } - private function getPositioner(): PositionerInterface { /** @var PositionerInterface $positioner */ diff --git a/src/Sylius/Bundle/CoreBundle/Controller/ProductVariantController.php b/src/Sylius/Bundle/CoreBundle/Controller/ProductVariantController.php index e00cca73dc..12d8010ab0 100644 --- a/src/Sylius/Bundle/CoreBundle/Controller/ProductVariantController.php +++ b/src/Sylius/Bundle/CoreBundle/Controller/ProductVariantController.php @@ -30,13 +30,13 @@ class ProductVariantController extends ResourceController { $configuration = $this->requestConfigurationFactory->create($this->metadata, $request); $this->isGrantedOr403($configuration, ResourceActions::UPDATE); - $productVariantsToUpdate = $this->getParameterFromRequest($request, 'productVariants'); + $productVariantsToUpdate = $request->request->all('productVariants'); if ($configuration->isCsrfProtectionEnabled() && !$this->isCsrfTokenValid('update-product-variant-position', (string) $request->request->get('_csrf_token'))) { throw new HttpException(Response::HTTP_FORBIDDEN, 'Invalid csrf token.'); } - if (in_array($request->getMethod(), ['POST', 'PUT', 'PATCH'], true) && null !== $productVariantsToUpdate) { + if (in_array($request->getMethod(), ['POST', 'PUT', 'PATCH'], true)) { foreach ($productVariantsToUpdate as $productVariantToUpdate) { if (!is_numeric($productVariantToUpdate['position'])) { throw new HttpException( @@ -54,27 +54,4 @@ class ProductVariantController extends ResourceController return new JsonResponse(); } - - /** - * @return mixed - * - * @deprecated This function will be removed in Sylius 2.0, since Symfony 5.4, use explicit input sources instead - * based on Symfony\Component\HttpFoundation\Request::get - */ - private function getParameterFromRequest(Request $request, string $key) - { - if ($request !== $result = $request->attributes->get($key, $request)) { - return $result; - } - - if ($request->query->has($key)) { - return $request->query->all()[$key]; - } - - if ($request->request->has($key)) { - return $request->request->all()[$key]; - } - - return null; - } } diff --git a/src/Sylius/Bundle/CoreBundle/DependencyInjection/Compiler/BackwardsCompatibility/CancelOrderStateMachineCallbackPass.php b/src/Sylius/Bundle/CoreBundle/DependencyInjection/Compiler/BackwardsCompatibility/CancelOrderStateMachineCallbackPass.php deleted file mode 100644 index 3089ff789f..0000000000 --- a/src/Sylius/Bundle/CoreBundle/DependencyInjection/Compiler/BackwardsCompatibility/CancelOrderStateMachineCallbackPass.php +++ /dev/null @@ -1,44 +0,0 @@ -hasParameter('sm.configs')) { - return; - } - - /** @var array $smConfigs */ - $smConfigs = $container->getParameter('sm.configs'); - - if (isset($smConfigs['sylius_order']['callbacks']['after']['sylis_cancel_order'])) { - trigger_deprecation( - 'sylius/core-bundle', - '1.11', - 'Callback "%s" was renamed to "%s". The old name will be removed in Sylius 2.0, use the new name to override it.', - 'winzou_state_machine.sylius_order.callbacks.after.sylis_cancel_order', - 'winzou_state_machine.sylius_order.callbacks.after.sylius_cancel_order', - ); - - $smConfigs['sylius_order']['callbacks']['after']['sylius_cancel_order'] = $smConfigs['sylius_order']['callbacks']['after']['sylis_cancel_order']; - unset($smConfigs['sylius_order']['callbacks']['after']['sylis_cancel_order']); - $container->setParameter('sm.configs', $smConfigs); - } - } -} diff --git a/src/Sylius/Bundle/CoreBundle/DependencyInjection/Compiler/SyliusPriceHistoryLegacyAliasesPass.php b/src/Sylius/Bundle/CoreBundle/DependencyInjection/Compiler/SyliusPriceHistoryLegacyAliasesPass.php deleted file mode 100644 index 6d2e306765..0000000000 --- a/src/Sylius/Bundle/CoreBundle/DependencyInjection/Compiler/SyliusPriceHistoryLegacyAliasesPass.php +++ /dev/null @@ -1,95 +0,0 @@ - 'Sylius\Component\Core\Checker\ProductVariantLowestPriceDisplayCheckerInterface', - 'Sylius\PriceHistoryPlugin\Application\CommandDispatcher' => 'Sylius\Bundle\CoreBundle\PriceHistory\CommandDispatcher', - 'Sylius\PriceHistoryPlugin\Application\CommandHandler' => 'Sylius\Bundle\CoreBundle\PriceHistory\CommandHandler', - 'Sylius\PriceHistoryPlugin\Application\Logger' => 'Sylius\Bundle\CoreBundle\PriceHistory\Logger', - 'Sylius\PriceHistoryPlugin\Application\Processor' => 'Sylius\Bundle\CoreBundle\PriceHistory\Processor', - 'Sylius\PriceHistoryPlugin\Application\Remover' => 'Sylius\Bundle\CoreBundle\PriceHistory\Remover', - 'Sylius\PriceHistoryPlugin\Application\Templating\Helper\PriceHelper' => 'sylius.templating.helper.price', - 'Sylius\PriceHistoryPlugin\Domain\Factory\ChannelFactory' => 'sylius.custom_factory.channel', - 'Sylius\PriceHistoryPlugin\Infrastructure\Cli\Command\ClearPriceHistoryCommand' => 'Sylius\Bundle\CoreBundle\PriceHistory\Cli\Command\ClearPriceHistoryCommand', - 'Sylius\PriceHistoryPlugin\Infrastructure\EntityObserver' => 'Sylius\Bundle\CoreBundle\PriceHistory\EntityObserver', - 'Sylius\PriceHistoryPlugin\Infrastructure\EventSubscriber' => 'Sylius\Bundle\CoreBundle\PriceHistory\EventSubscriber', - 'Sylius\PriceHistoryPlugin\Infrastructure\EventListener' => 'Sylius\Bundle\CoreBundle\PriceHistory\EventListener', - 'Sylius\PriceHistoryPlugin\Infrastructure\Form\Extension\ChannelTypeExtension' => 'sylius.form.extension.type.channel', - 'Sylius\PriceHistoryPlugin\Infrastructure\Form\Type\ChannelPriceHistoryConfigType' => 'sylius.form.type.channel_price_history_config', - 'Sylius\PriceHistoryPlugin\Infrastructure\Provider\ProductVariantsPricesProvider' => 'sylius.provider.product_variants_prices', - 'Sylius\PriceHistoryPlugin\Infrastructure\Twig\PriceExtension' => 'sylius.twig.extension.price', - 'sylius_price_history.controller.channel_price_history_config' => 'sylius.controller.channel_price_history_config', - 'sylius_price_history.controller.channel_pricing_log_entry' => 'sylius.controller.channel_pricing_log_entry', - 'sylius_price_history.factory.channel_price_history_config' => 'sylius.factory.channel_price_history_config', - 'sylius_price_history.factory.channel_pricing_log_entry' => 'sylius.factory.channel_pricing_log_entry', - 'sylius_price_history.form.type.channel_price_history_config' => 'sylius.form.type.channel_price_history_config', - 'sylius_price_history.form.type.channel_pricing_log_entry' => 'sylius.form.type.channel_pricing_log_entry', - 'sylius_price_history.manager.channel_price_history_config' => 'sylius.manager.channel_price_history_config', - 'sylius_price_history.manager.channel_pricing_log_entry' => 'sylius.manager.channel_pricing_log_entry', - 'sylius_price_history.repository.channel_price_history_config' => 'sylius.repository.channel_price_history_config', - 'sylius_price_history.repository.channel_pricing_log_entry' => 'sylius.repository.channel_pricing_log_entry', - ]; - - public function process(ContainerBuilder $container): void - { - foreach ($container->getDefinitions() as $serviceName => $definition) { - if ($this->shouldHaveLegacyAlias($container, $serviceName)) { - $this->addLegacyAlias($container, $serviceName); - } - } - } - - private function shouldHaveLegacyAlias(ContainerBuilder $container, string $serviceName): bool - { - foreach (self::PLUGIN_TO_SYLIUS_PREFIXES_MAP as $legacyPrefix => $syliusPrefix) { - $legacyServiceName = $this->getLegacyServiceName($serviceName); - - if (str_starts_with($serviceName, $syliusPrefix) && !$container->has($legacyServiceName)) { - return true; - } - } - - return false; - } - - private function addLegacyAlias(ContainerBuilder $container, string $serviceName): void - { - $legacyServiceName = $this->getLegacyServiceName($serviceName); - - $container - ->setAlias($legacyServiceName, $serviceName) - ->setPublic(true) - ->setDeprecated( - 'sylius/sylius', - '1.13', - sprintf('Alias %%alias_id%% is deprecated. Consider using the %s service.', $serviceName), - ) - ; - } - - private function getLegacyServiceName(string $name): string - { - return str_replace( - array_values(self::PLUGIN_TO_SYLIUS_PREFIXES_MAP), - array_keys(self::PLUGIN_TO_SYLIUS_PREFIXES_MAP), - $name, - ); - } -} diff --git a/src/Sylius/Bundle/CoreBundle/DependencyInjection/Configuration.php b/src/Sylius/Bundle/CoreBundle/DependencyInjection/Configuration.php index 7fe6d7db1c..55621a6c4b 100644 --- a/src/Sylius/Bundle/CoreBundle/DependencyInjection/Configuration.php +++ b/src/Sylius/Bundle/CoreBundle/DependencyInjection/Configuration.php @@ -58,10 +58,6 @@ final class Configuration implements ConfigurationInterface ->booleanNode('prepend_doctrine_migrations')->defaultTrue()->end() ->booleanNode('shipping_address_based_taxation')->defaultFalse()->end() ->booleanNode('order_by_identifier')->defaultTrue()->end() - ->booleanNode('process_shipments_before_recalculating_prices') - ->setDeprecated('sylius/sylius', '1.10', 'The "%path%.%node%" parameter is deprecated and will be removed in 2.0.') - ->defaultFalse() - ->end() ->arrayNode('catalog_promotions') ->addDefaultsIfNotSet() ->children() @@ -92,8 +88,8 @@ final class Configuration implements ConfigurationInterface ->scalarNode('adapter') ->defaultValue('default') ->validate() - ->ifNotInArray(['default', 'flysystem', 'gaufrette']) - ->thenInvalid('Expected adapter "default", "flysystem" or "gaufrette", but %s passed.') + ->ifNotInArray(['default', 'flysystem']) + ->thenInvalid('Expected adapter "default" or "flysystem", but %s passed.') ->end() ->end() ->end() diff --git a/src/Sylius/Bundle/CoreBundle/DependencyInjection/SyliusCoreExtension.php b/src/Sylius/Bundle/CoreBundle/DependencyInjection/SyliusCoreExtension.php index 3f01740907..b78a8acaaf 100644 --- a/src/Sylius/Bundle/CoreBundle/DependencyInjection/SyliusCoreExtension.php +++ b/src/Sylius/Bundle/CoreBundle/DependencyInjection/SyliusCoreExtension.php @@ -28,7 +28,6 @@ use Sylius\Component\Core\Filesystem\Adapter\FlysystemFilesystemAdapter; use Symfony\Component\Config\FileLocator; use Symfony\Component\DependencyInjection\ChildDefinition; use Symfony\Component\DependencyInjection\ContainerBuilder; -use Symfony\Component\DependencyInjection\Definition; use Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface; use Symfony\Component\DependencyInjection\Loader\XmlFileLoader; @@ -81,18 +80,10 @@ final class SyliusCoreExtension extends AbstractResourceExtension implements Pre $loader->load('test_services.xml'); } - if ($config['process_shipments_before_recalculating_prices']) { - $this->switchOrderProcessorsPriorities( - $container->getDefinition('sylius.order_processing.order_shipment_processor'), - $container->getDefinition('sylius.order_processing.order_prices_recalculator'), - ); - } - $container->setAlias( FilesystemAdapterInterface::class, match ($config['filesystem']['adapter']) { 'default', 'flysystem' => FlysystemFilesystemAdapter::class, - 'gaufrette' => 'Sylius\Component\Core\Filesystem\Adapter\GaufretteFilesystemAdapter', default => throw new InvalidArgumentException(sprintf( 'Invalid filesystem adapter "%s" provided.', $config['filesystem']['adapter'], @@ -192,26 +183,6 @@ final class SyliusCoreExtension extends AbstractResourceExtension implements Pre ]); } - private function switchOrderProcessorsPriorities( - Definition $firstServiceDefinition, - Definition $secondServiceDefinition, - ) { - $firstServicePriority = $firstServiceDefinition->getTag('sylius.order_processor')[0]['priority']; - $secondServicePriority = $secondServiceDefinition->getTag('sylius.order_processor')[0]['priority']; - - $firstServiceDefinition->clearTag('sylius.order_processor'); - $secondServiceDefinition->clearTag('sylius.order_processor'); - - $firstServiceDefinition->addTag( - 'sylius.order_processor', - ['priority' => $secondServicePriority], - ); - $secondServiceDefinition->addTag( - 'sylius.order_processor', - ['priority' => $firstServicePriority], - ); - } - private function registerAutoconfiguration(ContainerBuilder $container): void { $container->registerAttributeForAutoconfiguration( diff --git a/src/Sylius/Bundle/CoreBundle/Doctrine/ORM/AddressRepository.php b/src/Sylius/Bundle/CoreBundle/Doctrine/ORM/AddressRepository.php index bcca8d8b37..590ec222cb 100644 --- a/src/Sylius/Bundle/CoreBundle/Doctrine/ORM/AddressRepository.php +++ b/src/Sylius/Bundle/CoreBundle/Doctrine/ORM/AddressRepository.php @@ -13,17 +13,12 @@ declare(strict_types=1); namespace Sylius\Bundle\CoreBundle\Doctrine\ORM; -use Sylius\Bundle\ResourceBundle\Doctrine\ORM\EntityRepository; +use Sylius\Bundle\AddressingBundle\Doctrine\ORM\AddressRepository as BaseAddressRepository; use Sylius\Component\Core\Model\AddressInterface; use Sylius\Component\Core\Model\CustomerInterface; use Sylius\Component\Core\Repository\AddressRepositoryInterface; -/** - * @template T of AddressInterface - * - * @implements AddressRepositoryInterface - */ -class AddressRepository extends EntityRepository implements AddressRepositoryInterface +class AddressRepository extends BaseAddressRepository implements AddressRepositoryInterface { public function findByCustomer(CustomerInterface $customer): array { diff --git a/src/Sylius/Bundle/CoreBundle/Doctrine/ORM/AttributeRepository.php b/src/Sylius/Bundle/CoreBundle/Doctrine/ORM/AttributeRepository.php index 2c609a9d04..83b4ecde9d 100644 --- a/src/Sylius/Bundle/CoreBundle/Doctrine/ORM/AttributeRepository.php +++ b/src/Sylius/Bundle/CoreBundle/Doctrine/ORM/AttributeRepository.php @@ -13,20 +13,20 @@ declare(strict_types=1); namespace Sylius\Bundle\CoreBundle\Doctrine\ORM; -use Doctrine\ORM\EntityManager; +use Doctrine\ORM\EntityManagerInterface; use Doctrine\ORM\Mapping\ClassMetadata; -use Sylius\Bundle\ResourceBundle\Doctrine\ORM\EntityRepository; +use Sylius\Bundle\AttributeBundle\Doctrine\ORM\AttributeRepository as BaseAttributeRepository; use Sylius\Component\Attribute\Model\AttributeInterface; use SyliusLabs\AssociationHydrator\AssociationHydrator; /** * @template T of AttributeInterface */ -class AttributeRepository extends EntityRepository +class AttributeRepository extends BaseAttributeRepository { protected AssociationHydrator $associationHydrator; - public function __construct(EntityManager $entityManager, ClassMetadata $class) + public function __construct(EntityManagerInterface $entityManager, ClassMetadata $class) { parent::__construct($entityManager, $class); diff --git a/src/Sylius/Bundle/CoreBundle/Doctrine/ORM/OrderRepository.php b/src/Sylius/Bundle/CoreBundle/Doctrine/ORM/OrderRepository.php index fce4713261..4c30187b0f 100644 --- a/src/Sylius/Bundle/CoreBundle/Doctrine/ORM/OrderRepository.php +++ b/src/Sylius/Bundle/CoreBundle/Doctrine/ORM/OrderRepository.php @@ -13,7 +13,7 @@ declare(strict_types=1); namespace Sylius\Bundle\CoreBundle\Doctrine\ORM; -use Doctrine\ORM\EntityManager; +use Doctrine\ORM\EntityManagerInterface; use Doctrine\ORM\Mapping\ClassMetadata; use Doctrine\ORM\QueryBuilder; use Sylius\Bundle\OrderBundle\Doctrine\ORM\OrderRepository as BaseOrderRepository; @@ -39,7 +39,7 @@ class OrderRepository extends BaseOrderRepository implements OrderRepositoryInte { protected AssociationHydrator $associationHydrator; - public function __construct(EntityManager $entityManager, ClassMetadata $class) + public function __construct(EntityManagerInterface $entityManager, ClassMetadata $class) { parent::__construct($entityManager, $class); @@ -56,21 +56,6 @@ class OrderRepository extends BaseOrderRepository implements OrderRepositoryInte ; } - public function createSearchListQueryBuilder(): QueryBuilder - { - trigger_deprecation( - 'sylius/core', - '1.13', - 'This method is deprecated and it will be removed in Sylius 2.0. Please use `createCriteriaAwareSearchListQueryBuilder` instead.', - ); - - return $this->createListQueryBuilder() - ->leftJoin('o.items', 'item') - ->leftJoin('item.variant', 'variant') - ->leftJoin('variant.product', 'product') - ; - } - public function createCriteriaAwareSearchListQueryBuilder(?array $criteria): QueryBuilder { if ($criteria === null) { @@ -98,20 +83,6 @@ class OrderRepository extends BaseOrderRepository implements OrderRepositoryInte return $queryBuilder; } - public function createByCustomerIdQueryBuilder($customerId): QueryBuilder - { - trigger_deprecation( - 'sylius/core', - '1.13', - 'This method is deprecated and it will be removed in Sylius 2.0. Please use `createByCustomerIdCriteriaAwareQueryBuilder` instead.', - ); - - return $this->createListQueryBuilder() - ->andWhere('o.customer = :customerId') - ->setParameter('customerId', $customerId) - ; - } - public function createByCustomerIdCriteriaAwareQueryBuilder(?array $criteria, string $customerId): QueryBuilder { $queryBuilder = $this->createCriteriaAwareSearchListQueryBuilder($criteria); @@ -148,7 +119,7 @@ class OrderRepository extends BaseOrderRepository implements OrderRepositoryInte public function findByCustomer(CustomerInterface $customer): array { - return $this->createByCustomerIdQueryBuilder($customer->getId()) + return $this->createByCustomerIdCriteriaAwareQueryBuilder(null, (string) $customer->getId()) ->getQuery() ->getResult() ; diff --git a/src/Sylius/Bundle/CoreBundle/Doctrine/ORM/ProductAssociationRepository.php b/src/Sylius/Bundle/CoreBundle/Doctrine/ORM/ProductAssociationRepository.php index 81524d6919..220d0a6665 100644 --- a/src/Sylius/Bundle/CoreBundle/Doctrine/ORM/ProductAssociationRepository.php +++ b/src/Sylius/Bundle/CoreBundle/Doctrine/ORM/ProductAssociationRepository.php @@ -13,7 +13,7 @@ declare(strict_types=1); namespace Sylius\Bundle\CoreBundle\Doctrine\ORM; -use Sylius\Bundle\ResourceBundle\Doctrine\ORM\EntityRepository; +use Sylius\Bundle\ProductBundle\Doctrine\ORM\ProductAssociationRepository as BaseProductAssociationRepository; use Sylius\Component\Core\Model\ChannelInterface; use Sylius\Component\Core\Repository\ProductAssociationRepositoryInterface; use Sylius\Component\Product\Model\ProductAssociationInterface; @@ -21,9 +21,10 @@ use Sylius\Component\Product\Model\ProductAssociationInterface; /** * @template T of ProductAssociationInterface * + * @extends BaseProductAssociationRepository * @implements ProductAssociationRepositoryInterface */ -class ProductAssociationRepository extends EntityRepository implements ProductAssociationRepositoryInterface +class ProductAssociationRepository extends BaseProductAssociationRepository implements ProductAssociationRepositoryInterface { public function findWithProductsWithinChannel($associationId, ChannelInterface $channel): ProductAssociationInterface { diff --git a/src/Sylius/Bundle/CoreBundle/Doctrine/ORM/ProductOptionRepository.php b/src/Sylius/Bundle/CoreBundle/Doctrine/ORM/ProductOptionRepository.php index 3a935386b6..a6688f6f04 100644 --- a/src/Sylius/Bundle/CoreBundle/Doctrine/ORM/ProductOptionRepository.php +++ b/src/Sylius/Bundle/CoreBundle/Doctrine/ORM/ProductOptionRepository.php @@ -13,7 +13,7 @@ declare(strict_types=1); namespace Sylius\Bundle\CoreBundle\Doctrine\ORM; -use Doctrine\ORM\EntityManager; +use Doctrine\ORM\EntityManagerInterface; use Doctrine\ORM\Mapping\ClassMetadata; use Sylius\Bundle\ProductBundle\Doctrine\ORM\ProductOptionRepository as BaseProductOptionRepository; use Sylius\Component\Product\Model\ProductOptionInterface; @@ -28,7 +28,7 @@ class ProductOptionRepository extends BaseProductOptionRepository { protected AssociationHydrator $associationHydrator; - public function __construct(EntityManager $entityManager, ClassMetadata $class) + public function __construct(EntityManagerInterface $entityManager, ClassMetadata $class) { parent::__construct($entityManager, $class); diff --git a/src/Sylius/Bundle/CoreBundle/Doctrine/ORM/ProductRepository.php b/src/Sylius/Bundle/CoreBundle/Doctrine/ORM/ProductRepository.php index 5403cc7981..ecd3b30392 100644 --- a/src/Sylius/Bundle/CoreBundle/Doctrine/ORM/ProductRepository.php +++ b/src/Sylius/Bundle/CoreBundle/Doctrine/ORM/ProductRepository.php @@ -13,7 +13,7 @@ declare(strict_types=1); namespace Sylius\Bundle\CoreBundle\Doctrine\ORM; -use Doctrine\ORM\EntityManager; +use Doctrine\ORM\EntityManagerInterface; use Doctrine\ORM\Mapping\ClassMetadata; use Doctrine\ORM\QueryBuilder; use Sylius\Bundle\ProductBundle\Doctrine\ORM\ProductRepository as BaseProductRepository; @@ -34,7 +34,7 @@ class ProductRepository extends BaseProductRepository implements ProductReposito { protected AssociationHydrator $associationHydrator; - public function __construct(EntityManager $entityManager, ClassMetadata $class) + public function __construct(EntityManagerInterface $entityManager, ClassMetadata $class) { parent::__construct($entityManager, $class); diff --git a/src/Sylius/Bundle/CoreBundle/Doctrine/ORM/PromotionRepository.php b/src/Sylius/Bundle/CoreBundle/Doctrine/ORM/PromotionRepository.php index c3ada88bc2..d873afa1d1 100644 --- a/src/Sylius/Bundle/CoreBundle/Doctrine/ORM/PromotionRepository.php +++ b/src/Sylius/Bundle/CoreBundle/Doctrine/ORM/PromotionRepository.php @@ -13,7 +13,7 @@ declare(strict_types=1); namespace Sylius\Bundle\CoreBundle\Doctrine\ORM; -use Doctrine\ORM\EntityManager; +use Doctrine\ORM\EntityManagerInterface; use Doctrine\ORM\Mapping\ClassMetadata; use Sylius\Bundle\PromotionBundle\Doctrine\ORM\PromotionRepository as BasePromotionRepository; use Sylius\Component\Channel\Model\ChannelInterface; @@ -32,7 +32,7 @@ class PromotionRepository extends BasePromotionRepository implements PromotionRe { private AssociationHydrator $associationHydrator; - public function __construct(EntityManager $entityManager, ClassMetadata $class) + public function __construct(EntityManagerInterface $entityManager, ClassMetadata $class) { parent::__construct($entityManager, $class); diff --git a/src/Sylius/Bundle/CoreBundle/EventListener/TaxonDeletionListener.php b/src/Sylius/Bundle/CoreBundle/EventListener/TaxonDeletionListener.php index 23f10c9994..d7c3075970 100644 --- a/src/Sylius/Bundle/CoreBundle/EventListener/TaxonDeletionListener.php +++ b/src/Sylius/Bundle/CoreBundle/EventListener/TaxonDeletionListener.php @@ -21,8 +21,6 @@ use Sylius\Component\Core\Promotion\Checker\TaxonInPromotionRuleCheckerInterface use Sylius\Component\Core\Promotion\Updater\Rule\TaxonAwareRuleUpdaterInterface; use Symfony\Component\EventDispatcher\GenericEvent; use Symfony\Component\HttpFoundation\RequestStack; -use Symfony\Component\HttpFoundation\Session\Flash\FlashBagInterface; -use Symfony\Component\HttpFoundation\Session\SessionInterface; use Webmozart\Assert\Assert; final class TaxonDeletionListener @@ -31,23 +29,12 @@ final class TaxonDeletionListener private array $ruleUpdaters; public function __construct( - private SessionInterface|RequestStack $requestStackOrSession, + private RequestStack $requestStack, private ChannelRepositoryInterface $channelRepository, private TaxonInPromotionRuleCheckerInterface $taxonInPromotionRuleChecker, TaxonAwareRuleUpdaterInterface ...$ruleUpdaters, ) { $this->ruleUpdaters = $ruleUpdaters; - - if ($requestStackOrSession instanceof SessionInterface) { - trigger_deprecation( - 'sylius/user-bundle', - '1.12', - 'Passing an instance of %s as constructor argument for %s is deprecated and will be removed in Sylius 2.0. Pass an instance of %s instead.', - SessionInterface::class, - self::class, - RequestStack::class, - ); - } } public function protectFromRemovingMenuTaxon(GenericEvent $event): void @@ -57,8 +44,7 @@ final class TaxonDeletionListener $channel = $this->channelRepository->findOneBy(['menuTaxon' => $taxon]); if ($channel !== null) { - /** @var FlashBagInterface $flashes */ - $flashes = FlashBagProvider::getFlashBag($this->requestStackOrSession); + $flashes = FlashBagProvider::getFlashBag($this->requestStack); $flashes->add('error', 'sylius.taxon.menu_taxon_delete'); $event->stopPropagation(); @@ -88,7 +74,7 @@ final class TaxonDeletionListener } if (!empty($updatedPromotionCodes)) { - $flashes = FlashBagProvider::getFlashBag($this->requestStackOrSession); + $flashes = FlashBagProvider::getFlashBag($this->requestStack); $flashes->add('info', [ 'message' => 'sylius.promotion.update_rules', 'parameters' => ['%codes%' => implode(', ', array_unique($updatedPromotionCodes))], diff --git a/src/Sylius/Bundle/CoreBundle/Fixture/BookProductFixture.php b/src/Sylius/Bundle/CoreBundle/Fixture/BookProductFixture.php deleted file mode 100644 index 0e57dbc5f4..0000000000 --- a/src/Sylius/Bundle/CoreBundle/Fixture/BookProductFixture.php +++ /dev/null @@ -1,153 +0,0 @@ -faker = Factory::create(); - $this->optionsResolver = - (new OptionsResolver()) - ->setRequired('amount') - ->setAllowedTypes('amount', 'int') - ; - } - - public function getName(): string - { - return 'book_product'; - } - - public function load(array $options): void - { - $options = $this->optionsResolver->resolve($options); - - $this->taxonFixture->load(['custom' => [[ - 'code' => 'category', - 'name' => 'Category', - 'children' => [ - [ - 'code' => 'books', - 'translations' => [ - 'en_US' => [ - 'name' => 'Books', - ], - 'fr_FR' => [ - 'name' => 'Livres', - ], - ], - ], - ], - ]]]); - - $bookGenres = [ - $this->faker->uuid => [$this->baseLocaleCode => 'Science Fiction'], - $this->faker->uuid => [$this->baseLocaleCode => 'Romance'], - $this->faker->uuid => [$this->baseLocaleCode => 'Thriller'], - $this->faker->uuid => [$this->baseLocaleCode => 'Sports'], - ]; - $this->productAttributeFixture->load(['custom' => [ - ['name' => 'Book author', 'code' => 'book_author', 'type' => TextAttributeType::TYPE], - ['name' => 'Book ISBN', 'code' => 'book_isbn', 'type' => TextAttributeType::TYPE], - ['name' => 'Book pages', 'code' => 'book_pages', 'type' => IntegerAttributeType::TYPE], - [ - 'name' => 'Book genre', - 'code' => 'book_genre', - 'type' => SelectAttributeType::TYPE, - 'configuration' => [ - 'multiple' => true, - 'choices' => $bookGenres, - ], - ], - ]]); - - $products = []; - $productsNames = $this->getUniqueNames($options['amount']); - for ($i = 0; $i < $options['amount']; ++$i) { - $authorName = $this->faker->name; - - $products[] = [ - 'name' => sprintf('Book "%s" by %s', $productsNames[$i], $authorName), - 'code' => $this->faker->uuid, - 'main_taxon' => 'books', - 'taxons' => ['books'], - 'product_attributes' => [ - 'book_author' => $authorName, - 'book_isbn' => $this->faker->isbn13(), - 'book_pages' => $this->faker->numberBetween(42, 1024), - 'book_genre' => $this->faker->randomElements(array_keys($bookGenres), $this->faker->numberBetween(1, count($bookGenres))), - ], - 'images' => [ - [ - 'path' => sprintf('%s/../Resources/fixtures/%s', __DIR__, 'books.jpg'), - 'type' => 'main', - ], - [ - 'path' => sprintf('%s/../Resources/fixtures/%s', __DIR__, 'books.jpg'), - 'type' => 'thumbnail', - ], - ], - ]; - } - - $this->productFixture->load(['custom' => $products]); - } - - protected function configureOptionsNode(ArrayNodeDefinition $optionsNode): void - { - $optionsNode - ->children() - ->integerNode('amount')->isRequired()->min(0)->end() - ; - } - - private function getUniqueNames(int $amount): array - { - $productsNames = []; - - for ($i = 0; $i < $amount; ++$i) { - $name = $this->faker->word; - while (in_array($name, $productsNames)) { - $name = $this->faker->word; - } - $productsNames[] = $name; - } - - return $productsNames; - } -} diff --git a/src/Sylius/Bundle/CoreBundle/Fixture/Factory/AdminUserExampleFactory.php b/src/Sylius/Bundle/CoreBundle/Fixture/Factory/AdminUserExampleFactory.php index 68cafa89f0..98a4671999 100644 --- a/src/Sylius/Bundle/CoreBundle/Fixture/Factory/AdminUserExampleFactory.php +++ b/src/Sylius/Bundle/CoreBundle/Fixture/Factory/AdminUserExampleFactory.php @@ -16,7 +16,6 @@ namespace Sylius\Bundle\CoreBundle\Fixture\Factory; use Faker\Factory; use Faker\Generator; use Sylius\Component\Core\Model\AdminUserInterface; -use Sylius\Component\Core\Model\AvatarImage; use Sylius\Component\Core\Uploader\ImageUploaderInterface; use Sylius\Component\Resource\Factory\FactoryInterface; use Symfony\Component\Config\FileLocatorInterface; @@ -33,32 +32,14 @@ class AdminUserExampleFactory extends AbstractExampleFactory implements ExampleF public function __construct( private FactoryInterface $userFactory, private string $localeCode, - private ?FileLocatorInterface $fileLocator = null, - private ?ImageUploaderInterface $imageUploader = null, - private ?FactoryInterface $avatarImageFactory = null, + private FileLocatorInterface $fileLocator, + private ImageUploaderInterface $imageUploader, + private FactoryInterface $avatarImageFactory, ) { $this->faker = Factory::create(); $this->optionsResolver = new OptionsResolver(); $this->configureOptions($this->optionsResolver); - - if ($this->fileLocator === null || $this->imageUploader === null) { - trigger_deprecation( - 'sylius/core-bundle', - '1.6', - 'Not passing a $fileLocator or/and an $imageUploader to %s constructor is deprecated and will be removed in Sylius 2.0.', - self::class, - ); - } - - if ($this->avatarImageFactory === null) { - trigger_deprecation( - 'sylius/core-bundle', - '1.10', - 'Not passing an $avatarImageFactory to %s constructor is deprecated and will be removed in Sylius 2.0.', - self::class, - ); - } } public function create(array $options = []): AdminUserInterface @@ -111,20 +92,10 @@ class AdminUserExampleFactory extends AbstractExampleFactory implements ExampleF private function createAvatar(AdminUserInterface $adminUser, array $options): void { - if ($this->fileLocator === null || $this->imageUploader === null) { - throw new \RuntimeException('You must configure a $fileLocator or/and $imageUploader'); - } - $imagePath = $this->fileLocator->locate($options['avatar']); $uploadedImage = new UploadedFile($imagePath, basename($imagePath)); - if ($this->avatarImageFactory === null) { - $avatarImage = new AvatarImage(); - } else { - /** @var AvatarImage $avatarImage */ - $avatarImage = $this->avatarImageFactory->createNew(); - } - + $avatarImage = $this->avatarImageFactory->createNew(); $avatarImage->setFile($uploadedImage); $this->imageUploader->upload($avatarImage); diff --git a/src/Sylius/Bundle/CoreBundle/Fixture/Factory/ChannelExampleFactory.php b/src/Sylius/Bundle/CoreBundle/Fixture/Factory/ChannelExampleFactory.php index 0498782a97..d4a8cf3842 100644 --- a/src/Sylius/Bundle/CoreBundle/Fixture/Factory/ChannelExampleFactory.php +++ b/src/Sylius/Bundle/CoreBundle/Fixture/Factory/ChannelExampleFactory.php @@ -22,7 +22,6 @@ use Sylius\Component\Channel\Factory\ChannelFactoryInterface; use Sylius\Component\Core\Formatter\StringInflector; use Sylius\Component\Core\Model\ChannelInterface; use Sylius\Component\Core\Model\Scope; -use Sylius\Component\Core\Model\ShopBillingData; use Sylius\Component\Core\Model\TaxonInterface; use Sylius\Component\Currency\Model\CurrencyInterface; use Sylius\Component\Locale\Model\LocaleInterface; @@ -38,36 +37,14 @@ class ChannelExampleFactory extends AbstractExampleFactory implements ExampleFac private OptionsResolver $optionsResolver; - private ?TaxonRepositoryInterface $taxonRepository; - - private ?FactoryInterface $shopBillingDataFactory; - public function __construct( private ChannelFactoryInterface $channelFactory, private RepositoryInterface $localeRepository, private RepositoryInterface $currencyRepository, private RepositoryInterface $zoneRepository, - ?TaxonRepositoryInterface $taxonRepository = null, - ?FactoryInterface $shopBillingDataFactory = null, + private TaxonRepositoryInterface $taxonRepository, + private FactoryInterface $shopBillingDataFactory, ) { - if (null === $taxonRepository) { - trigger_deprecation( - 'sylius/core-bundle', - '1.8', - 'Passing a $taxonRepository as the fifth argument is deprecated and will be prohibited in Sylius 2.0', - ); - } - - if (null === $shopBillingDataFactory) { - trigger_deprecation( - 'sylius/core-bundle', - '1.8', - 'Passing a $shopBillingDataFactory as the sixth argument is deprecated and will be prohibited in Sylius 2.0', - ); - } - $this->taxonRepository = $taxonRepository; - $this->shopBillingDataFactory = $shopBillingDataFactory; - $this->faker = Factory::create(); $this->optionsResolver = new OptionsResolver(); @@ -93,10 +70,7 @@ class ChannelExampleFactory extends AbstractExampleFactory implements ExampleFac $channel->setSkippingPaymentStepAllowed($options['skipping_payment_step_allowed']); $channel->setAccountVerificationRequired($options['account_verification_required']); $channel->setShippingAddressInCheckoutRequired($options['shipping_address_in_checkout_required']); - - if (null !== $this->taxonRepository) { - $channel->setMenuTaxon($options['menu_taxon']); - } + $channel->setMenuTaxon($options['menu_taxon']); $channel->setDefaultLocale($options['default_locale']); foreach ($options['locales'] as $locale) { @@ -109,7 +83,7 @@ class ChannelExampleFactory extends AbstractExampleFactory implements ExampleFac } if (isset($options['shop_billing_data']) && null !== $options['shop_billing_data']) { - $shopBillingData = $this->shopBillingDataFactory ? $this->shopBillingDataFactory->createNew() : new ShopBillingData(); + $shopBillingData = $this->shopBillingDataFactory->createNew(); $shopBillingData->setCompany($options['shop_billing_data']['company'] ?? null); $shopBillingData->setTaxId($options['shop_billing_data']['tax_id'] ?? null); $shopBillingData->setCountryCode($options['shop_billing_data']['country_code'] ?? null); @@ -174,12 +148,10 @@ class ChannelExampleFactory extends AbstractExampleFactory implements ExampleFac ->setDefault('shop_billing_data', null) ; - if (null !== $this->taxonRepository) { - $resolver - ->setDefault('menu_taxon', LazyOption::randomOneOrNull($this->taxonRepository)) - ->setAllowedTypes('menu_taxon', ['null', 'string', TaxonInterface::class]) - ->setNormalizer('menu_taxon', LazyOption::findOneBy($this->taxonRepository, 'code')) - ; - } + $resolver + ->setDefault('menu_taxon', LazyOption::randomOneOrNull($this->taxonRepository)) + ->setAllowedTypes('menu_taxon', ['null', 'string', TaxonInterface::class]) + ->setNormalizer('menu_taxon', LazyOption::findOneBy($this->taxonRepository, 'code')) + ; } } diff --git a/src/Sylius/Bundle/CoreBundle/Fixture/Factory/ProductExampleFactory.php b/src/Sylius/Bundle/CoreBundle/Fixture/Factory/ProductExampleFactory.php index 3f9cd862b0..2e16934cd7 100644 --- a/src/Sylius/Bundle/CoreBundle/Fixture/Factory/ProductExampleFactory.php +++ b/src/Sylius/Bundle/CoreBundle/Fixture/Factory/ProductExampleFactory.php @@ -62,27 +62,9 @@ class ProductExampleFactory extends AbstractExampleFactory implements ExampleFac private RepositoryInterface $productOptionRepository, private RepositoryInterface $channelRepository, private RepositoryInterface $localeRepository, - private ?RepositoryInterface $taxCategoryRepository = null, - private ?FileLocatorInterface $fileLocator = null, + private RepositoryInterface $taxCategoryRepository, + private FileLocatorInterface $fileLocator, ) { - if ($this->taxCategoryRepository === null) { - trigger_deprecation( - 'sylius/core-bundle', - '1.6', - 'Not passing a $taxCategoryRepository to %s constructor is deprecated and will be prohibited in Sylius 2.0.', - self::class, - ); - } - - if ($this->fileLocator === null) { - trigger_deprecation( - 'sylius/core-bundle', - '1.13', - 'Not passing a $fileLocator to %s constructor is deprecated and will be removed in Sylius 2.0.', - self::class, - ); - } - $this->faker = Factory::create(); $this->optionsResolver = new OptionsResolver(); @@ -172,9 +154,7 @@ class ProductExampleFactory extends AbstractExampleFactory implements ExampleFac ->setAllowedTypes('tax_category', ['string', 'null', TaxCategoryInterface::class]) ; - if ($this->taxCategoryRepository !== null) { - $resolver->setNormalizer('tax_category', LazyOption::findOneBy($this->taxCategoryRepository, 'code')); - } + $resolver->setNormalizer('tax_category', LazyOption::findOneBy($this->taxCategoryRepository, 'code')); } private function createTranslations(ProductInterface $product, array $options): void @@ -250,21 +230,10 @@ class ProductExampleFactory extends AbstractExampleFactory implements ExampleFac private function createImages(ProductInterface $product, array $options): void { foreach ($options['images'] as $image) { - if (!array_key_exists('path', $image)) { - trigger_deprecation( - 'sylius/core-bundle', - '1.3', - 'It is deprecated to pass indexed array as an image definition. Please use associative array with "path" and "type" keys instead.', - ); + $imagePath = $image['path']; + $imageType = $image['type'] ?? null; - $imagePath = array_shift($image); - $imageType = array_pop($image); - } else { - $imagePath = $image['path']; - $imageType = $image['type'] ?? null; - } - - $imagePath = $this->fileLocator === null ? $imagePath : $this->fileLocator->locate($imagePath); + $imagePath = $this->fileLocator->locate($imagePath); $uploadedImage = new UploadedFile($imagePath, basename($imagePath)); /** @var ImageInterface $productImage */ diff --git a/src/Sylius/Bundle/CoreBundle/Fixture/Factory/PromotionExampleFactory.php b/src/Sylius/Bundle/CoreBundle/Fixture/Factory/PromotionExampleFactory.php index 90c17fab73..5e76c738a5 100644 --- a/src/Sylius/Bundle/CoreBundle/Fixture/Factory/PromotionExampleFactory.php +++ b/src/Sylius/Bundle/CoreBundle/Fixture/Factory/PromotionExampleFactory.php @@ -35,39 +35,19 @@ class PromotionExampleFactory extends AbstractExampleFactory implements ExampleF private OptionsResolver $optionsResolver; - /** - * @param RepositoryInterface|null $localeRepository - */ + /** @param RepositoryInterface $localeRepository */ public function __construct( private FactoryInterface $promotionFactory, private ExampleFactoryInterface $promotionRuleExampleFactory, private ExampleFactoryInterface $promotionActionExampleFactory, private ChannelRepositoryInterface $channelRepository, - private ?FactoryInterface $couponFactory = null, - private ?RepositoryInterface $localeRepository = null, + private FactoryInterface $couponFactory, + private RepositoryInterface $localeRepository, ) { $this->faker = Factory::create(); $this->optionsResolver = new OptionsResolver(); $this->configureOptions($this->optionsResolver); - - if ($this->couponFactory === null) { - trigger_deprecation( - 'sylius/core-bundle', - '1.8', - 'Not passing a $couponFactory to %s constructor is deprecated and will be removed in Sylius 2.0.', - self::class, - ); - } - - if ($this->localeRepository === null) { - trigger_deprecation( - 'sylius/core-bundle', - '1.13', - 'Not passing a $localeRepository to %s constructor is deprecated and will be prohibited in Sylius 2.0.', - self::class, - ); - } } public function create(array $options = []): PromotionInterface @@ -165,13 +145,9 @@ class PromotionExampleFactory extends AbstractExampleFactory implements ExampleF ; } - private static function getCouponNormalizer(?FactoryInterface $couponFactory): \Closure + private static function getCouponNormalizer(FactoryInterface $couponFactory): \Closure { return function (Options $options, array $couponDefinitions) use ($couponFactory): array { - if (null === $couponFactory) { - throw new \RuntimeException('You must configure a $couponFactory'); - } - if (!$options['coupon_based'] && count($couponDefinitions) > 0) { throw new InvalidArgumentException('Cannot define coupons for promotion that is not coupon based'); } @@ -199,10 +175,6 @@ class PromotionExampleFactory extends AbstractExampleFactory implements ExampleF /** @return iterable */ private function getLocales(): iterable { - if (null === $this->localeRepository) { - return []; - } - /** @var LocaleInterface[] $locales */ $locales = $this->localeRepository->findAll(); foreach ($locales as $locale) { diff --git a/src/Sylius/Bundle/CoreBundle/Fixture/Factory/ShippingMethodExampleFactory.php b/src/Sylius/Bundle/CoreBundle/Fixture/Factory/ShippingMethodExampleFactory.php index d72739c202..ae151788f3 100644 --- a/src/Sylius/Bundle/CoreBundle/Fixture/Factory/ShippingMethodExampleFactory.php +++ b/src/Sylius/Bundle/CoreBundle/Fixture/Factory/ShippingMethodExampleFactory.php @@ -42,17 +42,8 @@ class ShippingMethodExampleFactory extends AbstractExampleFactory implements Exa private RepositoryInterface $shippingCategoryRepository, private RepositoryInterface $localeRepository, private ChannelRepositoryInterface $channelRepository, - private ?RepositoryInterface $taxCategoryRepository = null, + private RepositoryInterface $taxCategoryRepository, ) { - if ($this->taxCategoryRepository === null) { - trigger_deprecation( - 'sylius/core-bundle', - '1.4', - 'Not passing a $taxCategoryRepository to %s constructor is deprecated and will be removed in Sylius 2.0.', - self::class, - ); - } - $this->faker = Factory::create(); $this->optionsResolver = new OptionsResolver(); @@ -135,9 +126,7 @@ class ShippingMethodExampleFactory extends AbstractExampleFactory implements Exa ->setAllowedTypes('archived_at', ['null', \DateTimeInterface::class]) ; - if ($this->taxCategoryRepository !== null) { - $resolver->setNormalizer('tax_category', LazyOption::findOneBy($this->taxCategoryRepository, 'code')); - } + $resolver->setNormalizer('tax_category', LazyOption::findOneBy($this->taxCategoryRepository, 'code')); } private function getLocales(): iterable diff --git a/src/Sylius/Bundle/CoreBundle/Fixture/MugProductFixture.php b/src/Sylius/Bundle/CoreBundle/Fixture/MugProductFixture.php deleted file mode 100644 index 08f0129969..0000000000 --- a/src/Sylius/Bundle/CoreBundle/Fixture/MugProductFixture.php +++ /dev/null @@ -1,161 +0,0 @@ -faker = Factory::create(); - $this->optionsResolver = - (new OptionsResolver()) - ->setRequired('amount') - ->setAllowedTypes('amount', 'int') - ; - } - - public function getName(): string - { - return 'mug_product'; - } - - public function load(array $options): void - { - $options = $this->optionsResolver->resolve($options); - - $this->taxonFixture->load(['custom' => [[ - 'code' => 'category', - 'name' => 'Category', - 'children' => [ - [ - 'code' => 'mugs', - 'translations' => [ - 'en_US' => [ - 'name' => 'Mugs', - ], - 'fr_FR' => [ - 'name' => 'Tasses', - ], - ], - ], - ], - ]]]); - - $mugMaterials = [ - $this->faker->uuid => [$this->baseLocaleCode => 'Invisible porcelain'], - $this->faker->uuid => [$this->baseLocaleCode => 'Banana skin'], - $this->faker->uuid => [$this->baseLocaleCode => 'Porcelain'], - $this->faker->uuid => [$this->baseLocaleCode => 'Centipede'], - ]; - $this->productAttributeFixture->load(['custom' => [ - [ - 'name' => 'Mug material', - 'code' => 'mug_material', - 'type' => SelectAttributeType::TYPE, - 'configuration' => [ - 'multiple' => false, - 'choices' => $mugMaterials, - ], - ], - ]]); - - $this->productOptionFixture->load(['custom' => [ - [ - 'name' => 'Mug type', - 'code' => 'mug_type', - 'values' => [ - 'mug_type_medium' => 'Medium mug', - 'mug_type_double' => 'Double mug', - 'mug_type_monster' => 'Monster mug', - ], - ], - ]]); - - $products = []; - $productsNames = $this->getUniqueNames($options['amount']); - for ($i = 0; $i < $options['amount']; ++$i) { - $products[] = [ - 'name' => sprintf('Mug "%s"', $productsNames[$i]), - 'code' => $this->faker->uuid, - 'main_taxon' => 'mugs', - 'taxons' => ['mugs'], - 'product_attributes' => [ - 'mug_material' => [$this->faker->randomKey($mugMaterials)], - ], - 'product_options' => ['mug_type'], - 'images' => [ - [ - 'path' => sprintf('%s/../Resources/fixtures/%s', __DIR__, 'mugs.jpg'), - 'type' => 'main', - ], - [ - 'path' => sprintf('%s/../Resources/fixtures/%s', __DIR__, 'mugs.jpg'), - 'type' => 'thumbnail', - ], - ], - ]; - } - - $this->productFixture->load(['custom' => $products]); - } - - protected function configureOptionsNode(ArrayNodeDefinition $optionsNode): void - { - $optionsNode - ->children() - ->integerNode('amount')->isRequired()->min(0)->end() - ; - } - - private function getUniqueNames(int $amount): array - { - $productsNames = []; - - for ($i = 0; $i < $amount; ++$i) { - $name = $this->faker->word; - while (in_array($name, $productsNames)) { - $name = $this->faker->word; - } - $productsNames[] = $name; - } - - return $productsNames; - } -} diff --git a/src/Sylius/Bundle/CoreBundle/Fixture/OrderFixture.php b/src/Sylius/Bundle/CoreBundle/Fixture/OrderFixture.php index e3db77c6fe..c2a05c4896 100644 --- a/src/Sylius/Bundle/CoreBundle/Fixture/OrderFixture.php +++ b/src/Sylius/Bundle/CoreBundle/Fixture/OrderFixture.php @@ -16,80 +16,24 @@ namespace Sylius\Bundle\CoreBundle\Fixture; use Doctrine\Persistence\ObjectManager; use Faker\Factory; use Faker\Generator; -use SM\Factory\FactoryInterface as StateMachineFactoryInterface; use Sylius\Bundle\CoreBundle\Fixture\Factory\OrderExampleFactory; use Sylius\Bundle\FixturesBundle\Fixture\AbstractFixture; -use Sylius\Component\Core\Checker\OrderPaymentMethodSelectionRequirementCheckerInterface; -use Sylius\Component\Core\Checker\OrderShippingMethodSelectionRequirementCheckerInterface; -use Sylius\Component\Core\Repository\PaymentMethodRepositoryInterface; -use Sylius\Component\Core\Repository\ProductRepositoryInterface; -use Sylius\Component\Core\Repository\ShippingMethodRepositoryInterface; -use Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface; -use Sylius\Component\Resource\Factory\FactoryInterface; -use Sylius\Component\Resource\Repository\RepositoryInterface; use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition; -use Webmozart\Assert\Assert; class OrderFixture extends AbstractFixture { - /** @var OrderExampleFactory */ - protected $orderExampleFactory; - - /** @var ObjectManager */ - protected $orderManager; - private Generator $faker; public function __construct( - FactoryInterface $orderFactory, - FactoryInterface $orderItemFactory, - OrderItemQuantityModifierInterface $orderItemQuantityModifier, - ObjectManager $orderManager, - RepositoryInterface $channelRepository, - RepositoryInterface $customerRepository, - RepositoryInterface $productRepository, - RepositoryInterface $countryRepository, - PaymentMethodRepositoryInterface $paymentMethodRepository, - ShippingMethodRepositoryInterface $shippingMethodRepository, - FactoryInterface $addressFactory, - StateMachineFactoryInterface $stateMachineFactory, - OrderShippingMethodSelectionRequirementCheckerInterface $orderShippingMethodSelectionRequirementChecker, - OrderPaymentMethodSelectionRequirementCheckerInterface $orderPaymentMethodSelectionRequirementChecker, - OrderExampleFactory $orderExampleFactory = null, + protected ObjectManager $orderManager, + protected OrderExampleFactory $orderExampleFactory, ) { - if ($orderExampleFactory === null) { - Assert::isInstanceOf($productRepository, ProductRepositoryInterface::class); - - $orderExampleFactory = new OrderExampleFactory( - $orderFactory, - $orderItemFactory, - $orderItemQuantityModifier, - $orderManager, - $channelRepository, - $customerRepository, - $productRepository, - $countryRepository, - $paymentMethodRepository, - $shippingMethodRepository, - $addressFactory, - $stateMachineFactory, - $orderShippingMethodSelectionRequirementChecker, - $orderPaymentMethodSelectionRequirementChecker, - ); - - trigger_deprecation( - 'sylius/core-bundle', - '1.6', - 'Use OrderExampleFactory. OrderFixture is deprecated and will be prohibited since Sylius 2.0.', - ); - } - - $this->orderManager = $orderManager; - $this->orderExampleFactory = $orderExampleFactory; - $this->faker = Factory::create(); } + /** + * @param array $options + */ public function load(array $options): void { $generateDates = $this->generateDates($options['amount']); @@ -127,7 +71,10 @@ class OrderFixture extends AbstractFixture ; } - private function generateDates(int $amount): array + /** + * @return \DateTimeInterface[] + */ + protected function generateDates(int $amount): array { /** @var \DateTimeInterface[] $dates */ $dates = []; diff --git a/src/Sylius/Bundle/CoreBundle/Fixture/PaymentFixture.php b/src/Sylius/Bundle/CoreBundle/Fixture/PaymentFixture.php index cdc3da413a..fc8db1c80b 100644 --- a/src/Sylius/Bundle/CoreBundle/Fixture/PaymentFixture.php +++ b/src/Sylius/Bundle/CoreBundle/Fixture/PaymentFixture.php @@ -24,16 +24,6 @@ use Sylius\Component\Payment\PaymentTransitions; use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition; use Symfony\Component\OptionsResolver\OptionsResolver; -class_alias(PaymentFixture::class, '\Sylius\Bundle\CoreBundle\Fixture\Factory\PaymentFixture'); - -trigger_deprecation( - 'sylius/core-bundle', - '1.13', - 'The "%s" class is deprecated and will be removed in Sylius 2.0. Use "%s" instead.', - '\Sylius\Bundle\CoreBundle\Fixture\Factory\PaymentFixture', - PaymentFixture::class, -); - class PaymentFixture extends AbstractFixture { private Generator $faker; diff --git a/src/Sylius/Bundle/CoreBundle/Fixture/StickerProductFixture.php b/src/Sylius/Bundle/CoreBundle/Fixture/StickerProductFixture.php deleted file mode 100644 index 76217d9288..0000000000 --- a/src/Sylius/Bundle/CoreBundle/Fixture/StickerProductFixture.php +++ /dev/null @@ -1,149 +0,0 @@ -faker = Factory::create(); - $this->optionsResolver = - (new OptionsResolver()) - ->setRequired('amount') - ->setAllowedTypes('amount', 'int') - ; - } - - public function getName(): string - { - return 'sticker_product'; - } - - public function load(array $options): void - { - $options = $this->optionsResolver->resolve($options); - - $this->taxonFixture->load(['custom' => [[ - 'code' => 'category', - 'name' => 'Category', - 'children' => [ - [ - 'code' => 'stickers', - 'translations' => [ - 'en_US' => [ - 'name' => 'Stickers', - ], - 'fr_FR' => [ - 'name' => 'Étiquettes', - ], - ], - ], - ], - ]]]); - - $this->productAttributeFixture->load(['custom' => [ - ['name' => 'Sticker paper', 'code' => 'sticker_paper', 'type' => TextAttributeType::TYPE], - ['name' => 'Sticker resolution', 'code' => 'sticker_resolution', 'type' => TextAttributeType::TYPE], - ]]); - - $this->productOptionFixture->load(['custom' => [ - [ - 'name' => 'Sticker size', - 'code' => 'sticker_size', - 'values' => [ - 'sticker_size_3' => '3"', - 'sticker_size_5' => '5"', - 'sticker_size_7' => '7"', - ], - ], - ]]); - - $products = []; - $productsNames = $this->getUniqueNames($options['amount']); - for ($i = 0; $i < $options['amount']; ++$i) { - $products[] = [ - 'name' => sprintf('Sticker "%s"', $productsNames[$i]), - 'code' => $this->faker->uuid, - 'main_taxon' => 'stickers', - 'taxons' => ['stickers'], - 'variant_selection_method' => ProductInterface::VARIANT_SELECTION_CHOICE, - 'product_attributes' => [ - 'sticker_paper' => sprintf('Paper from tree %s', $this->faker->randomElement(['Wung', 'Tanajno', 'Lemon-San', 'Me-Gusta'])), - 'sticker_resolution' => $this->faker->randomElement(['JKM XD', '476DPI', 'FULL HD', '200DPI']), - ], - 'product_options' => ['sticker_size'], - 'images' => [ - [ - 'path' => sprintf('%s/../Resources/fixtures/%s', __DIR__, 'stickers.jpg'), - 'type' => 'main', - ], - [ - 'path' => sprintf('%s/../Resources/fixtures/%s', __DIR__, 'stickers.jpg'), - 'type' => 'thumbnail', - ], - ], - ]; - } - - $this->productFixture->load(['custom' => $products]); - } - - protected function configureOptionsNode(ArrayNodeDefinition $optionsNode): void - { - $optionsNode - ->children() - ->integerNode('amount')->isRequired()->min(0)->end() - ; - } - - private function getUniqueNames(int $amount): array - { - $productsNames = []; - - for ($i = 0; $i < $amount; ++$i) { - $name = $this->faker->word; - while (in_array($name, $productsNames)) { - $name = $this->faker->word; - } - $productsNames[] = $name; - } - - return $productsNames; - } -} diff --git a/src/Sylius/Bundle/CoreBundle/Fixture/TshirtProductFixture.php b/src/Sylius/Bundle/CoreBundle/Fixture/TshirtProductFixture.php deleted file mode 100644 index d91f7dac7a..0000000000 --- a/src/Sylius/Bundle/CoreBundle/Fixture/TshirtProductFixture.php +++ /dev/null @@ -1,185 +0,0 @@ -faker = Factory::create(); - $this->optionsResolver = - (new OptionsResolver()) - ->setRequired('amount') - ->setAllowedTypes('amount', 'int') - ; - } - - public function getName(): string - { - return 'tshirt_product'; - } - - public function load(array $options): void - { - $options = $this->optionsResolver->resolve($options); - - $this->taxonFixture->load(['custom' => [[ - 'code' => 'category', - 'name' => 'Category', - 'children' => [ - [ - 'code' => 't_shirts', - 'name' => 'T-Shirts', - 'slug' => 't-shirts', - 'children' => [ - [ - 'code' => 'mens_t_shirts', - 'translations' => [ - 'en_US' => [ - 'name' => 'Men', - 'slug' => 't-shirts/men', - ], - 'fr_FR' => [ - 'name' => 'Hommes', - 'slug' => 't-shirts/hommes', - ], - ], - ], - [ - 'code' => 'womens_t_shirts', - 'translations' => [ - 'en_US' => [ - 'name' => 'Women', - 'slug' => 't-shirts/women', - ], - 'fr_FR' => [ - 'name' => 'Hommes', - 'slug' => 't-shirts/femmes', - ], - ], - ], - ], - ], - ], - ]]]); - - $this->productAttributeFixture->load(['custom' => [ - ['name' => 'T-Shirt brand', 'code' => 't_shirt_brand', 'type' => TextAttributeType::TYPE], - ['name' => 'T-Shirt collection', 'code' => 't_shirt_collection', 'type' => TextAttributeType::TYPE], - ['name' => 'T-Shirt material', 'code' => 't_shirt_material', 'type' => TextAttributeType::TYPE], - ]]); - - $this->productOptionFixture->load(['custom' => [ - [ - 'name' => 'T-Shirt color', - 'code' => 't_shirt_color', - 'values' => [ - 't_shirt_color_red' => 'Red', - 't_shirt_color_black' => 'Black', - 't_shirt_color_white' => 'White', - ], - ], - [ - 'name' => 'T-Shirt size', - 'code' => 't_shirt_size', - 'values' => [ - 't_shirt_size_s' => 'S', - 't_shirt_size_m' => 'M', - 't_shirt_size_l' => 'L', - 't_shirt_size_xl' => 'XL', - 't_shirt_size_xxl' => 'XXL', - ], - ], - ]]); - - $products = []; - $productsNames = $this->getUniqueNames($options['amount']); - for ($i = 0; $i < $options['amount']; ++$i) { - $categoryTaxonCode = $this->faker->randomElement(['mens_t_shirts', 'womens_t_shirts']); - - $products[] = [ - 'name' => sprintf('T-Shirt "%s"', $productsNames[$i]), - 'code' => $this->faker->uuid, - 'main_taxon' => $categoryTaxonCode, - 'taxons' => ['t_shirts', $categoryTaxonCode], - 'product_attributes' => [ - 't_shirt_brand' => $this->faker->randomElement(['Nike', 'Adidas', 'JKM-476 Streetwear', 'Potato', 'Centipede Wear']), - 't_shirt_collection' => sprintf('Sylius %s %s', $this->faker->randomElement(['Summer', 'Winter', 'Spring', 'Autumn']), random_int(1995, 2012)), - 't_shirt_material' => $this->faker->randomElement(['Centipede', 'Wool', 'Centipede 10% / Wool 90%', 'Potato 100%']), - ], - 'product_options' => ['t_shirt_color', 't_shirt_size'], - 'images' => [ - [ - 'path' => sprintf('%s/../Resources/fixtures/%s', __DIR__, 't-shirts.jpg'), - 'type' => 'main', - ], - [ - 'path' => sprintf('%s/../Resources/fixtures/%s', __DIR__, 't-shirts.jpg'), - 'type' => 'thumbnail', - ], - ], - ]; - } - - $this->productFixture->load(['custom' => $products]); - } - - protected function configureOptionsNode(ArrayNodeDefinition $optionsNode): void - { - $optionsNode - ->children() - ->integerNode('amount')->isRequired()->min(0)->end() - ; - } - - private function getUniqueNames(int $amount): array - { - $productsNames = []; - - for ($i = 0; $i < $amount; ++$i) { - $name = $this->faker->word; - while (in_array($name, $productsNames)) { - $name = $this->faker->word; - } - $productsNames[] = $name; - } - - return $productsNames; - } -} diff --git a/src/Sylius/Bundle/CoreBundle/Form/Type/Checkout/AddressType.php b/src/Sylius/Bundle/CoreBundle/Form/Type/Checkout/AddressType.php index 0704ee0fd0..1b05fdddf0 100644 --- a/src/Sylius/Bundle/CoreBundle/Form/Type/Checkout/AddressType.php +++ b/src/Sylius/Bundle/CoreBundle/Form/Type/Checkout/AddressType.php @@ -33,22 +33,9 @@ use Webmozart\Assert\Assert; final class AddressType extends AbstractResourceType { - private ?AddressComparatorInterface $addressComparator; - - public function __construct(string $dataClass, array $validationGroups = [], ?AddressComparatorInterface $addressComparator = null) + public function __construct(private readonly AddressComparatorInterface $addressComparator, string $dataClass, array $validationGroups = []) { parent::__construct($dataClass, $validationGroups); - - if (null === $addressComparator) { - trigger_deprecation( - 'sylius/core-bundle', - '1.8', - 'Not passing an $addressComparator to "%s" constructor is deprecated and will be prohibited in Sylius 2.0.', - self::class, - ); - } - - $this->addressComparator = $addressComparator; } /** @@ -164,7 +151,7 @@ final class AddressType extends AbstractResourceType private function areAddressesDifferent(?AddressInterface $firstAddress, ?AddressInterface $secondAddress): bool { - if (null === $this->addressComparator || null === $firstAddress || null === $secondAddress) { + if (null === $firstAddress || null === $secondAddress) { return false; } diff --git a/src/Sylius/Bundle/CoreBundle/Installer/Requirement/FilesystemRequirements.php b/src/Sylius/Bundle/CoreBundle/Installer/Requirement/FilesystemRequirements.php index 7d5293a257..3a083d89ef 100644 --- a/src/Sylius/Bundle/CoreBundle/Installer/Requirement/FilesystemRequirements.php +++ b/src/Sylius/Bundle/CoreBundle/Installer/Requirement/FilesystemRequirements.php @@ -17,24 +17,10 @@ use Symfony\Contracts\Translation\TranslatorInterface; final class FilesystemRequirements extends RequirementCollection { - /** - * @param string $rootDir Deprecated. - */ - public function __construct(TranslatorInterface $translator, string $cacheDir, string $logsDir, string $rootDir = null) + public function __construct(TranslatorInterface $translator, string $cacheDir, string $logsDir) { parent::__construct($translator->trans('sylius.installer.filesystem.header', [])); - if (func_num_args() >= 4) { - trigger_deprecation( - 'sylius/core-bundle', - '1.2', - 'Passing root directory to "%s" constructor as the second argument is deprecated and this argument will be removed in Sylius 2.0.', - self::class, - ); - - [$rootDir, $cacheDir, $logsDir] = [$cacheDir, $logsDir, $rootDir]; - } - $this ->add(new Requirement( $translator->trans('sylius.installer.filesystem.cache.header', []), diff --git a/src/Sylius/Bundle/CoreBundle/MessageHandler/Admin/Account/RequestResetPasswordEmailHandler.php b/src/Sylius/Bundle/CoreBundle/MessageHandler/Admin/Account/RequestResetPasswordEmailHandler.php index d577d048f1..57a91b8370 100644 --- a/src/Sylius/Bundle/CoreBundle/MessageHandler/Admin/Account/RequestResetPasswordEmailHandler.php +++ b/src/Sylius/Bundle/CoreBundle/MessageHandler/Admin/Account/RequestResetPasswordEmailHandler.php @@ -15,10 +15,10 @@ namespace Sylius\Bundle\CoreBundle\MessageHandler\Admin\Account; use Sylius\Bundle\CoreBundle\Message\Admin\Account\RequestResetPasswordEmail; use Sylius\Bundle\CoreBundle\Message\Admin\Account\SendResetPasswordEmail; -use Sylius\Calendar\Provider\DateTimeProviderInterface; use Sylius\Component\Core\Model\AdminUserInterface; use Sylius\Component\User\Repository\UserRepositoryInterface; use Sylius\Component\User\Security\Generator\GeneratorInterface; +use Symfony\Component\Clock\ClockInterface; use Symfony\Component\Messenger\Handler\MessageHandlerInterface; use Symfony\Component\Messenger\MessageBusInterface; use Symfony\Component\Messenger\Stamp\DispatchAfterCurrentBusStamp; @@ -28,7 +28,7 @@ final class RequestResetPasswordEmailHandler implements MessageHandlerInterface public function __construct( private UserRepositoryInterface $userRepository, private GeneratorInterface $generator, - private DateTimeProviderInterface $calendar, + private ClockInterface $clock, private MessageBusInterface $commandBus, ) { } @@ -42,7 +42,7 @@ final class RequestResetPasswordEmailHandler implements MessageHandlerInterface } $adminUser->setPasswordResetToken($this->generator->generate()); - $adminUser->setPasswordRequestedAt($this->calendar->now()); + $adminUser->setPasswordRequestedAt($this->clock->now()); $this->commandBus->dispatch( new SendResetPasswordEmail($adminUser->getEmail(), $adminUser->getLocaleCode()), diff --git a/src/Sylius/Bundle/CoreBundle/PriceHistory/Logger/PriceChangeLogger.php b/src/Sylius/Bundle/CoreBundle/PriceHistory/Logger/PriceChangeLogger.php index 128dab9b3c..399e7bdeb3 100644 --- a/src/Sylius/Bundle/CoreBundle/PriceHistory/Logger/PriceChangeLogger.php +++ b/src/Sylius/Bundle/CoreBundle/PriceHistory/Logger/PriceChangeLogger.php @@ -14,9 +14,9 @@ declare(strict_types=1); namespace Sylius\Bundle\CoreBundle\PriceHistory\Logger; use Doctrine\Persistence\ObjectManager; -use Sylius\Calendar\Provider\DateTimeProviderInterface; use Sylius\Component\Core\Factory\ChannelPricingLogEntryFactoryInterface; use Sylius\Component\Core\Model\ChannelPricingInterface; +use Symfony\Component\Clock\ClockInterface; use Webmozart\Assert\Assert; final class PriceChangeLogger implements PriceChangeLoggerInterface @@ -24,7 +24,7 @@ final class PriceChangeLogger implements PriceChangeLoggerInterface public function __construct( private ChannelPricingLogEntryFactoryInterface $logEntryFactory, private ObjectManager $logEntryManager, - private DateTimeProviderInterface $dateTimeProvider, + private ClockInterface $clock, ) { } @@ -34,7 +34,7 @@ final class PriceChangeLogger implements PriceChangeLoggerInterface $logEntry = $this->logEntryFactory->create( $channelPricing, - $this->dateTimeProvider->now(), + $this->clock->now(), $channelPricing->getPrice(), $channelPricing->getOriginalPrice(), ); diff --git a/src/Sylius/Bundle/CoreBundle/PriceHistory/Remover/ChannelPricingLogEntriesRemover.php b/src/Sylius/Bundle/CoreBundle/PriceHistory/Remover/ChannelPricingLogEntriesRemover.php index 70b148791e..64d64e5c97 100644 --- a/src/Sylius/Bundle/CoreBundle/PriceHistory/Remover/ChannelPricingLogEntriesRemover.php +++ b/src/Sylius/Bundle/CoreBundle/PriceHistory/Remover/ChannelPricingLogEntriesRemover.php @@ -15,18 +15,17 @@ namespace Sylius\Bundle\CoreBundle\PriceHistory\Remover; use Doctrine\Persistence\ObjectManager; use Sylius\Bundle\CoreBundle\PriceHistory\Event\OldChannelPricingLogEntriesEvents; -use Sylius\Calendar\Provider\DateTimeProviderInterface; use Sylius\Component\Core\Repository\ChannelPricingLogEntryRepositoryInterface; +use Symfony\Component\Clock\ClockInterface; use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Component\EventDispatcher\GenericEvent; -use Webmozart\Assert\Assert; final class ChannelPricingLogEntriesRemover implements ChannelPricingLogEntriesRemoverInterface { public function __construct( private ChannelPricingLogEntryRepositoryInterface $channelPricingLogEntriesRepository, private ObjectManager $channelPricingLogEntriesManager, - private DateTimeProviderInterface $dateTimeProvider, + private ClockInterface $clock, private EventDispatcherInterface $eventDispatcher, private int $batchSize = 100, ) { @@ -59,8 +58,7 @@ final class ChannelPricingLogEntriesRemover implements ChannelPricingLogEntriesR private function getFromDate(int $fromDays): \DateTimeInterface { - $now = $this->dateTimeProvider->now(); - Assert::methodExists($now, 'modify'); + $now = $this->clock->now(); return $now->modify(sprintf('-%d days', $fromDays)); } diff --git a/src/Sylius/Bundle/CoreBundle/Provider/SessionProvider.php b/src/Sylius/Bundle/CoreBundle/Provider/SessionProvider.php deleted file mode 100644 index e17d470159..0000000000 --- a/src/Sylius/Bundle/CoreBundle/Provider/SessionProvider.php +++ /dev/null @@ -1,36 +0,0 @@ -getSession(); - } -} diff --git a/src/Sylius/Bundle/CoreBundle/Resources/config/app/config.yml b/src/Sylius/Bundle/CoreBundle/Resources/config/app/config.yml index 7a0307ee1b..378a0a9861 100644 --- a/src/Sylius/Bundle/CoreBundle/Resources/config/app/config.yml +++ b/src/Sylius/Bundle/CoreBundle/Resources/config/app/config.yml @@ -65,12 +65,14 @@ knp_gaufrette: adapter: "%sylius.uploader.filesystem%" liip_imagine: + cache: sylius_image + data_loader: sylius_image loaders: - default: + sylius_image: filesystem: data_root: "%sylius_core.images_dir%" resolvers: - default: + sylius_image: web_path: web_root: "%sylius_core.public_dir%" cache_prefix: "media/cache" diff --git a/src/Sylius/Bundle/CoreBundle/Resources/config/app/messenger.yaml b/src/Sylius/Bundle/CoreBundle/Resources/config/app/messenger.yaml index 0e182f377c..98599a17e4 100644 --- a/src/Sylius/Bundle/CoreBundle/Resources/config/app/messenger.yaml +++ b/src/Sylius/Bundle/CoreBundle/Resources/config/app/messenger.yaml @@ -27,7 +27,6 @@ framework: 'Sylius\Bundle\CoreBundle\CatalogPromotion\Command\ApplyCatalogPromotionsOnVariants': main 'Sylius\Bundle\CoreBundle\CatalogPromotion\Command\DisableCatalogPromotion': main 'Sylius\Bundle\CoreBundle\CatalogPromotion\Command\RemoveCatalogPromotion': catalog_promotion_removal - 'Sylius\Bundle\CoreBundle\CatalogPromotion\Command\RemoveInactiveCatalogPromotion': catalog_promotion_removal 'Sylius\Bundle\CoreBundle\PriceHistory\Command\ApplyLowestPriceOnChannelPricings': main 'Sylius\Component\Promotion\Event\CatalogPromotionCreated': main 'Sylius\Component\Promotion\Event\CatalogPromotionEnded': main diff --git a/src/Sylius/Bundle/CoreBundle/Resources/config/app/sylius/sylius_product.yml b/src/Sylius/Bundle/CoreBundle/Resources/config/app/sylius/sylius_product.yml index ad643e82b8..aaa78f29a6 100644 --- a/src/Sylius/Bundle/CoreBundle/Resources/config/app/sylius/sylius_product.yml +++ b/src/Sylius/Bundle/CoreBundle/Resources/config/app/sylius/sylius_product.yml @@ -21,6 +21,3 @@ sylius_product: product_association: classes: repository: Sylius\Bundle\CoreBundle\Doctrine\ORM\ProductAssociationRepository - product_association_type: - classes: - repository: Sylius\Bundle\ProductBundle\Doctrine\ORM\ProductAssociationTypeRepository diff --git a/src/Sylius/Bundle/CoreBundle/Resources/config/services.xml b/src/Sylius/Bundle/CoreBundle/Resources/config/services.xml index a1b784e389..f377386cc7 100644 --- a/src/Sylius/Bundle/CoreBundle/Resources/config/services.xml +++ b/src/Sylius/Bundle/CoreBundle/Resources/config/services.xml @@ -76,14 +76,6 @@ - - - - %sylius.uploader.filesystem% - - - - - - - - - @@ -208,7 +195,7 @@ > - + @@ -226,7 +213,7 @@ - + %sylius.channel_pricing_log_entry.old_logs_removal_batch_size% diff --git a/src/Sylius/Bundle/CoreBundle/Resources/config/services/catalog_promotion.xml b/src/Sylius/Bundle/CoreBundle/Resources/config/services/catalog_promotion.xml index 1746779277..14224a2e3b 100644 --- a/src/Sylius/Bundle/CoreBundle/Resources/config/services/catalog_promotion.xml +++ b/src/Sylius/Bundle/CoreBundle/Resources/config/services/catalog_promotion.xml @@ -39,7 +39,7 @@ > - + - - - - - - diff --git a/src/Sylius/Bundle/CoreBundle/Resources/config/services/checkout.xml b/src/Sylius/Bundle/CoreBundle/Resources/config/services/checkout.xml index c671a61b70..e68fe162b9 100644 --- a/src/Sylius/Bundle/CoreBundle/Resources/config/services/checkout.xml +++ b/src/Sylius/Bundle/CoreBundle/Resources/config/services/checkout.xml @@ -37,9 +37,9 @@ + %sylius.model.order.class% %sylius.form.type.checkout_address.validation_groups% - diff --git a/src/Sylius/Bundle/CoreBundle/Resources/config/services/fixtures.xml b/src/Sylius/Bundle/CoreBundle/Resources/config/services/fixtures.xml index 69d95aa349..2d3ac95db1 100644 --- a/src/Sylius/Bundle/CoreBundle/Resources/config/services/fixtures.xml +++ b/src/Sylius/Bundle/CoreBundle/Resources/config/services/fixtures.xml @@ -154,54 +154,8 @@ - - - - - - %locale% - - - - - - - - - - - - - - - - %locale% - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/Sylius/Bundle/CoreBundle/Resources/config/services/listeners.xml b/src/Sylius/Bundle/CoreBundle/Resources/config/services/listeners.xml index 22c4476fdf..281e5cae54 100644 --- a/src/Sylius/Bundle/CoreBundle/Resources/config/services/listeners.xml +++ b/src/Sylius/Bundle/CoreBundle/Resources/config/services/listeners.xml @@ -102,7 +102,6 @@ - diff --git a/src/Sylius/Bundle/CoreBundle/Resources/config/services/message_handlers.xml b/src/Sylius/Bundle/CoreBundle/Resources/config/services/message_handlers.xml index c0511cb581..81e69f62c6 100644 --- a/src/Sylius/Bundle/CoreBundle/Resources/config/services/message_handlers.xml +++ b/src/Sylius/Bundle/CoreBundle/Resources/config/services/message_handlers.xml @@ -21,7 +21,7 @@ - + diff --git a/src/Sylius/Bundle/CoreBundle/Resources/config/services/order_processing.xml b/src/Sylius/Bundle/CoreBundle/Resources/config/services/order_processing.xml index a97f161f05..cd16c5ff84 100644 --- a/src/Sylius/Bundle/CoreBundle/Resources/config/services/order_processing.xml +++ b/src/Sylius/Bundle/CoreBundle/Resources/config/services/order_processing.xml @@ -70,16 +70,16 @@ - cart %sylius.order_payment_processor.checkout.unsupported_states% + cart - new %sylius.order_payment_processor.after_checkout.unsupported_states% + new diff --git a/src/Sylius/Bundle/CoreBundle/Resources/config/services/price_history/logger.xml b/src/Sylius/Bundle/CoreBundle/Resources/config/services/price_history/logger.xml index 2e1c9c0c89..f8f845a3c5 100644 --- a/src/Sylius/Bundle/CoreBundle/Resources/config/services/price_history/logger.xml +++ b/src/Sylius/Bundle/CoreBundle/Resources/config/services/price_history/logger.xml @@ -21,7 +21,7 @@ > - + diff --git a/src/Sylius/Bundle/CoreBundle/Resources/config/services/promotion.xml b/src/Sylius/Bundle/CoreBundle/Resources/config/services/promotion.xml index f66b49d52b..aad2d09588 100644 --- a/src/Sylius/Bundle/CoreBundle/Resources/config/services/promotion.xml +++ b/src/Sylius/Bundle/CoreBundle/Resources/config/services/promotion.xml @@ -120,14 +120,6 @@ - - - - - - - - diff --git a/src/Sylius/Bundle/CoreBundle/Resources/config/services/providers.xml b/src/Sylius/Bundle/CoreBundle/Resources/config/services/providers.xml index ef51a0c40a..2222f67fb0 100644 --- a/src/Sylius/Bundle/CoreBundle/Resources/config/services/providers.xml +++ b/src/Sylius/Bundle/CoreBundle/Resources/config/services/providers.xml @@ -26,11 +26,6 @@ - - - - - %locale% diff --git a/src/Sylius/Bundle/CoreBundle/Resources/config/services/templating.xml b/src/Sylius/Bundle/CoreBundle/Resources/config/services/templating.xml index a2b97176f8..ebf08b25c8 100644 --- a/src/Sylius/Bundle/CoreBundle/Resources/config/services/templating.xml +++ b/src/Sylius/Bundle/CoreBundle/Resources/config/services/templating.xml @@ -20,11 +20,6 @@ - - - - - diff --git a/src/Sylius/Bundle/CoreBundle/Resources/views/Email/adminPasswordReset.html.twig b/src/Sylius/Bundle/CoreBundle/Resources/views/Email/adminPasswordReset.html.twig index 6e25f0cb89..ff01436216 100644 --- a/src/Sylius/Bundle/CoreBundle/Resources/views/Email/adminPasswordReset.html.twig +++ b/src/Sylius/Bundle/CoreBundle/Resources/views/Email/adminPasswordReset.html.twig @@ -9,11 +9,7 @@
- {% if use_webpack %} - Sylius - {% else %} - Sylius - {% endif %} + Sylius
diff --git a/src/Sylius/Bundle/CoreBundle/Resources/views/Email/layout.html.twig b/src/Sylius/Bundle/CoreBundle/Resources/views/Email/layout.html.twig index 519d8e1841..4567020d75 100644 --- a/src/Sylius/Bundle/CoreBundle/Resources/views/Email/layout.html.twig +++ b/src/Sylius/Bundle/CoreBundle/Resources/views/Email/layout.html.twig @@ -1,10 +1,6 @@ {% block body %} {% autoescape false %} - {% if use_webpack %} - {% set logo = sylius_channel_url(asset('build/shop/images/logo.png', 'shop'), channel) %} - {% else %} - {% set logo = sylius_channel_url(asset('assets/shop/img/logo.png'), channel) %} - {% endif %} + {% set logo = sylius_channel_url(asset('build/shop/images/logo.png', 'shop'), channel) %}
diff --git a/src/Sylius/Bundle/CoreBundle/Security/UserImpersonator.php b/src/Sylius/Bundle/CoreBundle/Security/UserImpersonator.php index dc61fe7a4e..031f5ae69a 100644 --- a/src/Sylius/Bundle/CoreBundle/Security/UserImpersonator.php +++ b/src/Sylius/Bundle/CoreBundle/Security/UserImpersonator.php @@ -13,13 +13,11 @@ declare(strict_types=1); namespace Sylius\Bundle\CoreBundle\Security; -use Sylius\Bundle\CoreBundle\Provider\SessionProvider; use Sylius\Bundle\UserBundle\Event\UserEvent; use Sylius\Bundle\UserBundle\UserEvents; use Sylius\Component\User\Model\UserInterface as SyliusUserInterface; use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Component\HttpFoundation\RequestStack; -use Symfony\Component\HttpFoundation\Session\SessionInterface; use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken; use Symfony\Component\Security\Core\User\UserInterface as SymfonyUserInterface; use Webmozart\Assert\Assert; @@ -31,45 +29,23 @@ final class UserImpersonator implements UserImpersonatorInterface private string $firewallContextName; public function __construct( - private RequestStack|SessionInterface $requestStackOrSession, + private RequestStack $requestStack, string $firewallContextName, private EventDispatcherInterface $eventDispatcher, ) { $this->sessionTokenParameter = sprintf('_security_%s', $firewallContextName); $this->firewallContextName = $firewallContextName; - - if ($requestStackOrSession instanceof SessionInterface) { - trigger_deprecation( - 'sylius/core-bundle', - '1.12', - 'Passing an instance of %s as constructor argument for %s is deprecated and will be removed in Sylius 2.0. Pass an instance of %s instead.', - SessionInterface::class, - self::class, - RequestStack::class, - ); - } } public function impersonate(SymfonyUserInterface $user): void { - /** @deprecated parameter credential was deprecated in Symfony 5.4, so in Sylius 1.11 too, in Sylius 2.0 providing 4 arguments will be prohibited. */ - if (3 === (new \ReflectionClass(UsernamePasswordToken::class))->getConstructor()->getNumberOfParameters()) { - $token = new UsernamePasswordToken( - $user, - $this->firewallContextName, - array_map(/** @param object|string $role */ static fn ($role): string => (string) $role, $user->getRoles()), - ); - } else { - Assert::methodExists($user, 'getPassword'); - $token = new UsernamePasswordToken( - $user, - $user->getPassword(), - $this->firewallContextName, // @phpstan-ignore-line continue to support Sf < 6 - array_map(/** @param object|string $role */ static fn ($role): string => (string) $role, $user->getRoles()), - ); - } + $token = new UsernamePasswordToken( + $user, + $this->firewallContextName, + array_map(static fn (object|string $role): string => $role, $user->getRoles()), + ); - $session = SessionProvider::getSession($this->requestStackOrSession); + $session = $this->requestStack->getSession(); $session->set($this->sessionTokenParameter, serialize($token)); $session->save(); diff --git a/src/Sylius/Bundle/CoreBundle/Storage/CartSessionStorage.php b/src/Sylius/Bundle/CoreBundle/Storage/CartSessionStorage.php index 55308d085d..65f8f7ece4 100644 --- a/src/Sylius/Bundle/CoreBundle/Storage/CartSessionStorage.php +++ b/src/Sylius/Bundle/CoreBundle/Storage/CartSessionStorage.php @@ -13,39 +13,26 @@ declare(strict_types=1); namespace Sylius\Bundle\CoreBundle\Storage; -use Sylius\Bundle\CoreBundle\Provider\SessionProvider; use Sylius\Component\Core\Model\ChannelInterface; use Sylius\Component\Core\Model\OrderInterface; use Sylius\Component\Core\Repository\OrderRepositoryInterface; use Sylius\Component\Core\Storage\CartStorageInterface; use Symfony\Component\HttpFoundation\Exception\SessionNotFoundException; use Symfony\Component\HttpFoundation\RequestStack; -use Symfony\Component\HttpFoundation\Session\SessionInterface; final class CartSessionStorage implements CartStorageInterface { public function __construct( - private RequestStack|SessionInterface $requestStackOrSession, + private RequestStack $requestStack, private string $sessionKeyName, private OrderRepositoryInterface $orderRepository, ) { - if ($requestStackOrSession instanceof SessionInterface) { - trigger_deprecation( - 'sylius/core-bundle', - '1.12', - 'Passing an instance of %s as constructor argument for %s is deprecated and will be removed in Sylius 2.0. Pass an instance of %s instead.', - SessionInterface::class, - self::class, - RequestStack::class, - ) - ; - } } public function hasForChannel(ChannelInterface $channel): bool { try { - return SessionProvider::getSession($this->requestStackOrSession)->has($this->getCartKeyName($channel)); + return $this->requestStack->getSession()->has($this->getCartKeyName($channel)); } catch (SessionNotFoundException) { return false; } @@ -54,7 +41,7 @@ final class CartSessionStorage implements CartStorageInterface public function getForChannel(ChannelInterface $channel): ?OrderInterface { if ($this->hasForChannel($channel)) { - $cartId = SessionProvider::getSession($this->requestStackOrSession)->get($this->getCartKeyName($channel)); + $cartId = $this->requestStack->getSession()->get($this->getCartKeyName($channel)); return $this->orderRepository->findCartByChannel($cartId, $channel); } @@ -64,12 +51,12 @@ final class CartSessionStorage implements CartStorageInterface public function setForChannel(ChannelInterface $channel, OrderInterface $cart): void { - SessionProvider::getSession($this->requestStackOrSession)->set($this->getCartKeyName($channel), $cart->getId()); + $this->requestStack->getSession()->set($this->getCartKeyName($channel), $cart->getId()); } public function removeForChannel(ChannelInterface $channel): void { - SessionProvider::getSession($this->requestStackOrSession)->remove($this->getCartKeyName($channel)); + $this->requestStack->getSession()->remove($this->getCartKeyName($channel)); } private function getCartKeyName(ChannelInterface $channel): string diff --git a/src/Sylius/Bundle/CoreBundle/SyliusCoreBundle.php b/src/Sylius/Bundle/CoreBundle/SyliusCoreBundle.php index c078b4d91f..39933ff9ab 100644 --- a/src/Sylius/Bundle/CoreBundle/SyliusCoreBundle.php +++ b/src/Sylius/Bundle/CoreBundle/SyliusCoreBundle.php @@ -21,7 +21,6 @@ use Doctrine\Inflector\Rules\Substitutions; use Doctrine\Inflector\Rules\Transformations; use Doctrine\Inflector\Rules\Word; use Doctrine\ORM\Query; -use Sylius\Bundle\CoreBundle\DependencyInjection\Compiler\BackwardsCompatibility\CancelOrderStateMachineCallbackPass; use Sylius\Bundle\CoreBundle\DependencyInjection\Compiler\BackwardsCompatibility\ResolveShopUserTargetEntityPass; use Sylius\Bundle\CoreBundle\DependencyInjection\Compiler\BackwardsCompatibility\Symfony5AuthenticationManagerPass; use Sylius\Bundle\CoreBundle\DependencyInjection\Compiler\BackwardsCompatibility\Symfony6PrivateServicesPass; @@ -31,7 +30,6 @@ use Sylius\Bundle\CoreBundle\DependencyInjection\Compiler\LazyCacheWarmupPass; use Sylius\Bundle\CoreBundle\DependencyInjection\Compiler\LiipImageFiltersPass; use Sylius\Bundle\CoreBundle\DependencyInjection\Compiler\RegisterTaxCalculationStrategiesPass; use Sylius\Bundle\CoreBundle\DependencyInjection\Compiler\RegisterUriBasedSectionResolverPass; -use Sylius\Bundle\CoreBundle\DependencyInjection\Compiler\SyliusPriceHistoryLegacyAliasesPass; use Sylius\Bundle\CoreBundle\DependencyInjection\Compiler\TranslatableEntityLocalePass; use Sylius\Bundle\CoreBundle\Doctrine\ORM\SqlWalker\OrderByIdentifierSqlWalker; use Sylius\Bundle\ResourceBundle\AbstractResourceBundle; @@ -41,13 +39,13 @@ use Symfony\Component\DependencyInjection\ContainerBuilder; final class SyliusCoreBundle extends AbstractResourceBundle { - public const VERSION = '1.13.0-DEV'; + public const VERSION = '2.0.0-DEV'; - public const VERSION_ID = '11300'; + public const VERSION_ID = '20000'; - public const MAJOR_VERSION = '1'; + public const MAJOR_VERSION = '2'; - public const MINOR_VERSION = '13'; + public const MINOR_VERSION = '0'; public const RELEASE_VERSION = '0'; @@ -93,8 +91,6 @@ final class SyliusCoreBundle extends AbstractResourceBundle $container->addCompilerPass(new Symfony5AuthenticationManagerPass()); $container->addCompilerPass(new Symfony6PrivateServicesPass()); $container->addCompilerPass(new TranslatableEntityLocalePass()); - $container->addCompilerPass(new CancelOrderStateMachineCallbackPass()); - $container->addCompilerPass(new SyliusPriceHistoryLegacyAliasesPass()); } protected function getModelNamespace(): string diff --git a/src/Sylius/Bundle/CoreBundle/Templating/Helper/PriceHelper.php b/src/Sylius/Bundle/CoreBundle/Templating/Helper/PriceHelper.php index 3c6ed77619..db4bc0ea85 100644 --- a/src/Sylius/Bundle/CoreBundle/Templating/Helper/PriceHelper.php +++ b/src/Sylius/Bundle/CoreBundle/Templating/Helper/PriceHelper.php @@ -13,7 +13,6 @@ declare(strict_types=1); namespace Sylius\Bundle\CoreBundle\Templating\Helper; -use Sylius\Component\Core\Calculator\ProductVariantPriceCalculatorInterface; use Sylius\Component\Core\Calculator\ProductVariantPricesCalculatorInterface; use Sylius\Component\Core\Model\ProductVariantInterface; use Symfony\Component\Templating\Helper\Helper; @@ -21,7 +20,7 @@ use Webmozart\Assert\Assert; class PriceHelper extends Helper { - public function __construct(private ProductVariantPriceCalculatorInterface $productVariantPriceCalculator) + public function __construct(private ProductVariantPricesCalculatorInterface $productVariantPricesCalculator) { } @@ -33,7 +32,7 @@ class PriceHelper extends Helper Assert::keyExists($context, 'channel'); return $this - ->productVariantPriceCalculator + ->productVariantPricesCalculator ->calculate($productVariant, $context) ; } @@ -44,10 +43,9 @@ class PriceHelper extends Helper public function getOriginalPrice(ProductVariantInterface $productVariant, array $context): int { Assert::keyExists($context, 'channel'); - Assert::isInstanceOf($this->productVariantPriceCalculator, ProductVariantPricesCalculatorInterface::class); return $this - ->productVariantPriceCalculator + ->productVariantPricesCalculator ->calculateOriginal($productVariant, $context) ; } @@ -55,10 +53,9 @@ class PriceHelper extends Helper public function getLowestPriceBeforeDiscount(ProductVariantInterface $productVariant, array $context): ?int { Assert::keyExists($context, 'channel'); - Assert::isInstanceOf($this->productVariantPriceCalculator, ProductVariantPricesCalculatorInterface::class); return $this - ->productVariantPriceCalculator + ->productVariantPricesCalculator ->calculateLowestPriceBeforeDiscount($productVariant, $context) ; } @@ -76,7 +73,6 @@ class PriceHelper extends Helper public function hasDiscount(ProductVariantInterface $productVariant, array $context): bool { Assert::keyExists($context, 'channel'); - Assert::isInstanceOf($this->productVariantPriceCalculator, ProductVariantPricesCalculatorInterface::class); return $this->getOriginalPrice($productVariant, $context) > $this->getPrice($productVariant, $context); } diff --git a/src/Sylius/Bundle/CoreBundle/Templating/Helper/ProductVariantsPricesHelper.php b/src/Sylius/Bundle/CoreBundle/Templating/Helper/ProductVariantsPricesHelper.php deleted file mode 100644 index 09331e9ecc..0000000000 --- a/src/Sylius/Bundle/CoreBundle/Templating/Helper/ProductVariantsPricesHelper.php +++ /dev/null @@ -1,45 +0,0 @@ -productVariantsPricesProvider->provideVariantsPrices($product, $channel); - } - - public function getName(): string - { - return 'sylius_product_variants_prices'; - } -} diff --git a/src/Sylius/Bundle/CoreBundle/Tests/DependencyInjection/Compiler/BackwardsCompatibility/CancelOrderStateMachineCallbackPassTest.php b/src/Sylius/Bundle/CoreBundle/Tests/DependencyInjection/Compiler/BackwardsCompatibility/CancelOrderStateMachineCallbackPassTest.php deleted file mode 100644 index af175c6e6d..0000000000 --- a/src/Sylius/Bundle/CoreBundle/Tests/DependencyInjection/Compiler/BackwardsCompatibility/CancelOrderStateMachineCallbackPassTest.php +++ /dev/null @@ -1,103 +0,0 @@ - [ - 'class' => 'Sylius\\Component\\Core\\Model\\Order', - 'property_path' => 'state', - 'graph' => 'sylius_order', - 'state_machine_class' => 'Sylius\\Component\\Resource\\StateMachine\\StateMachine', - 'states' => [ - 'cart', - 'new', - 'cancelled', - 'fulfilled', - ], - 'transitions' => [ - 'create' => [ - 'from' => [ - 'cart', - ], - 'to' => 'new', - ], - 'cancel' => [ - 'from' => [ - 'new', - ], - 'to' => 'cancelled', - ], - 'fulfill' => [ - 'from' => [ - 'new', - ], - 'to' => 'fulfilled', - ], - ], - 'callbacks' => [ - 'before' => [], - 'after' => [ - 'sylis_cancel_order' => [ - 'on' => [ - 'cancel', - ], - 'do' => [ - '@sylius.inventory.order_inventory_operator', - 'cancel', - ], - 'args' => [ - 'object', - ], - 'disabled' => false, - 'priority' => 0, - ], - ], - 'guard' => [], - ], - ], - ]; - - /** @test */ - public function it_converts_from_old_name_to_new_name(): void - { - $this->setParameter('sm.configs', $this->smConfigs); - $this->compile(); - - $smConfigs = $this->container->getParameter('sm.configs'); - $this->assertFalse( - isset($smConfigs['sylius_order']['callbacks']['after']['sylis_cancel_order']), - 'State machine "sylius_order" should not have "sylis_cancel_order" callback configured.', - ); - $this->assertTrue( - isset($smConfigs['sylius_order']['callbacks']['after']['sylius_cancel_order']), - 'State machine "sylius_order" should have "sylius_cancel_order" callback configured.', - ); - $this->assertEquals( - $this->smConfigs['sylius_order']['callbacks']['after']['sylis_cancel_order'], - $smConfigs['sylius_order']['callbacks']['after']['sylius_cancel_order'], - 'State machine "sylius_order" should have the "sylis_cancel_order" callback moved to "sylius_cancel_order".', - ); - } - - protected function registerCompilerPass(ContainerBuilder $container): void - { - $container->addCompilerPass(new CancelOrderStateMachineCallbackPass()); - } -} diff --git a/src/Sylius/Bundle/CoreBundle/Tests/DependencyInjection/Compiler/SyliusPriceHistoryLegacyAliasesPassTest.php b/src/Sylius/Bundle/CoreBundle/Tests/DependencyInjection/Compiler/SyliusPriceHistoryLegacyAliasesPassTest.php deleted file mode 100644 index 22e15af03d..0000000000 --- a/src/Sylius/Bundle/CoreBundle/Tests/DependencyInjection/Compiler/SyliusPriceHistoryLegacyAliasesPassTest.php +++ /dev/null @@ -1,47 +0,0 @@ -register('Sylius\Component\Core\Checker\ProductVariantLowestPriceDisplayCheckerInterface'); - $container->register('Sylius\Bundle\CoreBundle\PriceHistory\CommandHandler\SomeService'); - $container->register('sylius.manager.channel_price_history_config'); - $container->register('sylius.factory.channel_pricing_log_entry'); - - $this->process($container); - - $this->assertHasAlias($container, 'Sylius\PriceHistoryPlugin\Application\Checker\ProductVariantLowestPriceDisplayCheckerInterface'); - $this->assertHasAlias($container, 'Sylius\PriceHistoryPlugin\Application\CommandHandler\SomeService'); - $this->assertHasAlias($container, 'sylius_price_history.manager.channel_price_history_config'); - $this->assertHasAlias($container, 'sylius_price_history.factory.channel_pricing_log_entry'); - } - - private function assertHasAlias(ContainerBuilder $container, string $alias): void - { - $this->assertTrue($container->hasAlias($alias), 'Expected to find alias ' . $alias); - } - - private function process(ContainerBuilder $container): void - { - (new SyliusPriceHistoryLegacyAliasesPass())->process($container); - } -} diff --git a/src/Sylius/Bundle/CoreBundle/Tests/DependencyInjection/SyliusCoreConfigurationTest.php b/src/Sylius/Bundle/CoreBundle/Tests/DependencyInjection/SyliusCoreConfigurationTest.php index ff41da0f55..b5cba13096 100644 --- a/src/Sylius/Bundle/CoreBundle/Tests/DependencyInjection/SyliusCoreConfigurationTest.php +++ b/src/Sylius/Bundle/CoreBundle/Tests/DependencyInjection/SyliusCoreConfigurationTest.php @@ -13,48 +13,14 @@ declare(strict_types=1); namespace Sylius\Bundle\CoreBundle\Tests\DependencyInjection; -use Matthias\SymfonyConfigTest\Partial\PartialProcessor; use Matthias\SymfonyConfigTest\PhpUnit\ConfigurationTestCaseTrait; use PHPUnit\Framework\TestCase; use Sylius\Bundle\CoreBundle\DependencyInjection\Configuration; -use Symfony\Component\Config\Definition\Exception\InvalidTypeException; final class SyliusCoreConfigurationTest extends TestCase { use ConfigurationTestCaseTrait; - /** @test */ - public function it_does_not_bring_back_previous_priorities_for_order_processing_by_default(): void - { - $this->assertProcessedConfigurationEquals( - [[]], - ['process_shipments_before_recalculating_prices' => false], - 'process_shipments_before_recalculating_prices', - ); - } - - /** @test */ - public function it_allows_to_define_that_previous_priorities_should_be_brought_back_for_order_processing(): void - { - $this->assertProcessedConfigurationEquals( - [['process_shipments_before_recalculating_prices' => true]], - ['process_shipments_before_recalculating_prices' => true], - 'process_shipments_before_recalculating_prices', - ); - } - - /** @test */ - public function it_does_not_allow_to_define_previous_priorities_with_values_other_then_bool(): void - { - $this->expectException(InvalidTypeException::class); - - (new PartialProcessor())->processConfiguration( - $this->getConfiguration(), - 'process_shipments_before_recalculating_prices', - [['process_shipments_before_recalculating_prices' => 'yolo']], - ); - } - /** @test */ public function it_sets_default_filesystem_adapter(): void { @@ -79,12 +45,6 @@ final class SyliusCoreConfigurationTest extends TestCase ['filesystem' => ['adapter' => 'flysystem']], 'filesystem', ); - - $this->assertProcessedConfigurationEquals( - [['filesystem' => ['adapter' => 'gaufrette']]], - ['filesystem' => ['adapter' => 'gaufrette']], - 'filesystem', - ); } /** @test */ @@ -92,7 +52,7 @@ final class SyliusCoreConfigurationTest extends TestCase { $this->assertConfigurationIsInvalid( [['filesystem' => ['adapter' => 'yolo']]], - 'Expected adapter "default", "flysystem" or "gaufrette", but "yolo" passed.', + 'Expected adapter "default" or "flysystem", but "yolo" passed.', ); } diff --git a/src/Sylius/Bundle/CoreBundle/Tests/DependencyInjection/SyliusCoreExtensionTest.php b/src/Sylius/Bundle/CoreBundle/Tests/DependencyInjection/SyliusCoreExtensionTest.php index 98f2d055e3..df826bc453 100644 --- a/src/Sylius/Bundle/CoreBundle/Tests/DependencyInjection/SyliusCoreExtensionTest.php +++ b/src/Sylius/Bundle/CoreBundle/Tests/DependencyInjection/SyliusCoreExtensionTest.php @@ -15,7 +15,6 @@ namespace Sylius\Bundle\CoreBundle\Tests\DependencyInjection; use Doctrine\Bundle\MigrationsBundle\DependencyInjection\DoctrineMigrationsExtension; use Matthias\SymfonyDependencyInjectionTest\PhpUnit\AbstractExtensionTestCase; -use Matthias\SymfonyDependencyInjectionTest\PhpUnit\DefinitionHasTagConstraint; use Sylius\Bundle\CoreBundle\Attribute\AsCatalogPromotionApplicatorCriteria; use Sylius\Bundle\CoreBundle\Attribute\AsCatalogPromotionPriceCalculator; use Sylius\Bundle\CoreBundle\Attribute\AsEntityObserver; @@ -36,40 +35,11 @@ use Sylius\Bundle\CoreBundle\Tests\Stub\UriBasedSectionResolverStub; use Sylius\Bundle\OrderBundle\DependencyInjection\SyliusOrderExtension; use Sylius\Component\Core\Filesystem\Adapter\FilesystemAdapterInterface; use Sylius\Component\Core\Filesystem\Adapter\FlysystemFilesystemAdapter; -use Sylius\Component\Core\Filesystem\Adapter\GaufretteFilesystemAdapter; use SyliusLabs\DoctrineMigrationsExtraBundle\DependencyInjection\SyliusLabsDoctrineMigrationsExtraExtension; use Symfony\Component\DependencyInjection\Definition; final class SyliusCoreExtensionTest extends AbstractExtensionTestCase { - /** @test */ - public function it_brings_back_previous_order_processing_priorities(): void - { - $this->container->setParameter('kernel.environment', 'dev'); - - $this->load(['process_shipments_before_recalculating_prices' => true]); - - $this->assertThat( - $this->container->findDefinition('sylius.order_processing.order_prices_recalculator'), - new DefinitionHasTagConstraint('sylius.order_processor', ['priority' => 40]), - ); - - $this->assertThat( - $this->container->findDefinition('sylius.order_processing.order_prices_recalculator'), - $this->logicalNot(new DefinitionHasTagConstraint('sylius.order_processor', ['priority' => 50])), - ); - - $this->assertThat( - $this->container->findDefinition('sylius.order_processing.order_shipment_processor'), - new DefinitionHasTagConstraint('sylius.order_processor', ['priority' => 50]), - ); - - $this->assertThat( - $this->container->findDefinition('sylius.order_processing.order_shipment_processor'), - $this->logicalNot(new DefinitionHasTagConstraint('sylius.order_processor', ['priority' => 40])), - ); - } - /** @test */ public function it_autoconfigures_prepending_doctrine_migrations_with_proper_migrations_path_for_test_env(): void { @@ -196,16 +166,6 @@ final class SyliusCoreExtensionTest extends AbstractExtensionTestCase $this->assertContainerBuilderHasAlias(FilesystemAdapterInterface::class, FlysystemFilesystemAdapter::class); } - /** @test */ - public function it_aliases_gaufrette_filesystem_adapter_properly(): void - { - $this->container->setParameter('kernel.environment', 'dev'); - - $this->load(['filesystem' => ['adapter' => 'gaufrette']]); - - $this->assertContainerBuilderHasAlias(FilesystemAdapterInterface::class, GaufretteFilesystemAdapter::class); - } - /** @test */ public function it_autoconfigures_catalog_promotion_applicator_criteria_with_attribute(): void { diff --git a/src/Sylius/Bundle/CoreBundle/Tests/Mailer/OrderEmailManagerTest.php b/src/Sylius/Bundle/CoreBundle/Tests/Mailer/OrderEmailManagerTest.php index af9d469c87..70378b7a91 100644 --- a/src/Sylius/Bundle/CoreBundle/Tests/Mailer/OrderEmailManagerTest.php +++ b/src/Sylius/Bundle/CoreBundle/Tests/Mailer/OrderEmailManagerTest.php @@ -19,15 +19,12 @@ use Sylius\Bundle\CoreBundle\Mailer\OrderEmailManagerInterface; use Sylius\Component\Core\Model\ChannelInterface; use Sylius\Component\Core\Model\CustomerInterface; use Sylius\Component\Core\Model\OrderInterface; -use Sylius\Component\Core\Test\SwiftmailerAssertionTrait; use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase; -use Symfony\Component\Filesystem\Filesystem; use Symfony\Contracts\Translation\TranslatorInterface; final class OrderEmailManagerTest extends KernelTestCase { use ProphecyTrait; - use SwiftmailerAssertionTrait; private const RECIPIENT_EMAIL = 'test@example.com'; @@ -36,12 +33,8 @@ final class OrderEmailManagerTest extends KernelTestCase private const ORDER_NUMBER = '#000001'; /** @test */ - public function it_sends_order_confirmation_email_with_symfony_mailer_if_swift_mailer_is_not_present(): void + public function it_sends_order_confirmation_email(): void { - if ($this->isItSwiftmailerTestEnv()) { - $this->markTestSkipped('This test should be executed only outside of test_with_swiftmailer environment'); - } - $container = self::getContainer(); /** @var TranslatorInterface $translator */ @@ -78,59 +71,4 @@ final class OrderEmailManagerTest extends KernelTestCase preg_replace('/\s+/', ' ', strip_tags($email->getHtmlBody())), ); } - - /** @test */ - public function it_sends_order_confirmation_email_with_swift_mailer_by_default_if_is_present(): void - { - if (!$this->isItSwiftmailerTestEnv()) { - $this->markTestSkipped('This test should be executed only in test_with_swiftmailer environment'); - } - - $container = self::getContainer(); - - self::setSpoolDirectory($container->getParameter('kernel.cache_dir') . '/spool'); - - /** @var Filesystem $filesystem */ - $filesystem = $container->get('filesystem'); - - /** @var TranslatorInterface $translator */ - $translator = $container->get('translator'); - - $filesystem->remove(self::getSpoolDirectory()); - - $orderEmailManager = static::$kernel->getContainer()->get('sylius.mailer.order_email_manager'); - /** @var OrderInterface|ObjectProphecy $order */ - $order = $this->prophesize(OrderInterface::class); - /** @var CustomerInterface|ObjectProphecy $customer */ - $customer = $this->prophesize(CustomerInterface::class); - $customer->getEmail()->willReturn(self::RECIPIENT_EMAIL); - /** @var ChannelInterface|ObjectProphecy $channel */ - $channel = $this->prophesize(ChannelInterface::class); - - $order->getCustomer()->willReturn($customer->reveal()); - $order->getChannel()->willReturn($channel->reveal()); - $order->getLocaleCode()->willReturn(self::LOCALE_CODE); - $order->getNumber()->willReturn(self::ORDER_NUMBER); - $order->getTokenValue()->willReturn('ASFAFA4654AF'); - - $orderEmailManager->sendConfirmationEmail($order->reveal()); - - self::assertSpooledMessagesCountWithRecipient(1, self::RECIPIENT_EMAIL); - self::assertSpooledMessageWithContentHasRecipient( - sprintf( - '%s %s %s', - $translator->trans('sylius.email.order_confirmation.your_order_number', [], null, self::LOCALE_CODE), - self::ORDER_NUMBER, - $translator->trans('sylius.email.order_confirmation.has_been_successfully_placed', [], null, self::LOCALE_CODE), - ), - self::RECIPIENT_EMAIL, - ); - } - - private function isItSwiftmailerTestEnv(): bool - { - $env = self::getContainer()->getParameter('kernel.environment'); - - return $env === 'test_with_swiftmailer'; - } } diff --git a/src/Sylius/Bundle/CoreBundle/Twig/ProductVariantsPricesExtension.php b/src/Sylius/Bundle/CoreBundle/Twig/ProductVariantsPricesExtension.php deleted file mode 100644 index defc0f09db..0000000000 --- a/src/Sylius/Bundle/CoreBundle/Twig/ProductVariantsPricesExtension.php +++ /dev/null @@ -1,40 +0,0 @@ -productVariantsPricesHelper, 'getPrices']), - ]; - } -} diff --git a/src/Sylius/Bundle/CoreBundle/Validator/Constraints/HasEnabledEntityValidator.php b/src/Sylius/Bundle/CoreBundle/Validator/Constraints/HasEnabledEntityValidator.php index 3b69735cc0..6ea2bcdc46 100644 --- a/src/Sylius/Bundle/CoreBundle/Validator/Constraints/HasEnabledEntityValidator.php +++ b/src/Sylius/Bundle/CoreBundle/Validator/Constraints/HasEnabledEntityValidator.php @@ -15,7 +15,6 @@ namespace Sylius\Bundle\CoreBundle\Validator\Constraints; use Doctrine\Persistence\ManagerRegistry; use Doctrine\Persistence\ObjectManager; -use Symfony\Component\PropertyAccess\PropertyAccess; use Symfony\Component\PropertyAccess\PropertyAccessorInterface; use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; @@ -26,18 +25,8 @@ final class HasEnabledEntityValidator extends ConstraintValidator { public function __construct( private ManagerRegistry $registry, - private ?PropertyAccessorInterface $accessor = null, + private PropertyAccessorInterface $accessor, ) { - if (null === $this->accessor) { - trigger_deprecation( - 'sylius/core-bundle', - '1.13', - 'Not passing a PropertyAccessorInterface as the second constructor argument for %s is deprecated and will be required in Sylius 2.0.', - self::class, - ); - - $this->accessor = PropertyAccess::createPropertyAccessor(); - } } public function validate(mixed $value, Constraint $constraint): void diff --git a/src/Sylius/Bundle/CoreBundle/composer.json b/src/Sylius/Bundle/CoreBundle/composer.json index e5480d6efa..b905bfb1d1 100644 --- a/src/Sylius/Bundle/CoreBundle/composer.json +++ b/src/Sylius/Bundle/CoreBundle/composer.json @@ -26,7 +26,7 @@ } ], "require": { - "php": "^8.0", + "php": "^8.2", "doctrine/doctrine-migrations-bundle": "^3.0.1", "egulias/email-validator": "^3.1", "fakerphp/faker": "^1.10", @@ -40,38 +40,39 @@ "sylius-labs/association-hydrator": "^1.1 || ^1.2", "sylius-labs/doctrine-migrations-extra-bundle": "^0.1.4 || ^0.2", "sylius-labs/polyfill-symfony-framework-bundle": "^1.0 || ^1.1", - "sylius/addressing-bundle": "^1.12", - "sylius/attribute-bundle": "^1.12", - "sylius/channel-bundle": "^1.12", - "sylius/core": "^1.12", - "sylius/currency-bundle": "^1.12", - "sylius/customer-bundle": "^1.12", - "sylius/fixtures-bundle": "^1.7", - "sylius/grid-bundle": "^1.11", - "sylius/inventory-bundle": "^1.12", - "sylius/locale-bundle": "^1.12", - "sylius/money-bundle": "^1.12", - "sylius/order-bundle": "^1.12", - "sylius/payment-bundle": "^1.12", - "sylius/payum-bundle": "^1.12", - "sylius/product-bundle": "^1.12", - "sylius/promotion-bundle": "^1.12", - "sylius/resource-bundle": "^1.9", - "sylius/review-bundle": "^1.12", - "sylius/shipping-bundle": "^1.12", - "sylius/taxation-bundle": "^1.12", - "sylius/taxonomy-bundle": "^1.12", - "sylius/mailer-bundle": "^1.8 || ^2.0@beta", - "sylius/theme-bundle": "^2.1.1 || ^2.3", - "sylius/ui-bundle": "^1.12", - "sylius/user-bundle": "^1.12", - "symfony/framework-bundle": "^5.4.21 || ^6.0", - "symfony/intl": "^5.4.21 || ^6.0", - "symfony/mailer": "^5.4.21 || ^6.0", - "symfony/messenger": "^5.4.21 || ^6.0", - "symfony/templating": "^5.4.21 || ^6.0", - "symfony/webpack-encore-bundle": "^1.15", - "symfony/workflow": "^5.4.21 || ^6.0", + "sylius/addressing-bundle": "^2.0", + "sylius/attribute-bundle": "^2.0", + "sylius/channel-bundle": "^2.0", + "sylius/core": "^2.0", + "sylius/currency-bundle": "^2.0", + "sylius/customer-bundle": "^2.0", + "sylius/fixtures-bundle": "^1.8", + "sylius/grid-bundle": "^1.12", + "sylius/inventory-bundle": "^2.0", + "sylius/locale-bundle": "^2.0", + "sylius/mailer-bundle": "^2.0", + "sylius/money-bundle": "^2.0", + "sylius/order-bundle": "^2.0", + "sylius/payment-bundle": "^2.0", + "sylius/payum-bundle": "^2.0", + "sylius/product-bundle": "^2.0", + "sylius/promotion-bundle": "^2.0", + "sylius/resource-bundle": "^1.10", + "sylius/review-bundle": "^2.0", + "sylius/shipping-bundle": "^2.0", + "sylius/taxation-bundle": "^2.0", + "sylius/taxonomy-bundle": "^2.0", + "sylius/theme-bundle": "^2.3", + "sylius/ui-bundle": "^2.0", + "sylius/user-bundle": "^2.0", + "symfony/clock": "^6.3.4", + "symfony/framework-bundle": "^6.3.4", + "symfony/intl": "^6.3.2", + "symfony/mailer": "^6.3.0", + "symfony/messenger": "^6.3.4", + "symfony/templating": "^6.3.0", + "symfony/webpack-encore-bundle": "^1.17.1", + "symfony/workflow": "^6.3.4", "winzou/state-machine-bundle": "^0.6" }, "require-dev": { @@ -82,11 +83,8 @@ "phpspec/phpspec": "^7.2", "phpspec/prophecy-phpunit": "^2.0", "phpunit/phpunit": "^9.5", - "symfony/dependency-injection": "^5.4.21 || ^6.0", - "symfony/dotenv": "^5.4.21 || ^6.0" - }, - "conflict": { - "symfony/doctrine-bridge": "4.4.20 || 5.2.4 || 5.2.5" + "symfony/dependency-injection": "^6.3.4", + "symfony/dotenv": "^6.3.0" }, "config": { "allow-plugins": { @@ -96,10 +94,10 @@ }, "extra": { "branch-alias": { - "dev-master": "1.12-dev" + "dev-main": "2.0-dev" }, "symfony": { - "require": "^5.4.21" + "require": "6.3.*" } }, "autoload": { diff --git a/src/Sylius/Bundle/CoreBundle/spec/CatalogPromotion/Announcer/CatalogPromotionAnnouncerSpec.php b/src/Sylius/Bundle/CoreBundle/spec/CatalogPromotion/Announcer/CatalogPromotionAnnouncerSpec.php index d5b521bab3..81608181a4 100644 --- a/src/Sylius/Bundle/CoreBundle/spec/CatalogPromotion/Announcer/CatalogPromotionAnnouncerSpec.php +++ b/src/Sylius/Bundle/CoreBundle/spec/CatalogPromotion/Announcer/CatalogPromotionAnnouncerSpec.php @@ -17,11 +17,11 @@ use PhpSpec\ObjectBehavior; use Prophecy\Argument; use Sylius\Bundle\CoreBundle\Calculator\DelayStampCalculatorInterface; use Sylius\Bundle\CoreBundle\CatalogPromotion\Announcer\CatalogPromotionAnnouncerInterface; -use Sylius\Calendar\Provider\DateTimeProviderInterface; use Sylius\Component\Core\Model\CatalogPromotionInterface; use Sylius\Component\Promotion\Event\CatalogPromotionCreated; use Sylius\Component\Promotion\Event\CatalogPromotionEnded; use Sylius\Component\Promotion\Event\CatalogPromotionUpdated; +use Symfony\Component\Clock\ClockInterface; use Symfony\Component\Messenger\Envelope; use Symfony\Component\Messenger\MessageBusInterface; use Symfony\Component\Messenger\Stamp\DelayStamp; @@ -31,9 +31,9 @@ final class CatalogPromotionAnnouncerSpec extends ObjectBehavior function let( MessageBusInterface $eventBus, DelayStampCalculatorInterface $delayStampCalculator, - DateTimeProviderInterface $dateTimeProvider, + ClockInterface $clock, ): void { - $this->beConstructedWith($eventBus, $delayStampCalculator, $dateTimeProvider); + $this->beConstructedWith($eventBus, $delayStampCalculator, $clock); } function it_implements_catalog_promotion_announcer_interface(): void @@ -44,13 +44,13 @@ final class CatalogPromotionAnnouncerSpec extends ObjectBehavior function it_dispatches_catalog_promotion_created_and_catalog_promotion_ended_events( MessageBusInterface $eventBus, DelayStampCalculatorInterface $delayStampCalculator, - DateTimeProviderInterface $dateTimeProvider, + ClockInterface $clock, CatalogPromotionInterface $catalogPromotion, ): void { $startDateTime = new \DateTime('2021-10-10'); $endDateTime = new \DateTime('2021-10-11'); - $dateTimeProvider->now()->willReturn(new \DateTime()); + $clock->now()->willReturn(new \DateTimeImmutable()); $catalogPromotion->getCode()->willReturn('SALE'); $catalogPromotion->getStartDate()->willReturn($startDateTime); @@ -74,12 +74,12 @@ final class CatalogPromotionAnnouncerSpec extends ObjectBehavior function it_does_not_dispatch_catalog_promotion_ended_when_catalog_promotion_has_no_end_date_configured( MessageBusInterface $eventBus, DelayStampCalculatorInterface $delayStampCalculator, - DateTimeProviderInterface $dateTimeProvider, + ClockInterface $clock, CatalogPromotionInterface $catalogPromotion, ): void { $startDateTime = new \DateTime('2021-10-10'); - $dateTimeProvider->now()->willReturn(new \DateTime()); + $clock->now()->willReturn(new \DateTimeImmutable()); $catalogPromotion->getCode()->willReturn('SALE'); $catalogPromotion->getStartDate()->willReturn($startDateTime); @@ -101,13 +101,13 @@ final class CatalogPromotionAnnouncerSpec extends ObjectBehavior function it_dispatches_catalog_promotion_updated_and_catalog_promotion_ended_events( MessageBusInterface $eventBus, DelayStampCalculatorInterface $delayStampCalculator, - DateTimeProviderInterface $dateTimeProvider, + ClockInterface $clock, CatalogPromotionInterface $catalogPromotion, ): void { $startDateTime = new \DateTime('2021-10-10'); $endDateTime = new \DateTime('2021-10-11'); - $dateTimeProvider->now()->willReturn(new \DateTime()); + $clock->now()->willReturn(new \DateTimeImmutable()); $catalogPromotion->getCode()->willReturn('SALE'); $catalogPromotion->getStartDate()->willReturn($startDateTime); @@ -131,13 +131,13 @@ final class CatalogPromotionAnnouncerSpec extends ObjectBehavior function it_dispatches_catalog_promotion_updated_twice_if_catalog_promotion_is_updated_with_delayed_start( MessageBusInterface $eventBus, DelayStampCalculatorInterface $delayStampCalculator, - DateTimeProviderInterface $dateTimeProvider, + ClockInterface $clock, CatalogPromotionInterface $catalogPromotion, ): void { $startDateTime = new \DateTime('2021-10-10'); $endDateTime = new \DateTime('2021-10-11'); - $dateTimeProvider->now()->willReturn(new \DateTime('2021-10-09')); + $clock->now()->willReturn(new \DateTimeImmutable('2021-10-09')); $catalogPromotion->getCode()->willReturn('SALE'); $catalogPromotion->getStartDate()->willReturn($startDateTime); diff --git a/src/Sylius/Bundle/CoreBundle/spec/CatalogPromotion/CommandHandler/RemoveCatalogPromotionHandlerSpec.php b/src/Sylius/Bundle/CoreBundle/spec/CatalogPromotion/CommandHandler/RemoveCatalogPromotionHandlerSpec.php index 1cc7018bf9..ebbbadc70d 100644 --- a/src/Sylius/Bundle/CoreBundle/spec/CatalogPromotion/CommandHandler/RemoveCatalogPromotionHandlerSpec.php +++ b/src/Sylius/Bundle/CoreBundle/spec/CatalogPromotion/CommandHandler/RemoveCatalogPromotionHandlerSpec.php @@ -13,7 +13,7 @@ declare(strict_types=1); namespace spec\Sylius\Bundle\CoreBundle\CatalogPromotion\CommandHandler; -use Doctrine\ORM\EntityManager; +use Doctrine\ORM\EntityManagerInterface; use PhpSpec\ObjectBehavior; use Prophecy\Argument; use Sylius\Bundle\CoreBundle\CatalogPromotion\Command\RemoveCatalogPromotion; @@ -26,14 +26,14 @@ final class RemoveCatalogPromotionHandlerSpec extends ObjectBehavior { public function let( CatalogPromotionRepositoryInterface $catalogPromotionRepository, - EntityManager $entityManager, + EntityManagerInterface $entityManager, ): void { $this->beConstructedWith($catalogPromotionRepository, $entityManager); } public function it_removes_catalog_promotion_being_processed( CatalogPromotionRepositoryInterface $catalogPromotionRepository, - EntityManager $entityManager, + EntityManagerInterface $entityManager, CatalogPromotionInterface $catalogPromotion, ): void { $catalogPromotionRepository->findOneBy(['code' => 'CATALOG_PROMOTION_CODE'])->willReturn($catalogPromotion); @@ -47,7 +47,7 @@ final class RemoveCatalogPromotionHandlerSpec extends ObjectBehavior public function it_throws_an_exception_if_catalog_promotion_is_not_in_a_processing_state( CatalogPromotionRepositoryInterface $catalogPromotionRepository, - EntityManager $entityManager, + EntityManagerInterface $entityManager, CatalogPromotionInterface $catalogPromotion, ): void { $catalogPromotionRepository->findOneBy(['code' => 'CATALOG_PROMOTION_CODE'])->willReturn($catalogPromotion); @@ -65,7 +65,7 @@ final class RemoveCatalogPromotionHandlerSpec extends ObjectBehavior public function it_returns_if_there_is_no_catalog_promotion_with_given_code( CatalogPromotionRepositoryInterface $catalogPromotionRepository, - EntityManager $entityManager, + EntityManagerInterface $entityManager, ): void { $catalogPromotionRepository->findOneBy(['code' => 'CATALOG_PROMOTION_CODE'])->willReturn(null); diff --git a/src/Sylius/Bundle/CoreBundle/spec/CatalogPromotion/CommandHandler/RemoveInactiveCatalogPromotionHandlerSpec.php b/src/Sylius/Bundle/CoreBundle/spec/CatalogPromotion/CommandHandler/RemoveInactiveCatalogPromotionHandlerSpec.php deleted file mode 100644 index cb03bd4549..0000000000 --- a/src/Sylius/Bundle/CoreBundle/spec/CatalogPromotion/CommandHandler/RemoveInactiveCatalogPromotionHandlerSpec.php +++ /dev/null @@ -1,75 +0,0 @@ -beConstructedWith($catalogPromotionRepository, $entityManager); - } - - public function it_removes_an_inactive_catalog_promotion( - CatalogPromotionRepositoryInterface $catalogPromotionRepository, - EntityManager $entityManager, - CatalogPromotionInterface $catalogPromotion, - ): void { - $catalogPromotionRepository->findOneBy(['code' => 'CATALOG_PROMOTION_CODE'])->willReturn($catalogPromotion); - - $catalogPromotion->getState()->willReturn('inactive'); - - $this(new RemoveInactiveCatalogPromotion('CATALOG_PROMOTION_CODE')); - - $entityManager->remove($catalogPromotion)->shouldBeCalled(); - } - - public function it_throws_an_exception_if_catalog_promotion_is_not_in_an_inactive_state( - CatalogPromotionRepositoryInterface $catalogPromotionRepository, - EntityManager $entityManager, - CatalogPromotionInterface $catalogPromotion, - ): void { - $catalogPromotionRepository->findOneBy(['code' => 'CATALOG_PROMOTION_CODE'])->willReturn($catalogPromotion); - - $catalogPromotion->getState()->willReturn('active'); - $catalogPromotion->getCode()->willReturn('CATALOG_PROMOTION_CODE'); - - $entityManager->remove(Argument::any())->shouldNotBeCalled(); - - $this - ->shouldThrow(InvalidCatalogPromotionStateException::class) - ->during('__invoke', [new RemoveInactiveCatalogPromotion('CATALOG_PROMOTION_CODE')]) - ; - } - - public function it_returns_if_there_is_no_catalog_promotion_with_given_code( - CatalogPromotionRepositoryInterface $catalogPromotionRepository, - EntityManager $entityManager, - ): void { - $catalogPromotionRepository->findOneBy(['code' => 'CATALOG_PROMOTION_CODE'])->willReturn(null); - - $entityManager->remove(Argument::any())->shouldNotBeCalled(); - - $this(new RemoveInactiveCatalogPromotion('CATALOG_PROMOTION_CODE')); - } -} diff --git a/src/Sylius/Bundle/CoreBundle/spec/EventListener/TaxonDeletionListenerSpec.php b/src/Sylius/Bundle/CoreBundle/spec/EventListener/TaxonDeletionListenerSpec.php index 5f3d917114..ba40e6997a 100644 --- a/src/Sylius/Bundle/CoreBundle/spec/EventListener/TaxonDeletionListenerSpec.php +++ b/src/Sylius/Bundle/CoreBundle/spec/EventListener/TaxonDeletionListenerSpec.php @@ -32,14 +32,14 @@ final class TaxonDeletionListenerSpec extends ObjectBehavior ChannelRepositoryInterface $channelRepository, TaxonInPromotionRuleCheckerInterface $taxonInPromotionRuleChecker, TaxonAwareRuleUpdaterInterface $hasTaxonRuleUpdater, - TaxonAwareRuleUpdaterInterface $totalOfItemsFromTaxonRuleUpdater, + TaxonAwareRuleUpdaterInterface $taxonAwareRuleUpdater, ): void { $this->beConstructedWith( $requestStack, $channelRepository, $taxonInPromotionRuleChecker, $hasTaxonRuleUpdater, - $totalOfItemsFromTaxonRuleUpdater, + $taxonAwareRuleUpdater, ); } @@ -101,7 +101,7 @@ final class TaxonDeletionListenerSpec extends ObjectBehavior RequestStack $requestStack, SessionInterface $session, TaxonAwareRuleUpdaterInterface $hasTaxonRuleUpdater, - TaxonAwareRuleUpdaterInterface $totalOfItemsFromTaxonRuleUpdater, + TaxonAwareRuleUpdaterInterface $taxonAwareRuleUpdater, FlashBagInterface $flashes, GenericEvent $event, TaxonInterface $taxon, @@ -109,7 +109,7 @@ final class TaxonDeletionListenerSpec extends ObjectBehavior $event->getSubject()->willReturn($taxon); $hasTaxonRuleUpdater->updateAfterDeletingTaxon($taxon)->willReturn(['christmas', 'holiday']); - $totalOfItemsFromTaxonRuleUpdater->updateAfterDeletingTaxon($taxon)->willReturn(['christmas']); + $taxonAwareRuleUpdater->updateAfterDeletingTaxon($taxon)->willReturn(['christmas']); $requestStack->getSession()->willReturn($session); $session->getBag('flashes')->willReturn($flashes); @@ -128,14 +128,14 @@ final class TaxonDeletionListenerSpec extends ObjectBehavior RequestStack $requestStack, SessionInterface $session, TaxonAwareRuleUpdaterInterface $hasTaxonRuleUpdater, - TaxonAwareRuleUpdaterInterface $totalOfItemsFromTaxonRuleUpdater, + TaxonAwareRuleUpdaterInterface $taxonAwareRuleUpdater, GenericEvent $event, TaxonInterface $taxon, ): void { $event->getSubject()->willReturn($taxon); $hasTaxonRuleUpdater->updateAfterDeletingTaxon($taxon)->willReturn([]); - $totalOfItemsFromTaxonRuleUpdater->updateAfterDeletingTaxon($taxon)->willReturn([]); + $taxonAwareRuleUpdater->updateAfterDeletingTaxon($taxon)->willReturn([]); $requestStack->getSession()->willReturn($session); $session->getBag('flashes')->shouldNotBeCalled(); diff --git a/src/Sylius/Bundle/CoreBundle/spec/MessageHandler/Admin/Account/RequestResetPasswordEmailHandlerSpec.php b/src/Sylius/Bundle/CoreBundle/spec/MessageHandler/Admin/Account/RequestResetPasswordEmailHandlerSpec.php index 13a7884c2f..997b901a26 100644 --- a/src/Sylius/Bundle/CoreBundle/spec/MessageHandler/Admin/Account/RequestResetPasswordEmailHandlerSpec.php +++ b/src/Sylius/Bundle/CoreBundle/spec/MessageHandler/Admin/Account/RequestResetPasswordEmailHandlerSpec.php @@ -13,15 +13,14 @@ declare(strict_types=1); namespace spec\Sylius\Bundle\CoreBundle\MessageHandler\Admin\Account; -use DateTime; use PhpSpec\ObjectBehavior; use Prophecy\Argument; use Sylius\Bundle\CoreBundle\Message\Admin\Account\RequestResetPasswordEmail; use Sylius\Bundle\CoreBundle\Message\Admin\Account\SendResetPasswordEmail; -use Sylius\Calendar\Provider\DateTimeProviderInterface; use Sylius\Component\Core\Model\AdminUserInterface; use Sylius\Component\User\Repository\UserRepositoryInterface; use Sylius\Component\User\Security\Generator\GeneratorInterface; +use Symfony\Component\Clock\ClockInterface; use Symfony\Component\Messenger\Envelope; use Symfony\Component\Messenger\Handler\MessageHandlerInterface; use Symfony\Component\Messenger\MessageBusInterface; @@ -32,10 +31,10 @@ final class RequestResetPasswordEmailHandlerSpec extends ObjectBehavior public function let( UserRepositoryInterface $userRepository, GeneratorInterface $generator, - DateTimeProviderInterface $calendar, + ClockInterface $clock, MessageBusInterface $messageBus, ): void { - $this->beConstructedWith($userRepository, $generator, $calendar, $messageBus); + $this->beConstructedWith($userRepository, $generator, $clock, $messageBus); } public function it_is_a_message_handler(): void @@ -46,7 +45,7 @@ final class RequestResetPasswordEmailHandlerSpec extends ObjectBehavior public function it_handles_request_for_password_reset_token( UserRepositoryInterface $userRepository, GeneratorInterface $generator, - DateTimeProviderInterface $calendar, + ClockInterface $clock, MessageBusInterface $messageBus, AdminUserInterface $adminUser, ): void { @@ -54,8 +53,8 @@ final class RequestResetPasswordEmailHandlerSpec extends ObjectBehavior $generator->generate()->willReturn('sometoken'); - $now = new DateTime(); - $calendar->now()->willReturn($now); + $now = new \DateTimeImmutable(); + $clock->now()->willReturn($now); $adminUser->getEmail()->willReturn('admin@example.com'); $adminUser->getLocaleCode()->willReturn('en_US'); diff --git a/src/Sylius/Bundle/CoreBundle/spec/PriceHistory/Logger/PriceChangeLoggerSpec.php b/src/Sylius/Bundle/CoreBundle/spec/PriceHistory/Logger/PriceChangeLoggerSpec.php index cbc4d4d4dd..4e760e45f1 100644 --- a/src/Sylius/Bundle/CoreBundle/spec/PriceHistory/Logger/PriceChangeLoggerSpec.php +++ b/src/Sylius/Bundle/CoreBundle/spec/PriceHistory/Logger/PriceChangeLoggerSpec.php @@ -17,19 +17,19 @@ use Doctrine\Persistence\ObjectManager; use PhpSpec\ObjectBehavior; use Prophecy\Argument; use Sylius\Bundle\CoreBundle\PriceHistory\Logger\PriceChangeLoggerInterface; -use Sylius\Calendar\Provider\DateTimeProviderInterface; use Sylius\Component\Core\Factory\ChannelPricingLogEntryFactoryInterface; use Sylius\Component\Core\Model\ChannelPricingInterface; use Sylius\Component\Core\Model\ChannelPricingLogEntryInterface; +use Symfony\Component\Clock\ClockInterface; final class PriceChangeLoggerSpec extends ObjectBehavior { function let( ChannelPricingLogEntryFactoryInterface $logEntryFactory, ObjectManager $logEntryManager, - DateTimeProviderInterface $dateTimeProvider, + ClockInterface $clock, ): void { - $this->beConstructedWith($logEntryFactory, $logEntryManager, $dateTimeProvider); + $this->beConstructedWith($logEntryFactory, $logEntryManager, $clock); } function it_implements_price_change_logger_interface(): void @@ -40,12 +40,12 @@ final class PriceChangeLoggerSpec extends ObjectBehavior function it_throws_exception_when_there_is_no_price( ChannelPricingLogEntryFactoryInterface $logEntryFactory, ObjectManager $logEntryManager, - DateTimeProviderInterface $dateTimeProvider, + ClockInterface $clock, ChannelPricingInterface $channelPricing, ): void { $channelPricing->getPrice()->willReturn(null); - $dateTimeProvider->now()->shouldNotBeCalled(); + $clock->now()->shouldNotBeCalled(); $logEntryFactory->create(Argument::cetera())->shouldNotBeCalled(); $logEntryManager->persist(Argument::any())->shouldNotBeCalled(); @@ -55,7 +55,7 @@ final class PriceChangeLoggerSpec extends ObjectBehavior function it_logs_price_change( ChannelPricingLogEntryFactoryInterface $logEntryFactory, ObjectManager $logEntryManager, - DateTimeProviderInterface $dateTimeProvider, + ClockInterface $clock, ChannelPricingInterface $channelPricing, ChannelPricingLogEntryInterface $logEntry, ): void { @@ -66,7 +66,7 @@ final class PriceChangeLoggerSpec extends ObjectBehavior $channelPricing->getPrice()->willReturn($price); $channelPricing->getOriginalPrice()->willReturn($originalPrice); - $dateTimeProvider->now()->willReturn($date); + $clock->now()->willReturn($date); $logEntryFactory ->create($channelPricing, $date, $price, $originalPrice) diff --git a/src/Sylius/Bundle/CoreBundle/spec/PriceHistory/Remover/ChannelPricingLogEntriesRemoverSpec.php b/src/Sylius/Bundle/CoreBundle/spec/PriceHistory/Remover/ChannelPricingLogEntriesRemoverSpec.php index 329be36a2c..a4b83d914c 100644 --- a/src/Sylius/Bundle/CoreBundle/spec/PriceHistory/Remover/ChannelPricingLogEntriesRemoverSpec.php +++ b/src/Sylius/Bundle/CoreBundle/spec/PriceHistory/Remover/ChannelPricingLogEntriesRemoverSpec.php @@ -18,9 +18,9 @@ use PhpSpec\ObjectBehavior; use Prophecy\Argument; use Sylius\Bundle\CoreBundle\PriceHistory\Event\OldChannelPricingLogEntriesEvents; use Sylius\Bundle\CoreBundle\PriceHistory\Remover\ChannelPricingLogEntriesRemover; -use Sylius\Calendar\Provider\DateTimeProviderInterface; use Sylius\Component\Core\Model\ChannelPricingLogEntryInterface; use Sylius\Component\Core\Repository\ChannelPricingLogEntryRepositoryInterface; +use Symfony\Component\Clock\ClockInterface; use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Component\EventDispatcher\GenericEvent; @@ -31,13 +31,13 @@ final class ChannelPricingLogEntriesRemoverSpec extends ObjectBehavior function let( ChannelPricingLogEntryRepositoryInterface $channelPricingLogEntriesRepository, ObjectManager $manager, - DateTimeProviderInterface $dateTimeProvider, + ClockInterface $clock, EventDispatcherInterface $eventDispatcher, ): void { $this->beConstructedWith( $channelPricingLogEntriesRepository, $manager, - $dateTimeProvider, + $clock, $eventDispatcher, self::BATCH_SIZE, ); @@ -51,11 +51,11 @@ final class ChannelPricingLogEntriesRemoverSpec extends ObjectBehavior function it_does_nothing_when_no_log_entries_were_found( ChannelPricingLogEntryRepositoryInterface $channelPricingLogEntriesRepository, ObjectManager $manager, - DateTimeProviderInterface $dateTimeProvider, + ClockInterface $clock, EventDispatcherInterface $eventDispatcher, ): void { $date = new \DateTimeImmutable(); - $dateTimeProvider->now()->willReturn($date); + $clock->now()->willReturn($date); $channelPricingLogEntriesRepository->findOlderThan($date->modify('-1 days'), self::BATCH_SIZE)->willReturn([]); @@ -71,12 +71,12 @@ final class ChannelPricingLogEntriesRemoverSpec extends ObjectBehavior function it_removes_a_single_batch_of_channel_pricing_log_entries_when_there_is_no_more( ChannelPricingLogEntryRepositoryInterface $channelPricingLogEntriesRepository, ObjectManager $manager, - DateTimeProviderInterface $dateTimeProvider, + ClockInterface $clock, EventDispatcherInterface $eventDispatcher, ChannelPricingLogEntryInterface $channelPricingLogEntry, ): void { $date = new \DateTimeImmutable(); - $dateTimeProvider->now()->willReturn($date); + $clock->now()->willReturn($date); $channelPricingLogEntriesRepository ->findOlderThan($date->modify('-1 days'), self::BATCH_SIZE) @@ -103,13 +103,13 @@ final class ChannelPricingLogEntriesRemoverSpec extends ObjectBehavior function it_removes_multiple_batches_of_channel_pricing_log_entries( ChannelPricingLogEntryRepositoryInterface $channelPricingLogEntriesRepository, ObjectManager $manager, - DateTimeProviderInterface $dateTimeProvider, + ClockInterface $clock, EventDispatcherInterface $eventDispatcher, ChannelPricingLogEntryInterface $firstChannelPricingLogEntry, ChannelPricingLogEntryInterface $secondChannelPricingLogEntry, ): void { $date = new \DateTimeImmutable(); - $dateTimeProvider->now()->willReturn($date); + $clock->now()->willReturn($date); $channelPricingLogEntriesRepository ->findOlderThan($date->modify('-1 days'), self::BATCH_SIZE) diff --git a/src/Sylius/Bundle/CoreBundle/spec/Templating/Helper/ProductVariantsPricesHelperSpec.php b/src/Sylius/Bundle/CoreBundle/spec/Templating/Helper/ProductVariantsPricesHelperSpec.php deleted file mode 100644 index 00a4e292a5..0000000000 --- a/src/Sylius/Bundle/CoreBundle/spec/Templating/Helper/ProductVariantsPricesHelperSpec.php +++ /dev/null @@ -1,50 +0,0 @@ -beConstructedWith($productVariantsPricesProvider); - } - - function it_is_helper(): void - { - $this->shouldHaveType(Helper::class); - } - - function it_uses_provider_to_get_variants_prices( - ChannelInterface $channel, - ProductInterface $product, - ProductVariantsPricesProviderInterface $productVariantsPricesProvider, - ): void { - $productVariantsPricesProvider->provideVariantsPrices($product, $channel)->willReturn([ - ['color' => 'black', 'value' => 1000], - ]); - - $this->getPrices($product, $channel)->shouldReturn([['color' => 'black', 'value' => 1000]]); - } - - function it_has_name(): void - { - $this->getName()->shouldReturn('sylius_product_variants_prices'); - } -} diff --git a/src/Sylius/Bundle/CoreBundle/test/config/bundles.php b/src/Sylius/Bundle/CoreBundle/test/config/bundles.php index b8d178f6b8..4b6e93e595 100644 --- a/src/Sylius/Bundle/CoreBundle/test/config/bundles.php +++ b/src/Sylius/Bundle/CoreBundle/test/config/bundles.php @@ -14,11 +14,9 @@ declare(strict_types=1); return [ Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true], Symfony\Bundle\SecurityBundle\SecurityBundle::class => ['all' => true], - Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle::class => ['test_with_swiftmailer' => true], Symfony\Bundle\TwigBundle\TwigBundle::class => ['all' => true], Symfony\WebpackEncoreBundle\WebpackEncoreBundle::class => ['all' => true], Doctrine\Bundle\DoctrineBundle\DoctrineBundle::class => ['all' => true], - Sylius\Calendar\SyliusCalendarBundle::class => ['all' => true], Sylius\Bundle\OrderBundle\SyliusOrderBundle::class => ['all' => true], Sylius\Bundle\MoneyBundle\SyliusMoneyBundle::class => ['all' => true], Sylius\Bundle\CurrencyBundle\SyliusCurrencyBundle::class => ['all' => true], diff --git a/src/Sylius/Bundle/CoreBundle/test/config/packages/config.yaml b/src/Sylius/Bundle/CoreBundle/test/config/packages/config.yaml index dcdbff194e..dfea3e341e 100644 --- a/src/Sylius/Bundle/CoreBundle/test/config/packages/config.yaml +++ b/src/Sylius/Bundle/CoreBundle/test/config/packages/config.yaml @@ -15,6 +15,16 @@ framework: test: ~ mailer: dsn: 'null://null' + assets: + packages: + admin: + json_manifest_path: '%kernel.project_dir%/public/build/admin/manifest.json' + shop: + json_manifest_path: '%kernel.project_dir%/public/build/shop/manifest.json' + app.admin: + json_manifest_path: '%kernel.project_dir%/public/build/app/admin/manifest.json' + app.shop: + json_manifest_path: '%kernel.project_dir%/public/build/app/shop/manifest.json' workflows: ~ security: @@ -32,3 +42,11 @@ doctrine: driver: "%database_driver%" path: "%database_path%" charset: UTF8 + +webpack_encore: + output_path: '%kernel.project_dir%/public/build/default' + builds: + admin: '%kernel.project_dir%/public/build/admin' + shop: '%kernel.project_dir%/public/build/shop' + app.admin: '%kernel.project_dir%/public/build/app/admin' + app.shop: '%kernel.project_dir%/public/build/app/shop' diff --git a/src/Sylius/Bundle/CoreBundle/test/config/packages/test_with_swiftmailer/filesystem.yaml b/src/Sylius/Bundle/CoreBundle/test/config/packages/test_with_swiftmailer/filesystem.yaml deleted file mode 100644 index 1828fd69a2..0000000000 --- a/src/Sylius/Bundle/CoreBundle/test/config/packages/test_with_swiftmailer/filesystem.yaml +++ /dev/null @@ -1,4 +0,0 @@ -services: - test.filesystem.public: - alias: filesystem - public: true diff --git a/src/Sylius/Bundle/CoreBundle/test/config/packages/test_with_swiftmailer/swiftmailer.yaml b/src/Sylius/Bundle/CoreBundle/test/config/packages/test_with_swiftmailer/swiftmailer.yaml deleted file mode 100644 index c438f4b256..0000000000 --- a/src/Sylius/Bundle/CoreBundle/test/config/packages/test_with_swiftmailer/swiftmailer.yaml +++ /dev/null @@ -1,6 +0,0 @@ -swiftmailer: - disable_delivery: true - logging: true - spool: - type: file - path: "%kernel.cache_dir%/spool" diff --git a/src/Sylius/Bundle/CoreBundle/test/config/packages/test_with_swiftmailer/sylius_mailer.yaml b/src/Sylius/Bundle/CoreBundle/test/config/packages/test_with_swiftmailer/sylius_mailer.yaml deleted file mode 100644 index e2310f20bf..0000000000 --- a/src/Sylius/Bundle/CoreBundle/test/config/packages/test_with_swiftmailer/sylius_mailer.yaml +++ /dev/null @@ -1,2 +0,0 @@ -sylius_mailer: - sender_adapter: sylius.email_sender.adapter.swiftmailer diff --git a/src/Sylius/Bundle/CoreBundle/test/src/Kernel.php b/src/Sylius/Bundle/CoreBundle/test/src/Kernel.php index 3609f20d9c..d18df360b0 100644 --- a/src/Sylius/Bundle/CoreBundle/test/src/Kernel.php +++ b/src/Sylius/Bundle/CoreBundle/test/src/Kernel.php @@ -22,16 +22,6 @@ final class Kernel extends BaseKernel private const CONFIG_EXTS = '.{php,xml,yaml,yml}'; - public function getCacheDir(): string - { - return $this->getProjectDir() . '/var/cache/' . $this->environment; - } - - public function getLogDir(): string - { - return $this->getProjectDir() . '/var/log'; - } - public function getProjectDir(): string { return parent::getProjectDir() . '/test'; diff --git a/src/Sylius/Bundle/CurrencyBundle/DependencyInjection/Configuration.php b/src/Sylius/Bundle/CurrencyBundle/DependencyInjection/Configuration.php index ca60fd271a..85acde4ec8 100644 --- a/src/Sylius/Bundle/CurrencyBundle/DependencyInjection/Configuration.php +++ b/src/Sylius/Bundle/CurrencyBundle/DependencyInjection/Configuration.php @@ -13,6 +13,8 @@ declare(strict_types=1); namespace Sylius\Bundle\CurrencyBundle\DependencyInjection; +use Sylius\Bundle\CurrencyBundle\Doctrine\ORM\CurrencyRepository; +use Sylius\Bundle\CurrencyBundle\Doctrine\ORM\ExchangeRateRepository; use Sylius\Bundle\CurrencyBundle\Form\Type\CurrencyType; use Sylius\Bundle\CurrencyBundle\Form\Type\ExchangeRateType; use Sylius\Bundle\ResourceBundle\Controller\ResourceController; @@ -62,7 +64,7 @@ final class Configuration implements ConfigurationInterface ->scalarNode('model')->defaultValue(Currency::class)->cannotBeEmpty()->end() ->scalarNode('interface')->defaultValue(CurrencyInterface::class)->cannotBeEmpty()->end() ->scalarNode('controller')->defaultValue(ResourceController::class)->cannotBeEmpty()->end() - ->scalarNode('repository')->cannotBeEmpty()->end() + ->scalarNode('repository')->defaultValue(CurrencyRepository::class)->cannotBeEmpty()->end() ->scalarNode('factory')->defaultValue(Factory::class)->cannotBeEmpty()->end() ->scalarNode('form')->defaultValue(CurrencyType::class)->cannotBeEmpty()->end() ->end() @@ -79,7 +81,7 @@ final class Configuration implements ConfigurationInterface ->scalarNode('model')->defaultValue(ExchangeRate::class)->cannotBeEmpty()->end() ->scalarNode('interface')->defaultValue(ExchangeRateInterface::class)->cannotBeEmpty()->end() ->scalarNode('controller')->defaultValue(ResourceController::class)->cannotBeEmpty()->end() - ->scalarNode('repository')->cannotBeEmpty()->end() + ->scalarNode('repository')->defaultValue(ExchangeRateRepository::class)->cannotBeEmpty()->end() ->scalarNode('factory')->defaultValue(Factory::class)->cannotBeEmpty()->end() ->scalarNode('form')->defaultValue(ExchangeRateType::class)->cannotBeEmpty()->end() ->end() diff --git a/src/Sylius/Bundle/CurrencyBundle/Doctrine/ORM/CurrencyRepository.php b/src/Sylius/Bundle/CurrencyBundle/Doctrine/ORM/CurrencyRepository.php new file mode 100644 index 0000000000..90f21fe644 --- /dev/null +++ b/src/Sylius/Bundle/CurrencyBundle/Doctrine/ORM/CurrencyRepository.php @@ -0,0 +1,25 @@ + + */ +class CurrencyRepository extends EntityRepository implements CurrencyRepositoryInterface +{ +} diff --git a/src/Sylius/Bundle/CurrencyBundle/composer.json b/src/Sylius/Bundle/CurrencyBundle/composer.json index 2f5d2c8370..50155437e9 100644 --- a/src/Sylius/Bundle/CurrencyBundle/composer.json +++ b/src/Sylius/Bundle/CurrencyBundle/composer.json @@ -25,12 +25,12 @@ } ], "require": { - "php": "^8.0", - "sylius/currency": "^1.12", - "sylius/resource-bundle": "^1.9", - "symfony/framework-bundle": "^5.4.21 || ^6.0", - "symfony/intl": "^5.4.21 || ^6.0", - "symfony/templating": "^5.4.21 || ^6.0" + "php": "^8.2", + "sylius/currency": "^2.0", + "sylius/resource-bundle": "^1.10", + "symfony/framework-bundle": "^6.3.4", + "symfony/intl": "^6.3.2", + "symfony/templating": "^6.3.0" }, "conflict": { "doctrine/orm": ">= 2.16.0", @@ -42,9 +42,9 @@ "phpspec/phpspec": "^7.2", "phpunit/phpunit": "^9.5", "polishsymfonycommunity/symfony-mocker-container": "^1.0", - "symfony/browser-kit": "^5.4.21 || ^6.0", - "symfony/dependency-injection": "^5.4.21 || ^6.0", - "symfony/form": "^5.4.21 || ^6.0", + "symfony/browser-kit": "^6.3.2", + "symfony/dependency-injection": "^6.3.4", + "symfony/form": "^6.3.2", "twig/twig": "^2.12 || ^3.3" }, "config": { @@ -54,7 +54,7 @@ }, "extra": { "branch-alias": { - "dev-master": "1.12-dev" + "dev-main": "2.0-dev" } }, "autoload": { diff --git a/src/Sylius/Bundle/CustomerBundle/composer.json b/src/Sylius/Bundle/CustomerBundle/composer.json index cfe7082459..416c0d3678 100644 --- a/src/Sylius/Bundle/CustomerBundle/composer.json +++ b/src/Sylius/Bundle/CustomerBundle/composer.json @@ -35,12 +35,12 @@ } ], "require": { - "php": "^8.0", + "php": "^8.2", "doctrine/orm": "^2.13", "egulias/email-validator": "^3.1", - "sylius/customer": "^1.12", - "sylius/resource-bundle": "^1.9", - "symfony/framework-bundle": "^5.4.21 || ^6.0", + "sylius/customer": "^2.0", + "sylius/resource-bundle": "^1.10", + "symfony/framework-bundle": "^6.3.4", "webmozart/assert": "^1.9" }, "conflict": { @@ -51,9 +51,9 @@ "phpspec/phpspec": "^7.2", "phpunit/phpunit": "^9.5", "polishsymfonycommunity/symfony-mocker-container": "^1.0", - "symfony/browser-kit": "^5.4.21 || ^6.0", - "symfony/dependency-injection": "^5.4.21 || ^6.0", - "symfony/form": "^5.4.21 || ^6.0" + "symfony/browser-kit": "^6.3.2", + "symfony/dependency-injection": "^6.3.4", + "symfony/form": "^6.3.2" }, "config": { "allow-plugins": { @@ -62,7 +62,7 @@ }, "extra": { "branch-alias": { - "dev-master": "1.12-dev" + "dev-main": "2.0-dev" } }, "autoload": { diff --git a/src/Sylius/Bundle/InventoryBundle/composer.json b/src/Sylius/Bundle/InventoryBundle/composer.json index 4005a9b0be..96afa467ee 100644 --- a/src/Sylius/Bundle/InventoryBundle/composer.json +++ b/src/Sylius/Bundle/InventoryBundle/composer.json @@ -26,12 +26,12 @@ } ], "require": { - "php": "^8.0", - "sylius/inventory": "^1.12", - "sylius/resource-bundle": "^1.9", - "symfony/framework-bundle": "^5.4.21 || ^6.0", - "symfony/templating": "^5.4.21 || ^6.0", - "symfony/validator": "^5.4.21 || ^6.0" + "php": "^8.2", + "sylius/inventory": "^2.0", + "sylius/resource-bundle": "^1.10", + "symfony/framework-bundle": "^6.3.4", + "symfony/templating": "^6.3.0", + "symfony/validator": "^6.3.4" }, "conflict": { "doctrine/orm": ">= 2.16.0", @@ -42,8 +42,8 @@ "phpspec/phpspec": "^7.2", "phpunit/phpunit": "^9.5", "polishsymfonycommunity/symfony-mocker-container": "^1.0", - "symfony/browser-kit": "^5.4.21 || ^6.0", - "symfony/dependency-injection": "^5.4.21 || ^6.0", + "symfony/browser-kit": "^6.3.2", + "symfony/dependency-injection": "^6.3.4", "twig/twig": "^2.12 || ^3.3" }, "config": { @@ -53,7 +53,7 @@ }, "extra": { "branch-alias": { - "dev-master": "1.12-dev" + "dev-main": "2.0-dev" } }, "autoload": { diff --git a/src/Sylius/Bundle/LocaleBundle/composer.json b/src/Sylius/Bundle/LocaleBundle/composer.json index 78b51cb31c..810cb87526 100644 --- a/src/Sylius/Bundle/LocaleBundle/composer.json +++ b/src/Sylius/Bundle/LocaleBundle/composer.json @@ -26,11 +26,11 @@ } ], "require": { - "php": "^8.0", - "sylius/locale": "^1.12", - "sylius/resource-bundle": "^1.9", - "symfony/framework-bundle": "^5.4.21 || ^6.0", - "symfony/templating": "^5.4.21 || ^6.0" + "php": "^8.2", + "sylius/locale": "^2.0", + "sylius/resource-bundle": "^1.10", + "symfony/framework-bundle": "^6.3.4", + "symfony/templating": "^6.3.0" }, "conflict": { "doctrine/orm": ">= 2.16.0", @@ -43,8 +43,8 @@ "phpspec/phpspec": "^7.2", "phpunit/phpunit": "^9.5", "polishsymfonycommunity/symfony-mocker-container": "^1.0", - "symfony/browser-kit": "^5.4.21 || ^6.0", - "symfony/dependency-injection": "^5.4.21 || ^6.0", + "symfony/browser-kit": "^6.3.2", + "symfony/dependency-injection": "^6.3.4", "twig/twig": "^2.12 || ^3.3" }, "config": { @@ -54,7 +54,7 @@ }, "extra": { "branch-alias": { - "dev-master": "1.12-dev" + "dev-main": "2.0-dev" } }, "autoload": { diff --git a/src/Sylius/Bundle/MoneyBundle/composer.json b/src/Sylius/Bundle/MoneyBundle/composer.json index 013b125d3f..49406341f7 100644 --- a/src/Sylius/Bundle/MoneyBundle/composer.json +++ b/src/Sylius/Bundle/MoneyBundle/composer.json @@ -25,11 +25,11 @@ } ], "require": { - "php": "^8.0", - "sylius/resource-bundle": "^1.9", - "symfony/framework-bundle": "^5.4.21 || ^6.0", - "symfony/intl": "^5.4.21 || ^6.0", - "symfony/templating": "^5.4.21 || ^6.0", + "php": "^8.2", + "sylius/resource-bundle": "^1.10", + "symfony/framework-bundle": "^6.3.4", + "symfony/intl": "^6.3.2", + "symfony/templating": "^6.3.0", "webmozart/assert": "^1.9" }, "conflict": { @@ -41,10 +41,10 @@ "phpspec/phpspec": "^7.2", "phpunit/phpunit": "^9.5", "polishsymfonycommunity/symfony-mocker-container": "^1.0", - "sylius/currency-bundle": "^1.12", - "symfony/browser-kit": "^5.4.21 || ^6.0", - "symfony/dependency-injection": "^5.4.21 || ^6.0", - "symfony/form": "^5.4.21 || ^6.0", + "sylius/currency-bundle": "^2.0", + "symfony/browser-kit": "^6.3.2", + "symfony/dependency-injection": "^6.3.4", + "symfony/form": "^6.3.2", "twig/twig": "^2.12 || ^3.3" }, "config": { @@ -54,7 +54,7 @@ }, "extra": { "branch-alias": { - "dev-master": "1.12-dev" + "dev-main": "2.0-dev" } }, "autoload": { diff --git a/src/Sylius/Bundle/OrderBundle/composer.json b/src/Sylius/Bundle/OrderBundle/composer.json index fb6906de1a..2cf8c50adc 100644 --- a/src/Sylius/Bundle/OrderBundle/composer.json +++ b/src/Sylius/Bundle/OrderBundle/composer.json @@ -27,15 +27,15 @@ } ], "require": { - "php": "^8.0", + "php": "^8.2", "stof/doctrine-extensions-bundle": "^1.4", "sylius-labs/polyfill-symfony-framework-bundle": "^1.0 || ^1.1", - "sylius/money-bundle": "^1.12", - "sylius/order": "^1.12", - "sylius/resource-bundle": "^1.9", - "symfony/framework-bundle": "^5.4.21 || ^6.0", + "sylius/money-bundle": "^2.0", + "sylius/order": "^2.0", + "sylius/resource-bundle": "^1.10", + "symfony/framework-bundle": "^6.3.4", "symfony/service-contracts": "^2.5 || ^3.0", - "symfony/templating": "^5.4.21 || ^6.0" + "symfony/templating": "^6.3.0" }, "conflict": { "doctrine/orm": ">= 2.16.0", @@ -47,9 +47,9 @@ "matthiasnoback/symfony-dependency-injection-test": "^4.2", "phpspec/phpspec": "^7.2", "phpunit/phpunit": "^9.5", - "symfony/browser-kit": "^5.4.21 || ^6.0", - "symfony/form": "^5.4.21 || ^6.0", - "symfony/validator": "^5.4.21 || ^6.0" + "symfony/browser-kit": "^6.3.2", + "symfony/form": "^6.3.2", + "symfony/validator": "^6.3.4" }, "config": { "allow-plugins": { @@ -58,7 +58,7 @@ }, "extra": { "branch-alias": { - "dev-master": "1.12-dev" + "dev-main": "2.0-dev" } }, "autoload": { diff --git a/src/Sylius/Bundle/PaymentBundle/composer.json b/src/Sylius/Bundle/PaymentBundle/composer.json index ec6e9c81ca..af3427461b 100644 --- a/src/Sylius/Bundle/PaymentBundle/composer.json +++ b/src/Sylius/Bundle/PaymentBundle/composer.json @@ -26,10 +26,10 @@ } ], "require": { - "php": "^8.0", - "sylius/payment": "^1.12", - "sylius/resource-bundle": "^1.9", - "symfony/framework-bundle": "^5.4.21 || ^6.0" + "php": "^8.2", + "sylius/payment": "^2.0", + "sylius/resource-bundle": "^1.10", + "symfony/framework-bundle": "^6.3.4" }, "conflict": { "doctrine/orm": "2.15.2", @@ -41,9 +41,9 @@ "phpspec/phpspec": "^7.2", "phpunit/phpunit": "^9.5", "polishsymfonycommunity/symfony-mocker-container": "^1.0", - "sylius/locale-bundle": "^1.12", - "symfony/browser-kit": "^5.4.21 || ^6.0", - "symfony/dependency-injection": "^5.4.21 || ^6.0" + "sylius/locale-bundle": "^2.0", + "symfony/browser-kit": "^6.3.2", + "symfony/dependency-injection": "^6.3.4" }, "config": { "allow-plugins": { @@ -52,7 +52,7 @@ }, "extra": { "branch-alias": { - "dev-master": "1.12-dev" + "dev-main": "2.0-dev" } }, "autoload": { diff --git a/src/Sylius/Bundle/PayumBundle/composer.json b/src/Sylius/Bundle/PayumBundle/composer.json index d88580785e..a793b70dfa 100644 --- a/src/Sylius/Bundle/PayumBundle/composer.json +++ b/src/Sylius/Bundle/PayumBundle/composer.json @@ -28,19 +28,19 @@ } ], "require": { - "php": "^8.0", + "php": "^8.2", "payum/offline": "^1.7.3", "payum/payum-bundle": "^2.5", - "sylius/core": "^1.12", - "sylius/currency": "^1.12", - "sylius/order-bundle": "^1.12", - "sylius/payment-bundle": "^1.12", - "sylius/resource-bundle": "^1.9", + "sylius/core": "^2.0", + "sylius/currency": "^2.0", + "sylius/order-bundle": "^2.0", + "sylius/payment-bundle": "^2.0", + "sylius/resource-bundle": "^1.10", "php-http/httplug": "^2.4" }, "require-dev": { "phpspec/phpspec": "^7.2", - "symfony/dependency-injection": "^5.4.21 || ^6.0" + "symfony/dependency-injection": "^6.3.4" }, "suggest": { "payum/paypal-express-checkout-nvp": "To use PayPal Express Chekout NVP", @@ -53,7 +53,7 @@ }, "extra": { "branch-alias": { - "dev-master": "1.12-dev" + "dev-main": "2.0-dev" } }, "autoload": { diff --git a/src/Sylius/Bundle/ProductBundle/Controller/ProductSlugController.php b/src/Sylius/Bundle/ProductBundle/Controller/ProductSlugController.php index 752d5ba340..bf6d2aefd5 100644 --- a/src/Sylius/Bundle/ProductBundle/Controller/ProductSlugController.php +++ b/src/Sylius/Bundle/ProductBundle/Controller/ProductSlugController.php @@ -18,33 +18,19 @@ use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\JsonResponse; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; +use Webmozart\Assert\Assert; class ProductSlugController extends AbstractController { - public function __construct(private ?SlugGeneratorInterface $slugGenerator = null) + public function __construct(private readonly SlugGeneratorInterface $slugGenerator) { - if ($this->slugGenerator === null) { - trigger_deprecation( - 'sylius/product-bundle', - '1.11', - 'Not passing a $slugGenerator to %s constructor is deprecated and will be prohibited in Sylius 2.0.', - self::class, - ); - } } public function generateAction(Request $request): Response { $name = $request->query->get('name'); + Assert::string($name); - if ($this->slugGenerator !== null) { - return new JsonResponse([ - 'slug' => $this->slugGenerator->generate((string) $name), - ]); - } - - return new JsonResponse([ - 'slug' => $this->container->get('sylius.generator.slug')->generate($name), - ]); + return new JsonResponse(['slug' => $this->slugGenerator->generate($name)]); } } diff --git a/src/Sylius/Bundle/ProductBundle/DependencyInjection/Configuration.php b/src/Sylius/Bundle/ProductBundle/DependencyInjection/Configuration.php index abff96e071..ef04898593 100644 --- a/src/Sylius/Bundle/ProductBundle/DependencyInjection/Configuration.php +++ b/src/Sylius/Bundle/ProductBundle/DependencyInjection/Configuration.php @@ -13,6 +13,17 @@ declare(strict_types=1); namespace Sylius\Bundle\ProductBundle\DependencyInjection; +use Sylius\Bundle\ProductBundle\Doctrine\ORM\ProductAssociationRepository; +use Sylius\Bundle\ProductBundle\Doctrine\ORM\ProductAssociationTypeRepository; +use Sylius\Bundle\ProductBundle\Doctrine\ORM\ProductAssociationTypeTranslationRepository; +use Sylius\Bundle\ProductBundle\Doctrine\ORM\ProductOptionRepository; +use Sylius\Bundle\ProductBundle\Doctrine\ORM\ProductOptionTranslationRepository; +use Sylius\Bundle\ProductBundle\Doctrine\ORM\ProductOptionValueRepository; +use Sylius\Bundle\ProductBundle\Doctrine\ORM\ProductOptionValueTranslationRepository; +use Sylius\Bundle\ProductBundle\Doctrine\ORM\ProductRepository; +use Sylius\Bundle\ProductBundle\Doctrine\ORM\ProductTranslationRepository; +use Sylius\Bundle\ProductBundle\Doctrine\ORM\ProductVariantRepository; +use Sylius\Bundle\ProductBundle\Doctrine\ORM\ProductVariantTranslationRepository; use Sylius\Bundle\ProductBundle\Form\Type\ProductAssociationType; use Sylius\Bundle\ProductBundle\Form\Type\ProductAssociationTypeTranslationType; use Sylius\Bundle\ProductBundle\Form\Type\ProductAssociationTypeType; @@ -91,7 +102,7 @@ final class Configuration implements ConfigurationInterface ->scalarNode('model')->defaultValue(Product::class)->cannotBeEmpty()->end() ->scalarNode('interface')->defaultValue(ProductInterface::class)->cannotBeEmpty()->end() ->scalarNode('controller')->defaultValue(ResourceController::class)->cannotBeEmpty()->end() - ->scalarNode('repository')->cannotBeEmpty()->end() + ->scalarNode('repository')->defaultValue(ProductRepository::class)->cannotBeEmpty()->end() ->scalarNode('factory')->defaultValue(TranslatableFactory::class)->end() ->scalarNode('form')->defaultValue(ProductType::class)->cannotBeEmpty()->end() ->end() @@ -106,7 +117,7 @@ final class Configuration implements ConfigurationInterface ->scalarNode('model')->defaultValue(ProductTranslation::class)->cannotBeEmpty()->end() ->scalarNode('interface')->defaultValue(ProductTranslationInterface::class)->cannotBeEmpty()->end() ->scalarNode('controller')->defaultValue(ResourceController::class)->cannotBeEmpty()->end() - ->scalarNode('repository')->cannotBeEmpty()->end() + ->scalarNode('repository')->defaultValue(ProductTranslationRepository::class)->cannotBeEmpty()->end() ->scalarNode('factory')->defaultValue(Factory::class)->end() ->scalarNode('form')->defaultValue(ProductTranslationType::class)->cannotBeEmpty()->end() ->end() @@ -125,7 +136,7 @@ final class Configuration implements ConfigurationInterface ->scalarNode('model')->defaultValue(ProductVariant::class)->cannotBeEmpty()->end() ->scalarNode('interface')->defaultValue(ProductVariantInterface::class)->cannotBeEmpty()->end() ->scalarNode('controller')->defaultValue(ResourceController::class)->cannotBeEmpty()->end() - ->scalarNode('repository')->cannotBeEmpty()->end() + ->scalarNode('repository')->defaultValue(ProductVariantRepository::class)->cannotBeEmpty()->end() ->scalarNode('factory')->defaultValue(TranslatableFactory::class)->end() ->scalarNode('form')->defaultValue(ProductVariantType::class)->cannotBeEmpty()->end() ->end() @@ -140,7 +151,7 @@ final class Configuration implements ConfigurationInterface ->scalarNode('model')->defaultValue(ProductVariantTranslation::class)->cannotBeEmpty()->end() ->scalarNode('interface')->defaultValue(ProductVariantTranslationInterface::class)->cannotBeEmpty()->end() ->scalarNode('controller')->defaultValue(ResourceController::class)->cannotBeEmpty()->end() - ->scalarNode('repository')->cannotBeEmpty()->end() + ->scalarNode('repository')->defaultValue(ProductVariantTranslationRepository::class)->cannotBeEmpty()->end() ->scalarNode('factory')->defaultValue(Factory::class)->end() ->scalarNode('form')->defaultValue(ProductVariantTranslationType::class)->cannotBeEmpty()->end() ->end() @@ -159,7 +170,7 @@ final class Configuration implements ConfigurationInterface ->scalarNode('model')->defaultValue(ProductOption::class)->cannotBeEmpty()->end() ->scalarNode('interface')->defaultValue(ProductOptionInterface::class)->cannotBeEmpty()->end() ->scalarNode('controller')->defaultValue(ResourceController::class)->cannotBeEmpty()->end() - ->scalarNode('repository')->cannotBeEmpty()->end() + ->scalarNode('repository')->defaultValue(ProductOptionRepository::class)->cannotBeEmpty()->end() ->scalarNode('factory')->defaultValue(TranslatableFactory::class)->end() ->scalarNode('form')->defaultValue(ProductOptionType::class)->cannotBeEmpty()->end() ->end() @@ -174,7 +185,7 @@ final class Configuration implements ConfigurationInterface ->scalarNode('model')->defaultValue(ProductOptionTranslation::class)->cannotBeEmpty()->end() ->scalarNode('interface')->defaultValue(ProductOptionTranslationInterface::class)->cannotBeEmpty()->end() ->scalarNode('controller')->defaultValue(ResourceController::class)->cannotBeEmpty()->end() - ->scalarNode('repository')->cannotBeEmpty()->end() + ->scalarNode('repository')->defaultValue(ProductOptionTranslationRepository::class)->cannotBeEmpty()->end() ->scalarNode('factory')->defaultValue(Factory::class)->end() ->scalarNode('form')->defaultValue(ProductOptionTranslationType::class)->cannotBeEmpty()->end() ->end() @@ -193,7 +204,7 @@ final class Configuration implements ConfigurationInterface ->scalarNode('model')->defaultValue(ProductOptionValue::class)->cannotBeEmpty()->end() ->scalarNode('interface')->defaultValue(ProductOptionValueInterface::class)->cannotBeEmpty()->end() ->scalarNode('controller')->defaultValue(ResourceController::class)->cannotBeEmpty()->end() - ->scalarNode('repository')->cannotBeEmpty()->cannotBeEmpty()->end() + ->scalarNode('repository')->defaultValue(ProductOptionValueRepository::class)->cannotBeEmpty()->cannotBeEmpty()->end() ->scalarNode('factory')->defaultValue(TranslatableFactory::class)->cannotBeEmpty()->end() ->scalarNode('form')->defaultValue(ProductOptionValueType::class)->cannotBeEmpty()->end() ->end() @@ -210,7 +221,7 @@ final class Configuration implements ConfigurationInterface ->scalarNode('model')->defaultValue(ProductOptionValueTranslation::class)->cannotBeEmpty()->end() ->scalarNode('interface')->defaultValue(ProductOptionValueTranslationInterface::class)->cannotBeEmpty()->end() ->scalarNode('controller')->defaultValue(ResourceController::class)->cannotBeEmpty()->end() - ->scalarNode('repository')->cannotBeEmpty()->end() + ->scalarNode('repository')->defaultValue(ProductOptionValueTranslationRepository::class)->cannotBeEmpty()->end() ->scalarNode('factory')->defaultValue(Factory::class)->cannotBeEmpty()->end() ->scalarNode('form')->defaultValue(ProductOptionValueTranslationType::class)->cannotBeEmpty()->end() ->end() @@ -230,7 +241,7 @@ final class Configuration implements ConfigurationInterface ->scalarNode('interface')->defaultValue(ProductAssociationInterface::class)->cannotBeEmpty()->end() ->scalarNode('controller')->defaultValue(ResourceController::class)->cannotBeEmpty()->end() ->scalarNode('factory')->defaultValue(Factory::class)->cannotBeEmpty()->end() - ->scalarNode('repository')->cannotBeEmpty()->end() + ->scalarNode('repository')->defaultValue(ProductAssociationRepository::class)->cannotBeEmpty()->end() ->scalarNode('form')->defaultValue(ProductAssociationType::class)->cannotBeEmpty()->end() ->end() ->end() @@ -247,7 +258,7 @@ final class Configuration implements ConfigurationInterface ->scalarNode('interface')->defaultValue(ProductAssociationTypeModelInterface::class)->cannotBeEmpty()->end() ->scalarNode('controller')->defaultValue(ResourceController::class)->cannotBeEmpty()->end() ->scalarNode('factory')->defaultValue(TranslatableFactory::class)->cannotBeEmpty()->end() - ->scalarNode('repository')->cannotBeEmpty()->end() + ->scalarNode('repository')->defaultValue(ProductAssociationTypeRepository::class)->cannotBeEmpty()->end() ->scalarNode('form')->defaultValue(ProductAssociationTypeType::class)->cannotBeEmpty()->end() ->end() ->end() @@ -261,7 +272,7 @@ final class Configuration implements ConfigurationInterface ->scalarNode('model')->defaultValue(ProductAssociationTypeTranslation::class)->cannotBeEmpty()->end() ->scalarNode('interface')->defaultValue(ProductAssociationTypeTranslationInterface::class)->cannotBeEmpty()->end() ->scalarNode('controller')->defaultValue(ResourceController::class)->cannotBeEmpty()->end() - ->scalarNode('repository')->cannotBeEmpty()->end() + ->scalarNode('repository')->defaultValue(ProductAssociationTypeTranslationRepository::class)->cannotBeEmpty()->end() ->scalarNode('factory')->defaultValue(Factory::class)->end() ->scalarNode('form')->defaultValue(ProductAssociationTypeTranslationType::class)->cannotBeEmpty()->end() ->end() diff --git a/src/Sylius/Bundle/ProductBundle/Doctrine/ORM/ProductAssociationRepository.php b/src/Sylius/Bundle/ProductBundle/Doctrine/ORM/ProductAssociationRepository.php new file mode 100644 index 0000000000..837aef9a44 --- /dev/null +++ b/src/Sylius/Bundle/ProductBundle/Doctrine/ORM/ProductAssociationRepository.php @@ -0,0 +1,27 @@ + + */ +class ProductAssociationRepository extends EntityRepository implements ProductAssociationRepositoryInterface +{ +} diff --git a/src/Sylius/Bundle/ProductBundle/Doctrine/ORM/ProductAssociationTypeTranslationRepository.php b/src/Sylius/Bundle/ProductBundle/Doctrine/ORM/ProductAssociationTypeTranslationRepository.php new file mode 100644 index 0000000000..1a0bf83926 --- /dev/null +++ b/src/Sylius/Bundle/ProductBundle/Doctrine/ORM/ProductAssociationTypeTranslationRepository.php @@ -0,0 +1,27 @@ + + */ +class ProductAssociationTypeTranslationRepository extends EntityRepository implements ProductAssociationTypeTranslationRepositoryInterface +{ +} diff --git a/src/Sylius/Bundle/ProductBundle/Doctrine/ORM/ProductAttributeRepository.php b/src/Sylius/Bundle/ProductBundle/Doctrine/ORM/ProductAttributeRepository.php new file mode 100644 index 0000000000..6ff3de47fd --- /dev/null +++ b/src/Sylius/Bundle/ProductBundle/Doctrine/ORM/ProductAttributeRepository.php @@ -0,0 +1,27 @@ + + */ +class ProductAttributeRepository extends EntityRepository implements ProductAttributeRepositoryInterface +{ +} diff --git a/src/Sylius/Bundle/ProductBundle/Doctrine/ORM/ProductAttributeTranslationRepository.php b/src/Sylius/Bundle/ProductBundle/Doctrine/ORM/ProductAttributeTranslationRepository.php new file mode 100644 index 0000000000..8bd601fbb0 --- /dev/null +++ b/src/Sylius/Bundle/ProductBundle/Doctrine/ORM/ProductAttributeTranslationRepository.php @@ -0,0 +1,27 @@ + + */ +class ProductAttributeTranslationRepository extends EntityRepository implements ProductAttributeTranslationRepositoryInterface +{ +} diff --git a/src/Sylius/Bundle/ProductBundle/Doctrine/ORM/ProductOptionTranslationRepository.php b/src/Sylius/Bundle/ProductBundle/Doctrine/ORM/ProductOptionTranslationRepository.php new file mode 100644 index 0000000000..75aeeb7c78 --- /dev/null +++ b/src/Sylius/Bundle/ProductBundle/Doctrine/ORM/ProductOptionTranslationRepository.php @@ -0,0 +1,27 @@ + + */ +class ProductOptionTranslationRepository extends EntityRepository implements ProductOptionTranslationRepositoryInterface +{ +} diff --git a/src/Sylius/Bundle/ProductBundle/Doctrine/ORM/ProductOptionValueRepository.php b/src/Sylius/Bundle/ProductBundle/Doctrine/ORM/ProductOptionValueRepository.php new file mode 100644 index 0000000000..a6b275d794 --- /dev/null +++ b/src/Sylius/Bundle/ProductBundle/Doctrine/ORM/ProductOptionValueRepository.php @@ -0,0 +1,27 @@ + + */ +class ProductOptionValueRepository extends EntityRepository implements ProductOptionValueRepositoryInterface +{ +} diff --git a/src/Sylius/Bundle/ProductBundle/Doctrine/ORM/ProductOptionValueTranslationRepository.php b/src/Sylius/Bundle/ProductBundle/Doctrine/ORM/ProductOptionValueTranslationRepository.php new file mode 100644 index 0000000000..566a74a71b --- /dev/null +++ b/src/Sylius/Bundle/ProductBundle/Doctrine/ORM/ProductOptionValueTranslationRepository.php @@ -0,0 +1,27 @@ + + */ +class ProductOptionValueTranslationRepository extends EntityRepository implements ProductOptionValueTranslationRepositoryInterface +{ +} diff --git a/src/Sylius/Bundle/ProductBundle/Doctrine/ORM/ProductTranslationRepository.php b/src/Sylius/Bundle/ProductBundle/Doctrine/ORM/ProductTranslationRepository.php new file mode 100644 index 0000000000..325cdb269d --- /dev/null +++ b/src/Sylius/Bundle/ProductBundle/Doctrine/ORM/ProductTranslationRepository.php @@ -0,0 +1,27 @@ + + */ +class ProductTranslationRepository extends EntityRepository implements ProductTranslationRepositoryInterface +{ +} diff --git a/src/Sylius/Bundle/ProductBundle/Doctrine/ORM/ProductVariantTranslationRepository.php b/src/Sylius/Bundle/ProductBundle/Doctrine/ORM/ProductVariantTranslationRepository.php new file mode 100644 index 0000000000..2d6e81d039 --- /dev/null +++ b/src/Sylius/Bundle/ProductBundle/Doctrine/ORM/ProductVariantTranslationRepository.php @@ -0,0 +1,27 @@ + + */ +class ProductVariantTranslationRepository extends EntityRepository implements ProductVariantTranslationRepositoryInterface +{ +} diff --git a/src/Sylius/Bundle/ProductBundle/Form/EventSubscriber/GenerateProductVariantsSubscriber.php b/src/Sylius/Bundle/ProductBundle/Form/EventSubscriber/GenerateProductVariantsSubscriber.php index 17c73ec262..c5004e162b 100644 --- a/src/Sylius/Bundle/ProductBundle/Form/EventSubscriber/GenerateProductVariantsSubscriber.php +++ b/src/Sylius/Bundle/ProductBundle/Form/EventSubscriber/GenerateProductVariantsSubscriber.php @@ -21,25 +21,14 @@ use Symfony\Component\Form\FormEvent; use Symfony\Component\Form\FormEvents; use Symfony\Component\HttpFoundation\RequestStack; use Symfony\Component\HttpFoundation\Session\Flash\FlashBagInterface; -use Symfony\Component\HttpFoundation\Session\SessionInterface; use Webmozart\Assert\Assert; -final class GenerateProductVariantsSubscriber implements EventSubscriberInterface +final readonly class GenerateProductVariantsSubscriber implements EventSubscriberInterface { public function __construct( private ProductVariantGeneratorInterface $generator, - private SessionInterface|RequestStack $requestStackOrSession, + private RequestStack $requestStack, ) { - if ($requestStackOrSession instanceof SessionInterface) { - trigger_deprecation( - 'sylius/product-bundle', - '1.12', - 'Passing an instance of %s as constructor argument for %s is deprecated and will be removed in Sylius 2.0. Pass an instance of %s instead.', - SessionInterface::class, - self::class, - RequestStack::class, - ); - } } public static function getSubscribedEvents(): array @@ -65,14 +54,7 @@ final class GenerateProductVariantsSubscriber implements EventSubscriberInterfac private function getFlashBag(): FlashBagInterface { - if ($this->requestStackOrSession instanceof RequestStack) { - $flashBag = $this->requestStackOrSession->getSession()->getBag('flashes'); - Assert::isInstanceOf($flashBag, FlashBagInterface::class); - - return $flashBag; - } - - $flashBag = $this->requestStackOrSession->getBag('flashes'); + $flashBag = $this->requestStack->getSession()->getBag('flashes'); Assert::isInstanceOf($flashBag, FlashBagInterface::class); return $flashBag; diff --git a/src/Sylius/Bundle/ProductBundle/Form/Type/ProductOptionChoiceType.php b/src/Sylius/Bundle/ProductBundle/Form/Type/ProductOptionChoiceType.php deleted file mode 100644 index 00e165ec24..0000000000 --- a/src/Sylius/Bundle/ProductBundle/Form/Type/ProductOptionChoiceType.php +++ /dev/null @@ -1,65 +0,0 @@ -addModelTransformer(new CollectionToArrayTransformer()); - } - } - - public function configureOptions(OptionsResolver $resolver): void - { - $resolver->setDefaults([ - 'choices' => fn (Options $options): array => $this->productOptionRepository->findAll(), - 'choice_value' => 'code', - 'choice_label' => 'name', - 'choice_translation_domain' => false, - ]); - } - - public function getParent(): string - { - return ChoiceType::class; - } - - public function getBlockPrefix(): string - { - return 'sylius_product_option_choice'; - } -} diff --git a/src/Sylius/Bundle/ProductBundle/Form/Type/ProductOptionValueChoiceType.php b/src/Sylius/Bundle/ProductBundle/Form/Type/ProductOptionValueChoiceType.php index 486291abe6..4c130cf784 100644 --- a/src/Sylius/Bundle/ProductBundle/Form/Type/ProductOptionValueChoiceType.php +++ b/src/Sylius/Bundle/ProductBundle/Form/Type/ProductOptionValueChoiceType.php @@ -23,19 +23,8 @@ use Symfony\Component\OptionsResolver\OptionsResolver; final class ProductOptionValueChoiceType extends AbstractType { - private ?AvailableProductOptionValuesResolverInterface $availableProductOptionValuesResolver; - - public function __construct(?AvailableProductOptionValuesResolverInterface $availableProductOptionValuesResolver = null) + public function __construct(private readonly AvailableProductOptionValuesResolverInterface $availableProductOptionValuesResolver) { - if (null === $availableProductOptionValuesResolver) { - trigger_deprecation( - 'sylius/product-bundle', - '1.8', - 'Not passing an $availableProductOptionValuesResolver through constructor is deprecated and will be removed in Sylius 2.0', - ); - } - - $this->availableProductOptionValuesResolver = $availableProductOptionValuesResolver; } public function configureOptions(OptionsResolver $resolver): void @@ -51,17 +40,6 @@ final class ProductOptionValueChoiceType extends AbstractType ); } - if (null === $this->availableProductOptionValuesResolver) { - throw new \RuntimeException( - sprintf( - 'Cannot provide only available values in "%s" because a "%s" is required but ' . - 'none has been set.', - __CLASS__, - AvailableProductOptionValuesResolverInterface::class, - ), - ); - } - return $this->availableProductOptionValuesResolver->resolve( $options['product'], $productOption, diff --git a/src/Sylius/Bundle/ProductBundle/Resources/config/services/form.xml b/src/Sylius/Bundle/ProductBundle/Resources/config/services/form.xml index 099428c8ef..87687c721e 100644 --- a/src/Sylius/Bundle/ProductBundle/Resources/config/services/form.xml +++ b/src/Sylius/Bundle/ProductBundle/Resources/config/services/form.xml @@ -168,11 +168,6 @@ - - - - - %sylius.model.product_option_value.class% %sylius.form.type.product_option_value.validation_groups% diff --git a/src/Sylius/Bundle/ProductBundle/composer.json b/src/Sylius/Bundle/ProductBundle/composer.json index 4d30e5fdf7..2ee497da99 100644 --- a/src/Sylius/Bundle/ProductBundle/composer.json +++ b/src/Sylius/Bundle/ProductBundle/composer.json @@ -26,13 +26,13 @@ } ], "require": { - "php": "^8.0", + "php": "^8.2", "stof/doctrine-extensions-bundle": "^1.4", - "sylius/attribute-bundle": "^1.12", - "sylius/locale-bundle": "^1.12", - "sylius/product": "^1.12", - "sylius/resource-bundle": "^1.9", - "symfony/framework-bundle": "^5.4.21 || ^6.0" + "sylius/attribute-bundle": "^2.0", + "sylius/locale-bundle": "^2.0", + "sylius/product": "^2.0", + "sylius/resource-bundle": "^1.10", + "symfony/framework-bundle": "^6.3.4" }, "require-dev": { "doctrine/orm": "^2.13", @@ -40,10 +40,10 @@ "mockery/mockery": "^1.4", "phpspec/phpspec": "^7.2", "phpunit/phpunit": "^9.5", - "symfony/browser-kit": "^5.4.21 || ^6.0", - "symfony/dependency-injection": "^5.4.21 || ^6.0", - "symfony/form": "^5.4.21 || ^6.0", - "symfony/validator": "^5.4.21 || ^6.0" + "symfony/browser-kit": "^6.3.2", + "symfony/dependency-injection": "^6.3.4", + "symfony/form": "^6.3.2", + "symfony/validator": "^6.3.4" }, "conflict": { "doctrine/orm": "2.15.2", @@ -56,7 +56,7 @@ }, "extra": { "branch-alias": { - "dev-master": "1.12-dev" + "dev-main": "2.0-dev" } }, "autoload": { diff --git a/src/Sylius/Bundle/ProductBundle/spec/Form/EventSubscriber/GenerateProductVariantsSubscriberSpec.php b/src/Sylius/Bundle/ProductBundle/spec/Form/EventSubscriber/GenerateProductVariantsSubscriberSpec.php index 5cbf43b54e..cdc054c52e 100644 --- a/src/Sylius/Bundle/ProductBundle/spec/Form/EventSubscriber/GenerateProductVariantsSubscriberSpec.php +++ b/src/Sylius/Bundle/ProductBundle/spec/Form/EventSubscriber/GenerateProductVariantsSubscriberSpec.php @@ -78,22 +78,4 @@ final class GenerateProductVariantsSubscriberSpec extends ObjectBehavior $this->preSetData($event); } - - function it_can_retrieve_session_directly_for_bc_layer( - FormEvent $event, - ProductInterface $product, - ProductVariantGeneratorInterface $generator, - Session $session, - FlashBagInterface $flashBag, - ): void { - $this->let($generator, $session); - - $event->getData()->willReturn($product); - $generator->generate($product)->willThrow(new VariantWithNoOptionsValuesException()); - $session->getBag('flashes')->willReturn($flashBag); - - $flashBag->add('error', 'sylius.product_variant.cannot_generate_variants')->shouldBeCalled(); - - $this->preSetData($event); - } } diff --git a/src/Sylius/Bundle/PromotionBundle/Criteria/DateRange.php b/src/Sylius/Bundle/PromotionBundle/Criteria/DateRange.php index 015ff4e5d5..f71da84c8c 100644 --- a/src/Sylius/Bundle/PromotionBundle/Criteria/DateRange.php +++ b/src/Sylius/Bundle/PromotionBundle/Criteria/DateRange.php @@ -14,12 +14,12 @@ declare(strict_types=1); namespace Sylius\Bundle\PromotionBundle\Criteria; use Doctrine\ORM\QueryBuilder; -use Sylius\Calendar\Provider\DateTimeProviderInterface; use Sylius\Component\Promotion\Model\CatalogPromotionInterface; +use Symfony\Component\Clock\ClockInterface; final class DateRange implements CriteriaInterface { - public function __construct(private DateTimeProviderInterface $calendar) + public function __construct(private ClockInterface $clock) { } @@ -30,7 +30,7 @@ final class DateRange implements CriteriaInterface $queryBuilder ->andWhere(sprintf('%s.startDate IS NULL OR %s.startDate <= :date', $root, $root)) ->andWhere(sprintf('%s.endDate IS NULL OR %s.endDate > :date', $root, $root)) - ->setParameter('date', $this->calendar->now()) + ->setParameter('date', $this->clock->now()) ; return $queryBuilder; @@ -38,9 +38,11 @@ final class DateRange implements CriteriaInterface public function verify(CatalogPromotionInterface $catalogPromotion): bool { + $now = $this->clock->now(); + return - ($catalogPromotion->getStartDate() === null || $catalogPromotion->getStartDate() <= $this->calendar->now()) && - ($catalogPromotion->getEndDate() === null || $catalogPromotion->getEndDate() > $this->calendar->now()) + ($catalogPromotion->getStartDate() === null || $catalogPromotion->getStartDate() <= $now) && + ($catalogPromotion->getEndDate() === null || $catalogPromotion->getEndDate() > $now) ; } } diff --git a/src/Sylius/Bundle/PromotionBundle/Resources/config/services/criteria.xml b/src/Sylius/Bundle/PromotionBundle/Resources/config/services/criteria.xml index 19b413679e..a6d6402834 100644 --- a/src/Sylius/Bundle/PromotionBundle/Resources/config/services/criteria.xml +++ b/src/Sylius/Bundle/PromotionBundle/Resources/config/services/criteria.xml @@ -19,7 +19,7 @@ - + diff --git a/src/Sylius/Bundle/PromotionBundle/composer.json b/src/Sylius/Bundle/PromotionBundle/composer.json index fb6759cbaf..5caa0240e2 100644 --- a/src/Sylius/Bundle/PromotionBundle/composer.json +++ b/src/Sylius/Bundle/PromotionBundle/composer.json @@ -27,14 +27,15 @@ } ], "require": { - "php": "^8.0", + "php": "^8.2", "stof/doctrine-extensions-bundle": "^1.4", - "sylius/calendar": "^0.3 || ^0.4 || ^0.5", - "sylius/money-bundle": "^1.12", - "sylius/promotion": "^1.12", - "sylius/registry": "^1.5", - "sylius/resource-bundle": "^1.9", - "symfony/framework-bundle": "^5.4.21 || ^6.0" + "sylius/calendar": "^0.5", + "sylius/money-bundle": "^2.0", + "sylius/promotion": "^2.0", + "sylius/registry": "^1.6", + "sylius/resource-bundle": "^1.10", + "symfony/clock": "^6.3.4", + "symfony/framework-bundle": "^6.3.4" }, "conflict": { "doctrine/orm": "2.15.2", @@ -48,10 +49,10 @@ "phpspec/prophecy-phpunit": "^2.0", "phpunit/phpunit": "^9.5", "polishsymfonycommunity/symfony-mocker-container": "^1.0", - "symfony/browser-kit": "^5.4.21 || ^6.0", - "symfony/dependency-injection": "^5.4.21 || ^6.0", - "symfony/form": "^5.4.21 || ^6.0", - "symfony/validator": "^5.4.21 || ^6.0" + "symfony/browser-kit": "^6.3.2", + "symfony/dependency-injection": "^6.3.4", + "symfony/form": "^6.3.2", + "symfony/validator": "^6.3.4" }, "config": { "allow-plugins": { @@ -60,7 +61,7 @@ }, "extra": { "branch-alias": { - "dev-master": "1.12-dev" + "dev-main": "2.0-dev" } }, "autoload": { diff --git a/src/Sylius/Bundle/PromotionBundle/spec/Criteria/DateRangeSpec.php b/src/Sylius/Bundle/PromotionBundle/spec/Criteria/DateRangeSpec.php index c27248b20b..d41ac80350 100644 --- a/src/Sylius/Bundle/PromotionBundle/spec/Criteria/DateRangeSpec.php +++ b/src/Sylius/Bundle/PromotionBundle/spec/Criteria/DateRangeSpec.php @@ -16,14 +16,14 @@ namespace spec\Sylius\Bundle\PromotionBundle\Criteria; use Doctrine\ORM\QueryBuilder; use PhpSpec\ObjectBehavior; use Sylius\Bundle\PromotionBundle\Criteria\CriteriaInterface; -use Sylius\Calendar\Provider\DateTimeProviderInterface; use Sylius\Component\Promotion\Model\CatalogPromotionInterface; +use Symfony\Component\Clock\ClockInterface; final class DateRangeSpec extends ObjectBehavior { - function let(DateTimeProviderInterface $calendar): void + function let(ClockInterface $clock): void { - $this->beConstructedWith($calendar); + $this->beConstructedWith($clock); } function it_implements_criteria_interface(): void @@ -31,12 +31,12 @@ final class DateRangeSpec extends ObjectBehavior $this->shouldImplement(CriteriaInterface::class); } - function it_adds_filters_to_query_builder(DateTimeProviderInterface $calendar, QueryBuilder $queryBuilder): void + function it_adds_filters_to_query_builder(ClockInterface $clock, QueryBuilder $queryBuilder): void { $queryBuilder->getRootAliases()->willReturn(['o']); - $now = new \DateTime(); - $calendar->now()->willReturn($now); + $now = new \DateTimeImmutable(); + $clock->now()->willReturn($now); $queryBuilder->andWhere('o.startDate IS NULL OR o.startDate <= :date')->willReturn($queryBuilder)->shouldBeCalled(); $queryBuilder->andWhere('o.endDate IS NULL OR o.endDate > :date')->willReturn($queryBuilder)->shouldBeCalled(); @@ -47,12 +47,12 @@ final class DateRangeSpec extends ObjectBehavior function it_verifies_catalog_promotion( CatalogPromotionInterface $catalogPromotion, - DateTimeProviderInterface $calendar, + ClockInterface $clock, ): void { - $tomorrow = new \DateTime('+1day'); - $yesterday = new \DateTime('-1day'); - $now = new \DateTime(); - $calendar->now()->willReturn($now); + $tomorrow = new \DateTimeImmutable('+1day'); + $yesterday = new \DateTimeImmutable('-1day'); + $now = new \DateTimeImmutable(); + $clock->now()->willReturn($now); $catalogPromotion->getStartDate()->willReturn($yesterday); $catalogPromotion->getEndDate()->willReturn($tomorrow); diff --git a/src/Sylius/Bundle/PromotionBundle/test/app/AppKernel.php b/src/Sylius/Bundle/PromotionBundle/test/app/AppKernel.php index 6115441556..7b4acdf00e 100644 --- a/src/Sylius/Bundle/PromotionBundle/test/app/AppKernel.php +++ b/src/Sylius/Bundle/PromotionBundle/test/app/AppKernel.php @@ -25,7 +25,6 @@ class AppKernel extends Kernel new JMS\SerializerBundle\JMSSerializerBundle(), new BabDev\PagerfantaBundle\BabDevPagerfantaBundle(), new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(), - new Sylius\Calendar\SyliusCalendarBundle(), new Sylius\Bundle\PromotionBundle\SyliusPromotionBundle(), new Sylius\Bundle\ResourceBundle\SyliusResourceBundle(), new Symfony\Bundle\TwigBundle\TwigBundle(), diff --git a/src/Sylius/Bundle/ReviewBundle/composer.json b/src/Sylius/Bundle/ReviewBundle/composer.json index 911618c08d..5148d37dd4 100644 --- a/src/Sylius/Bundle/ReviewBundle/composer.json +++ b/src/Sylius/Bundle/ReviewBundle/composer.json @@ -38,13 +38,13 @@ } ], "require": { - "php": "^8.0", + "php": "^8.2", "stof/doctrine-extensions-bundle": "^1.4", - "sylius/mailer-bundle": "^1.8 || ^2.0@beta", - "sylius/resource-bundle": "^1.9", - "sylius/review": "^1.12", - "sylius/user-bundle": "^1.12", - "symfony/framework-bundle": "^5.4.21 || ^6.0" + "sylius/mailer-bundle": "^2.0", + "sylius/resource-bundle": "^1.10", + "sylius/review": "^2.0", + "sylius/user-bundle": "^2.0", + "symfony/framework-bundle": "^6.3.4" }, "conflict": { "stof/doctrine-extensions-bundle": "1.8.0", @@ -55,11 +55,11 @@ "phpspec/prophecy-phpunit": "^2.0", "phpunit/phpunit": "^9.5", "polishsymfonycommunity/symfony-mocker-container": "^1.0", - "symfony/browser-kit": "^5.4.21 || ^6.0", - "symfony/dependency-injection": "^5.4.21 || ^6.0", - "symfony/form": "^5.4.21 || ^6.0", - "symfony/security-bundle": "^5.4.21 || ^6.0", - "symfony/validator": "^5.4.21 || ^6.0" + "symfony/browser-kit": "^6.3.2", + "symfony/dependency-injection": "^6.3.4", + "symfony/form": "^6.3.2", + "symfony/security-bundle": "^6.3.4", + "symfony/validator": "^6.3.4" }, "config": { "allow-plugins": { @@ -68,7 +68,7 @@ }, "extra": { "branch-alias": { - "dev-master": "1.12-dev" + "dev-main": "2.0-dev" } }, "autoload": { diff --git a/src/Sylius/Bundle/ShippingBundle/Assigner/ShippingDateAssigner.php b/src/Sylius/Bundle/ShippingBundle/Assigner/ShippingDateAssigner.php index d333f6fbc6..92b51e19bc 100644 --- a/src/Sylius/Bundle/ShippingBundle/Assigner/ShippingDateAssigner.php +++ b/src/Sylius/Bundle/ShippingBundle/Assigner/ShippingDateAssigner.php @@ -13,34 +13,17 @@ declare(strict_types=1); namespace Sylius\Bundle\ShippingBundle\Assigner; -use Sylius\Bundle\ShippingBundle\Provider\DateTimeProvider; -use Sylius\Calendar\Provider\DateTimeProviderInterface; use Sylius\Component\Shipping\Model\ShipmentInterface; +use Symfony\Component\Clock\ClockInterface; final class ShippingDateAssigner implements ShippingDateAssignerInterface { - public function __construct(private DateTimeProvider|DateTimeProviderInterface $calendar) + public function __construct(private ClockInterface $clock) { - if ($calendar instanceof DateTimeProvider) { - trigger_deprecation( - 'sylius/shipping-bundle', - '1.11', - 'Passing a "%s" to "%s" constructor is deprecated and will be prohibited in Sylius 2.0. Use "%s" instead.', - DateTimeProvider::class, - self::class, - DateTimeProviderInterface::class, - ); - } } public function assign(ShipmentInterface $shipment): void { - if ($this->calendar instanceof DateTimeProviderInterface) { - $shipment->setShippedAt($this->calendar->now()); - - return; - } - - $shipment->setShippedAt($this->calendar->today()); + $shipment->setShippedAt($this->clock->now()); } } diff --git a/src/Sylius/Bundle/ShippingBundle/Provider/Calendar.php b/src/Sylius/Bundle/ShippingBundle/Provider/Calendar.php index 6c53231640..d2b29df8da 100644 --- a/src/Sylius/Bundle/ShippingBundle/Provider/Calendar.php +++ b/src/Sylius/Bundle/ShippingBundle/Provider/Calendar.php @@ -13,12 +13,14 @@ declare(strict_types=1); namespace Sylius\Bundle\ShippingBundle\Provider; +use Symfony\Component\Clock\Clock; + trigger_deprecation( 'sylius/shipping-bundle', '1.11', 'The "%s" class is deprecated and will be removed in Sylius 2.0. Use "%s" instead.', Calendar::class, - 'Symfony\Component\Clock\Clock', + Clock::class, ); /** diff --git a/src/Sylius/Bundle/ShippingBundle/Resources/config/services.xml b/src/Sylius/Bundle/ShippingBundle/Resources/config/services.xml index 4bb270f88e..fca841a3b2 100644 --- a/src/Sylius/Bundle/ShippingBundle/Resources/config/services.xml +++ b/src/Sylius/Bundle/ShippingBundle/Resources/config/services.xml @@ -76,7 +76,7 @@ - + - - - The "%service_id%" is deprecated since Sylius 1.8 and will be removed in 2.0. Use "sylius.shipping_method_eligibility_checker" instead - - diff --git a/src/Sylius/Bundle/ShippingBundle/composer.json b/src/Sylius/Bundle/ShippingBundle/composer.json index 83ecb428ab..1dcc7a5d61 100644 --- a/src/Sylius/Bundle/ShippingBundle/composer.json +++ b/src/Sylius/Bundle/ShippingBundle/composer.json @@ -28,13 +28,13 @@ } ], "require": { - "php": "^8.0", + "php": "^8.2", "stof/doctrine-extensions-bundle": "^1.4", - "sylius/calendar": "^0.3 || ^0.4 || ^0.5", - "sylius/money-bundle": "^1.12", - "sylius/resource-bundle": "^1.9", - "sylius/shipping": "^1.12", - "symfony/framework-bundle": "^5.4.21 || ^6.0" + "sylius/money-bundle": "^2.0", + "sylius/resource-bundle": "^1.10", + "sylius/shipping": "^2.0", + "symfony/clock": "^6.3.4", + "symfony/framework-bundle": "^6.3.4" }, "conflict": { "doctrine/orm": "2.15.2", @@ -47,10 +47,10 @@ "phpspec/phpspec": "^7.2", "phpunit/phpunit": "^9.5", "polishsymfonycommunity/symfony-mocker-container": "^1.0", - "symfony/browser-kit": "^5.4.21 || ^6.0", - "symfony/dependency-injection": "^5.4.21 || ^6.0", - "symfony/form": "^5.4.21 || ^6.0", - "symfony/validator": "^5.4.21 || ^6.0" + "symfony/browser-kit": "^6.3.2", + "symfony/dependency-injection": "^6.3.4", + "symfony/form": "^6.3.2", + "symfony/validator": "^6.3.4" }, "config": { "allow-plugins": { @@ -59,7 +59,7 @@ }, "extra": { "branch-alias": { - "dev-master": "1.12-dev" + "dev-main": "2.0-dev" } }, "autoload": { diff --git a/src/Sylius/Bundle/ShippingBundle/spec/Assigner/ShippingDateAssignerSpec.php b/src/Sylius/Bundle/ShippingBundle/spec/Assigner/ShippingDateAssignerSpec.php index f522a07325..847790ed17 100644 --- a/src/Sylius/Bundle/ShippingBundle/spec/Assigner/ShippingDateAssignerSpec.php +++ b/src/Sylius/Bundle/ShippingBundle/spec/Assigner/ShippingDateAssignerSpec.php @@ -15,39 +15,38 @@ namespace spec\Sylius\Bundle\ShippingBundle\Assigner; use PhpSpec\ObjectBehavior; use Sylius\Bundle\ShippingBundle\Assigner\ShippingDateAssignerInterface; -use Sylius\Bundle\ShippingBundle\Provider\DateTimeProvider; -use Sylius\Calendar\Provider\DateTimeProviderInterface; use Sylius\Component\Shipping\Model\ShipmentInterface; +use Symfony\Component\Clock\ClockInterface; final class ShippingDateAssignerSpec extends ObjectBehavior { - function it_implements_a_shipping_date_assigner_interface(DateTimeProviderInterface $calendar): void + function it_implements_a_shipping_date_assigner_interface(ClockInterface $clock): void { - $this->beConstructedWith($calendar); + $this->beConstructedWith($clock); $this->shouldImplement(ShippingDateAssignerInterface::class); } function it_assigns_a_shipped_at_date_to_a_shipment_using_date_time_provider_interface_from_sylius_calendar_repository( - DateTimeProviderInterface $calendar, + ClockInterface $clock, ShipmentInterface $shipment, ): void { - $this->beConstructedWith($calendar); + $this->beConstructedWith($clock); - $calendar->now()->willReturn(new \DateTime('20-05-2019 20:20:20')); - $shipment->setShippedAt(new \DateTime('20-05-2019 20:20:20'))->shouldBeCalled(); + $clock->now()->willReturn(new \DateTimeImmutable('20-05-2019 20:20:20')); + $shipment->setShippedAt(new \DateTimeImmutable('20-05-2019 20:20:20'))->shouldBeCalled(); $this->assign($shipment); } function it_assigns_a_shipped_at_date_to_a_shipment_using_deprecated_date_time_provider( - DateTimeProvider $calendar, + ClockInterface $clock, ShipmentInterface $shipment, ): void { - $this->beConstructedWith($calendar); + $this->beConstructedWith($clock); - $calendar->today()->willReturn(new \DateTime('20-05-2019 20:20:20')); - $shipment->setShippedAt(new \DateTime('20-05-2019 20:20:20'))->shouldBeCalled(); + $clock->now()->willReturn(new \DateTimeImmutable('20-05-2019 20:20:20')); + $shipment->setShippedAt(new \DateTimeImmutable('20-05-2019 20:20:20'))->shouldBeCalled(); $this->assign($shipment); } diff --git a/src/Sylius/Bundle/ShippingBundle/test/app/AppKernel.php b/src/Sylius/Bundle/ShippingBundle/test/app/AppKernel.php index b2e5ca1f85..a7651e29d6 100644 --- a/src/Sylius/Bundle/ShippingBundle/test/app/AppKernel.php +++ b/src/Sylius/Bundle/ShippingBundle/test/app/AppKernel.php @@ -25,7 +25,6 @@ class AppKernel extends Kernel new JMS\SerializerBundle\JMSSerializerBundle(), new BabDev\PagerfantaBundle\BabDevPagerfantaBundle(), new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(), - new Sylius\Calendar\SyliusCalendarBundle(), new Sylius\Bundle\ShippingBundle\SyliusShippingBundle(), new Sylius\Bundle\ResourceBundle\SyliusResourceBundle(), new Symfony\Bundle\TwigBundle\TwigBundle(), diff --git a/src/Sylius/Bundle/ShopBundle/Calculator/OrderItemsSubtotalCalculator.php b/src/Sylius/Bundle/ShopBundle/Calculator/OrderItemsSubtotalCalculator.php deleted file mode 100644 index 13fb07d3ac..0000000000 --- a/src/Sylius/Bundle/ShopBundle/Calculator/OrderItemsSubtotalCalculator.php +++ /dev/null @@ -1,36 +0,0 @@ -getItemsSubtotal(); - } -} diff --git a/src/Sylius/Bundle/ShopBundle/Calculator/OrderItemsSubtotalCalculatorInterface.php b/src/Sylius/Bundle/ShopBundle/Calculator/OrderItemsSubtotalCalculatorInterface.php deleted file mode 100644 index e5826448e6..0000000000 --- a/src/Sylius/Bundle/ShopBundle/Calculator/OrderItemsSubtotalCalculatorInterface.php +++ /dev/null @@ -1,32 +0,0 @@ -emailSender->send( Emails::CONTACT_REQUEST, $recipients, diff --git a/src/Sylius/Bundle/ShopBundle/EmailManager/ContactEmailManagerInterface.php b/src/Sylius/Bundle/ShopBundle/EmailManager/ContactEmailManagerInterface.php index a438949edd..f8ee64e256 100644 --- a/src/Sylius/Bundle/ShopBundle/EmailManager/ContactEmailManagerInterface.php +++ b/src/Sylius/Bundle/ShopBundle/EmailManager/ContactEmailManagerInterface.php @@ -17,10 +17,14 @@ use Sylius\Component\Core\Model\ChannelInterface; interface ContactEmailManagerInterface { + /** + * @param array $data + * @param array $recipients + */ public function sendContactRequest( array $data, array $recipients, - ?ChannelInterface $channel = null, - ?string $localeCode = null, + ChannelInterface $channel, + string $localeCode, ): void; } diff --git a/src/Sylius/Bundle/ShopBundle/EmailManager/OrderEmailManager.php b/src/Sylius/Bundle/ShopBundle/EmailManager/OrderEmailManager.php index 5648a05d84..f77eb805af 100644 --- a/src/Sylius/Bundle/ShopBundle/EmailManager/OrderEmailManager.php +++ b/src/Sylius/Bundle/ShopBundle/EmailManager/OrderEmailManager.php @@ -19,6 +19,7 @@ use Sylius\Component\Core\Model\OrderInterface; use Sylius\Component\Mailer\Sender\SenderInterface; use Webmozart\Assert\Assert; +// This whole class needs to go final class OrderEmailManager implements OrderEmailManagerInterface { public function __construct( diff --git a/src/Sylius/Bundle/ShopBundle/EventListener/CustomerEmailUpdaterListener.php b/src/Sylius/Bundle/ShopBundle/EventListener/CustomerEmailUpdaterListener.php index 9a6b2c2e18..95249d27ea 100644 --- a/src/Sylius/Bundle/ShopBundle/EventListener/CustomerEmailUpdaterListener.php +++ b/src/Sylius/Bundle/ShopBundle/EventListener/CustomerEmailUpdaterListener.php @@ -25,30 +25,19 @@ use Sylius\Component\User\Security\Generator\GeneratorInterface; use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Component\EventDispatcher\GenericEvent; use Symfony\Component\HttpFoundation\RequestStack; -use Symfony\Component\HttpFoundation\Session\SessionInterface; use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface; use Webmozart\Assert\Assert; -final class CustomerEmailUpdaterListener +final readonly class CustomerEmailUpdaterListener { public function __construct( private GeneratorInterface $tokenGenerator, private ChannelContextInterface $channelContext, private EventDispatcherInterface $eventDispatcher, - private RequestStack|SessionInterface $requestStackOrSession, + private RequestStack $requestStack, private SectionProviderInterface $uriBasedSectionContext, private TokenStorageInterface $tokenStorage, ) { - if ($requestStackOrSession instanceof SessionInterface) { - trigger_deprecation( - 'sylius/shop-bundle', - '1.12', - 'Passing an instance of %s as constructor argument for %s is deprecated and will be removed in Sylius 2.0. Pass an instance of %s instead.', - SessionInterface::class, - self::class, - RequestStack::class, - ); - } } public function eraseVerification(GenericEvent $event): void @@ -109,7 +98,7 @@ final class CustomerEmailUpdaterListener if (!$user->isEnabled() && !$user->isVerified() && null !== $user->getEmailVerificationToken()) { $this->eventDispatcher->dispatch(new GenericEvent($user), UserEvents::REQUEST_VERIFICATION_TOKEN); - $flashBag = FlashBagProvider::getFlashBag($this->requestStackOrSession); + $flashBag = FlashBagProvider::getFlashBag($this->requestStack); $flashBag->add('success', 'sylius.user.verify_email_request'); } } diff --git a/src/Sylius/Bundle/ShopBundle/Resources/config/app/config.yml b/src/Sylius/Bundle/ShopBundle/Resources/config/app/config.yml index 8bd89a2c9a..8c20c8e673 100644 --- a/src/Sylius/Bundle/ShopBundle/Resources/config/app/config.yml +++ b/src/Sylius/Bundle/ShopBundle/Resources/config/app/config.yml @@ -18,7 +18,6 @@ webpack_encore: sylius_grid: templates: action: - pay: "@SyliusShop/Account/Order/Grid/Action/_pay_deprecated.html.twig" shop_show: "@SyliusShop/Grid/Action/show.html.twig" shop_pay: "@SyliusShop/Account/Order/Grid/Action/pay.html.twig" filter: diff --git a/src/Sylius/Bundle/ShopBundle/Resources/config/services.xml b/src/Sylius/Bundle/ShopBundle/Resources/config/services.xml index 5e4e2531b6..7d78b73319 100644 --- a/src/Sylius/Bundle/ShopBundle/Resources/config/services.xml +++ b/src/Sylius/Bundle/ShopBundle/Resources/config/services.xml @@ -44,9 +44,5 @@ - - - - diff --git a/src/Sylius/Bundle/ShopBundle/Resources/config/services/twig.xml b/src/Sylius/Bundle/ShopBundle/Resources/config/services/twig.xml index 6fe4b8934d..c8ef67eaa5 100644 --- a/src/Sylius/Bundle/ShopBundle/Resources/config/services/twig.xml +++ b/src/Sylius/Bundle/ShopBundle/Resources/config/services/twig.xml @@ -15,15 +15,6 @@ - - - - - - - - - diff --git a/src/Sylius/Bundle/ShopBundle/Resources/views/Account/Order/Grid/Action/_pay_deprecated.html.twig b/src/Sylius/Bundle/ShopBundle/Resources/views/Account/Order/Grid/Action/_pay_deprecated.html.twig deleted file mode 100644 index 67369c78b0..0000000000 --- a/src/Sylius/Bundle/ShopBundle/Resources/views/Account/Order/Grid/Action/_pay_deprecated.html.twig +++ /dev/null @@ -1,3 +0,0 @@ -{% deprecated 'The "pay" grid action is deprecated, use "shop_pay" instead.' %} - -{% include '@SyliusShop/Account/Order/Grid/Action/pay.html.twig' %} diff --git a/src/Sylius/Bundle/ShopBundle/Resources/views/Checkout/_header.html.twig b/src/Sylius/Bundle/ShopBundle/Resources/views/Checkout/_header.html.twig index ad41295946..ae54c62861 100644 --- a/src/Sylius/Bundle/ShopBundle/Resources/views/Checkout/_header.html.twig +++ b/src/Sylius/Bundle/ShopBundle/Resources/views/Checkout/_header.html.twig @@ -1,15 +1,9 @@