diff --git a/CHANGELOG.md b/CHANGELOG.md index 39221cc1437..96cef0a95d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,114 @@ # Changelog This is the official changelog index of Shopware 6. Here you find a registry of all Shopware 6 releases with a reference to the detailed changelog of each version. If you want to know more about how the changelog is created have a look [here](/adr/2020-08-03-Implement-New-Changelog.md). +## 6.4.6.0 +* [NEXT-15108 - Create the module flow builder](/changelog/release-6-4-6-0/2021-05-07-create-the-module-flow-builder.md) +* [NEXT-15107 - Implement base code for trigger flow builder](/changelog/release-6-4-6-0/2021-06-07-implement-base-code-for-trigger-flow-builder.md) +* [NEXT-15110 - Create flow and flow sequence DAL for flow builder](/changelog/release-6-4-6-0/2021-06-22-create-flow-and-flow-sequence-dal-for-flow-builder.md) +* [NEXT-15742 - Improvement performance for trigger flow](/changelog/release-6-4-6-0/2021-06-24-improvement-performance-for-trigger-flow.md) +* [NEXT-15155 - create-handler-for-add-tag-action](/changelog/release-6-4-6-0/2021-07-02-create-handler-for-add-tag-action.md) +* [NEXT-15159 - Create handler for remove tag action.](/changelog/release-6-4-6-0/2021-07-03-create-handler-for-remove-tag-action.md) +* [NEXT-15154 - Create handler for send mail action.](/changelog/release-6-4-6-0/2021-07-07-create-handler-for-send-mail-action.md) +* [NEXT-15106 - Migrate data from Business events to Flow builder](/changelog/release-6-4-6-0/2021-07-09-migrate-data-from-business-events-to-flow-builder.md) +* [NEXT-15157 - Create handler for set order state](/changelog/release-6-4-6-0/2021-07-19-create-handler-for-set-order-state.md) +* [NEXT_15156 - Create handler for generate document](/changelog/release-6-4-6-0/2021-07-23-create-handler-for-generate-document.md) +* [NEXT-13795 - Implement rate limiter](/changelog/release-6-4-6-0/2021-08-02-implement-rate-limiter.md) +* [NEXT-16555 - Improvement flow builder for BE](/changelog/release-6-4-6-0/2021-08-10-improvement-flow-builder-for-be.md) +* [NEXT-16412 - Add deprecated info for business event module](/changelog/release-6-4-6-0/2021-08-13-add-deprecated-info-for-business-event-module.md) +* [NEXT-16604 - Implement Flow Generator](/changelog/release-6-4-6-0/2021-08-17-implement-flow-generator.md) +* [NEXT-17980 - Hide cheapest price in product listing ajax loading](/changelog/release-6-4-6-0/2021-08-20-hide-cheapest-price-in-product-listing-ajax-loading.md) ([Joshua Behrens](https://github.com/JoshuaBehrens)) +* [NEXT-15694 - Implement flow builder UI](/changelog/release-6-4-6-0/2021-08-24-implement-flow-builder-ui.md) +* [NEXT-16977 - Added `--sales-channel` option for the `theme:change` command](/changelog/release-6-4-6-0/2021-08-27-add-sales-channel-option-for-theme-change.md) ([Enzo Volkmann](https://github.com/evolkmann)) +* [NEXT-8225 - Implement cached flow loader](/changelog/release-6-4-6-0/2021-09-06-implement-cached-flow-loader.md) +* [NEXT-17186 - Fix js crash on unknown viewport](/changelog/release-6-4-6-0/2021-09-07-fix-js-crash-on-unknown-viewport.md) ([Rune Laenen](https://github.com/runelaenen)) +* [NEXT-17522 - Prevent context changes affect outside of the sync service usage](/changelog/release-6-4-6-0/2021-09-08-prevent-context-changes-affect-outside-of-sync-service-usage.md) ([Joshua Behrens](https://github.com/JoshuaBehrens)) +* [NEXT-17523 - Handle malformed options in the `switch` method of `ProductController`](/changelog/release-6-4-6-0/2021-09-09-handle-malformed-options.md) +* [NEXT-17052 - Deprecate line items in cart rule](/changelog/release-6-4-6-0/2021-09-10-deprecate-line-items-in-cart-rule.md) +* [NEXT-13167 - Correct edit line item when update order](/changelog/release-6-4-6-0/2021-09-12-correct-edit-line-item-when-update-order.md) +* [NEXT-8057 - Added rule that matches line item is in a product stream](/changelog/release-6-4-6-0/2021-09-13-added-rule-that-matches-line-item-is-in-a-product-stream.md) +* [NEXT-16716 - Fix-cache-keys-for-associations](/changelog/release-6-4-6-0/2021-09-13-fix-nondeterministic-rule-loading.md) ([Jonas Søndergaard](https://github.com/josniii)) +* [NEXT-17331 - Add try-catch on loading cmsElements when cms element type is not registered](/changelog/release-6-4-6-0/2021-09-15-catch-unknown-cms-element-types-in-cms-editor.md) ([Joshua Behrens](https://github.com/JoshuaBehrens)) +* [NEXT-17330 - Added `stateFieldName` argument to `StateMachineApiService` methods](/changelog/release-6-4-6-0/2021-09-15-state-machine-api-service-state-field-name.md) ([Enzo Volkmann](https://github.com/evolkmann)) +* [NEXT-17030 - Allow wildcard use in alphanumerical values of zip code rules](/changelog/release-6-4-6-0/2021-09-16-allow-wildcard-use-in-alphanumerical-values-of-zip-code-rules.md) +* [NEXT-16562 - fix-tooltip-in-thememanager](/changelog/release-6-4-6-0/2021-09-16-fix-tooltip-in-thememanager.md) +* [NEXT-9448 - Add sales channel assignment to theme detail page](/changelog/release-6-4-6-0/2021-09-17-add-sales-channel-assignment-to-theme-detail-page.md) +* [NEXT-13724 - Enable up to 500 Saleschannels as condition for promotions](/changelog/release-6-4-6-0/2021-09-17-fix-promotion-saleschannel-criteria.md) ([Alexander Kreissl](https://github.com/mEverGard)) +* [NEXT-17070 - Prevent of downloading export file in processing state](/changelog/release-6-4-6-0/2021-09-17-prevent-of-downloading-export-file-in-processing-state.md) +* [NEXT-17417 - 2021-09-19-Remove-Composer-Version-Warning-In-Plugin-Refresh-Command](/changelog/release-6-4-6-0/2021-09-19-remove-composer-version-warning-in-plugin-refresh-command.md) ([Edip Aydin](https://github.com/Edip Aydin)) +* [NEXT-17416 - Add inline edit for position in property options](/changelog/release-6-4-6-0/2021-09-20-add-inline-edit-position-in-property-options.md) ([mynameisbogdan](https://github.com/mynameisbogdan)) +* [NEXT-17382 - Fix payment changeable in account order history with cancelled order](/changelog/release-6-4-6-0/2021-09-20-fix-payment-changeable-with-cancelled-order.md) +* [NEXT-14005 - Generating individual voucher codes](/changelog/release-6-4-6-0/2021-09-20-generating-individual-voucher-codes.md) +* [NEXT-16570 - Add basic PHP 8.1 support](/changelog/release-6-4-6-0/2021-09-21-add-basic-php-8-1-support.md) +* [NEXT-9499 - Drop messages after max retry of 3 times](/changelog/release-6-4-6-0/2021-09-21-drop-messages-after-max-retry-of-3-times.md) +* [NEXT-17460 - Make service `NumberRangeValueGeneratorInterface` public in container](/changelog/release-6-4-6-0/2021-09-21-make-number-range-value-generator-service-public-in-container.md) ([Manuel Kress](https://github.com/windaishi)) +* [NEXT-7921 - Prevent wrong profile mapping for import / export](/changelog/release-6-4-6-0/2021-09-21-prevent-wrong-profile-mapping-for-import-export.md) +* [NEXT-17472 - Move SalesChannelProductEntity logic into sales_channel.product.loaded event](/changelog/release-6-4-6-0/2021-09-21-refactor-move-saleschannelproductentity-logic-into-saleschannelproductsubscriber.md) ([Max](https://github.com/aragon999)) +* [NEXT-15661 - Fix Create API for Mapping Definitions](/changelog/release-6-4-6-0/2021-09-22-fix-create-api-for-mappings.md) +* [NEXT-15842 - Fix store api proxy error handling](/changelog/release-6-4-6-0/2021-09-22-fix-store-api-proxy-error-handling.md) +* [NEXT-17257 - Remove button Use as cover when doing bulk edit](/changelog/release-6-4-6-0/2021-09-22-remove-button-use-as-cover-when-doing-bulk-edit.md) +* [NEXT-17662 - Skip updating stock and inheritance in indexing message when already done](/changelog/release-6-4-6-0/2021-09-22-skip-updating-stock-and-inheritance-in-indexing-message-when-already-done.md) ([Joshua Behrens](https://github.com/JoshuaBehrens)) +* [NEXT-17308 - Adjusted extension store snippets](/changelog/release-6-4-6-0/2021-09-23-adjusted-extension-store-snippets.md) +* [NEXT-17497 - Use isset for null check of typed property](/changelog/release-6-4-6-0/2021-09-23-fix-use-isset-for-null-check-of-typed-property.md) ([Max](https://github.com/aragon999)) +* [NEXT-17218 - Unify setup scripts](/changelog/release-6-4-6-0/2021-09-23-unify-setup-scripts.md) +* [NEXT-17328 - Fix Creation of EntityLoadedEvents for toManyEntities in extensions](/changelog/release-6-4-6-0/2021-09-24-fix-creation-of-entity-loaded-for-to-many-entities-in-extensions.md) +* [NEXT-17448 - Fix order of product media on Product Detail Page cms element](/changelog/release-6-4-6-0/2021-09-24-fix-order-of-product-media-on-product-detail-page-cms-element.md) +* [NEXT-16381 - Allow use CancelToken from HttpClient](/changelog/release-6-4-6-0/2021-09-24-next-16381-allow-use-canceltoken-from-httpclient.md) +* [NEXT-17607 - Bugfix: show all orders in storefront history](/changelog/release-6-4-6-0/2021-09-27-bugfix-show-all-orders-in-storefront-history.md) ([Marcel Tams](https://github.com/amtee)) +* [NEXT-17444 - delete additional elements after creating a category](/changelog/release-6-4-6-0/2021-09-27-delete-additional-elements-after-creating-a-category.md) +* [NEXT-17514 - Improve saving bulk edit for order](/changelog/release-6-4-6-0/2021-09-27-improve-saving-bulk-edit-for-order.md) +* [NEXT-17429 - Prevent Webhooks from wrapping event data multiple times](/changelog/release-6-4-6-0/2021-09-27-prevent-webhooks-from-wrapping-event-data-multiple-times.md) +* [NEXT-16666 - Set shipping costs to 0 for admin order](/changelog/release-6-4-6-0/2021-09-27-set-shipping-costs-to-0-for-admin-order.md) +* [NEXT-17506 - Fix language not working correctly](/changelog/release-6-4-6-0/2021-09-28-fix-order-status-bulk-edit-is-always-english.md) +* [NEXT-16392 - Fix variant sorting](/changelog/release-6-4-6-0/2021-09-28-fix-variant-sorting.md) +* [NEXT-17588 - Hint SyncServiceInterface in ImportExport subscribers](/changelog/release-6-4-6-0/2021-09-28-hint-sync-service-interface.md) +* [NEXT-17849 - Factory to build Seo Url Twig Environment](/changelog/release-6-4-6-0/2021-09-28-seourl-twig-factory.md) ([Björn Herzke](https://github.com/wrongspot)) +* [NEXT-17654 - Remove unused method getThemeConfigPath from ThemeCreateCommand::getBootstrapTemplate()](/changelog/release-6-4-6-0/2021-09-29-remove-get-theme-config-path-from-theme-create.md) ([mynameisbogdan](https://github.com/mynameisbogdan)) +* [NEXT-17685 - Add new inner block to order list bulk slot](/changelog/release-6-4-6-0/2021-10-02-add-new-inner-block-to-order-list-bulk-slot.md) ([Ioannis Pourliotis](https://github.com/PheysX)) +* [NEXT-17684 - Add total amount to newsletter recipients list page headline](/changelog/release-6-4-6-0/2021-10-02-add-total-amount-to-newsletter-recipients-list-page-headline.md) ([Ioannis Pourliotis](https://github.com/PheysX)) +* [NEXT-17683 - Replace Twig LineItem types with constants](/changelog/release-6-4-6-0/2021-10-02-replace-twig-line-item-types-with-constants.md) ([Ioannis Pourliotis](https://github.com/PheysX)) +* [NEXT-17681 - Add customer into CustomerAccountRecoverRequestEvent](/changelog/release-6-4-6-0/2021-10-04-add-customer-into-customer-account-recover-request-event.md) +* [NEXT-17728 - Fix datetime after clone](/changelog/release-6-4-6-0/2021-10-04-fix-datetime-after-clone.md) ([Vitalij Mik](https://github.com/BlackScorp)) +* [NEXT-7479 - Improve property cache invalidation queries](/changelog/release-6-4-6-0/2021-10-04-improve-property-cache-invalidation-queries.md) +* [NEXT-10606 - Add LanguageLocaleProvider](/changelog/release-6-4-6-0/2021-10-05-add-language-locale-provider.md) +* [NEXT-17728 - Add missing remote addr](/changelog/release-6-4-6-0/2021-10-05-add-missing-remote-addr.md) ([Michiel Kalle](https://github.com/michielkalle)) +* [NEXT-16457 - Fix up down navigation for cms sidebar navigation](/changelog/release-6-4-6-0/2021-10-05-fix-up-down-navigation-for-cms-sidebar-navigation.md) +* [NEXT-17713 - Use view from event](/changelog/release-6-4-6-0/2021-10-05-use-view-from-event.md) ([Rune Laenen](https://github.com/runelaenen)) +* [NEXT-12165 - Don't perform search before read inside EntityRepository for empty criteria](/changelog/release-6-4-6-0/2021-10-06-dont-perform-search-on-empty-criteria.md) +* [NEXT-17884 - Return productId in switch variant](/changelog/release-6-4-6-0/2021-10-06-feat-return-productid-in-switch-variant.md) ([Max](https://github.com/aragon999)) +* [NEXT-17733 - Update composer dependency](/changelog/release-6-4-6-0/2021-10-06-update-composer-dependency.md) +* [NEXT-17673 - Add not available in method fields in cart](/changelog/release-6-4-6-0/2021-10-08-add-not-available-field-to-cart-methods.md) +* [NEXT-17335 - Added DPG empty filter for product cover image](/changelog/release-6-4-6-0/2021-10-11-added-dpg-empty-filter-for-product-cover-image.md) +* [NEXT-17744 - Fix category.cmsPage.locked error](/changelog/release-6-4-6-0/2021-10-11-fix-category.cmsPage.locked-error.md) +* [NEXT-17882 - Fix loading indicator in search suggest](/changelog/release-6-4-6-0/2021-10-11-fix-loading-indicator-in-search-suggest.md) ([Sebastian König](https://github.com/tinect)) +* [NEXT-17707 - Fix the number of the selected categories is not correct](/changelog/release-6-4-6-0/2021-10-11-fix-number-selected-categories-not-correct.md) +* [NEXT-13113 - Keep the filter parameters on the url after changing currency or language](/changelog/release-6-4-6-0/2021-10-11-keep-the-filter-parameters-on-the-url-after-changing-currency-or-language.md) +* [NEXT-17677 - Show cart errors in Offcanvas cart](/changelog/release-6-4-6-0/2021-10-11-show-cart-errors-in-offcanvas-cart.md) +* [NEXT-17055 - Add toISODate() filter](/changelog/release-6-4-6-0/2021-10-12-add-filter-toisodate.md) +* [NEXT-16231 - Add validatePaymentState to SetPaymentOrderRoute](/changelog/release-6-4-6-0/2021-10-12-add-validatepaymentstate-to-setpaymentorderroute.md) +* [NEXT-17639 - Added date range selection to dashboard statistics](/changelog/release-6-4-6-0/2021-10-12-added-date-range-selection-to-dashboard-statistics.md) +* [NEXT-17874 - Allow bulking update for Customer Group Registration Api](/changelog/release-6-4-6-0/2021-10-12-allow-to-bulk-update-customer-group-registration-api.md) +* [NEXT-17955 - Extract property-whitelist into constant for easier comprehension of code relation](/changelog/release-6-4-6-0/2021-10-12-extract-property-whitelist-into-constant-for-easier-comprehension-of-code-relation.md) ([Joshua Behrens](https://github.com/JoshuaBehrens)) +* [NEXT-17956 - Introduce core.cart.paymentFinalizeTransactionTime configuration to allow admin user change the duration of payment finalization](/changelog/release-6-4-6-0/2021-10-12-introduce-core.cart.paymentfinalizetransactiontime-configuration-to-allow-admin-user-change-the-duration-of-payment-finalization.md) ([Joshua Behrens](https://github.com/JoshuaBehrens)) +* [NEXT-17948 - Load additional bundles in order](/changelog/release-6-4-6-0/2021-10-12-load-additional-bundles-in-order.md) ([Joshua Behrens](https://github.com/JoshuaBehrens)) +* [next-17937 - Remove check of variable storageExists in CartWidgetPlugin](/changelog/release-6-4-6-0/2021-10-12-remove-check-of-variable-storageexists-in-cartwidgetplugin.md) ([Sebastian König](https://github.com/tinect)) +* [NEXT-17603 - Removed CMS PDP layout api recursion](/changelog/release-6-4-6-0/2021-10-12-removed-cms-pdp-layout-api-recursion.md) +* [NEXT-16456 - Disable duplicate of unduplicable elements](/changelog/release-6-4-6-0/2021-10-13-disable-duplicate-of-unduplicable-elements.md) +* [NEXT-16862 - Fix link breaking in CMS](/changelog/release-6-4-6-0/2021-10-13-fix-link-breaking-in-cms.md) +* [NEXT-8609 - Fix small thumbnails in checkout](/changelog/release-6-4-6-0/2021-10-13-fix-small-thumbnails-in-checkout.md) +* [NEXT-17934 - Login guests with their ID](/changelog/release-6-4-6-0/2021-10-13-login-guests-with-their-id.md) +* [NEXT-17958 - Fix SalesChannel Maintenance IP Whitelist data type](/changelog/release-6-4-6-0/2021-10-13-maintenance-ip-whitelist-fix-return-type.md) ([Carsten Pfeifer](https://github.com/pogster)) +* [NEXT-17910 - Promotion adjustments for external plugins](/changelog/release-6-4-6-0/2021-10-13-promotion-adjustments-for-external-plugins.md) +* [NEXT-17851 - Set privacyUrl and tosUrl correctly](/changelog/release-6-4-6-0/2021-10-13-set-privacyUrl-and-tosUrl.md) ([Robert Nowotny](https://github.com/bitranox)) +* [NEXT-17908 - Add trigger flows switch in bulk edit](/changelog/release-6-4-6-0/2021-10-14-add-trigger-flows-switch-in-bulk-edit.md) +* [NEXT-17700 - Delete links from the editor not possible](/changelog/release-6-4-6-0/2021-10-14-delete-links-from-the-editor-not-possible.md) +* [NEXT-17397 - Remove feature flag for Flow Builder](/changelog/release-6-4-6-0/2021-10-14-remove-feature-flag-for-flow-builder.md) +* [NEXT-17899 - Remove method in customer deleted event.](/changelog/release-6-4-6-0/2021-10-14-remove-method-in-customer-deleted-event.md) +* [NEXT-17940 - Remove slot config overriding template config bug](/changelog/release-6-4-6-0/2021-10-14-remove-slot-config-overriding-template-config-bug.md) +* [NEXT-17992 - Add block for additional tabs in product detail page](/changelog/release-6-4-6-0/2021-10-15-add-block-for-additional-tabs-in-product-detail-page.md) +* [NEXT-17698 - Fix JsonFieldSerializer for invalid UTF8 characters](/changelog/release-6-4-6-0/2021-10-15-fix-json-field-serializer-invalid-characters.md) +* [NEXT-11578 - Fix image zoom disabled state](/changelog/release-6-4-6-0/2021-10-15-fix-zoom-buttons.md) +* [NEXT-17298 - Update aws library](/changelog/release-6-4-6-0/2021-10-15-update-aws-library.md) + ## 6.4.5.1 * [NEXT-17713 - Use view from event](/changelog/release-6-4-5-1/2021-10-05-use-view-from-event.md) ([Rune Laenen](https://github.com/runelaenen)) diff --git a/UPGRADE-6.4.md b/UPGRADE-6.4.md index f76baa53cf9..3d74c55366b 100644 --- a/UPGRADE-6.4.md +++ b/UPGRADE-6.4.md @@ -1,6 +1,154 @@ UPGRADE FROM 6.3.x.x to 6.4 ======================= +# 6.4.6.0 +## Rate Limiter + +With 6.4.6.0 we have implemented a rate limit by default to reduce the risk of bruteforce for the following routes: +- `/store-api/account/login` +- `/store-api/account/recovery-password` +- `/store-api/order` +- `/store-api/contact-form` +- `/api/oauth/token` +- `/api/_action/user/user-recovery` + +### Rate Limiter configuration + +The confiuration for the rate limit can be found in the `shopware.yaml` under the map `shopware.api.rate_limiter`. +More information about the configuration can be found at the [developer documentation](https://developer.shopware.com/docs/guides/hosting/infrastructure/rate-limiter). +Below you can find an example configuration. + +```yaml +shopware: + api: + rate_limiter: + example_route: + enabled: true + policy: 'time_backoff' + reset: '24 hours' + limits: + - limit: 10 + interval: '10 seconds' + - limit: 15 + interval: '30 seconds' + - limit: 20 + interval: '60 seconds' +``` + +If you plan to create your own rate limits, head over to our [developer documentation](https://developer.shopware.com/docs/guides/plugins/plugins/framework/rate-limiter/add-rate-limiter-to-api-route). +## Update `/api/_info/events.json` API +* Added `aware` property to `BusinessEventDefinition` class at `Shopware\Core\Framework\Event`. +* Deprecated `mailAware`, `logAware` and `salesChannelAware` properties in `BusinessEventDefinition` class at `Shopware\Core\Framework\Event`. +### Response of API +* Before: +```json +[ + { + "name": "checkout.customer.before.login", + "class": "Shopware\\Core\\Checkout\\Customer\\Event\\CustomerBeforeLoginEvent", + "mailAware": false, + "logAware": false, + "data": { + "email": { + "type": "string" + } + }, + "salesChannelAware": true, + "extensions": [] + } +] +``` +* After: +```json +[ + { + "name": "checkout.customer.before.login", + "class": "Shopware\\Core\\Checkout\\Customer\\Event\\CustomerBeforeLoginEvent", + "data": { + "email": { + "type": "string" + } + }, + "aware": [ + "Shopware\\Core\\Framework\\Event\\SalesChannelAware" + ], + "extensions": [] + } +] +``` +## Added Maintenance-Bundle + +A maintenance bundle was added to have one place where CLI-commands und Utils are located, that help with the ongoing maintenance of the shop. + +To load enable that bundle, you should add the following line to your `/config/bundles.php` file, because from 6.5.0 onward the bundle will not be loaded automatically anymore: +```php +return [ + ... + Shopware\Core\Maintenance\Maintenance::class => ['all' => true], +]; +``` +In that refactoring we moved some CLI commands into that new bundle and deprecated the old command classes. The new commands are marked as internal, as you should not rely on the PHP interface of those commands, only on the CLI API. + +Additionally we've moved the `UserProvisioner` service from the `Core/System/User` namespace, to the `Core/Maintenance/User` namespace, make sure you use the service from the new location. +Before: +```php +use Shopware\Core\System\User\Service\UserProvisioner; +``` +After: +```php +use Shopware\Core\Maintenance\User\Service\UserProvisioner; +``` +### Create own SeoUrl Twig Extension +Create a regular Twig extension, instead of tagging it with name `twig.extension` use tag name `shopware.seo_url.twig.extension` + +Example Class: +```php + + + +``` +## Context`s properties will be natively typed +The properties of `\Shopware\Core\Framework\Context` will be natively typed in the future. +If you extend the `Context` make sure your implementations adheres to the type constraints for the protected properties. +When you depend on a self-shipped bundle to already been loaded before your plugin, you can now use negative keys in `getAdditionalBundles` to express a different order. Use negative keys to load them before your plugin instance: + +``` +class AcmePlugin extends Plugin +{ + public function getAdditionalBundles(AdditionalBundleParameters $parameters): array + { + return [ + -10 => new DependencyBundle(), + ]; + } +} +``` + # 6.4.5.0 If multiple `RetryableQuery` are used within the same SQL transaction, and a deadlock occurs, the whole transaction is rolled back internally and can be retried. But if instead only the last `RetryableQuery` is retried this can cause all diff --git a/changelog/release-6-4-6-0/2021-05-07-create-the-module-flow-builder.md b/changelog/release-6-4-6-0/2021-05-07-create-the-module-flow-builder.md new file mode 100644 index 00000000000..47a86aa3dbb --- /dev/null +++ b/changelog/release-6-4-6-0/2021-05-07-create-the-module-flow-builder.md @@ -0,0 +1,18 @@ +--- +title: Create the module flow builder +issue: NEXT-15108 +--- +# Administration +* Added new Flow builder module. +* Added ACL for Flow builder module. +* Added new `sw-flow-builder` component. +* Added new `sw-flow-trigger` component. +* Added new `sw-flow-sequence` component. +* Added new `sw-flow-sequence-selector` component. +* Added new `sw-flow-sequence-condition` component. +* Added new `sw-flow-sequence-action` component. +* Added new `sw-flow-sequence-action-modal` component. +* Added new `sw-flow-detail` page. +* Added new `sw-flow-list` page. +* Added new `sw-flow-detail-general` view. +* Added new `sw-flow-detail-flow` view. diff --git a/changelog/release-6-4-6-0/2021-06-07-implement-base-code-for-trigger-flow-builder.md b/changelog/release-6-4-6-0/2021-06-07-implement-base-code-for-trigger-flow-builder.md new file mode 100644 index 00000000000..7ff594a54ce --- /dev/null +++ b/changelog/release-6-4-6-0/2021-06-07-implement-base-code-for-trigger-flow-builder.md @@ -0,0 +1,15 @@ +--- +title: Implement base code for trigger flow builder +issue: NEXT-15107 +--- +# Core +* Added `FlowExecutor` and `FlowState` classes at `Shopware\Core\Content\Flow`. +* Added `FlowDispatcher` class at `Shopware\Core\Content\Flow` to dispatch business event for Flow Builder. +* Added `AddOrderTagAction` class at `Shopware\Core\Content\Flow\Action`. +* Added `FlowAction` abstract class at `Shopware\Core\Content\Flow\Action`. +* Added `CustomerAware` and `OrderAware` interfaces at `Shopware\Core\Framework\Event`. +* Added function `getOrderId` into `Shopware\Core\Checkout\Cart\Event\CheckoutOrderPlacedEvent`. +* Deprecated `BusinessEventDispatcher` at `Shopware\Core\Framework\Event` which will be removed in v6.5.0. +* Added 'display_group' column into `flow_sequence` table. +* Added 'displayGroup' property into `FlowSequenceEntity` and `FlowSequenceDefinition` at `Shopware\Core\Content\Flow\Aggregate\FlowSequence`. +* Added `Sequence` class at `Shopware\Core\Content\Flow\SequenceTree`. diff --git a/changelog/release-6-4-6-0/2021-06-22-create-flow-and-flow-sequence-dal-for-flow-builder.md b/changelog/release-6-4-6-0/2021-06-22-create-flow-and-flow-sequence-dal-for-flow-builder.md new file mode 100644 index 00000000000..900fc908ba8 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-06-22-create-flow-and-flow-sequence-dal-for-flow-builder.md @@ -0,0 +1,15 @@ +--- +title: Create flow and flow sequence DAL for flow builder +issue: NEXT-15110 +--- +# Core +* Added two new tables `flow` and `flow_sequence` to stored flow and flow sequence data for Flow Builder. +* Added entities, definition and collection for table `flow` at `Shopware\Core\Content\Flow`. +* Added entities, definition and collection for table `flow_sequence` at `Shopware\Core\Content\Flow\Aggregate\FlowSequence`. +* Added OneToMany association between `rule` and `flow_sequence`. +* Added new property `flowSequences` to `Shopware/Core/Content/Rule/RuleEntity`. +* Deprecated `EventActionRuleDefinition` at `Shopware\Core\Framework\Event\EventAction\Aggregate\EventActionRule`. +* Deprecated `EventActionSalesChannelDefinition` at `Shopware\Core\Framework\Event\EventAction\Aggregate\EventActionSalesChannel`. +* Deprecated `EventActionCollection`, `EventActionDefinition`, `EventActionEntity`, `EventActionEvents` and `EventActionSubscriber`, at `Shopware\Core\Framework\Event\EventAction`. +* Deprecated `eventActions` property in `RuleEntity` and `RuleDefinition` at `Shopware\Core\Content\Rule`. +* Deprecated `eventActions` property in `SalesChannelEntity` and `SalesChannelDefinition` at `Shopware\Core\System\SalesChannel`. diff --git a/changelog/release-6-4-6-0/2021-06-24-improvement-performance-for-trigger-flow.md b/changelog/release-6-4-6-0/2021-06-24-improvement-performance-for-trigger-flow.md new file mode 100644 index 00000000000..78bb49ab506 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-06-24-improvement-performance-for-trigger-flow.md @@ -0,0 +1,13 @@ +--- +title: Improvement performance for trigger flow +issue: NEXT-15742 +--- +# Core +* Added `FlowIndexer`, `FlowIndexingMessage` and `FlowPayloadUpdater` class at `Shopware\Core\Content\Flow\DataAbstractionLayer`. +* Added `FlowIndexerEvent` class at `Shopware\Core\Content\Flow\Events`. +* Added `AbstractFlowLoader` interface and `FlowLoader` class at `Shopware\Core\Content\Flow`. +* Added `payload` column into table `flow`. +* Added `payload` property into `FlowEntity` and `FlowDefinition` class at `Shopware\Core\Content\Flow`. +* Added `FlowEvent` class at `Shopware\Core\Framework\Event`. +* Added `SequenceTree` and `SequenceTreeCollection` classes at `Shopware\Core\Content\Flow\SequenceTree`. +* Added `StopFlowAction` class at `Shopware\Core\Content\Flow\Action`. diff --git a/changelog/release-6-4-6-0/2021-07-02-create-handler-for-add-tag-action.md b/changelog/release-6-4-6-0/2021-07-02-create-handler-for-add-tag-action.md new file mode 100644 index 00000000000..d9984abb998 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-07-02-create-handler-for-add-tag-action.md @@ -0,0 +1,10 @@ +--- +title: create-handler-for-add-tag-action +issue: NEXT-15155 +--- +# Core +* Added `AddCustomerTagAction` class at `Shopware\Core\Content\Flow\Action` which used to add a list of tags for customers. +* Added `AddOrderTagAction` class at `Shopware\Core\Content\Flow\Action` which used to add a list of tags for an order. +* Added `ADD_ORDER_TAG`, `ADD_CUSTOMER_TAG`, `REMOVE_ORDER_TAG` and `REMOVE_CUSTOMER_TAG` variables in `Shopware\Core\Content\Flow\Action\FlowAction` +* Remove `ADD_TAG` and `REMOVE_TAG` variables from `FlowAction` class at `Shopware\Core\Content\Flow\Action`. +* Remove `AddTagAction` class at `Shopware\Core\Content\Flow\Action`, use `AddCustomerTagAction` and `AddOrderTagAction` instead. diff --git a/changelog/release-6-4-6-0/2021-07-03-create-handler-for-remove-tag-action.md b/changelog/release-6-4-6-0/2021-07-03-create-handler-for-remove-tag-action.md new file mode 100644 index 00000000000..86cec98d145 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-07-03-create-handler-for-remove-tag-action.md @@ -0,0 +1,6 @@ +--- +title: Create handler for remove tag action. +issue: NEXT-15159 +--- +# Core +* Added `RemoveCustomerTagAction` and `RemoveOrderTagAction` classes at `Shopware\Core\Content\Flow\Action`. diff --git a/changelog/release-6-4-6-0/2021-07-07-create-handler-for-send-mail-action.md b/changelog/release-6-4-6-0/2021-07-07-create-handler-for-send-mail-action.md new file mode 100644 index 00000000000..fd6a1f1be82 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-07-07-create-handler-for-send-mail-action.md @@ -0,0 +1,11 @@ +--- +title: Create handler for send mail action. +issue: NEXT-15154 +--- +# Core +* Added a new constant `SEND_MAIL` in `Shopware\Core\Content\Flow\Action\FlowAction`. +* Added `SendMailAction` class at `Shopware\Core\Content\Flow\Action\FlowAction` which used to send email to customers. +* Added `FlowSendMailActionEvent` class at `Shopware\Core\Content\Flow\Events\FlowSendMailActionEvent` which used to dispatch an event when `SendMailAction` is called. +* Added `MailAware` interface at `Shopware\Core\Framework\Event`. +* Deprecated `MailSendSubscriberBridgeEvent` at `Shopware\Core\Content\MailTemplate\Event\MailSendSubscriberBridgeEvent.php` use `FlowSendMailActionEvent` instead. +* Deprecated `MailSendSubscriber` at `Shopware\Core\Content\MailTemplate\Event\MailSendSubscriberBridgeEvent.php` use `SendMailAction` instead. diff --git a/changelog/release-6-4-6-0/2021-07-09-migrate-data-from-business-events-to-flow-builder.md b/changelog/release-6-4-6-0/2021-07-09-migrate-data-from-business-events-to-flow-builder.md new file mode 100644 index 00000000000..9ce86f61ae9 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-07-09-migrate-data-from-business-events-to-flow-builder.md @@ -0,0 +1,9 @@ +--- +title: Migrate data from Business events to Flow builder +issue: NEXT-15106 +--- +# Core +* Added new table `sales_channel_rule`. +* Added new migration `Migration1625583596CreateActionEventFlowMigrateTable`. +* Added new migration `Migration1625583619MoveDataFromEventActionToFlow` to migrate data from Business events to Flow builder. +* Added `SequenceTreeBuilder` class at `Shopware\Core\Content\Flow\SequenceTree`. diff --git a/changelog/release-6-4-6-0/2021-07-19-create-handler-for-set-order-state.md b/changelog/release-6-4-6-0/2021-07-19-create-handler-for-set-order-state.md new file mode 100644 index 00000000000..79abd29c519 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-07-19-create-handler-for-set-order-state.md @@ -0,0 +1,6 @@ +--- +title: Create handler for set order state +issue: NEXT-15157 +--- +# Core +* Changed method `handle` in `Shopware\Core\Content\Flow\Action\SetOrderStateAction` to handle set state for order state action diff --git a/changelog/release-6-4-6-0/2021-07-23-create-handler-for-generate-document.md b/changelog/release-6-4-6-0/2021-07-23-create-handler-for-generate-document.md new file mode 100644 index 00000000000..fac8e84609f --- /dev/null +++ b/changelog/release-6-4-6-0/2021-07-23-create-handler-for-generate-document.md @@ -0,0 +1,7 @@ +--- +title: Create handler for generate document +issue: NEXT_15156 +--- +# Core +* Added a new constant `GENERATE_DOCUMENT` in `Shopware\Core\Content\Flow\Action\FlowAction`. +* Added `GenerateDocumentAction` class at `Shopware\Core\Content\Flow\Action\FlowAction` which used to generate documents, This action will be called by Flow trigger. diff --git a/changelog/release-6-4-6-0/2021-08-02-implement-rate-limiter.md b/changelog/release-6-4-6-0/2021-08-02-implement-rate-limiter.md new file mode 100644 index 00000000000..6109b62005c --- /dev/null +++ b/changelog/release-6-4-6-0/2021-08-02-implement-rate-limiter.md @@ -0,0 +1,84 @@ +--- +title: Implement rate limiter +issue: NEXT-13795 +author_github: @Dominik28111 +--- +# Core +* Added exception class `Shopware\Core\Checkout\Customer\Exception\CustomerAuthThrottledException`. +* Added exception class `Shopware\Core\Framework\Api\Controller\Exception\AuthThrottledException`. +* Added compiler pass class `Shopware\Core\Framework\DependencyInjection\CompilerPass\RateLimiterCompilerPass`. +* Added exception class `Shopware\Core\Framework\RateLimiter\Exception\RateLimitExceededException`. +* Added rate limit policy `Shopware\Core\Framework\RateLimiter\Policy\TimeBackoff`. +* Added rate limiter `Shopware\Core\Framework\RateLimiter\Policy\TimeBackoffLimiter`. +* Added class `Shopware\Core\Framework\RateLimiter\RateLimiterFactory` to extend the factory policies provided by Symfony. +* Added class `Shopware\Core\Framework\RateLimiter\NoLimitRateLimiterFactory` to override rate limit with NoLimiter. +* Added service `Shopware\Core\Framework\RateLimiter\RateLimiter`. +* Added `Shopware\Core\Framework\RateLimiter\RateLimiterFactory` to add possibility to add own limiters. +* Changed method `Shopware\Core\Framework\Framework::build()` to add rate limit to the DI. +* Added method `Shopware\Core\System\User\Recovery\UserRecoveryService::getUserByHash()` to receive user entity by recovery hash. +___ +# API +* Changed method `Shopware\Core\Checkout\Customer\SalesChannel\LoginRoute::login()` to implement rate limit. +* Changed method `Shopware\Core\Checkout\Customer\SalesChannel\ResetPasswordRoute::resetPassword()` to implement rate limit. +* Changed method `Shopware\Core\Checkout\Customer\SalesChannel\SendPasswordRecoveryMailRoute::sendRecoveryMail()` to implement rate limit. +* Changed method `Shopware\Core\Checkout\Order\SalesChannel\OrderRoute::load()` to implement rate limit for guest login. +* Changed method `Shopware\Core\Content\ContactForm\SalesChannel\ContactFormRoute::load()` to implement rate limit. +* Changed method `Shopware\Core\Framework\Api\Controller\AuthController::token()` to implement rate limit. +* Changed method `Shopware\Core\System\User\Api\UserRecoveryController::createUserRecovery()` to implement rate limit. +___ +# Administration +* Added data prop `loginAlertMessage` in `app/administration/src/module/sw-login/view/sw-login-login/index.js`. +* Added computed prop `showLoginAlert` in `app/administration/src/module/sw-login/view/sw-login-login/index.js`. +* Changed method `createNotificationFromResponse` in `module/sw-login/view/sw-login-login/index.js` to display rate limit message. +* Added block `{% block sw_login_login_alert %}` in `module/sw-login/view/sw-login-login/sw-login-login.html.twig` to display login alert. +* Changed method `sendRecoveryMail` in `module/sw-login/view/sw-login-recovery/index.js` to handle error message for rate limit. +* Changed method `displayRecoveryInfo` in `module/sw-login/view/sw-login-recovery/index.js` to progress response for rate limit and forward with the wait time. +* Added computed prop `rateLimitTime` in `module/sw-login/view/sw-login-recovery-info/index.js`. +* Changed block `{% block sw_login_recovery_info_info %}` in `module/sw-login/view/sw-login-recovery-info/sw-login-recovery-info.html.twig` to display rate limit message if rateLimitTime is set. +___ +# Storefront +* Changed mhetod `Shopware\Storefront\Controller\AccountOrderController::orderSingleOverview()` to handle rate limit exception and redirect with `waitTime` parameter. +* Changed method `Shopware\Storefront\Controller\AuthController::loginPage()` to pass parameter `waitTime` to twig template. +* Changed method `Shopware\Storefront\Controller\AuthController::guestLoginPage()` to add rate limit message to flashbag. +* Changed method `Shopware\Storefront\Controller\AuthController::login()` to handle rate limit exception and forward with `waitTime` parameter. +* Changed method `Shopware\Storefront\Controller\AuthController::generateAccountRecovery()` to handle rate limit exception and add rate limit message to flashbag. +* Changed method `Shopware\Storefront\Controller\FormController::sendContactForm()` to handle rate limit exception and add an alert to response. +* Changed method `_handleResponse()` in `app/storefront/src/plugin/forms/form-cms-handler.plugin.js` to show alerts of type info. +* Changed `{% block component_account_login_form_error %}` in `views/storefront/component/account/login.html.twig` to display info alert with rate limit message. +___ +# Upgrade Information + +## Rate Limiter + +With 6.4.6.0 we have implemented a rate limit by default to reduce the risk of bruteforce for the following routes: +- `/store-api/account/login` +- `/store-api/account/recovery-password` +- `/store-api/order` +- `/store-api/contact-form` +- `/api/oauth/token` +- `/api/_action/user/user-recovery` + +### Rate Limiter configuration + +The confiuration for the rate limit can be found in the `shopware.yaml` under the map `shopware.api.rate_limiter`. +More information about the configuration can be found at the [developer documentation](https://developer.shopware.com/docs/guides/hosting/infrastructure/rate-limiter). +Below you can find an example configuration. + +```yaml +shopware: + api: + rate_limiter: + example_route: + enabled: true + policy: 'time_backoff' + reset: '24 hours' + limits: + - limit: 10 + interval: '10 seconds' + - limit: 15 + interval: '30 seconds' + - limit: 20 + interval: '60 seconds' +``` + +If you plan to create your own rate limits, head over to our [developer documentation](https://developer.shopware.com/docs/guides/plugins/plugins/framework/rate-limiter/add-rate-limiter-to-api-route). diff --git a/changelog/release-6-4-6-0/2021-08-10-improvement-flow-builder-for-be.md b/changelog/release-6-4-6-0/2021-08-10-improvement-flow-builder-for-be.md new file mode 100644 index 00000000000..8ee7b64fbe1 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-08-10-improvement-flow-builder-for-be.md @@ -0,0 +1,61 @@ +--- +title: Improvement flow builder for BE +issue: NEXT-16555 +--- +# Core +* Changed namespace of `FlowActionDefinition`, `FlowActionCollector` and `FlowActionCollectorResponse` classes to `Shopware\Core\Content\Flow\Api`. +* Changed namespace of `FlowIndexer`, `FlowIndexingMessage` and `FlowPayloadUpdater` classes to `Shopware\Core\Content\Flow\Indexing`. +* Changed `SequenceTreeBuilder` class name to `FlowBuilder` and moved to `Shopware\Core\Content\Flow\Dispatching`. +* Changed namespace of `FlowDispatcher`, `FlowExecutor`, `FlowState`, `FlowLoader` and `AbstractFlowLoader` classes to `Shopware\Core\Content\Flow\Dispatching`. +* Changed namespace of `AddCustomerTagAction`, `AddOrderTagAction`, `CallWebhookAction`, `FlowAction`, `FlowActionDefinition`, `GenerateDocumentAction`, `RemoveCustomerTagAction`, `RemoveOrderTagAction`, `SendMailAction`, `SetOrderStateAction`, `StopFlowAction` and `` classes to `Shopware\Core\Content\Flow\Dispatching\Action`. +* Changed namespace of `Sequence` class to `Shopware\Core\Content\Flow\Dispatching\Struct`. +* Changed `SequenceTree` class name to `Flow` and moved to `Shopware\Core\Content\Flow\Dispatching\Struct`. +* Removed `SequenceTreeCollection` class from `Shopware\Core\Content\Flow\SequenceTree`. +* Added `invalid` property to `FlowEntity` and `FlowDefinition` at `Shopware\Core\Content\Flow`. +* Added `IfSequence` and `ActionSequence` classes at `Shopware\Core\Content\Flow\Dispatching\Struct`. +* Added `ExecuteSequenceException` class at `Shopware\Core\Content\Flow\Exception`. +* Changed flow actions api route from `/api/_info/actions.json` to `/api/_info/flow-actions.json`. +* Added `FlowEventAware` interface at `Shopware\Core\Framework\Event`. +___ +# Upgrade Information + +## Update `/api/_info/events.json` API +* Added `aware` property to `BusinessEventDefinition` class at `Shopware\Core\Framework\Event`. +* Deprecated `mailAware`, `logAware` and `salesChannelAware` properties in `BusinessEventDefinition` class at `Shopware\Core\Framework\Event`. +### Response of API +* Before: +```json +[ + { + "name": "checkout.customer.before.login", + "class": "Shopware\\Core\\Checkout\\Customer\\Event\\CustomerBeforeLoginEvent", + "mailAware": false, + "logAware": false, + "data": { + "email": { + "type": "string" + } + }, + "salesChannelAware": true, + "extensions": [] + } +] +``` +* After: +```json +[ + { + "name": "checkout.customer.before.login", + "class": "Shopware\\Core\\Checkout\\Customer\\Event\\CustomerBeforeLoginEvent", + "data": { + "email": { + "type": "string" + } + }, + "aware": [ + "Shopware\\Core\\Framework\\Event\\SalesChannelAware" + ], + "extensions": [] + } +] +``` diff --git a/changelog/release-6-4-6-0/2021-08-13-add-deprecated-info-for-business-event-module.md b/changelog/release-6-4-6-0/2021-08-13-add-deprecated-info-for-business-event-module.md new file mode 100644 index 00000000000..164c4cd67e6 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-08-13-add-deprecated-info-for-business-event-module.md @@ -0,0 +1,20 @@ +--- +title: Add deprecated info for business event module +issue: NEXT-16412 +--- +# Administration +* Added component `sw-event-action-deprecated-modal` to show first time only on Business Event listing page to let user know about Flow builder module. +* Added component `sw-event-action-deprecated-alert` to show on Business Event listing page and detail page for user to know that this module will be replaced with newly Flow builder module. +* Changed `module/sw-event-action/page/sw-event-action-list/sw-event-action-list.html.twig` to add two blocks `sw_event_action_list_deprecated_modal` and `sw_event_action_list_deprecated_alert` for showing the deprecated modal, alert. +* Changed `module/sw-event-action/page/sw-event-action-list/sw-event-action-detail.html.twig` to add two block `sw_event_action_list_deprecated_alert` for showing the deprecated alert. +* Deprecated module `sw-event-action` - Business Event in favor for `sw-flow` - Flow Builder. + * The following components got deprecated: + * `sw-event-action-deprecated-alert` + * `sw-event-action-deprecated-modal` + * `sw-event-action-detail-recipients` + * `sw-event-action-list-expand-labels` + * `sw-event-action-detail` + * `sw-event-action-list` + * The following services and helpers got deprecated: + * `sw-event-action/acl/index.js` + * `src/core/service/api/business-events.api.service.js` diff --git a/changelog/release-6-4-6-0/2021-08-17-implement-flow-generator.md b/changelog/release-6-4-6-0/2021-08-17-implement-flow-generator.md new file mode 100644 index 00000000000..0f1da1bcf25 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-08-17-implement-flow-generator.md @@ -0,0 +1,6 @@ +--- +title: Implement Flow Generator +issue: NEXT-16604 +--- +# Core +* Added new FlowGenerator in `\Shopware\Core\Framework\Demodata\Generator\FlowGenerator` diff --git a/changelog/release-6-4-6-0/2021-08-20-hide-cheapest-price-in-product-listing-ajax-loading.md b/changelog/release-6-4-6-0/2021-08-20-hide-cheapest-price-in-product-listing-ajax-loading.md new file mode 100644 index 00000000000..747252a7d2c --- /dev/null +++ b/changelog/release-6-4-6-0/2021-08-20-hide-cheapest-price-in-product-listing-ajax-loading.md @@ -0,0 +1,9 @@ +--- +title: Hide cheapest price in product listing ajax loading +issue: NEXT-17980 +author: Joshua Behrens +author_email: code@joshua-behrens.de +author_github: @JoshuaBehrens +--- +# Storefront +* Added CSS selector `.product-cheapest-price-price` for the animation overlay during a product loading in `src/Storefront/Resources/app/storefront/src/scss/component/_loader.scss` to hide still visible data in the product boxes that are used as placeholders diff --git a/changelog/release-6-4-6-0/2021-08-24-implement-flow-builder-ui.md b/changelog/release-6-4-6-0/2021-08-24-implement-flow-builder-ui.md new file mode 100644 index 00000000000..41c55e74a10 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-08-24-implement-flow-builder-ui.md @@ -0,0 +1,7 @@ +--- +title: Implement flow builder UI +issue: NEXT-15694 +--- +# Administration +* Added module `sw-flow` in `module/sw-flow/index.js`. +* Added service `flow-actions.api.service` in `core/service/api/flow-actions.api.service.js`. diff --git a/changelog/release-6-4-6-0/2021-08-27-add-sales-channel-option-for-theme-change.md b/changelog/release-6-4-6-0/2021-08-27-add-sales-channel-option-for-theme-change.md new file mode 100644 index 00000000000..3e366b6f735 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-08-27-add-sales-channel-option-for-theme-change.md @@ -0,0 +1,9 @@ +--- +title: Added `--sales-channel` option for the `theme:change` command +issue: NEXT-16977 +author: Enzo Volkmann +author_email: enzo@exportarts.io +author_github: @evolkmann +--- +# Storefront +* Added `--sales-channel` option for the `theme:change` command diff --git a/changelog/release-6-4-6-0/2021-09-06-implement-cached-flow-loader.md b/changelog/release-6-4-6-0/2021-09-06-implement-cached-flow-loader.md new file mode 100644 index 00000000000..764312a9d25 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-06-implement-cached-flow-loader.md @@ -0,0 +1,6 @@ +--- +title: Implement cached flow loader +issue: NEXT-8225 +--- +# Core +* Added the new service `\Shopware\Core\Content\Flow\Dispatching\CachedFlowLoader` that decorates `\Shopware\Core\Content\Flow\Dispatching\FlowLoader` diff --git a/changelog/release-6-4-6-0/2021-09-07-fix-js-crash-on-unknown-viewport.md b/changelog/release-6-4-6-0/2021-09-07-fix-js-crash-on-unknown-viewport.md new file mode 100644 index 00000000000..4a1542f24cd --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-07-fix-js-crash-on-unknown-viewport.md @@ -0,0 +1,9 @@ +--- +title: Fix js crash on unknown viewport +issue: NEXT-17186 +author: Rune Laenen +author_email: rune.laenen@intracto.com +author_github: runelaenen +--- +# Storefront +* Update `slider-settings.helper.js` to early return the settings if no valid viewport was found. This can happen very early after the pageload. diff --git a/changelog/release-6-4-6-0/2021-09-08-prevent-context-changes-affect-outside-of-sync-service-usage.md b/changelog/release-6-4-6-0/2021-09-08-prevent-context-changes-affect-outside-of-sync-service-usage.md new file mode 100644 index 00000000000..666acb37364 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-08-prevent-context-changes-affect-outside-of-sync-service-usage.md @@ -0,0 +1,9 @@ +--- +title: Prevent context changes affect outside of the sync service usage +issue: NEXT-17522 +author: Joshua Behrens +author_email: code@joshua-behrens.de +author_github: @JoshuaBehrens +--- +# Core +* Changed `SyncService::sync` to clone the context before using it so internally used extensions are not affecting later usage of the same context object diff --git a/changelog/release-6-4-6-0/2021-09-09-handle-malformed-options.md b/changelog/release-6-4-6-0/2021-09-09-handle-malformed-options.md new file mode 100644 index 00000000000..c136330a07b --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-09-handle-malformed-options.md @@ -0,0 +1,8 @@ +--- +title: Handle malformed options in the `switch` method of `ProductController` +issue: NEXT-17523 +author: Paweł Słowik +author_email: pawel.slowik@zoho.com +--- +# Storefront +* Changed the `switch` method in `src/Storefront/Controller/ProductController.php` to handle malformed options diff --git a/changelog/release-6-4-6-0/2021-09-10-deprecate-line-items-in-cart-rule.md b/changelog/release-6-4-6-0/2021-09-10-deprecate-line-items-in-cart-rule.md new file mode 100644 index 00000000000..be530ccf212 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-10-deprecate-line-items-in-cart-rule.md @@ -0,0 +1,13 @@ +--- +title: Deprecate line items in cart rule +issue: NEXT-17052 +author: Malte Janz +author_email: m.janz@shopware.com +author_github: Malte Janz +--- +# Core +* Deprecated `Shopware\Core\Checkout\Cart\Rule\LineItemsInCartRule` - use `Shopware\Core\Checkout\Cart\Rule\LineItemRule` instead. +* Added `Shopware\Core\Migration\V6_4\Migration1631703921MigrateLineItemsInCartRule` migration to migrate all existing rules of type 'cartLineItemsInCart' +___ +# Administration +* Deprecated `sw-condition-line-items-in-cart` component - use `sw-condition-line-item` instead. diff --git a/changelog/release-6-4-6-0/2021-09-12-correct-edit-line-item-when-update-order.md b/changelog/release-6-4-6-0/2021-09-12-correct-edit-line-item-when-update-order.md new file mode 100644 index 00000000000..a1cdae73f66 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-12-correct-edit-line-item-when-update-order.md @@ -0,0 +1,7 @@ +--- +title: Correct edit line item when update order +issue: NEXT-13167 +--- +# Administration +* Added new method `cloneLineItems` in `src/module/sw-order/view/sw-order-detail-base/index.js` to clone the origin line items +* Changed method `onSaveEdits` in `src/module/sw-order/view/sw-order-detail-base/index.js` to make sure the order line items are original diff --git a/changelog/release-6-4-6-0/2021-09-13-added-rule-that-matches-line-item-is-in-a-product-stream.md b/changelog/release-6-4-6-0/2021-09-13-added-rule-that-matches-line-item-is-in-a-product-stream.md new file mode 100644 index 00000000000..32c055dfaaa --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-13-added-rule-that-matches-line-item-is-in-a-product-stream.md @@ -0,0 +1,13 @@ +--- +title: Added rule that matches line item is in a product stream +issue: NEXT-8057 +author: d.neustadt +author_email: d.neustadt@shopware.com +author_github: dneustadt +--- +# Core +* Added `LineItemInProductStreamRule` for matching a line item is in a dynamic product group +* Added `ManyToManyIdField` property `streamIds` in `ProductDefinition` +___ +# Administration +* Added `sw-condition-line-item-in-product-stream` for setting up rule builder line item in dynamic product group conditions diff --git a/changelog/release-6-4-6-0/2021-09-13-fix-nondeterministic-rule-loading.md b/changelog/release-6-4-6-0/2021-09-13-fix-nondeterministic-rule-loading.md new file mode 100644 index 00000000000..7179a537287 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-13-fix-nondeterministic-rule-loading.md @@ -0,0 +1,10 @@ +--- +title: Fix-cache-keys-for-associations +issue: NEXT-16716 +author: Jonas Søndergaard +author_email: jonas@wexo.dk +author_github: @josniii +--- +# Core +* All rules are now properly loaded from the database when more than 500 rules exist. +___ diff --git a/changelog/release-6-4-6-0/2021-09-15-catch-unknown-cms-element-types-in-cms-editor.md b/changelog/release-6-4-6-0/2021-09-15-catch-unknown-cms-element-types-in-cms-editor.md new file mode 100644 index 00000000000..668917708a0 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-15-catch-unknown-cms-element-types-in-cms-editor.md @@ -0,0 +1,10 @@ +--- +title: Add try-catch on loading cmsElements when cms element type is not registered +author: Joshua Behrens +issue: NEXT-17331 +author_email: code@joshua-behrens.de +author_github: @JoshuaBehrens +--- +# Administration +* Added additional try-catch in `src/Administration/Resources/app/administration/src/module/sw-cms/service/cmsDataResolver.service.js` to match the right catch in `src/Administration/Resources/app/administration/src/module/sw-cms/page/sw-cms-detail/index.js` +* Added additional check and warning in `src/Administration/Resources/app/administration/src/module/sw-cms/service/cmsDataResolver.service.js` to expect cms elements registry might not have a slot type registered diff --git a/changelog/release-6-4-6-0/2021-09-15-state-machine-api-service-state-field-name.md b/changelog/release-6-4-6-0/2021-09-15-state-machine-api-service-state-field-name.md new file mode 100644 index 00000000000..c0d361bead2 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-15-state-machine-api-service-state-field-name.md @@ -0,0 +1,9 @@ +--- +title: Added `stateFieldName` argument to `StateMachineApiService` methods +author: Enzo Volkmann +issue: NEXT-17330 +author_email: enzo@exportarts.io +author_github: @evolkmann +--- +# Administration +* Added `stateFieldName` argument to `StateMachineApiService` methods. The new argument is optional and is recognized by the [`StateMachineActionController`](../../src/Core/System/StateMachine/Api/StateMachineActionController.php). diff --git a/changelog/release-6-4-6-0/2021-09-16-allow-wildcard-use-in-alphanumerical-values-of-zip-code-rules.md b/changelog/release-6-4-6-0/2021-09-16-allow-wildcard-use-in-alphanumerical-values-of-zip-code-rules.md new file mode 100644 index 00000000000..50e10ab2f75 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-16-allow-wildcard-use-in-alphanumerical-values-of-zip-code-rules.md @@ -0,0 +1,12 @@ +--- +title: Allow wildcard use in alphanumerical values of zip code rules +issue: NEXT-17030 +author: d.neustadt +author_email: d.neustadt@shopware.com +author_github: dneustadt +--- +# Core +* Added abstract `ZipCodeRule` to extend `BillingZipCodeRule` and `ShippingZipCodeRule` from and allow use of a wildcard character to partially match alphanumerical postal codes +___ +# Administration +* Changed `sw-condition-billing-zip-code` and `sw-condition-shipping-zip-code` to include a step of choosing whether postal codes are matched aphanumerical or numerical for comprehensibility diff --git a/changelog/release-6-4-6-0/2021-09-16-fix-tooltip-in-thememanager.md b/changelog/release-6-4-6-0/2021-09-16-fix-tooltip-in-thememanager.md new file mode 100644 index 00000000000..d52f8bc8c5b --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-16-fix-tooltip-in-thememanager.md @@ -0,0 +1,9 @@ +--- +title: fix-tooltip-in-thememanager +issue: NEXT-16562 +author: Marcel Hakvoort +author_email: m.hakvoort@shopware.com +author_github: @celha +--- +# Administration +* Changed z-index of sw-context-button to 1100 in `sw-theme-manager-detail.html.twig` diff --git a/changelog/release-6-4-6-0/2021-09-17-add-sales-channel-assignment-to-theme-detail-page.md b/changelog/release-6-4-6-0/2021-09-17-add-sales-channel-assignment-to-theme-detail-page.md new file mode 100644 index 00000000000..11fe9ea2ff1 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-17-add-sales-channel-assignment-to-theme-detail-page.md @@ -0,0 +1,15 @@ +--- +title: Add sales channel assignment to theme detail page +issue: NEXT-9448 +author: Patrick Stahl +author_email: p.stahl@shopware.com +author_github: PaddyS +--- +# Administration +* Added new property `selectionDisablingMethod` to the components `sw-entity-multi-select` and `sw-select-selection-list` in order to show the disabled state on the labels depending on a given function +___ +# Storefront +* Removed `div` with class `sw-theme-manager-detail__info-saleschannels` from `sw-theme-manager-detail.html.twig` +* Removed styles for class `sw-theme-manager-detail__info-saleschannels` from `sw-theme-manager-detail.scss` +* Added new entity selection on the theme detail page in order to be able to assign sales channels directly on the theme detail page +* Added blocks `sw_theme_manager_detail_sales_channel_removed_modal` and `sw_theme_manager_detail_sales_channel_already_assigned_modal` to `sw-theme-manager-detail.html.twig` diff --git a/changelog/release-6-4-6-0/2021-09-17-fix-promotion-saleschannel-criteria.md b/changelog/release-6-4-6-0/2021-09-17-fix-promotion-saleschannel-criteria.md new file mode 100644 index 00000000000..6415c96321c --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-17-fix-promotion-saleschannel-criteria.md @@ -0,0 +1,9 @@ +--- +title: Enable up to 500 Saleschannels as condition for promotions +issue: NEXT-13724 +author: Alexander Kreissl +author_email: alexander.kreissl@moonshiner.at +author_github: mEverGard +--- +# Administration +- Updated the Criteria to support up to 500 saleschannels as conditions for promotions diff --git a/changelog/release-6-4-6-0/2021-09-17-prevent-of-downloading-export-file-in-processing-state.md b/changelog/release-6-4-6-0/2021-09-17-prevent-of-downloading-export-file-in-processing-state.md new file mode 100644 index 00000000000..308404b78f2 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-17-prevent-of-downloading-export-file-in-processing-state.md @@ -0,0 +1,13 @@ +--- +title: Prevent of downloading export file in processing state +issue: NEXT-17070 +author: Krispin Lütjann +author_email: k.luetjann@shopware.com +author_github: King-of-Babylon +--- +# Administration +* Added disabled property to button / context menu item to prevent downloading export file in processing state: + * `Resources/app/administration/src/module/sw-import-export/component/sw-import-export-activity/sw-import-export-activity.html.twig` + * `Resources/app/administration/src/module/sw-import-export/component/sw-import-export-activity-log-info-modal/sw-import-export-activity-log-info-modal.html.twig` +* Added a new function `openProcessFileDownload` to `Resources/app/administration/src/module/sw-import-export/component/sw-import-export-activity/index.js` +* Deprecated the function `openFileDownload` in `Resources/app/administration/src/module/sw-import-export/component/sw-import-export-activity/index.js` diff --git a/changelog/release-6-4-6-0/2021-09-19-remove-composer-version-warning-in-plugin-refresh-command.md b/changelog/release-6-4-6-0/2021-09-19-remove-composer-version-warning-in-plugin-refresh-command.md new file mode 100644 index 00000000000..bbeab116bc0 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-19-remove-composer-version-warning-in-plugin-refresh-command.md @@ -0,0 +1,9 @@ +--- +title: 2021-09-19-Remove-Composer-Version-Warning-In-Plugin-Refresh-Command +issue: NEXT-17417 +author: Edip Aydin +author_email: ea@networker.de +author_github: Edip Aydin +--- +# Core +* Removed version check when reading plugin composer.json to avoid warnings for all plugins in `Shopware\Core\Framework\Plugin\Composer\PackageProvider::getPluginComposerPackage()` diff --git a/changelog/release-6-4-6-0/2021-09-20-add-inline-edit-position-in-property-options.md b/changelog/release-6-4-6-0/2021-09-20-add-inline-edit-position-in-property-options.md new file mode 100644 index 00000000000..cf453949a29 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-20-add-inline-edit-position-in-property-options.md @@ -0,0 +1,9 @@ +--- +title: Add inline edit for position in property options +issue: NEXT-17416 +author: mynameisbogdan +author_email: mynameisbogdan@protonmail.com +author_github: mynameisbogdan +--- +# Administration +* Changed `src/Administration/Resources/app/administration/src/module/sw-property/component/sw-property-option-list/index.js` to add inline edit for property `position`. diff --git a/changelog/release-6-4-6-0/2021-09-20-fix-payment-changeable-with-cancelled-order.md b/changelog/release-6-4-6-0/2021-09-20-fix-payment-changeable-with-cancelled-order.md new file mode 100644 index 00000000000..86af5f41787 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-20-fix-payment-changeable-with-cancelled-order.md @@ -0,0 +1,8 @@ +--- +title: Fix payment changeable in account order history with cancelled order +issue: NEXT-17382 +author: Max Stegmeyer +author_email: m.stegmeyer@shopware.com +--- +# Storefront +* Changed `page/account/order-history/order-item.html.twig` so the change payment button is not available if an order is cancelled. diff --git a/changelog/release-6-4-6-0/2021-09-20-generating-individual-voucher-codes.md b/changelog/release-6-4-6-0/2021-09-20-generating-individual-voucher-codes.md new file mode 100644 index 00000000000..df23a1d0e2f --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-20-generating-individual-voucher-codes.md @@ -0,0 +1,9 @@ +--- +title: Generating individual voucher codes +issue: NEXT-14005 +--- +# Administration +* Added event `items-delete-finish` into component `sw-one-to-many-grid` in `/module/sw-promotion-v2/component/promotion-codes/sw-promotion-v2-individual-codes-behavior/sw-promotion-v2-individual-codes-behavior.html.twig`. +* Added event `delete-individual-codes-finish` into `router-view` in `/module/sw-promotion-v2/page/sw-promotion-v2-detail/sw-promotion-v2-detail.html.twig`. +* Added event `delete-finish` into component `sw-promotion-v2-individual-codes-behavior` in `/module/sw-promotion-v2/view/sw-promotion-v2-detail-base/sw-promotion-v2-detail-base.html.twig`. +* Added method `onDeleteIndividualCodesFinish` in `/module/sw-promotion-v2/page/sw-promotion-v2-detail/index.js` to handle action save after successfully deleted. diff --git a/changelog/release-6-4-6-0/2021-09-21-add-basic-php-8-1-support.md b/changelog/release-6-4-6-0/2021-09-21-add-basic-php-8-1-support.md new file mode 100644 index 00000000000..9a41e94357f --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-21-add-basic-php-8-1-support.md @@ -0,0 +1,8 @@ +--- +title: Add basic PHP 8.1 support +issue: NEXT-16570 +--- +# Core +* Changed composer dependency `doctrine/dbal` version to `2.13.3` +* Changed composer dependency `twig/twig` version to `3.3.3` +* Added new composer dependency `symfony/polyfill-php81` diff --git a/changelog/release-6-4-6-0/2021-09-21-drop-messages-after-max-retry-of-3-times.md b/changelog/release-6-4-6-0/2021-09-21-drop-messages-after-max-retry-of-3-times.md new file mode 100644 index 00000000000..ab3088ef283 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-21-drop-messages-after-max-retry-of-3-times.md @@ -0,0 +1,6 @@ +--- +title: Drop messages after max retry of 3 times +issue: NEXT-9499 +--- +# Core +* Changed `\Shopware\Core\Framework\MessageQueue\DeadMessage\RequeueDeadMessagesService` to drop messages after max of 3 retries diff --git a/changelog/release-6-4-6-0/2021-09-21-make-number-range-value-generator-service-public-in-container.md b/changelog/release-6-4-6-0/2021-09-21-make-number-range-value-generator-service-public-in-container.md new file mode 100644 index 00000000000..a4b8039d43b --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-21-make-number-range-value-generator-service-public-in-container.md @@ -0,0 +1,9 @@ +--- +title: Make service `NumberRangeValueGeneratorInterface` public in container +issue: NEXT-17460 +author: Manuel Kress +author_email: 6232639+windaishi@users.noreply.github.com +author_github: windaishi +--- +# Core +* Made service `NumberRangeValueGeneratorInterface` public in container. diff --git a/changelog/release-6-4-6-0/2021-09-21-prevent-wrong-profile-mapping-for-import-export.md b/changelog/release-6-4-6-0/2021-09-21-prevent-wrong-profile-mapping-for-import-export.md new file mode 100644 index 00000000000..c9b1d15c58c --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-21-prevent-wrong-profile-mapping-for-import-export.md @@ -0,0 +1,9 @@ +--- +title: Prevent wrong profile mapping for import / export +issue: NEXT-7921 +author: Krispin Lütjann +author_email: k.luetjann@shopware.com +author_github: King-of-Babylon +--- +# Administration +* Changed behaviour of `currentEntity` computed property to return null, if no current entity is found diff --git a/changelog/release-6-4-6-0/2021-09-21-refactor-move-saleschannelproductentity-logic-into-saleschannelproductsubscriber.md b/changelog/release-6-4-6-0/2021-09-21-refactor-move-saleschannelproductentity-logic-into-saleschannelproductsubscriber.md new file mode 100644 index 00000000000..372f44a92b2 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-21-refactor-move-saleschannelproductentity-logic-into-saleschannelproductsubscriber.md @@ -0,0 +1,14 @@ +--- +title: Move SalesChannelProductEntity logic into sales_channel.product.loaded event +issue: NEXT-17472 +author: Max +author_email: max@swk-web.com +author_github: @aragon999 +--- +# Core +* Removed class `Shopware\Core\Content\Product\SalesChannel\SalesChannelProductSubscriber` and merge the logic into `Shopware\Core\Content\Product\Subscriber\ProductSubscriber`, since it will be only computed for `Shopware\Core\Content\Product\SalesChannel\SalesChannelProductEntity`. +* Added class `Shopware\Core\Content\Product\ProductVariationBuilder` to build variations of the product. +* Added class `Shopware\Core\Content\Product\SalesChannelProductBuilder` to build different properties which are needed for the `SalesChannelProductEntity`. +* Added class `Shopware\Core\Content\Product\IsNewDetector`. +* Added class `Shopware\Core\Content\Product\PropertyGroupSorter`. +* Added class `Shopware\Core\Content\Product\ProductMaxPurchaseCalculator`. diff --git a/changelog/release-6-4-6-0/2021-09-22-fix-create-api-for-mappings.md b/changelog/release-6-4-6-0/2021-09-22-fix-create-api-for-mappings.md new file mode 100644 index 00000000000..221089519aa --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-22-fix-create-api-for-mappings.md @@ -0,0 +1,6 @@ +--- +title: Fix Create API for Mapping Definitions +issue: NEXT-15661 +--- +# Core +* Changed `\Shopware\Core\Framework\Api\Controller\ApiController::write()` to return 204-Response without redirect header for mapping definitions, as there is no detail route for mapping definitions. diff --git a/changelog/release-6-4-6-0/2021-09-22-fix-store-api-proxy-error-handling.md b/changelog/release-6-4-6-0/2021-09-22-fix-store-api-proxy-error-handling.md new file mode 100644 index 00000000000..86ec9670e72 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-22-fix-store-api-proxy-error-handling.md @@ -0,0 +1,6 @@ +--- +title: Fix store api proxy error handling +issue: NEXT-15842 +--- +# Core +* Changed api error handling to work also with requests made by `StoreApiProxyController` diff --git a/changelog/release-6-4-6-0/2021-09-22-remove-button-use-as-cover-when-doing-bulk-edit.md b/changelog/release-6-4-6-0/2021-09-22-remove-button-use-as-cover-when-doing-bulk-edit.md new file mode 100644 index 00000000000..d19eb576663 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-22-remove-button-use-as-cover-when-doing-bulk-edit.md @@ -0,0 +1,8 @@ +--- +title: Remove button Use as cover when doing bulk edit +issue: NEXT-17257 +--- +# Administration +* Added `showCoverLabel` to component `sw-bulk-edit-product-media-form` and `sw-product-media-form`. +* Added props `showCoverLabel` in `src/app/component/base/sw-product-image/index.js`. +* Changed computed `productImageClasses` to disable `is--cover` class when doing bulk edit. diff --git a/changelog/release-6-4-6-0/2021-09-22-skip-updating-stock-and-inheritance-in-indexing-message-when-already-done.md b/changelog/release-6-4-6-0/2021-09-22-skip-updating-stock-and-inheritance-in-indexing-message-when-already-done.md new file mode 100644 index 00000000000..2bd882b9d5b --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-22-skip-updating-stock-and-inheritance-in-indexing-message-when-already-done.md @@ -0,0 +1,9 @@ +--- +title: Skip updating stock and inheritance in indexing message when already done +issue: NEXT-17662 +author: Joshua Behrens +author_email: code@joshua-behrens.de +author_github: @JoshuaBehrens +--- +# Core +* Changed skip state of `\Shopware\Core\Framework\DataAbstractionLayer\Indexing\EntityIndexingMessage` that is sent from `\Shopware\Core\Content\Product\DataAbstractionLayer\ProductIndexer::update` to skip stock updates and inheritance updates as this has been done right before sending message diff --git a/changelog/release-6-4-6-0/2021-09-23-adjusted-extension-store-snippets.md b/changelog/release-6-4-6-0/2021-09-23-adjusted-extension-store-snippets.md new file mode 100644 index 00000000000..573e2ce79ba --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-23-adjusted-extension-store-snippets.md @@ -0,0 +1,6 @@ +--- +title: Adjusted extension store snippets +issue: NEXT-17308 +--- +# Administration +* Changed extension store detail page and buy modal snippets, to improve readability diff --git a/changelog/release-6-4-6-0/2021-09-23-fix-use-isset-for-null-check-of-typed-property.md b/changelog/release-6-4-6-0/2021-09-23-fix-use-isset-for-null-check-of-typed-property.md new file mode 100644 index 00000000000..9df8d473e0d --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-23-fix-use-isset-for-null-check-of-typed-property.md @@ -0,0 +1,9 @@ +--- +title: Use isset for null check of typed property +issue: NEXT-17497 +author: Max +author_email: max@swk-web.com +author_github: @aragon999 +--- +# Core +* Changed method `Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::setEntityLoadedEventFactory()` to use isset for null check of typed property diff --git a/changelog/release-6-4-6-0/2021-09-23-unify-setup-scripts.md b/changelog/release-6-4-6-0/2021-09-23-unify-setup-scripts.md new file mode 100644 index 00000000000..ff695e8a2a7 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-23-unify-setup-scripts.md @@ -0,0 +1,68 @@ +--- +title: Unify setup scripts +issue: NEXT-17218 +--- +# Core +* Added `\Shopware\Core\Maintenance\Maintenance` bundle + * Added `\Shopware\Core\Maintenance\System\Command\SystemGenerateAppSecretCommand` + * Deprecated `\Shopware\Core\DevOps\System\Command\SystemGenerateAppSecretCommand`, use `\Shopware\Core\Maintenance\System\Command\SystemGenerateAppSecretCommand` instead + * Added `\Shopware\Core\Maintenance\System\Command\SystemGenerateJwtSecretCommand` + * Deprecated `\Shopware\Core\DevOps\System\Command\SystemGenerateJwtSecretCommand`, use `\Shopware\Core\Maintenance\System\Command\SystemGenerateJwtSecretCommand` instead + * Added `\Shopware\Core\Maintenance\System\Command\SystemInstallCommand` + * Deprecated `\Shopware\Core\DevOps\System\Command\SystemInstallCommand`, use `\Shopware\Core\Maintenance\System\Command\SystemInstallCommand` instead + * Added `\Shopware\Core\Maintenance\System\Command\SystemSetupCommand` + * Deprecated `\Shopware\Core\DevOps\System\Command\SystemSetupCommand`, use `\Shopware\Core\Maintenance\System\Command\SystemSetupCommand` instead + * Added `\Shopware\Core\Maintenance\System\Command\SystemUpdateFinishCommand` + * Deprecated `\Shopware\Core\DevOps\System\Command\SystemUpdateFinishCommand`, use `\Shopware\Core\Maintenance\System\Command\SystemUpdateFinishCommand` instead + * Added `\Shopware\Core\Maintenance\System\Command\SystemUpdatePrepareCommand` + * Deprecated `\Shopware\Core\DevOps\System\Command\SystemUpdatePrepareCommand`, use `\Shopware\Core\Maintenance\System\Command\SystemUpdatePrepareCommand` instead + * Added `\Shopware\Core\Maintenance\SalesChannel\Command\SalesChannelCreateCommand` + * Deprecated `\Shopware\Core\System\SalesChannel\Command\SalesChannelCreateCommand`, use `\Shopware\Core\Maintenance\SalesChannel\Command\SalesChannelCreateCommand` instead + * Added `\Shopware\Core\Maintenance\SalesChannel\Command\SalesChannelListCommand` + * Deprecated `\Shopware\Core\System\SalesChannel\Command\SalesChannelListCommand`, use `\Shopware\Core\Maintenance\SalesChannel\Command\SalesChannelListCommand` instead + * Added `\Shopware\Core\Maintenance\SalesChannel\Command\SalesChannelMaintenanceDisableCommand` + * Deprecated `\Shopware\Core\System\SalesChannel\Command\SalesChannelMaintenanceDisableCommand`, use `\Shopware\Core\Maintenance\SalesChannel\Command\SalesChannelMaintenanceDisableCommand` instead + * Added `\Shopware\Core\Maintenance\SalesChannel\Command\SalesChannelMaintenanceEnableCommand` + * Deprecated `\Shopware\Core\System\SalesChannel\Command\SalesChannelMaintenanceEnableCommand`, use `\Shopware\Core\Maintenance\SalesChannel\Command\SalesChannelMaintenanceEnableCommand` instead + * Added `\Shopware\Core\Maintenance\SalesChannel\Service\SalesChannelCreator` + * Added `\Shopware\Core\Maintenance\System\Command\SystemConfigureShopCommand` + * Added `\Shopware\Core\Maintenance\System\Service\DatabaseConnectionFactory` + * Added `\Shopware\Core\Maintenance\System\Service\DatabaseInitializer` + * Added `\Shopware\Core\Maintenance\System\Service\JwtCertificateGenerator` + * Added `\Shopware\Core\Maintenance\System\Service\ShopConfigurator` + * Added `\Shopware\Core\Maintenance\User\Command\UserChangePasswordCommand` + * Deprecated `\Shopware\Core\System\User\Command\UserChangePasswordCommand`, use `\Shopware\Core\Maintenance\User\Command\UserChangePasswordCommand` instead + * Added `\Shopware\Core\Maintenance\User\Command\UserCreateCommand` + * Deprecated `\Shopware\Core\System\User\Command\UserCreateCommand`, use `\Shopware\Core\Maintenance\User\Command\UserCreateCommand` instead + * Added `\Shopware\Core\Maintenance\User\Service\UserProvisioner` + * Deprecated `\Shopware\Core\System\User\Service\UserProvisioner`, use `\Shopware\Core\Maintenance\User\Service\UserProvisioner` instead +* Changed `\Shopware\Core\Framework\Adapter\Asset\AssetInstallCommand` to additionally install assets from the Recovery bundle if it is present +* Added `\Shopware\Core\Framework\Plugin\Util\AssetService::copyRecoveryAssets()` to copy assets of the recovery bundle to the public folder +___ +# Storefront +* Changed `\Shopware\Storefront\Framework\Command\SalesChannelCreateStorefrontCommand` to add `snippetSetId`-parameter and to no longer ignore the `navigationCategoryId`-parameter +___ +# Upgrade Information + +## Added Maintenance-Bundle + +A maintenance bundle was added to have one place where CLI-commands und Utils are located, that help with the ongoing maintenance of the shop. + +To load enable that bundle, you should add the following line to your `/config/bundles.php` file, because from 6.5.0 onward the bundle will not be loaded automatically anymore: +```php +return [ + ... + Shopware\Core\Maintenance\Maintenance::class => ['all' => true], +]; +``` +In that refactoring we moved some CLI commands into that new bundle and deprecated the old command classes. The new commands are marked as internal, as you should not rely on the PHP interface of those commands, only on the CLI API. + +Additionally we've moved the `UserProvisioner` service from the `Core/System/User` namespace, to the `Core/Maintenance/User` namespace, make sure you use the service from the new location. +Before: +```php +use Shopware\Core\System\User\Service\UserProvisioner; +``` +After: +```php +use Shopware\Core\Maintenance\User\Service\UserProvisioner; +``` diff --git a/changelog/release-6-4-6-0/2021-09-24-fix-creation-of-entity-loaded-for-to-many-entities-in-extensions.md b/changelog/release-6-4-6-0/2021-09-24-fix-creation-of-entity-loaded-for-to-many-entities-in-extensions.md new file mode 100644 index 00000000000..3cf6ca53850 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-24-fix-creation-of-entity-loaded-for-to-many-entities-in-extensions.md @@ -0,0 +1,6 @@ +--- +title: Fix Creation of EntityLoadedEvents for toManyEntities in extensions +issue: NEXT-17328 +--- +# Core +* Changed `\Shopware\Core\Framework\DataAbstractionLayer\Event\EntityLoadedEventFactory` to also create EntityLoadedEvents for toMany-Associations inside extensions. diff --git a/changelog/release-6-4-6-0/2021-09-24-fix-order-of-product-media-on-product-detail-page-cms-element.md b/changelog/release-6-4-6-0/2021-09-24-fix-order-of-product-media-on-product-detail-page-cms-element.md new file mode 100644 index 00000000000..624e9ef5b84 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-24-fix-order-of-product-media-on-product-detail-page-cms-element.md @@ -0,0 +1,6 @@ +--- +title: Fix order of product media on Product Detail Page cms element +issue: NEXT-17448 +--- +# Core +* Changed behavior of `ImageSliderTypeDataResolver::enrich` to consider positions for media sorting \ No newline at end of file diff --git a/changelog/release-6-4-6-0/2021-09-24-next-16381-allow-use-canceltoken-from-httpclient.md b/changelog/release-6-4-6-0/2021-09-24-next-16381-allow-use-canceltoken-from-httpclient.md new file mode 100644 index 00000000000..ee332301c38 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-24-next-16381-allow-use-canceltoken-from-httpclient.md @@ -0,0 +1,6 @@ +--- +title: Allow use CancelToken from HttpClient +issue: NEXT-16381 +--- +# Administration +* Changed function `createClient` in `src/core/factory/http.factory.js` to allow using `CancelToken` from `httpClient`. diff --git a/changelog/release-6-4-6-0/2021-09-27-bugfix-show-all-orders-in-storefront-history.md b/changelog/release-6-4-6-0/2021-09-27-bugfix-show-all-orders-in-storefront-history.md new file mode 100644 index 00000000000..52c5b2aa1c2 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-27-bugfix-show-all-orders-in-storefront-history.md @@ -0,0 +1,9 @@ +--- +title: Bugfix: show all orders in storefront history +issue: NEXT-17607 +author: Marcel Tams +author_email: marcel.tams@networkteam.com +author_github: amtee +--- +# Core +* Changed method `Shopware\Core\Checkout\Order\SalesChannel\OrderRoute::load()` due to a misleading condition that resulted in the removal of orders updated or created more than 30 days ago from the latest order. diff --git a/changelog/release-6-4-6-0/2021-09-27-delete-additional-elements-after-creating-a-category.md b/changelog/release-6-4-6-0/2021-09-27-delete-additional-elements-after-creating-a-category.md new file mode 100644 index 00000000000..8ec43ddd798 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-27-delete-additional-elements-after-creating-a-category.md @@ -0,0 +1,6 @@ +--- +title: delete additional elements after creating a category +issue: NEXT-17444 +--- +# Administration +* Changed watcher `item` in `src/app/component/tree/sw-tree/index.js` to reset `_eventFromEdit` property to null diff --git a/changelog/release-6-4-6-0/2021-09-27-improve-saving-bulk-edit-for-order.md b/changelog/release-6-4-6-0/2021-09-27-improve-saving-bulk-edit-for-order.md new file mode 100644 index 00000000000..721a5e4330c --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-27-improve-saving-bulk-edit-for-order.md @@ -0,0 +1,9 @@ +--- +title: Improve saving bulk edit for order +issue: NEXT-17514 +--- +# Administration +* Added `isLoadedData` data variable in `sw-bulk-edit-order` component. +* Changed the following blocks in `sw-bulk-edit-order` component template: + * `sw_bulk_edit_order_content` + * `sw_bulk_edit_order_empty_state` diff --git a/changelog/release-6-4-6-0/2021-09-27-prevent-webhooks-from-wrapping-event-data-multiple-times.md b/changelog/release-6-4-6-0/2021-09-27-prevent-webhooks-from-wrapping-event-data-multiple-times.md new file mode 100644 index 00000000000..98ff87e061c --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-27-prevent-webhooks-from-wrapping-event-data-multiple-times.md @@ -0,0 +1,6 @@ +--- +title: Prevent Webhooks from wrapping event data multiple times +issue: NEXT-17429 +--- +# Core +* Changed behaviour of `\Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch`. Event data will not be wrapped multiple times no more if more than one webhook subscribes to an event. diff --git a/changelog/release-6-4-6-0/2021-09-27-set-shipping-costs-to-0-for-admin-order.md b/changelog/release-6-4-6-0/2021-09-27-set-shipping-costs-to-0-for-admin-order.md new file mode 100644 index 00000000000..20abb78d831 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-27-set-shipping-costs-to-0-for-admin-order.md @@ -0,0 +1,10 @@ +--- +title: Set shipping costs to 0 for admin order +issue: NEXT-16666 +author: Niklas Limberg +author_email: n.limberg@shopware.com +author: NiklasLimberg +author_github: NiklasLimberg +--- +# Core +* Changed `Shopware\Core\Checkout\Cart\Delivery\DeliveryCalculator::calculateDelivery()` to apply manual shipping cost regardless of unit price \ No newline at end of file diff --git a/changelog/release-6-4-6-0/2021-09-28-fix-order-status-bulk-edit-is-always-english.md b/changelog/release-6-4-6-0/2021-09-28-fix-order-status-bulk-edit-is-always-english.md new file mode 100644 index 00000000000..37eb679fcf7 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-28-fix-order-status-bulk-edit-is-always-english.md @@ -0,0 +1,7 @@ +--- +title: Fix language not working correctly +issue: NEXT-17506 +--- +# Administration +* Changed `createdComponent` method in `src/module/sw-bulk-edit/page/sw-bulk-edit-order/index.js` to remove state `resetLanguageToDefault`. +* Changed `createdComponent` method in `src/module/sw-bulk-edit/page/sw-bulk-edit-product/index.js` to remove state `resetLanguageToDefault`. diff --git a/changelog/release-6-4-6-0/2021-09-28-fix-variant-sorting.md b/changelog/release-6-4-6-0/2021-09-28-fix-variant-sorting.md new file mode 100644 index 00000000000..c474c658a68 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-28-fix-variant-sorting.md @@ -0,0 +1,7 @@ +--- +title: Fix variant sorting +issue: NEXT-16392 +author: Timo Altholtmann +--- +# Core +* Changed product loaded subscriber to not change the order of options after a product is loaded diff --git a/changelog/release-6-4-6-0/2021-09-28-hint-sync-service-interface.md b/changelog/release-6-4-6-0/2021-09-28-hint-sync-service-interface.md new file mode 100644 index 00000000000..2f6b4dac7ec --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-28-hint-sync-service-interface.md @@ -0,0 +1,9 @@ +--- +title: Hint SyncServiceInterface in ImportExport subscribers +issue: NEXT-17588 +author: d.neustadt +author_email: d.neustadt@shopware.com +author_github: dneustadt +--- +# Core +* Changed `ProductVariantsSubscriber` and `ProductVariantsSubscriber` to hint to `SyncServiceInterface` diff --git a/changelog/release-6-4-6-0/2021-09-28-seourl-twig-factory.md b/changelog/release-6-4-6-0/2021-09-28-seourl-twig-factory.md new file mode 100644 index 00000000000..fa433dd5fbb --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-28-seourl-twig-factory.md @@ -0,0 +1,46 @@ +--- +title: Factory to build Seo Url Twig Environment +issue: NEXT-17849 +author: Björn Herzke +author_email: bjoern.herzke@brandung.de +author_github: @wrongspot +--- +# Core +* Added new class `src/Core/Content/Seo/SeoUrlTwigFactory.php` +___ +# Upgrade Information + +### Create own SeoUrl Twig Extension +Create a regular Twig extension, instead of tagging it with name `twig.extension` use tag name `shopware.seo_url.twig.extension` + +Example Class: +```php + + + +``` diff --git a/changelog/release-6-4-6-0/2021-09-29-remove-get-theme-config-path-from-theme-create.md b/changelog/release-6-4-6-0/2021-09-29-remove-get-theme-config-path-from-theme-create.md new file mode 100644 index 00000000000..b3c6685109f --- /dev/null +++ b/changelog/release-6-4-6-0/2021-09-29-remove-get-theme-config-path-from-theme-create.md @@ -0,0 +1,9 @@ +--- +title: Remove unused method getThemeConfigPath from ThemeCreateCommand::getBootstrapTemplate() +issue: NEXT-17654 +author: mynameisbogdan +author_email: mynameisbogdan@protonmail.com +author_github: mynameisbogdan +--- +# Storefront +* Changed `src/Storefront/Theme/Command/ThemeCreateCommand.php` to remove unused method `getThemeConfigPath` from bootstrap template. diff --git a/changelog/release-6-4-6-0/2021-10-02-add-new-inner-block-to-order-list-bulk-slot.md b/changelog/release-6-4-6-0/2021-10-02-add-new-inner-block-to-order-list-bulk-slot.md new file mode 100644 index 00000000000..65a8e181668 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-02-add-new-inner-block-to-order-list-bulk-slot.md @@ -0,0 +1,9 @@ +--- +title: Add new inner block to order list bulk slot +issue: NEXT-17685 +author: Ioannis Pourliotis +author_email: dev@pourliotis.de +author_github: @PheysX +--- +# Administration +* Added a new inner block `sw_order_list_bulk_selected_actions_content_bulk_edit` in `src/Administration/Resources/app/administration/src/module/sw-order/page/sw-order-list/sw-order-list.html.twig` to make data grid bulk slot extendable. diff --git a/changelog/release-6-4-6-0/2021-10-02-add-total-amount-to-newsletter-recipients-list-page-headline.md b/changelog/release-6-4-6-0/2021-10-02-add-total-amount-to-newsletter-recipients-list-page-headline.md new file mode 100644 index 00000000000..f19bee03395 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-02-add-total-amount-to-newsletter-recipients-list-page-headline.md @@ -0,0 +1,9 @@ +--- +title: Add total amount to newsletter recipients list page headline +issue: NEXT-17684 +author: Ioannis Pourliotis +author_email: dev@pourliotis.de +author_github: @PheysX +--- +# Administration +* Added the total amount of newsletter recipients to the `smart-bar-header` slot headline in `src/Administration/Resources/app/administration/src/module/sw-newsletter-recipient/page/sw-newsletter-recipient-list/sw-newsletter-recipient-list.html.twig`. diff --git a/changelog/release-6-4-6-0/2021-10-02-replace-twig-line-item-types-with-constants.md b/changelog/release-6-4-6-0/2021-10-02-replace-twig-line-item-types-with-constants.md new file mode 100644 index 00000000000..b5a9ba8ab84 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-02-replace-twig-line-item-types-with-constants.md @@ -0,0 +1,9 @@ +--- +title: Replace Twig LineItem types with constants +issue: NEXT-17683 +author: Ioannis Pourliotis +author_email: dev@pourliotis.de +author_github: @PheysX +--- +# Storefront +* Changed the Twig templates `src/Storefront/Resources/views/storefront/component/checkout/offcanvas-item.html.twig`, `src/Storefront/Resources/views/storefront/page/account/order-history/order-detail-list-item.html.twig`, `src/Storefront/Resources/views/storefront/page/account/order-history/order-item.html.twig`, `src/Storefront/Resources/views/storefront/page/checkout/checkout-aside-item.html.twig` and `src/Storefront/Resources/views/storefront/page/checkout/checkout-item.html.twig` to use the constants defined in `src/Core/Checkout/Cart/LineItem/LineItem.php`. diff --git a/changelog/release-6-4-6-0/2021-10-04-add-customer-into-customer-account-recover-request-event.md b/changelog/release-6-4-6-0/2021-10-04-add-customer-into-customer-account-recover-request-event.md new file mode 100644 index 00000000000..94485784dc1 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-04-add-customer-into-customer-account-recover-request-event.md @@ -0,0 +1,6 @@ +--- +title: Add customer into CustomerAccountRecoverRequestEvent +issue: NEXT-17681 +--- +# Core +* Added `getCustomer` function into `CustomerAccountRecoverRequestEvent` class at `Shopware\Core\Checkout\Customer\Event`. diff --git a/changelog/release-6-4-6-0/2021-10-04-fix-datetime-after-clone.md b/changelog/release-6-4-6-0/2021-10-04-fix-datetime-after-clone.md new file mode 100644 index 00000000000..80eae2f2eee --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-04-fix-datetime-after-clone.md @@ -0,0 +1,9 @@ +--- +title: Fix datetime after clone +issue: NEXT-17728 +author: Vitalij Mik +author_email: cccpmik@gmail.com +author_github: BlackScorp +--- +# Core +* Changed `Shopware\Core\Framework\DataAbstractionLayer\VersionManager::cloneEntity()` to reset the createdAt and modifiedAt timestamps if exists diff --git a/changelog/release-6-4-6-0/2021-10-04-improve-property-cache-invalidation-queries.md b/changelog/release-6-4-6-0/2021-10-04-improve-property-cache-invalidation-queries.md new file mode 100644 index 00000000000..3069da39525 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-04-improve-property-cache-invalidation-queries.md @@ -0,0 +1,6 @@ +--- +title: Improve property cache invalidation queries +issue: NEXT-7479 +--- +# Core +* Changed `\Shopware\Core\Framework\Adapter\Cache\CacheInvalidationSubscriber::getChangedPropertyFilterTags()` to perform multiple queries, instead of joining many tables, thus improving the performance. diff --git a/changelog/release-6-4-6-0/2021-10-05-add-language-locale-provider.md b/changelog/release-6-4-6-0/2021-10-05-add-language-locale-provider.md new file mode 100644 index 00000000000..b7d677a1783 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-05-add-language-locale-provider.md @@ -0,0 +1,22 @@ +--- +title: Add LanguageLocaleProvider +issue: NEXT-10606 +--- +# Core +* Added `\Shopware\Core\System\Locale\LanguageLocaleCodeProvider` to fetch locales for languageIds. +* Changed `\Shopware\Core\Content\Flow\Dispatching\Action\SendMailAction` to use new `LanguageLocaleCodeProvider`, instead of fetching locales manually. +* Changed `\Shopware\Core\Content\MailTemplate\Subscriber\MailSendSubscriber` to use new `LanguageLocaleCodeProvider`, instead of fetching locales manually. +* Changed `\Shopware\Core\Content\Product\Cart\ProductFeatureBuilder` to use new `LanguageLocaleCodeProvider`, instead of fetching locales manually. +* Changed `\Shopware\Core\Content\ProductExport\ScheduledTask\ProductExportPartialGenerationHandler` to use new `LanguageLocaleCodeProvider`, instead of fetching locales manually. +* Changed `\Shopware\Core\Content\ProductExport\Service\ProductExportGenerator` to use new `LanguageLocaleCodeProvider`, instead of fetching locales manually. +* Changed `\Shopware\Core\Framework\Adapter\Translation\Translator` to use new `LanguageLocaleCodeProvider`, instead of fetching locales manually. +* Changed `\Shopware\Core\Framework\App\AppLocaleProvider` to use new `LanguageLocaleCodeProvider`, instead of fetching locales manually. +* Changed `\Shopware\Core\Framework\Store\Services\ExtensionLoader` to use new `LanguageLocaleCodeProvider`, instead of fetching locales manually. +* Changed `\Shopware\Core\System\Currency\CurrencyFormatter` to use new `LanguageLocaleCodeProvider`, instead of fetching locales manually. +* Deprecated the protected properties in `\Shopware\Core\Framework\Context`, because they will be natively typed in the future. If you extend the `Context` class make sure to adhere to type constraints for those properties +___ +# Upgrade Information + +## Context`s properties will be natively typed +The properties of `\Shopware\Core\Framework\Context` will be natively typed in the future. +If you extend the `Context` make sure your implementations adheres to the type constraints for the protected properties. diff --git a/changelog/release-6-4-6-0/2021-10-05-add-missing-remote-addr.md b/changelog/release-6-4-6-0/2021-10-05-add-missing-remote-addr.md new file mode 100644 index 00000000000..90d2bd1d538 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-05-add-missing-remote-addr.md @@ -0,0 +1,9 @@ +--- +title: Add missing remote addr +issue: NEXT-17728 +author: Michiel Kalle +author_email: m.kalle@xsarus.nl +author_github: michielkalle +--- +# Core +* Added `remote_addr` to `shopware.twig.app_variable.allowed_server_params` diff --git a/changelog/release-6-4-6-0/2021-10-05-fix-up-down-navigation-for-cms-sidebar-navigation.md b/changelog/release-6-4-6-0/2021-10-05-fix-up-down-navigation-for-cms-sidebar-navigation.md new file mode 100644 index 00000000000..a38fa31fb9b --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-05-fix-up-down-navigation-for-cms-sidebar-navigation.md @@ -0,0 +1,6 @@ +--- +title: Fix up down navigation for cms sidebar navigation +issue: NEXT-16457 +--- +# Administration +* Changed CMS sidebar navigation to fix up & down movement of sections \ No newline at end of file diff --git a/changelog/release-6-4-6-0/2021-10-05-use-view-from-event.md b/changelog/release-6-4-6-0/2021-10-05-use-view-from-event.md new file mode 100644 index 00000000000..700974e010b --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-05-use-view-from-event.md @@ -0,0 +1,9 @@ +--- +title: Use view from event +issue: NEXT-17713 +author: Rune Laenen +author_email: rune@laenen.me +author_github: runelaenen +--- +# Storefront +* Changed `\Shopware\Storefront\Controller\StorefrontController::renderStorefront` to use the view from the event instead of the original view path. diff --git a/changelog/release-6-4-6-0/2021-10-06-dont-perform-search-on-empty-criteria.md b/changelog/release-6-4-6-0/2021-10-06-dont-perform-search-on-empty-criteria.md new file mode 100644 index 00000000000..229cd7d3f26 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-06-dont-perform-search-on-empty-criteria.md @@ -0,0 +1,7 @@ +--- +title: Don't perform search before read inside EntityRepository for empty criteria +issue: NEXT-12165 +--- +# Core +* Changed `\Shopware\Core\Framework\DataAbstractionLayer\RepositorySearchDetector::isSearchRequired()` to not require search when criteria filters are empty. +* Changed `\Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read()` to perform a read if the filters and ids inside the criteria are empty. diff --git a/changelog/release-6-4-6-0/2021-10-06-feat-return-productid-in-switch-variant.md b/changelog/release-6-4-6-0/2021-10-06-feat-return-productid-in-switch-variant.md new file mode 100644 index 00000000000..5603a5e547d --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-06-feat-return-productid-in-switch-variant.md @@ -0,0 +1,9 @@ +--- +title: Return productId in switch variant +issue: NEXT-17884 +author: Max +author_email: max@swk-web.com +author_github: @aragon999 +--- +# API +* Return in the response of the `frontend.detail.switch` route additionally the `productId` in order to be able to retrieve the `productId` for a specific option combination diff --git a/changelog/release-6-4-6-0/2021-10-06-update-composer-dependency.md b/changelog/release-6-4-6-0/2021-10-06-update-composer-dependency.md new file mode 100644 index 00000000000..2267441aeb0 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-06-update-composer-dependency.md @@ -0,0 +1,7 @@ +--- +title: Update composer dependency +issue: NEXT-17733 +--- +# Core +* Changed version of `composer/composer` dependency to at least 2.1.9, to fix following vulnerability: https://github.com/advisories/GHSA-frqg-7g38-6gcf. +* Changed version constraint of `composer/composer` and `composer/semver` dependencies, to allow minor updates of those packages. diff --git a/changelog/release-6-4-6-0/2021-10-08-add-not-available-field-to-cart-methods.md b/changelog/release-6-4-6-0/2021-10-08-add-not-available-field-to-cart-methods.md new file mode 100644 index 00000000000..d76c633bf5a --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-08-add-not-available-field-to-cart-methods.md @@ -0,0 +1,8 @@ +--- +title: Add not available in method fields in cart +issue: NEXT-17673 +author: Max Stegmeyer +author_email: m.stegmeyer@shopware.com +--- +# Storefront +* Add options for not available methods in `page/checkout/cart/index.html.twig` diff --git a/changelog/release-6-4-6-0/2021-10-11-added-dpg-empty-filter-for-product-cover-image.md b/changelog/release-6-4-6-0/2021-10-11-added-dpg-empty-filter-for-product-cover-image.md new file mode 100644 index 00000000000..6e739aedd65 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-11-added-dpg-empty-filter-for-product-cover-image.md @@ -0,0 +1,11 @@ +--- +title: Added DPG empty filter for product cover image +issue: NEXT-17335 +author: d.neustadt +author_email: d.neustadt@shopware.com +author_github: dneustadt +--- +# Administration +* Added `empty` operator type to `rule-condition.service.js` +* Added `coverId` to allowed properties in `product-stream-condition.service.js` +* Added handling of `empty` operator type in `sw-product-stream-value` component diff --git a/changelog/release-6-4-6-0/2021-10-11-fix-category.cmsPage.locked-error.md b/changelog/release-6-4-6-0/2021-10-11-fix-category.cmsPage.locked-error.md new file mode 100644 index 00000000000..edb6633d183 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-11-fix-category.cmsPage.locked-error.md @@ -0,0 +1,10 @@ +--- +title: Fix category.cmsPage.locked error +issue: NEXT-17744 +author: Niklas Limberg +author_email: n.limberg@shopware.com +author: NiklasLimberg +author_github: NiklasLimberg +--- +# Administration +* Changed `saveSlotConfig()` in `sw-category-detail/index.js` to early return if there isn't a CMS Page selected diff --git a/changelog/release-6-4-6-0/2021-10-11-fix-loading-indicator-in-search-suggest.md b/changelog/release-6-4-6-0/2021-10-11-fix-loading-indicator-in-search-suggest.md new file mode 100644 index 00000000000..68dd356853f --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-11-fix-loading-indicator-in-search-suggest.md @@ -0,0 +1,10 @@ +--- +title: Fix loading indicator in search suggest +issue: NEXT-17882 +author: Sebastian König +author_email: s.koenig@tinect.de +author_github: @tinect +--- +# Storefront +* Changed private method `_suggest` in `SearchWidgetPlugin` to abort client request before the loading indicator is created. This fixes the loading indicator to be removed when the search term has been changed. + diff --git a/changelog/release-6-4-6-0/2021-10-11-fix-number-selected-categories-not-correct.md b/changelog/release-6-4-6-0/2021-10-11-fix-number-selected-categories-not-correct.md new file mode 100644 index 00000000000..64221ac436a --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-11-fix-number-selected-categories-not-correct.md @@ -0,0 +1,7 @@ +--- +title: Fix the number of the selected categories is not correct +issue: NEXT-17707 +--- +# Administration +* Changed `onDeleteCategory` method in `src/module/sw-category/component/sw-category-tree/index.js` to set `checkedElementsCount` when delete item. +* Changed `deleteCheckedItems` method in `src/module/sw-category/component/sw-category-tree/index.js`. diff --git a/changelog/release-6-4-6-0/2021-10-11-keep-the-filter-parameters-on-the-url-after-changing-currency-or-language.md b/changelog/release-6-4-6-0/2021-10-11-keep-the-filter-parameters-on-the-url-after-changing-currency-or-language.md new file mode 100644 index 00000000000..4eeb484e099 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-11-keep-the-filter-parameters-on-the-url-after-changing-currency-or-language.md @@ -0,0 +1,7 @@ +--- +title: Keep the filter parameters on the url after changing currency or language +issue: NEXT-13113 +--- +# Storefront +* Added a new function `_updateRedirectParameters` to `src/Storefront/Resources/app/storefront/src/plugin/forms/form-auto-submit.plugin.js` to update input `redirectParameters` when changing form. +* Added a new function `_createInputForRedirectParameter` to `src/Storefront/Resources/app/storefront/src/plugin/forms/form-auto-submit.plugin.js` to generate html content of input `redirectParameters`. diff --git a/changelog/release-6-4-6-0/2021-10-11-show-cart-errors-in-offcanvas-cart.md b/changelog/release-6-4-6-0/2021-10-11-show-cart-errors-in-offcanvas-cart.md new file mode 100644 index 00000000000..18a600dad3c --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-11-show-cart-errors-in-offcanvas-cart.md @@ -0,0 +1,9 @@ +--- +title: Show cart errors in Offcanvas cart +issue: NEXT-17677 +author: Sebastian Seggewiss +author_email: s.seggewiss@shopware.com +author_github: seggewiss +___ +# Storefront +* Changed route `/checkout/offcanvas` to show cart error on initial request diff --git a/changelog/release-6-4-6-0/2021-10-12-add-filter-toisodate.md b/changelog/release-6-4-6-0/2021-10-12-add-filter-toisodate.md new file mode 100644 index 00000000000..95ef0b8594d --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-12-add-filter-toisodate.md @@ -0,0 +1,7 @@ +--- +title: Add toISODate() filter +issue: NEXT-17055 +___ +# Administration +* Added new `toISODate()` filter in `src/core/service/utils/format.utils.js` +* Changed method `formatDate()` in `src/module/sw-dashboard/page/sw-dashboard-index/index.js` to use the newly added `toISODate()`filter diff --git a/changelog/release-6-4-6-0/2021-10-12-add-validatepaymentstate-to-setpaymentorderroute.md b/changelog/release-6-4-6-0/2021-10-12-add-validatepaymentstate-to-setpaymentorderroute.md new file mode 100644 index 00000000000..b5bc22fde30 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-12-add-validatepaymentstate-to-setpaymentorderroute.md @@ -0,0 +1,12 @@ +--- +title: Add validatePaymentState to SetPaymentOrderRoute +issue: NEXT-16231 +author: Sebastian Seggewiss +author_email: s.seggewiss@shopware.com +author_github: seggewiss +--- +# Core +* Added `\Shopware\Core\Checkout\Order\Exception\PaymentMethodNotChangeableException` +___ +# API +* Changed `/store-api/order/payment` to validate if the transaction status allows for a payment method change diff --git a/changelog/release-6-4-6-0/2021-10-12-added-date-range-selection-to-dashboard-statistics.md b/changelog/release-6-4-6-0/2021-10-12-added-date-range-selection-to-dashboard-statistics.md new file mode 100644 index 00000000000..4b46842b315 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-12-added-date-range-selection-to-dashboard-statistics.md @@ -0,0 +1,13 @@ +--- +title: Added date range selection to dashboard statistics +issue: NEXT-17639 +author: Eric Heinzl +author_email: e.heinzl@shopware.com +--- +# Administration +* Added date range selection to dashboard statistics in `src/Administration/Resources/app/administration/src/module/sw-dashboard/page/sw-dashboard-index` +* Added fillEmptyValues prop in `src/Administration/Resources/app/administration/src/app/component/base/sw-chart/index.js`. You can now also define your time unit _(day/hour/minute)_ + * Added possibility to fill in zero values for hours and minutes _(before only days were available)_ +* Deprecated computed `orderCountMonthSeries` in `src/Administration/Resources/app/administration/src/module/sw-dashboard/page/sw-dashboard-index/index.js`. Please use `orderCountSeries` instead +* Deprecated computed `orderSumMonthSeries` in `src/Administration/Resources/app/administration/src/module/sw-dashboard/page/sw-dashboard-index/index.js`. Please use `orderSumSeries` instead +* Deprecated `fillEmptyDates` prop in `src/Administration/Resources/app/administration/src/app/component/base/sw-chart/index.js`. Please use `fillEmptyValues` instead diff --git a/changelog/release-6-4-6-0/2021-10-12-allow-to-bulk-update-customer-group-registration-api.md b/changelog/release-6-4-6-0/2021-10-12-allow-to-bulk-update-customer-group-registration-api.md new file mode 100644 index 00000000000..ea15e6e22bc --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-12-allow-to-bulk-update-customer-group-registration-api.md @@ -0,0 +1,10 @@ +--- +title: Allow bulking update for Customer Group Registration Api +issue: NEXT-17874 +--- +# Core +* Changed `\Shopware\Core\Checkout\Customer\Api\CustomerGroupRegistrationActionController` to accept `customerIds` and `silentError` as body parameter to allow bulking accept or decline API +* Deprecated `customerId` route parameter in `api.customer-group.accept` and `api.customer-group.decline` api, use `customerIds` in body instead +___ +# Administration +* Changed `customer-group-registration.api.service.js` accept and decline methods to send customerId in `customerIds` body payload instead of as a route parameter diff --git a/changelog/release-6-4-6-0/2021-10-12-extract-property-whitelist-into-constant-for-easier-comprehension-of-code-relation.md b/changelog/release-6-4-6-0/2021-10-12-extract-property-whitelist-into-constant-for-easier-comprehension-of-code-relation.md new file mode 100644 index 00000000000..66f08f25574 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-12-extract-property-whitelist-into-constant-for-easier-comprehension-of-code-relation.md @@ -0,0 +1,9 @@ +--- +title: Extract property-whitelist into constant for easier comprehension of code relation +issue: NEXT-17955 +author: Joshua Behrens +author_email: code@joshua-behrens.de +author_github: @JoshuaBehrens +--- +# Core +* Added new constant `\Shopware\Core\Content\Product\SalesChannel\Listing\ProductListingFeaturesSubscriber::PROPERTY_GROUP_IDS_REQUEST_PARAM` and used it in `\Shopware\Core\Content\Product\Cms\ProductListingCmsElementResolver::restrictFilters` to visualize code relation diff --git a/changelog/release-6-4-6-0/2021-10-12-introduce-core.cart.paymentfinalizetransactiontime-configuration-to-allow-admin-user-change-the-duration-of-payment-finalization.md b/changelog/release-6-4-6-0/2021-10-12-introduce-core.cart.paymentfinalizetransactiontime-configuration-to-allow-admin-user-change-the-duration-of-payment-finalization.md new file mode 100644 index 00000000000..bea3ad043ed --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-12-introduce-core.cart.paymentfinalizetransactiontime-configuration-to-allow-admin-user-change-the-duration-of-payment-finalization.md @@ -0,0 +1,10 @@ +--- +title: Introduce core.cart.paymentFinalizeTransactionTime configuration to allow admin user change the duration of payment finalization +issue: NEXT-17956 +author: Joshua Behrens +author_email: code@joshua-behrens.de +author_github: @JoshuaBehrens +--- + +# Core +* Added configuration `core.cart.paymentFinalizeTransactionTime` to allow configuration based token lifetime generated in `\Shopware\Core\Checkout\Payment\Cart\PaymentTransactionChainProcessor::process` which defaults to 30 minutes diff --git a/changelog/release-6-4-6-0/2021-10-12-load-additional-bundles-in-order.md b/changelog/release-6-4-6-0/2021-10-12-load-additional-bundles-in-order.md new file mode 100644 index 00000000000..c8e21945bd1 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-12-load-additional-bundles-in-order.md @@ -0,0 +1,24 @@ +--- +title: Load additional bundles in order +issue: NEXT-17948 +author: Joshua Behrens +author_email: code@joshua-behrens.de +author_github: @JoshuaBehrens +--- +# Core +* Changed bundle loading order by the keys from `\Shopware\Core\Framework\Plugin::getAdditionalBundles` in `\Shopware\Core\Framework\Plugin\KernelPluginLoader\KernelPluginLoader::getBundles` to allow bundle loading prior the plugin itself +___ +# Upgrade Information +When you depend on a self-shipped bundle to already been loaded before your plugin, you can now use negative keys in `getAdditionalBundles` to express a different order. Use negative keys to load them before your plugin instance: + +``` +class AcmePlugin extends Plugin +{ + public function getAdditionalBundles(AdditionalBundleParameters $parameters): array + { + return [ + -10 => new DependencyBundle(), + ]; + } +} +``` diff --git a/changelog/release-6-4-6-0/2021-10-12-remove-check-of-variable-storageexists-in-cartwidgetplugin.md b/changelog/release-6-4-6-0/2021-10-12-remove-check-of-variable-storageexists-in-cartwidgetplugin.md new file mode 100644 index 00000000000..c94166746d1 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-12-remove-check-of-variable-storageexists-in-cartwidgetplugin.md @@ -0,0 +1,9 @@ +--- +title: Remove check of variable storageExists in CartWidgetPlugin +issue: next-17937 +author: Sebastian König +author_email: s.koenig@tinect.de +author_github: @tinect +--- +# Storefront +* Changed method `insertStoredContent` of `CartWidgetPlugin` to ignore variable `_storageExists` which never exists diff --git a/changelog/release-6-4-6-0/2021-10-12-removed-cms-pdp-layout-api-recursion.md b/changelog/release-6-4-6-0/2021-10-12-removed-cms-pdp-layout-api-recursion.md new file mode 100644 index 00000000000..aa608e36bd2 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-12-removed-cms-pdp-layout-api-recursion.md @@ -0,0 +1,6 @@ +--- +title: Removed CMS PDP layout api recursion +issue: NEXT-17603 +--- +# API +* Changed variables in objects of `Core/Content/Cms/SalesChannel/Struct` to private, to avoid API recursion \ No newline at end of file diff --git a/changelog/release-6-4-6-0/2021-10-13-disable-duplicate-of-unduplicable-elements.md b/changelog/release-6-4-6-0/2021-10-13-disable-duplicate-of-unduplicable-elements.md new file mode 100644 index 00000000000..22099d94cd0 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-13-disable-duplicate-of-unduplicable-elements.md @@ -0,0 +1,9 @@ +--- +title: Disable duplicate of unduplicable elements +issue: NEXT-16456 +--- +# Administration +* Changed behavior of CMS detail page: + * Blocks aren't duplicable anymore, when they're considerd "unique" on Product Detail Page layout + * When those blocks are removed and the Missing Element Modal triggers, decling to save will reload the page to get those removed blocks back +* Added `duplicable` parameter to `sw-cms-sidebar-nav-element` \ No newline at end of file diff --git a/changelog/release-6-4-6-0/2021-10-13-fix-link-breaking-in-cms.md b/changelog/release-6-4-6-0/2021-10-13-fix-link-breaking-in-cms.md new file mode 100644 index 00000000000..e92a4863389 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-13-fix-link-breaking-in-cms.md @@ -0,0 +1,9 @@ +--- +title: Fix link breaking in CMS +issue: NEXT-16862 +--- +# Administration +* Changed styling of links in `app/administration/src/app/assets/scss/global.scss`, so that they break, if they're too long +___ +# Storefront +* Changed styling of text-editor elements in `app/storefront/src/scss/component/_cms-element.scss`, so that those break, if words are too long diff --git a/changelog/release-6-4-6-0/2021-10-13-fix-small-thumbnails-in-checkout.md b/changelog/release-6-4-6-0/2021-10-13-fix-small-thumbnails-in-checkout.md new file mode 100644 index 00000000000..6be6d693dbd --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-13-fix-small-thumbnails-in-checkout.md @@ -0,0 +1,9 @@ +--- +title: Fix small thumbnails in checkout +issue: NEXT-8609 +author: Jakob Kruse +author_email: j.kruse@shopware.com +author_github: jakob-kruse +--- +# Storefront +* Changed cart item thumbnails in `Resources/views/storefront/page/checkout/checkout-item.html.twig` by applying additional styles for class `.cart-item-img` to always be a square containing the cover image instead of varying sizes. diff --git a/changelog/release-6-4-6-0/2021-10-13-login-guests-with-their-id.md b/changelog/release-6-4-6-0/2021-10-13-login-guests-with-their-id.md new file mode 100644 index 00000000000..0afd71978b8 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-13-login-guests-with-their-id.md @@ -0,0 +1,9 @@ +--- +title: Login guests with their ID +issue: NEXT-17934 +author: Frederik Schmitt +author_email: f.schmitt@shopware.com +author_github: fschmtt +--- +# Storefront +* Changed `Shopware\Storefront\Page\Account\Order\AccountOrderPageLoader::load()` to login guests using `Shopware\Core\Checkout\Customer\SalesChannel\AccountService::loginById()` rather than their email address diff --git a/changelog/release-6-4-6-0/2021-10-13-maintenance-ip-whitelist-fix-return-type.md b/changelog/release-6-4-6-0/2021-10-13-maintenance-ip-whitelist-fix-return-type.md new file mode 100644 index 00000000000..234bb5aff26 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-13-maintenance-ip-whitelist-fix-return-type.md @@ -0,0 +1,9 @@ +--- +title: Fix SalesChannel Maintenance IP Whitelist data type +issue: NEXT-17958 +author: Carsten Pfeifer +author_email: 7595296+pogster@users.noreply.github.com +author_github: pogster +--- +# Core +* Changed data type of `SalesChannelEntity::$maintenanceIpWhitelist` from `string` to `array` diff --git a/changelog/release-6-4-6-0/2021-10-13-promotion-adjustments-for-external-plugins.md b/changelog/release-6-4-6-0/2021-10-13-promotion-adjustments-for-external-plugins.md new file mode 100644 index 00000000000..1d870ad918c --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-13-promotion-adjustments-for-external-plugins.md @@ -0,0 +1,11 @@ +--- +title: Promotion adjustments for external plugins +issue: NEXT-17910 +author_github: @Dominik28111 +--- +# Core +* Added class `Shopware\Core\Checkout\Cart\LineItem\Group\RulesMatcher\AnyRuleLineItemMatcher` to add the possibillity to extend the matching condition. +* Changed method `Shopware\Core\Checkout\Cart\LineItem\Group\RulesMatcher\AnyRuleMatcher::getMatchingItems()` to use `AnyRuleLineItemMatcher`. +* Changed method `Shopware\Core\Checkout\Cart\LineItem\Group\LineItemGroupBuilder::findGroupPackages()` to use `ProductLineItemProvider`. +* Changed method `Shopware\Core\Checkout\Cart\LineItem\Group\LineItemGroupBuilder::splitQuantities()` to set stackable state to true temporarily to avoid issues with external plugins. +* Added class `Shopware\Core\Checkout\Cart\LineItem\Group\ProductLineItemProvider` to add the possibility to extend the line item types used in promotions. diff --git a/changelog/release-6-4-6-0/2021-10-13-set-privacyUrl-and-tosUrl.md b/changelog/release-6-4-6-0/2021-10-13-set-privacyUrl-and-tosUrl.md new file mode 100644 index 00000000000..b2905b24087 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-13-set-privacyUrl-and-tosUrl.md @@ -0,0 +1,9 @@ +--- +title: Set privacyUrl and tosUrl correctly +issue: NEXT-17851 +author: Robert Nowotny +author_email: rnowotny1966@gmail.com +author_github: @bitranox +--- +# Storefront +* Deprecated `%url%` in favor of `%privacyUrl%` and `tosUrl` in `cms-element-form-privacy.html.twig` diff --git a/changelog/release-6-4-6-0/2021-10-14-add-trigger-flows-switch-in-bulk-edit.md b/changelog/release-6-4-6-0/2021-10-14-add-trigger-flows-switch-in-bulk-edit.md new file mode 100644 index 00000000000..aa56a9959e5 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-14-add-trigger-flows-switch-in-bulk-edit.md @@ -0,0 +1,20 @@ +--- +title: Add trigger flows switch in bulk edit +issue: NEXT-17908 +--- +# Core +* Added a new public constant `HEADER_SKIP_TRIGGER_FLOW = 'sw-skip-trigger-flow'` in `Shopware\Core\PlatformRequest`. +* Added new state `SKIP_TRIGGER_FLOW` in `Shopware\Core\Framework\Context`. +* Changed `Shopware\Core\Framework\Routing\ApiRequestContextResolver` to add `SKIP_TRIGGER_FLOW` state to the context from the request headers. +___ +# Administration +* Added `bulkEditData` prop in `sw-bulk-edit-save-modal` and `sw-bulk-edit-save-modal-confirm` components. +* Added the following computed properties in `sw-bulk-edit-save-modal-confirm` component: + * `isFlowTriggered` + * `triggeredFlows` +* Added `sw_bulk_edit_save_modal_confirm_trigger_flows` block in `sw-bulk-edit-save-modal-confirm` component template. +* Added the following lifecycles in `sw-bulk-edit-order` component: + * `beforeCreate` + * `beforeDestroy` +* Changed `bulkEditStatus` method in `src/module/sw-bulk-edit/service/handler/bulk-edit-order.handler.js`. +* Added `state` in `sw-bulk-edit` module. diff --git a/changelog/release-6-4-6-0/2021-10-14-delete-links-from-the-editor-not-possible.md b/changelog/release-6-4-6-0/2021-10-14-delete-links-from-the-editor-not-possible.md new file mode 100644 index 00000000000..2fcf7729494 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-14-delete-links-from-the-editor-not-possible.md @@ -0,0 +1,12 @@ +--- +title: Delete links from the editor not possible +issue: NEXT-17700 +author: Niklas Limberg +author_email: n.limberg@shopware.com +--- +# Administration +* Changed method `onButtonClick` in `sw-text-editor-toolbar/index.js` to allow the new button type `link-remove` +* Added the new class `sw-text-editor-toolbar-button__link-menu-buttons-button-remove` in `sw-text-editor-toolbar-button.html.twig` +* Added method `onRemoveLink` in `sw-text-editor/index.js` to implement the new link removal functionality +* Added handler for the new `removeLink` event emited in the `onButtonClick` method in `sw-text-editor.html.twig` +* Removed `sw-text-editor-toolbar.link.insert` snippet and replaced it with snippets from the `global.default` namespace \ No newline at end of file diff --git a/changelog/release-6-4-6-0/2021-10-14-remove-feature-flag-for-flow-builder.md b/changelog/release-6-4-6-0/2021-10-14-remove-feature-flag-for-flow-builder.md new file mode 100644 index 00000000000..f34f4a8629c --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-14-remove-feature-flag-for-flow-builder.md @@ -0,0 +1,10 @@ +--- +title: Remove feature flag for Flow Builder +issue: NEXT-17397 +--- +# Core +* Removed feature flag `FEATURE_NEXT_8225`. +* Added a migration class `Shopware\Core\Migration\V6_4\Migration1632215760MoveDataFromEventActionToFlow` to migrate data from `event_action` to `flow` table. +___ +# Administration +* Removed feature flag `FEATURE_NEXT_8225`. diff --git a/changelog/release-6-4-6-0/2021-10-14-remove-method-in-customer-deleted-event.md b/changelog/release-6-4-6-0/2021-10-14-remove-method-in-customer-deleted-event.md new file mode 100644 index 00000000000..71aa2f93a85 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-14-remove-method-in-customer-deleted-event.md @@ -0,0 +1,7 @@ +--- +title: Remove method in customer deleted event. +issue: NEXT-17899 +--- +# Core +* Removed implementation `CustomerAware` in `CustomerDeletedEvent` class from `Shopware\Core\Checkout\Customer\Event`. +* Removed `getCustomerId` function in `CustomerDeletedEvent` class from `Shopware\Core\Checkout\Customer\Event`. diff --git a/changelog/release-6-4-6-0/2021-10-14-remove-slot-config-overriding-template-config-bug.md b/changelog/release-6-4-6-0/2021-10-14-remove-slot-config-overriding-template-config-bug.md new file mode 100644 index 00000000000..25afe69d64a --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-14-remove-slot-config-overriding-template-config-bug.md @@ -0,0 +1,7 @@ +--- +title: Remove slot config overriding template config bug +issue: NEXT-17940 +--- +# Administration +* Changed `app/administration/src/module/sw-category/page/sw-category-detail/index.js` behavior, to not replace the template config with the slot config anymore +* Deprecated method `saveSlotConfig` in `app/administration/src/module/sw-category/page/sw-category-detail/index.js` diff --git a/changelog/release-6-4-6-0/2021-10-15-add-block-for-additional-tabs-in-product-detail-page.md b/changelog/release-6-4-6-0/2021-10-15-add-block-for-additional-tabs-in-product-detail-page.md new file mode 100644 index 00000000000..9d2be5f1dbc --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-15-add-block-for-additional-tabs-in-product-detail-page.md @@ -0,0 +1,7 @@ +--- +title: Add block for additional tabs in product detail page +issue: NEXT-17992 +author_github: boxblinkracer +--- +# Administration +* Added new block `sw_product_detail_content_tabs_additional` to `module/sw-product/page/sw-product-detail/sw-product-detail.html.twig` diff --git a/changelog/release-6-4-6-0/2021-10-15-fix-json-field-serializer-invalid-characters.md b/changelog/release-6-4-6-0/2021-10-15-fix-json-field-serializer-invalid-characters.md new file mode 100644 index 00000000000..548e180d222 --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-15-fix-json-field-serializer-invalid-characters.md @@ -0,0 +1,8 @@ +--- +title: Fix JsonFieldSerializer for invalid UTF8 characters +issue: NEXT-17698 +author: Maximilian Ruesch +author_email: maximilian.ruesch@pickware.de +--- +# Core +* The JsonFieldSerializer now ignores invalid UTF8 characters and throws more precise exceptions if it fails to encode a value. diff --git a/changelog/release-6-4-6-0/2021-10-15-fix-zoom-buttons.md b/changelog/release-6-4-6-0/2021-10-15-fix-zoom-buttons.md new file mode 100644 index 00000000000..62c737f6f4e --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-15-fix-zoom-buttons.md @@ -0,0 +1,9 @@ +--- +title: Fix image zoom disabled state +issue: NEXT-11578 +author: Ramona Schwering +author_email: r.schwering@shopware.com +author_github: leichteckig +--- +# Storefront +* Changed maximum image zoom size in image zoom plugin (`image-zoom.plugin.js`): It should allow zoom button to be enabled and zoom in more than the size of the picture itself by using `multiply(2)`. diff --git a/changelog/release-6-4-6-0/2021-10-15-update-aws-library.md b/changelog/release-6-4-6-0/2021-10-15-update-aws-library.md new file mode 100644 index 00000000000..c1a9a195c7c --- /dev/null +++ b/changelog/release-6-4-6-0/2021-10-15-update-aws-library.md @@ -0,0 +1,8 @@ +--- +title: Update aws library +issue: NEXT-17298 +--- + +# Core +* Changed dependency version of `aws/aws-sdk-php` from `3.133.6` to `3.198.5` +* Changed dependency version of `google/cloud-storage` from `1.17.0` to `1.25.1` diff --git a/composer.json b/composer.json index b979c158be1..c2cb628b3ca 100644 --- a/composer.json +++ b/composer.json @@ -2,6 +2,7 @@ "name": "shopware/platform", "description": "The Shopware e-commerce core", "type": "library", + "version": "6.4.6.0", "keywords": [ "framework", "shopware" diff --git a/src/Administration/composer.json b/src/Administration/composer.json index c0b3328582e..5a2fa68b8b7 100644 --- a/src/Administration/composer.json +++ b/src/Administration/composer.json @@ -2,6 +2,7 @@ "name": "shopware/administration", "description": "Administration frontend for the Shopware Core", "type": "library", + "version": "6.4.6.0", "license": "MIT", "autoload": { "psr-4": { diff --git a/src/Core/composer.json b/src/Core/composer.json index 2c07e751d05..1b3fc8f5ab7 100644 --- a/src/Core/composer.json +++ b/src/Core/composer.json @@ -1,6 +1,7 @@ { "name": "shopware/core", "type": "library", + "version": "6.4.6.0", "description": "Shopware platform is the core for all Shopware ecommerce products.", "keywords": [ "shopware", diff --git a/src/Docs/composer.json b/src/Docs/composer.json index 0c481be2266..0b76691b86d 100644 --- a/src/Docs/composer.json +++ b/src/Docs/composer.json @@ -2,6 +2,7 @@ "name": "shopware/docs", "description": "Docs for the Shopware Core", "type": "library", + "version": "6.4.6.0", "license": "MIT", "autoload": { "psr-4": { diff --git a/src/Elasticsearch/composer.json b/src/Elasticsearch/composer.json index 5bccca968e0..8e646155daa 100644 --- a/src/Elasticsearch/composer.json +++ b/src/Elasticsearch/composer.json @@ -2,6 +2,7 @@ "name": "shopware/elasticsearch", "description": "Elasticsearch for Shopware", "type": "library", + "version": "6.4.6.0", "license": "MIT", "autoload": { "psr-4": { diff --git a/src/Recovery/composer.json b/src/Recovery/composer.json index b6990a9ffe4..698c0516b4f 100644 --- a/src/Recovery/composer.json +++ b/src/Recovery/composer.json @@ -2,6 +2,7 @@ "name": "shopware/recovery", "description": "Recovery for Shopware", "type": "library", + "version": "6.4.6.0", "license": "MIT", "minimum-stability": "stable", "require": { diff --git a/src/Storefront/composer.json b/src/Storefront/composer.json index f8d95713008..69b5595df34 100644 --- a/src/Storefront/composer.json +++ b/src/Storefront/composer.json @@ -2,6 +2,7 @@ "name": "shopware/storefront", "description": "Storefront for Shopware", "type": "library", + "version": "6.4.6.0", "license": "MIT", "autoload": { "psr-4": {