v1.12.0
版本发布时间: 2022-10-31 23:23:51
Sylius/Sylius最新发布版本:v2.0.0-ALPHA.2(2024-09-24 19:59:39)
TL;DR
- Symfony 6 support 💥
- Finalisation of the Shop API 🚀
- Improvements to the Catalog Promotions system 💣
and many more :dancer:
Details (full changelog between 1.11 and 1.12 versions)
Features
- #13163 [UX][Attribute] Use single_text widget for Date&DateTime attribute form type (@Jibbarth)
- #13437 Make URLs secure by default and add parameter to make then unsecure (@vvasiloi)
- #13661 [DX] Adding a helpful error message to the ResetPasswordHandler (@mamazu)
- #13710 [UI] Layout improvements and sticky columns (@kulczy)
- #13786 Prepare postgresql pipeline by making behat scenarios de-case-sensitive (@Ferror)
- #13823 [Behat][API] Browsing channels using their default locales (@coldic3)
- #13825 [API][Shop] Channel endpoint that returns current channel created (@TheMilek)
- #13851 [Behat] Viewing product image - API scenario covered (@ernestWarwas)
- #13861 [API][Shop][Behat] Implement scenarios for switching and handling multiple locales (@GSadee)
- #13862 [API] Sorting products by date (@Rafikooo)
- #13863 [API][Shop] Viewing only the enabled variants of a product (@TheMilek)
- #13877 [API][Shop] Viewing only the enabled variants of a product fixes (@TheMilek)
- #13893 [docker]Configure Blackfire service in dev environment (@Ferror)
- #13912 Support Twig 3 (@Zales0123)
- #13928 [API][Shop] Viewing product attributes (@coldic3)
- #13930 [API][Behat] Cover scenarios for applying correct taxes (@GSadee)
- #13935 [API][Behat] Cover scenarios for applying taxes included in price (@GSadee)
- #13936 [API][Behat] Cover scenarios for receiving discount on shipping after changing product's quantity (@GSadee)
- #13943 [API][Behat] Cover scenarios for receiving fixed discount from specific taxon (@GSadee)
- #13945 [API][Behat] Cover scenarios for receiving a discount from one promotion based on items total (@ernestWarwas)
- #13946 [API] Discount for nth order (@Rafikooo)
- #13949 [Shop][API] ProductAssociation endpoint created (@TheMilek, @GSadee)
- #13950 [API] Cover scenarios for receiving email after registration (@GSadee)
- #13955 [Behat][API] Cover api scenarios for order promotion integrity validation (@ernestWarwas, @GSadee)
- #13957 [API][Shop] ProductAssociationType endpoint created (@TheMilek)
- #13960 [API]Add contact request (@AdamKasp, @TheMilek)
- #13969 Symfony 6 support (@NoResponseMate, @Zales0123, @Rafikooo, @GSadee, @coldic3, @loic425, @lchrusciel)
- #13973 [docker]Install and configure xdebug (@Ferror)
- #13997 [API][Shop] Viewing exchange rates (@coldic3)
- #14013 [API] cover scenarios for non existing taxon filter (@SirDomin)
- #14051 [docker][docs]Deploy Sylius with Docker (@Ferror)
- #14076 Add missing in Product fixtures (@RadnoK)
- #14124 [Admin][Behat] Cover scenarios for admin password reset (@jakubtobiasz)
- #14128 [Admin][API] Sending administrator's password reset email (@jakubtobiasz)
- #14138 [Admin][UI] Sending administrator's password reset email (@jakubtobiasz)
-
#14149 [Upgrade] A note about changes to the
access_control
configuration ofsecurity.yaml
(@Rafikooo) - #14151 Fixed the way an unknown email is treated when requesting a password reset (@NoResponseMate)
- #14152 [Admin][UI][API] Request password reset validation (@NoResponseMate)
- #14153 [Admin][UI][API] Reset password validation (@NoResponseMate)
- #14158 [Admin][UI] Unified ChannelCollection template (@mamazu, @NoResponseMate)
- #14159 [UI] Redirect to previous filtered page after perform any action from index resource page (@ernestWarwas, @Zales0123)
- #14188 [DOCS] Disabling guest api checkout (@arti0090)
- #14200 [Checkout] Add possibility to choose the required address in the checkout (@GSadee)
- #14228 [Shop][UI] Update cart on checkout (@jakubtobiasz)
- #14230 [Admin][CatalogPromotion] Add filters (@NoResponseMate)
- #14242 [API][Shop] List only orders from current channel (@NoResponseMate)
- #14249 [Behat] Scenarios for removing catalog promotions (@Rafikooo)
- #14251 [docs][docker]Auto build after each change (@Ferror)
- #14255 [Admin][Order] Filter by product/variant (@NoResponseMate)
- #14270 [CatalogPromotions][API] Removal of catalog promotions (@Rafikooo)
- #14290 [Catalog Promotions] Introduce the "processing" state and drop the unused "failed" step (@coldic3)
- #14291 [CatalogPromotions][UI] Removal of catalog promotions (@Rafikooo)
- #14313 [docs]Mention to clone Sylius-Standard repository to start the project (@Ferror)
- #14314 [CatalogPromotions][Docs] Removing of catalog promotions documented (@Rafikooo)
- #14328 [Template][Events] Introduce Context Providers for Template Blocks (@coldic3)
- #14336 Enable Behat tests in PostgreSQL workflow (@GSadee)
- #14338 Tax rates with dates (@GSadee, @jakub@@Jakubs-MacBook-Pro.@local)
- #14349 [Admin][CatalogPromotion] Browsing affected product variants (@NoResponseMate)
- #14373 [Docs] Add Context Providers to the template customization guide (@coldic3)
- #14378 [Products][CatalogPromotions] Catalog promotion details on both simple and configurable products (@Rafikooo)
- #14427 tax rates filter feature (@everwhatever, @GSadee)
- #14481 Adding batching to the expired carts remover (@mamazu)
Improvements
- #13394 Use loadUserByIdentifier() since Symfony 5.3 (@kayue)
- #13406 [AUTO] Updated translations from Crowdin (master) (@bot@@sylius.@org)
- #13417 feat: add support for OPcache class preloading (@dunglas)
- #13488 feat: use sass instead of node-sass (@Nek-)
- #13489 [Maintenance] Drop Sf 4.4 support
- #13500 Deprecate unused ShimentUnitTransitions class (@Zales0123)
- #13507 Update security config to use the new authenticator-based system (@rimas-kudelis)
- #13528 Remove Symfony 4 circular dependency exception listener fix (@mmenozzi)
- #13531 Remove Sylius < 1.3 old Kernel class (#13524) (@mmenozzi, @TheMilek)
- #13622 Update ResourceBundle and GridBundle (@Zales0123)
- #13628 [API] Shipping methods resolution (@lchrusciel, @TheMilek)
- #13636 [Payment method] Listing payment method (@AdamKasp)
- #13646 Update 1.11 image (@kulczy)
- #13659 API Upgrade file updated after ShippingMethod endpoints changes (@TheMilek)
- #13663 Admin update form action configurable (@bigboss86)
- #13682 [Maintenance] Test Sylius with node 16.x (@lchrusciel)
- #13696 [API] UPGRADE file parameter names fixed (@TheMilek)
- #13778 [Maintenance][API] Decouple resource metadata from ResetPasswordHandler (@coldic3)
- #13785 [Upgrade] Add more details to UPGRADE-API-1.12.md (@coldic3)
- #13806 Refreshed shop theme (@kulczy)
- #13814 Minor theme fixes (@kulczy)
- #13822 Add images to the Readme file (@kulczy)
- #13830 [API] Use the Calendar component in command handlers (@coldic3)
- #13832 [Behat] Refactor API clients (@AdamKasp, @GSadee)
- #13843 [Cart] move locale from body to header (@AdamKasp)
- #13850 [Maintenance][Docker]Create simple docker environment (@Ferror)
- #13855 [UI][Swagger] AutoAuthorize on sending admin credentials (@SirDomin)
- #13868 [API] Remove validation from locale, add step with wrong locale in header (@SirDomin)
- #13869 [Behat][API] Extract resources names from contexts to a separate class (@GSadee)
-
#13881 Use api route prefix parameter instead of
/api/v2
(@Prometee) - #13882 [maintenance]Unify markdown tables (@Ferror)
- #13896 [behat]Extract Request creation to separate service (@Ferror)
- #13897 [docker]Run Catalog Promotion via SYNC messenger transport (@Ferror)
- #13899 Behat use project api prefix (@Prometee)
- #13906 [AUTO] Updated translations from Crowdin (master) (@SyliusBot)
- #13914 Revert "[docker]Run Catalog Promotion via SYNC messenger transport" (@lchrusciel)
- #13924 [maintenance][docker]Rerun behat pipelines (@Ferror)
- #13925 [maintenance][docker]Increase opcache limits (@Ferror)
- #13937 Define autolabeler for docker label (@Ferror)
- #13939 [CS][DX] Refactor (@github-actions)
- #13941 [AUTO] Updated translations from Crowdin (master) (@bot@@sylius.@org)
- #13942 [API] Add additional PHPSpec for PickupCartHandler when the logged in user has no default address + minor refactor (@GSadee)
- #13944 [Maintenance] Execute yarn build production like to avoid deps mismatch (@lchrusciel)
- #13947 [API] cover complex promotion with api (@AdamKasp)
- #13952 [docker]Run tests in test_cached environment (@Ferror)
- #13953 [API] This same cart promotion discount in different channels (@Rafikooo)
- #13956 [maintenance][js]Specify engines dependencies (@Ferror)
- #13958 [docker][maintenance]Extend Makefile possibilities and compose tests (@Ferror)
- #13963 Update stripe/stripe-php requirement from ^6.43 to ^8.1 (@dependabot[@bot])
- #13968 [Customer] Extract authorized user assignment to separate method (@lchrusciel)
- #13984 [API] Extract user logic rules for orders to separate extension (@lchrusciel)
- #13985 [CS][DX] Refactor ()
- #13996 [API][Behat] Update cart promotions on checkout if the promotion is not eligible (@ernestWarwas)
- #14008 [Behat] Explicitly define channel base currency in viewing exchange rates scenario (@coldic3)
- #14012 [Behat] no-api scenario marked (@Rafikooo)
- #14028 [CS][DX] Refactor ()
- #14040 [maintenance]Define charset in database url (@Ferror)
- #14050 [docker][docs]Create Docker Compose configuration file for documentation (@Ferror)
- #14053 Upgrade phpstan to level 2 (@lruozzi9)
- #14054 [Symfony 6] Replace encoders with password_hashers (@loic425)
- #14056 [CS][DX] Refactor (@bot@@sylius.@org)
- #14080 [Symfony 6] Use Password hasher (@loic425)
- #14083 [idea]Ignore export of docker, docs, adr and github files (@Ferror)
- #14117 [DX] Removing duplicate attribute iteration (@mamazu)
- #14126 [API] Fix TaxonFilter default order behavior (@coldic3)
- #14139 [Admin][API] Password reset (@NoResponseMate)
- #14145 [Maintenance] Add support for doctrine/dbal:^3.0 (@jakubtobiasz)
- #14157 [DX] Load test services in all envs starting with test keyword (@lchrusciel)
- #14161 [Core] Remove the "experimental" tag from Message* namespaces (@NoResponseMate)
- #14166 [frontend]Create gulp watch script (@Ferror)
- #14167 [UPGRADE] Mentioning about adding test services in every test env (@lchrusciel)
- #14181 [Maintenance][Admin] Slight password reset cleanup (@NoResponseMate)
- #14187 [Symfony 6][Shop bundle] Fix shop user logout handler (@loic425)
- #14192 [Symfony 6] Fix notification controller (@loic425)
- #14193 Rename tag tagged to tagged_iterator (@GSadee)
- #14194 [CS][DX] Refactor (@bot@@sylius.@org)
- #14199 [UI][Continuation] Minor fixes (@kulczy, @jakubtobiasz)
- #14215 [API] Rename OrderPromotionCodeAssigner (@GSadee)
- #14221 [CS][DX] Refactor ()
- #14222 [Maintenance] Bump JMS/Serializer-Bundle dependency (@lchrusciel)
- #14226 [Behat] Improve scenarios to work with case sensitive PostgreSQL (@GSadee)
- #14234 [CS][DX] Refactor ()
- #14256 [Symfony 6] Fix getting criteria (@loic425)
- #14257 [DOCS] How to get currencies for channel (@arti0090)
- #14258 [Symfony 6] Fix getting route params (@loic425)
- #14272 Refresh readme image (@kulczy)
- #14278 chore: remove unused Customer/Show/_menu.html.twig template (@Florian-Merle)
- #14283 [Symfony 6] Enable authenticator manager (@loic425, @ernestWarwas)
- #14292 Refactor customer provider (@AdamKasp)
- #14296 [Core] Create CustomerProvider (@AdamKasp, @GSadee)
- #14298 [Maintenance] Introduce Flysystem and use it in place of Gaufrette by default (@coldic3)
- #14302 [maintenance]Do not continue-on-error pipeline (@Ferror)
- #14311 [CatalogPromotions][Swagger] HTTP Response statuses documented for CatalogPromotion removing (@Rafikooo)
- #14312 [maintenance]Unify very similar behat steps (@Ferror)
- #14315 [Maintenance] Improve note in UPGRADE file about changes in security.yaml (@GSadee)
- #14319 [Maintenance] Update JS dependencies
- #14320 [CS][DX] Refactor ()
- #14325 [UI] removed important flag from the button class (@Rafikooo)
- #14330 [Maintenance] Allow to choose whether use Webpack or Gulp (@jakubtobiasz)
- #14333 [Docs] Remove migrating to webpack page from docs (@jakubtobiasz)
- #14337 [Maintenance] Mention Gaufrette filesystem adapter in the upgrade file (@coldic3)
- #14339 [GitHub Actions] Bump up PostgreSQL version in workflow to the current one (@GSadee)
-
#14351 [Catalog Promotions] Add
_sylius.alias
to the routings (@coldic3) - #14374 [UI] Remove experimental tag from template events related services (@GSadee)
- #14382 [Maintenance] Out-of-date composer conflicts cleanup (@Rafikooo)
- #14385 [Docs] Refactor example Context Provider (@coldic3)
- #14396 [CS][DX] Refactor (@bot@@sylius.@org)
-
#14400 [Maintenance]
extra.symfony.require
configuration introduced (@Rafikooo) - #14406 [API][Behat] Add note about behat client changes (@TheMilek)
- #14426 [Docs][CatalogPromotions][Messenger] Failure transports (@Rafikooo)
- #14430 [DX] Fix versions for triggered deprecations (@coldic3)
- #14438 Coding style and configurations fixes and improvements after Symfony 6 support merge (@Zales0123)
- #14443 [API][Behat] Add note about behat request changes (@TheMilek)
- #14444 Remove SymfonyMockerContainer fork (@Zales0123)
- #14461 Update documentation about migrating to Webpack (@jakubtobiasz)
- #14462 Open [CI] Tests for Symfony ~6.0.0 and static checks for APIP ~2.6.0 (@NoResponseMate)
- #14463 [maintenance] - Remove Staging configs (@Ferror)
- #14464 Change all package versions to 1.12 (@Zales0123)
- #14472 Bring back security.authentication_manager alias if needed (@Zales0123)
- #14477 [Docs] Add warning about restricting Symfony version before Sylius installation (@coldic3)
- #14490 [Maintenance] Kernel cleanup (@Rafikooo)
- #14498 Allow stable Resource (1.10), Grid (1.12) and Fixtures (1.8) (@Zales0123)
- #14499 Separate pipeline for non-JS tests on unstable Symfony version (@Zales0123)
Fixes
- #13419 Import lowercase chart.js/dist/chart.min (@pavol-tuka, @pavol@@bratia.@sk, @lchrusciel)
- #13529 Exclude PHP Arkitect rules files from autoloader (@mmenozzi)
- #13610 minor fix to exclusive label (@AdamKasp)
- #13680 [Maintenance] Move note about asset management changes from 1.11 to 1.12 UPGRADE file (@GSadee)
- #13709 Fix fatal error when OPCache preloading is used (@mmenozzi)
- #13859 Fix mistake after rebase (@AdamKasp)
- #13879 [HotFix][Behat][API] Fix suddenly failing tests (@coldic3)
- #13901 Use API Url prefix on sylius.api.paths_to_hide (@Prometee)
- #13926 [maintenance][docker]Use synchronous messenger transport (@Ferror)
- #13970 [Bug][GH] Remove auto commenting feature (@lchrusciel)
- #14042 [Symfony 6] Fix command arguments denormalizer return typehint (@loic425)
- #14052 Fix bootstrap for Symfony 6 (@loic425)
- #14062 Fix ProductSlugDocumentationNormalizer (@Zales0123)
- #14121 [docker]Define BLACKFIRE_DISABLE_LEGACY_PORT env as 1 instead of true (@Ferror)
- #14135 Fix data transformers for SF6 (@loic425)
- #14136 [Symfony 6] Fix deletion listeners (@loic425)
- #14170 [CI] Add a test to build assets with Webpack (@loic425)
- #14175 [docker]Hot Fix - Create database via doctrine command and minor Docker Pipeline improvements (@Ferror)
- #14178 [Hot?-fix] Fix redirect on parametrized create pages (@Zales0123)
- #14179 [bug]Check if last_error variable in twig exists and is not null (@Ferror)
- #14186 [Symfony 6][ShopBundle] Fix order customer ip listener (@loic425)
- #14191 [Symfony 6] Fix request password reset action spec (@loic425)
- #14207 [UI] Change cart button to display items count, not products count (@jakubtobiasz, @Zales0123)
- #14253 [Maintenance][Security] Update shop logout handling (@NoResponseMate)
- #14273 [CatalogPromotion][UI] Fix promotion labels while changing variants on the product page (@coldic3)
- #14274 [AdminPasswordReset][Behat] Missed steps implementation (@Rafikooo)
- #14288 [Config] Marked SenderInterface as excluded in psalm.xml (@Rafikooo)
- #14294 [Maintenance] Add conflict with jms/serializer-bundle 4.1.0 (@coldic3)
- #14297 [Catalog Promotions][Fixtures] Fix setting state in CatalogPromotionExecutorListener (@coldic3)
- #14344 [Behat][PostgreSQL] Fix removing items from cart (@GSadee)
- #14357 [Maintenance] Add missing images to the Webpack's build process (@jakubtobiasz)
- #14361 [Maintenance] Fix setting sylius_ui.use_webpack parameter (@jakubtobiasz)
- #14392 Fix build after API Platform 2.7.1 release (@lchrusciel, @GSadee)
- #14398 Allow ramsey/uuid ^4.0 to avoid PHP 8.1 warning (@vasilvestre)
- #14407 [Symfony 6] Remove setting services for test as public (@Zales0123)
- #14414 [Github Actions] Make timeout for non-JS build longer (@Zales0123)
- #14420 [Hot-fix] Conflict with newest AP that changes a Customer->User response (@Zales0123)
- #14431 Fix reference to Admin bundle on ui bundle (@loic425)
- #14433 Fix - move RedirectPathExtension from Admin bundle to Ui bundle (@loic425)
- #14440 [Parameters] bin/console debug:container --env-vars command fixed (@Rafikooo)
- #14458 Fix packages branch-aliases (@Zales0123)
- #14459 [Hot-fix] Do not fail scenario after 422 response page (@Zales0123)
- #14465 [CI] Restrict APIP version in static checks (@NoResponseMate)
- #14468 Lower hashing alogirthm memory cost in test (@Zales0123)
- #14473 Fixes in Order serialization after changes on 1.11 (@Zales0123)