From b3e4a494d2222ffcad7d8792e146e1f062831360 Mon Sep 17 00:00:00 2001 From: Marco Steinhaeuser Date: Tue, 7 Jan 2025 15:35:03 +0100 Subject: [PATCH 01/12] initial commit v6.6.10.0 --- src/6.6/6.6.10.0.md | 67 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 src/6.6/6.6.10.0.md diff --git a/src/6.6/6.6.10.0.md b/src/6.6/6.6.10.0.md new file mode 100644 index 0000000..5c220cd --- /dev/null +++ b/src/6.6/6.6.10.0.md @@ -0,0 +1,67 @@ +--- +nav: + title: v6.6.10.0 +meta: + date: 2025-01-xx +--- + +# Release notes Shopware 6.6.10.0 + +## Abstract + +This minor release contains + +## System requirements + +* tested on PHP 8.2 and 8.3 +* tested on MySQL 8 and MariaDB 10.11 + +## Improvements + + +## Fixed bugs + +* [NEXT-39764](https://github.com/shopware/shopware/issues/5669) - Cloud Very long loading & crash from website with many promotion codes +* [NEXT-39718](https://github.com/shopware/shopware/issues/5629) - Restoring currency inheritance breaks advanced pricing +* [NEXT-39690](https://github.com/shopware/shopware/issues/5529) - A11y - OU: Lacking descriptive page titles +* [NEXT-39645](https://github.com/shopware/shopware/issues/5508) - A11y: Subscriptions - lacking descriptive page titles +* [NEXT-39643](https://github.com/shopware/shopware/issues/5506) - A11y: Employee Management - error handling on detail pages for VO +* [NEXT-39635](https://github.com/shopware/shopware/issues/5501) - A11y/Usability: Product slider - Missing slide controls (unlike Image Slider) +* [NEXT-39576](https://github.com/shopware/shopware/issues/5475) - A11y - OU: ARIA dialog and alert dialog nodes should have an accessible name +* [NEXT-39575](https://github.com/shopware/shopware/issues/5473) - A11y - OU: Heading levels should only increase by one +* [NEXT-39574](https://github.com/shopware/shopware/issues/5474) - A11y - OU: Table header text should not be empty +* [NEXT-39573](https://github.com/shopware/shopware/issues/5472) - A11y - OU: Buttons must have discernible text +* [NEXT-39571](https://github.com/shopware/shopware/issues/5471) - A11y - OU: Form elements must have labels +* [NEXT-39570](https://github.com/shopware/shopware/issues/5469) - A11y - OU: Links must have discernible text +* [NEXT-39568](https://github.com/shopware/shopware/issues/5470) - A11y - OU: Autocomplete attribute must be used correctly +* [NEXT-39567](https://github.com/shopware/shopware/issues/5468) - A11y - OU: Elements must only use supported ARIA attributes +* [NEXT-39546](https://github.com/shopware/shopware/issues/5465) - product.available set to "0" if is_closeout IS NULL instead of "0" + +## Credits + +* [null](https://github.com/null) +* [ROBJkE](https://github.com/ROBJkE) +* [Schrank](https://github.com/Schrank) +* [g-volker](https://github.com/g-volker) +* [amenk](https://github.com/amenk) +* [lacknere](https://github.com/lacknere) +* [akf-bw](https://github.com/akf-bw) +* [SpiGAndromeda](https://github.com/SpiGAndromeda) +* [aragon999](https://github.com/aragon999) +* [niklaswolf](https://github.com/niklaswolf) +* [patzick](https://github.com/patzick) +* [OliverSkroblin](https://github.com/OliverSkroblin) + +Thanks to all diligent friends for helping us make Shopware better and better with each pull request! + +## More resources + +* [Detailed diff on Github](https://github.com/shopware/shopware/compare/v6.6.9.0...v6.6.10.0) to the former version +* [Changelog on GitHub](https://github.com/shopware/shopware/blob/v6.6.10.0/CHANGELOG.md) for this version +* [Release News on corporate blog](https://www.shopware.com/en/news/shopware-6-release-news-january-2025/) +* [Installation overview](https://developer.shopware.com/docs/guides/installation/) +* [Update from a previous installation](https://developer.shopware.com/docs/guides/installation/template.html#update-shopware) + +## Get in touch + +Discuss about decisions, bugs you might stumble upon, etc in our [community slack](https://shopwarecommunity.slack.com/). See you there ;) From 8765f58ea97dc9df981b097c22422af2f5ccce0d Mon Sep 17 00:00:00 2001 From: SilverDuy Date: Wed, 15 Jan 2025 16:26:20 +0700 Subject: [PATCH 02/12] Added improvements for v6.6.10.0 --- src/6.6/6.6.10.0.md | 66 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 65 insertions(+), 1 deletion(-) diff --git a/src/6.6/6.6.10.0.md b/src/6.6/6.6.10.0.md index 5c220cd..37eb82b 100644 --- a/src/6.6/6.6.10.0.md +++ b/src/6.6/6.6.10.0.md @@ -2,7 +2,7 @@ nav: title: v6.6.10.0 meta: - date: 2025-01-xx + date: 2025-01-15 --- # Release notes Shopware 6.6.10.0 @@ -17,7 +17,71 @@ This minor release contains * tested on MySQL 8 and MariaDB 10.11 ## Improvements +### Upgrade to Symfony 7.2 +* Changed `symfony/*` dependencies to `^7.2` +### Bulk entity extension +* Deprecated EntityExtension::getDefinitionClass. It will be replaced by `EntityExtension::getEntityName`, which needs to return the entity name. + + +Before: + +```php + Date: Mon, 27 Jan 2025 13:29:48 +0000 Subject: [PATCH 03/12] update changelog --- src/6.6/6.6.10.0.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/6.6/6.6.10.0.md b/src/6.6/6.6.10.0.md index 37eb82b..3567e7b 100644 --- a/src/6.6/6.6.10.0.md +++ b/src/6.6/6.6.10.0.md @@ -20,10 +20,21 @@ This minor release contains ### Upgrade to Symfony 7.2 * Changed `symfony/*` dependencies to `^7.2` +### Addition of MySQLInvalidatorStorage +* Added a new MySQL cache invalidator storage so you can take advantage of delayed cache invalidation without needing Redis (Redis is still preferred). + +### [A11y-HTML] Offer HTML alternative to our pdf standard documents +* Added HTML alternative to our pdf standard documents + +### Introduce global template data for language and navigation +* Added global template data for language and navigation + +### Introduce Edge Side Includes for header and footer +* Added ESI for header and footer + ### Bulk entity extension * Deprecated EntityExtension::getDefinitionClass. It will be replaced by `EntityExtension::getEntityName`, which needs to return the entity name. - Before: ```php From a24d632db54d356fbdea2489b950fa5dd60d7545 Mon Sep 17 00:00:00 2001 From: Emre Imamoglu Date: Fri, 31 Jan 2025 14:16:29 +0100 Subject: [PATCH 04/12] update changelog --- src/6.6/6.6.10.0.md | 69 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 68 insertions(+), 1 deletion(-) diff --git a/src/6.6/6.6.10.0.md b/src/6.6/6.6.10.0.md index 3567e7b..6bbeeb6 100644 --- a/src/6.6/6.6.10.0.md +++ b/src/6.6/6.6.10.0.md @@ -21,10 +21,77 @@ This minor release contains * Changed `symfony/*` dependencies to `^7.2` ### Addition of MySQLInvalidatorStorage -* Added a new MySQL cache invalidator storage so you can take advantage of delayed cache invalidation without needing Redis (Redis is still preferred). +* Introduced `\Shopware\Core\Framework\Adapter\Cache\InvalidatorStorage\MySQLInvalidatorStorage` to collect and handle cache invalidations in MySQL as an atomic operation. +* This new storage option allows delayed cache invalidation without requiring Redis (though Redis remains the recommended solution). +* To switch to MySQL for delayed cache invalidation, update your configuration as follows: +```yaml +shopware: + cache: + invalidation: + delay: 1 + delay_options: + storage: mysql +``` ### [A11y-HTML] Offer HTML alternative to our pdf standard documents * Added HTML alternative to our pdf standard documents +#### Core: + +* Changed `Shopware\Core\Checkout\Document\Renderer\CreditNoteRenderer::render` + * to `setTemplate` for `RenderedDocument` + * to `setContext` for `RenderedDocument` + * to `setOrder` for `RenderedDocument` +* Changed `Shopware\Core\Checkout\Document\Renderer\DeliveryNoteRenderer::render` + * to `setTemplate` for `RenderedDocument` + * to `setContext` for `RenderedDocument` + * to `setOrder` for `RenderedDocument` +* Changed `Shopware\Core\Checkout\Document\Renderer\InvoiceRenderer::render` + * to `setTemplate` for `RenderedDocument` + * to `setContext` for `RenderedDocument` + * to `setOrder` for `RenderedDocument` +* Changed `Shopware\Core\Checkout\Document\Renderer\StornoRenderer::render` + * to `setTemplate` for `RenderedDocument` + * to `setContext` for `RenderedDocument` + * to `setOrder` for `RenderedDocument` +* Added parameters `template`, `context`, `order` in `Shopware\Core\Checkout\Document\Renderer\RenderedDocument`. +* Changed `Shopware\Core\Checkout\Document\SalesChannel\DocumentRoute::download` to implement authenticate for customer. +* Changed `Shopware\Core\Checkout\Document\Service\DocumentGenerator::readDocument` to load the media based on `fileType`. +* Changed `Shopware\Core\Checkout\Document\Service\DocumentGenerator::generate` to save `documentA11yMediaFileId` field. +* Changed `Shopware\Core\Checkout\Document\Service\DocumentGenerator::preview` to set the content based on `fileType`. +* Added `Shopware\Core\Checkout\Document\Service\DocumentFileRendererRegistry` to callable render by contentType. +* Added `Shopware\Core\Checkout\Document\Service\HtmlRenderer` to render the document file. +* Changed `Shopware\Core\Checkout\Document\Service\PdfRenderer` to use `documentTemplateRenderer` render the document. +* Changed `Shopware\Core\Checkout\Document\Controller\DocumentController::downloadDocument` to add the `fileType` configuration to the `DocumentGenerator`. +* Changed `src/Core/Framework/Resources/views/documents/base.html.twig` to implement accessibility for HTML documents. +* Added `Shopware\Core\Framework\Event\A11yRenderedDocumentAware` to provide the document ids to render the A11y document. +* Added `Shopware\Core\Content\Flow\Dispatching\Storer\A11yRenderedDocumentStorer` to store the document ids and documents to render the A11y documents. +* Changed `Shopware\Core\Checkout\Order\Event\OrderStateMachineStateChangeEvent` to implements `A11yRenderedDocumentAware` + +#### Administration : + +* Changed method `getDocumentPreview` in `document.api.service` service to add the `fileType` like attributes. +* Changed `sw-order-document-card`. + * `onPreview` method to add new `fileType` attribute. + * `openDocument` method to add new `fileType` attribute. + * `downloadDocument` method to add new `fileType` attribute. + * `getDocumentColumns` computed to add new column `fileTypes`. +* Added method `availableFormatsFilter` in `sw-order-document-card` component to filter the available formats. +* Added block `sw_order_document_card_grid_column_avaiable_formats` in `sw-order-document-card.html.twig` to show the available formats column. +* Changed method `onPreview` in `sw-order-document-settings-modal` component to add new `fileType` attribute. +* Changed method `onPreview` in `sw-order-document-settings-credit-note-modal` component to add new `fileType` attribute. +* Changed method `onPreview` in `sw-order-document-settings-delivery-note-modal` component to add new `fileType` attribute. +* Changed method `onPreview` in `sw-order-document-settings-invoice-modal` component to add new `fileType` attribute. +* Added block `sw_order_document_settings_modal_form_document_footer_preview` in `sw-order-document-settings-modal.html.twig` to show the preview HTML button. +* Added method `loadTheLinksForA11y` in `sw-order-send-document-modal` component to load the HTML links for a11y. +* Changed method `onSendDocument` in `sw-order-send-document-modal` component to add `a11yDocuments` attribute for `mailService.sendMailTemplate`. +* Changed data `generalFormFields` in `sw-settings-document-detail` component to add `config` `fileTypes` to show formats like . +* Added method `onRemoveDocumentType` in `sw-settings-document-detail` component to remove item with `sw-multi-select` component. +* Added method `onAddDocumentType` in `sw-settings-document-detail` component to add item with `sw-multi-select` component. +* Added block `sw_settings_document_detail_content_form_field_renderer_multi_select` in `sw-settings-document-detail.html.twig` to show the multi select component. + +#### Storefront : + +* Changed block `page_account_order_document_item_detail_file_name` in `src/Storefront/Resources/views/storefront/page/account/order-history/order-detail-document-item.html.twig` to add the link to render `html` document. ### Introduce global template data for language and navigation * Added global template data for language and navigation From 640a39afebf737ffe9b0ef4c348cdf1a2db537f1 Mon Sep 17 00:00:00 2001 From: "D.Francos" <98743463+dfrancos-hub@users.noreply.github.com> Date: Fri, 31 Jan 2025 13:20:29 +0000 Subject: [PATCH 05/12] update release notes --- src/6.6/6.6.10.0.md | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/src/6.6/6.6.10.0.md b/src/6.6/6.6.10.0.md index 6bbeeb6..cb2b7e2 100644 --- a/src/6.6/6.6.10.0.md +++ b/src/6.6/6.6.10.0.md @@ -94,10 +94,30 @@ shopware: * Changed block `page_account_order_document_item_detail_file_name` in `src/Storefront/Resources/views/storefront/page/account/order-history/order-detail-document-item.html.twig` to add the link to render `html` document. ### Introduce global template data for language and navigation -* Added global template data for language and navigation - -### Introduce Edge Side Includes for header and footer -* Added ESI for header and footer +* Added new Twig function sw_breadcrumb_full_by_id to get the full breadcrumb for a category ID. +* Added \Shopware\Storefront\Framework\Twig\NavigationInfo to the global shopware Twig variable, to provide the ID of the main navigation and the current navigation path as ID list. +* Added minSearchLength to the global shopware Twig variable, which defines the minimum search term length. +* Added showStagingBanner to the global shopware Twig variable, which defines if the staging banner should be shown. +* Deprecated the global showStagingBanner Twig variable. Use shopware.showStagingBanner instead. +* Deprecated the usage of the header and footer properties of page Twig objects outside the dedicated header and footer templates. Use the following alternatives instead: + * context.currency instead of page.header.activeCurrency + * shopware.navigation.id instead of page.header.navigation.active.id + * shopware.navigation.pathIdList instead of page.header.navigation.active.path + * context.saleschannel.languages.first instead of page.header.activeLanguage +* Added new optional parameter serviceMenu of type \Shopware\Core\Content\Category\CategoryCollection to \Shopware\Storefront\Pagelet\Footer\FooterPagelet. It will be required in the next major version. + +### Introduce Edge Side Includes (ESI) for header and +With the next major version the header and footer will be loaded via ESI. Due to this change many things were deprecated and will be removed with the next major version, as they are not needed anymore (Please refer to the changelog for a detailed list of associated deprecations). + +* This changes are currently behind the `cache_rework` flag. +* The header and footer are now loaded via ESI. This allows to cache the header and footer separately from the rest of the page. +* Two new routes `\header` and `\footer` were added to receive the rendered header and footer. +* The rendered header and footer are included into the page with the Twig function `render_esi`, which calls the previously mentioned routes. +* Two new templates `src/Storefront/Resources/views/storefront/layout/header.html.twig` and `src/Storefront/Resources/views/storefront/layout/footer.html.twig` were introduced as new entry points for the header and footer. +* Make sure to adjust your template extensions to be compatible with the new structure. The block names are still the same, so it just should be necessary to extend from the new templates. + +### Removal of the asterisk next to every price +* When activating the `ACCESSIBILITY_TWEAKS` feature flag the price asterisk * are no longer displayed next to every price. A text link for tax and shipping information is displayed instead. ### Bulk entity extension * Deprecated EntityExtension::getDefinitionClass. It will be replaced by `EntityExtension::getEntityName`, which needs to return the entity name. From c7adeedc7abb898ff31d7c303254ff114d7335ec Mon Sep 17 00:00:00 2001 From: "D.Francos" <98743463+dfrancos-hub@users.noreply.github.com> Date: Fri, 31 Jan 2025 13:30:26 +0000 Subject: [PATCH 06/12] update release notes --- src/6.6/6.6.10.0.md | 59 +-------------------------------------------- 1 file changed, 1 insertion(+), 58 deletions(-) diff --git a/src/6.6/6.6.10.0.md b/src/6.6/6.6.10.0.md index cb2b7e2..8957b6e 100644 --- a/src/6.6/6.6.10.0.md +++ b/src/6.6/6.6.10.0.md @@ -34,64 +34,7 @@ shopware: ``` ### [A11y-HTML] Offer HTML alternative to our pdf standard documents -* Added HTML alternative to our pdf standard documents -#### Core: - -* Changed `Shopware\Core\Checkout\Document\Renderer\CreditNoteRenderer::render` - * to `setTemplate` for `RenderedDocument` - * to `setContext` for `RenderedDocument` - * to `setOrder` for `RenderedDocument` -* Changed `Shopware\Core\Checkout\Document\Renderer\DeliveryNoteRenderer::render` - * to `setTemplate` for `RenderedDocument` - * to `setContext` for `RenderedDocument` - * to `setOrder` for `RenderedDocument` -* Changed `Shopware\Core\Checkout\Document\Renderer\InvoiceRenderer::render` - * to `setTemplate` for `RenderedDocument` - * to `setContext` for `RenderedDocument` - * to `setOrder` for `RenderedDocument` -* Changed `Shopware\Core\Checkout\Document\Renderer\StornoRenderer::render` - * to `setTemplate` for `RenderedDocument` - * to `setContext` for `RenderedDocument` - * to `setOrder` for `RenderedDocument` -* Added parameters `template`, `context`, `order` in `Shopware\Core\Checkout\Document\Renderer\RenderedDocument`. -* Changed `Shopware\Core\Checkout\Document\SalesChannel\DocumentRoute::download` to implement authenticate for customer. -* Changed `Shopware\Core\Checkout\Document\Service\DocumentGenerator::readDocument` to load the media based on `fileType`. -* Changed `Shopware\Core\Checkout\Document\Service\DocumentGenerator::generate` to save `documentA11yMediaFileId` field. -* Changed `Shopware\Core\Checkout\Document\Service\DocumentGenerator::preview` to set the content based on `fileType`. -* Added `Shopware\Core\Checkout\Document\Service\DocumentFileRendererRegistry` to callable render by contentType. -* Added `Shopware\Core\Checkout\Document\Service\HtmlRenderer` to render the document file. -* Changed `Shopware\Core\Checkout\Document\Service\PdfRenderer` to use `documentTemplateRenderer` render the document. -* Changed `Shopware\Core\Checkout\Document\Controller\DocumentController::downloadDocument` to add the `fileType` configuration to the `DocumentGenerator`. -* Changed `src/Core/Framework/Resources/views/documents/base.html.twig` to implement accessibility for HTML documents. -* Added `Shopware\Core\Framework\Event\A11yRenderedDocumentAware` to provide the document ids to render the A11y document. -* Added `Shopware\Core\Content\Flow\Dispatching\Storer\A11yRenderedDocumentStorer` to store the document ids and documents to render the A11y documents. -* Changed `Shopware\Core\Checkout\Order\Event\OrderStateMachineStateChangeEvent` to implements `A11yRenderedDocumentAware` - -#### Administration : - -* Changed method `getDocumentPreview` in `document.api.service` service to add the `fileType` like attributes. -* Changed `sw-order-document-card`. - * `onPreview` method to add new `fileType` attribute. - * `openDocument` method to add new `fileType` attribute. - * `downloadDocument` method to add new `fileType` attribute. - * `getDocumentColumns` computed to add new column `fileTypes`. -* Added method `availableFormatsFilter` in `sw-order-document-card` component to filter the available formats. -* Added block `sw_order_document_card_grid_column_avaiable_formats` in `sw-order-document-card.html.twig` to show the available formats column. -* Changed method `onPreview` in `sw-order-document-settings-modal` component to add new `fileType` attribute. -* Changed method `onPreview` in `sw-order-document-settings-credit-note-modal` component to add new `fileType` attribute. -* Changed method `onPreview` in `sw-order-document-settings-delivery-note-modal` component to add new `fileType` attribute. -* Changed method `onPreview` in `sw-order-document-settings-invoice-modal` component to add new `fileType` attribute. -* Added block `sw_order_document_settings_modal_form_document_footer_preview` in `sw-order-document-settings-modal.html.twig` to show the preview HTML button. -* Added method `loadTheLinksForA11y` in `sw-order-send-document-modal` component to load the HTML links for a11y. -* Changed method `onSendDocument` in `sw-order-send-document-modal` component to add `a11yDocuments` attribute for `mailService.sendMailTemplate`. -* Changed data `generalFormFields` in `sw-settings-document-detail` component to add `config` `fileTypes` to show formats like . -* Added method `onRemoveDocumentType` in `sw-settings-document-detail` component to remove item with `sw-multi-select` component. -* Added method `onAddDocumentType` in `sw-settings-document-detail` component to add item with `sw-multi-select` component. -* Added block `sw_settings_document_detail_content_form_field_renderer_multi_select` in `sw-settings-document-detail.html.twig` to show the multi select component. - -#### Storefront : - -* Changed block `page_account_order_document_item_detail_file_name` in `src/Storefront/Resources/views/storefront/page/account/order-history/order-detail-document-item.html.twig` to add the link to render `html` document. +* Besides the existing PDF document which is based on DOMPDF, we added our standard document as HTML documents which are fullfilling the A11y criteria. ### Introduce global template data for language and navigation * Added new Twig function sw_breadcrumb_full_by_id to get the full breadcrumb for a category ID. From 97d9930070ea44d89abbcdcf448b02c2e3a14abd Mon Sep 17 00:00:00 2001 From: "D.Francos" <98743463+dfrancos-hub@users.noreply.github.com> Date: Fri, 31 Jan 2025 13:56:20 +0000 Subject: [PATCH 07/12] update release notes --- src/6.6/6.6.10.0.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/6.6/6.6.10.0.md b/src/6.6/6.6.10.0.md index 8957b6e..6055c84 100644 --- a/src/6.6/6.6.10.0.md +++ b/src/6.6/6.6.10.0.md @@ -37,6 +37,8 @@ shopware: * Besides the existing PDF document which is based on DOMPDF, we added our standard document as HTML documents which are fullfilling the A11y criteria. ### Introduce global template data for language and navigation +Some of the data for the twig template in the Storefront, like the current currency or navigation ID, should not be depending on the current page object, instead, should be available globally and independent. The following changes facilitate the introduction of those global template data: + * Added new Twig function sw_breadcrumb_full_by_id to get the full breadcrumb for a category ID. * Added \Shopware\Storefront\Framework\Twig\NavigationInfo to the global shopware Twig variable, to provide the ID of the main navigation and the current navigation path as ID list. * Added minSearchLength to the global shopware Twig variable, which defines the minimum search term length. From 11baa88b3b37c0aa60e2b2c378960ff69ed40fea Mon Sep 17 00:00:00 2001 From: Marco Steinhaeuser Date: Fri, 31 Jan 2025 18:20:55 +0100 Subject: [PATCH 08/12] added abstract, slight lang and format changes in improvements, updated fixed bugs section --- src/6.6/6.6.10.0.md | 60 +++++++------ src/6.6/6.6.10.0.md.backup | 180 +++++++++++++++++++++++++++++++++++++ 2 files changed, 213 insertions(+), 27 deletions(-) create mode 100644 src/6.6/6.6.10.0.md.backup diff --git a/src/6.6/6.6.10.0.md b/src/6.6/6.6.10.0.md index 6055c84..7808609 100644 --- a/src/6.6/6.6.10.0.md +++ b/src/6.6/6.6.10.0.md @@ -2,14 +2,14 @@ nav: title: v6.6.10.0 meta: - date: 2025-01-15 + date: 2025-02-10 --- # Release notes Shopware 6.6.10.0 ## Abstract -This minor release contains +This minor release contains improvements like MySQL invalidator storage, external media URLs via API, even more A11y improvents and more. Additionally, 10+ bugs had been fixed. ## System requirements @@ -17,12 +17,15 @@ This minor release contains * tested on MySQL 8 and MariaDB 10.11 ## Improvements + ### Upgrade to Symfony 7.2 + * Changed `symfony/*` dependencies to `^7.2` ### Addition of MySQLInvalidatorStorage -* Introduced `\Shopware\Core\Framework\Adapter\Cache\InvalidatorStorage\MySQLInvalidatorStorage` to collect and handle cache invalidations in MySQL as an atomic operation. -* This new storage option allows delayed cache invalidation without requiring Redis (though Redis remains the recommended solution). + +* Introduced `/Shopware/Core/Framework/Adapter/Cache/InvalidatorStorage/MySQLInvalidatorStorage` to collect and handle cache invalidations in MySQL as an atomic operation. +* This new storage option allows delayed cache invalidation without requiring Redis (although Redis remains the recommended solution). * To switch to MySQL for delayed cache invalidation, update your configuration as follows: ```yaml shopware: @@ -34,37 +37,42 @@ shopware: ``` ### [A11y-HTML] Offer HTML alternative to our pdf standard documents -* Besides the existing PDF document which is based on DOMPDF, we added our standard document as HTML documents which are fullfilling the A11y criteria. + +* Besides the existing PDF document which is based on DOMPDF, we added our standard document as HTML documents for fulfilling the A11y criteria. ### Introduce global template data for language and navigation -Some of the data for the twig template in the Storefront, like the current currency or navigation ID, should not be depending on the current page object, instead, should be available globally and independent. The following changes facilitate the introduction of those global template data: -* Added new Twig function sw_breadcrumb_full_by_id to get the full breadcrumb for a category ID. -* Added \Shopware\Storefront\Framework\Twig\NavigationInfo to the global shopware Twig variable, to provide the ID of the main navigation and the current navigation path as ID list. -* Added minSearchLength to the global shopware Twig variable, which defines the minimum search term length. -* Added showStagingBanner to the global shopware Twig variable, which defines if the staging banner should be shown. -* Deprecated the global showStagingBanner Twig variable. Use shopware.showStagingBanner instead. +Some of the data for the Twig template in the storefront, like the current currency or navigation ID, should not depend on the current page object; instead, the should be available globally and independently. The following changes facilitate the introduction of those global template data: + +* Added new Twig function `sw_breadcrumb_full_by_id` to get the full breadcrumb for a category ID. +* Added /Shopware/Storefront/Framework/Twig/NavigationInfo to the global shopware Twig variable, to provide the ID of the main navigation and the current navigation path as ID list. +* Added `minSearchLength` to the global Shopware Twig variable, which defines the minimum search term length. +* Added `showStagingBanner` to the global shopware Twig variable, which defines if the staging banner should be shown. +* Deprecated the global `showStagingBanner` Twig variable. Use `shopware.showStagingBanner` instead. * Deprecated the usage of the header and footer properties of page Twig objects outside the dedicated header and footer templates. Use the following alternatives instead: - * context.currency instead of page.header.activeCurrency - * shopware.navigation.id instead of page.header.navigation.active.id - * shopware.navigation.pathIdList instead of page.header.navigation.active.path - * context.saleschannel.languages.first instead of page.header.activeLanguage -* Added new optional parameter serviceMenu of type \Shopware\Core\Content\Category\CategoryCollection to \Shopware\Storefront\Pagelet\Footer\FooterPagelet. It will be required in the next major version. + * `context.currency` instead of `page.header.activeCurrency` + * `shopware.navigation.id` instead of `page.header.navigation.active.id` + * `shopware.navigation.pathIdList` instead of `page.header.navigation.active.path` + * `context.saleschannel.languages.first` instead of `page.header.activeLanguage` +* Added new optional parameter `serviceMenu` of type /Shopware/Core/Content/Category/CategoryCollection to /Shopware/Storefront/Pagelet/Footer/FooterPagelet. It will be required in the next major version. ### Introduce Edge Side Includes (ESI) for header and -With the next major version the header and footer will be loaded via ESI. Due to this change many things were deprecated and will be removed with the next major version, as they are not needed anymore (Please refer to the changelog for a detailed list of associated deprecations). + +With the next major version, the header and footer will be loaded via ESI. Due to this change, many things were deprecated and will be removed with the next major version, as they are not needed anymore (Please refer to the [changelog](https://github.com/shopware/shopware/blob/v6.6.10.0/CHANGELOG.md) for a detailed list of associated deprecations). * This changes are currently behind the `cache_rework` flag. * The header and footer are now loaded via ESI. This allows to cache the header and footer separately from the rest of the page. -* Two new routes `\header` and `\footer` were added to receive the rendered header and footer. +* Two new routes `/header` and `/footer` were added to receive the rendered header and footer. * The rendered header and footer are included into the page with the Twig function `render_esi`, which calls the previously mentioned routes. * Two new templates `src/Storefront/Resources/views/storefront/layout/header.html.twig` and `src/Storefront/Resources/views/storefront/layout/footer.html.twig` were introduced as new entry points for the header and footer. * Make sure to adjust your template extensions to be compatible with the new structure. The block names are still the same, so it just should be necessary to extend from the new templates. ### Removal of the asterisk next to every price + * When activating the `ACCESSIBILITY_TWEAKS` feature flag the price asterisk * are no longer displayed next to every price. A text link for tax and shipping information is displayed instead. ### Bulk entity extension + * Deprecated EntityExtension::getDefinitionClass. It will be replaced by `EntityExtension::getEntityName`, which needs to return the entity name. Before: @@ -106,7 +114,8 @@ class MyEntityExtension extends EntityExtension ``` ### Using external URL for media's path without storing physical files -* You can now store media paths as external URLs using the admin API. This allows for more flexible media management without the need to store physical files on the server. + +* You can now store media paths as external URLs using the admin API. This allows more flexible media management without the need to store physical files on the server. **Example Request:** @@ -124,10 +133,15 @@ Content-Type: application/json ``` ### Add aggregate admin api + * Added generic `/api/aggregate/{entityName}` API. It is similar to already existing `/api/search/${entityName}`, but without loading entities ## Fixed bugs +* [NEXT-40385](https://github.com/shopware/shopware/issues/6359) - No optional config fields in Shopware 6.6.9.0 in theme.json +* [NEXT-40210](https://github.com/shopware/shopware/issues/6055) - admin watcher ignores HOST & PORT env +* [NEXT-40100](https://github.com/shopware/shopware/issues/5904) - Struct clone behaviour causes errors with readonly properties +* [NEXT-40053](https://github.com/shopware/shopware/issues/5825) - Promotion action buttons have initialization issues and send incorrect entity IDs * [NEXT-39764](https://github.com/shopware/shopware/issues/5669) - Cloud Very long loading & crash from website with many promotion codes * [NEXT-39718](https://github.com/shopware/shopware/issues/5629) - Restoring currency inheritance breaks advanced pricing * [NEXT-39690](https://github.com/shopware/shopware/issues/5529) - A11y - OU: Lacking descriptive page titles @@ -135,14 +149,6 @@ Content-Type: application/json * [NEXT-39643](https://github.com/shopware/shopware/issues/5506) - A11y: Employee Management - error handling on detail pages for VO * [NEXT-39635](https://github.com/shopware/shopware/issues/5501) - A11y/Usability: Product slider - Missing slide controls (unlike Image Slider) * [NEXT-39576](https://github.com/shopware/shopware/issues/5475) - A11y - OU: ARIA dialog and alert dialog nodes should have an accessible name -* [NEXT-39575](https://github.com/shopware/shopware/issues/5473) - A11y - OU: Heading levels should only increase by one -* [NEXT-39574](https://github.com/shopware/shopware/issues/5474) - A11y - OU: Table header text should not be empty -* [NEXT-39573](https://github.com/shopware/shopware/issues/5472) - A11y - OU: Buttons must have discernible text -* [NEXT-39571](https://github.com/shopware/shopware/issues/5471) - A11y - OU: Form elements must have labels -* [NEXT-39570](https://github.com/shopware/shopware/issues/5469) - A11y - OU: Links must have discernible text -* [NEXT-39568](https://github.com/shopware/shopware/issues/5470) - A11y - OU: Autocomplete attribute must be used correctly -* [NEXT-39567](https://github.com/shopware/shopware/issues/5468) - A11y - OU: Elements must only use supported ARIA attributes -* [NEXT-39546](https://github.com/shopware/shopware/issues/5465) - product.available set to "0" if is_closeout IS NULL instead of "0" ## Credits diff --git a/src/6.6/6.6.10.0.md.backup b/src/6.6/6.6.10.0.md.backup new file mode 100644 index 0000000..7808609 --- /dev/null +++ b/src/6.6/6.6.10.0.md.backup @@ -0,0 +1,180 @@ +--- +nav: + title: v6.6.10.0 +meta: + date: 2025-02-10 +--- + +# Release notes Shopware 6.6.10.0 + +## Abstract + +This minor release contains improvements like MySQL invalidator storage, external media URLs via API, even more A11y improvents and more. Additionally, 10+ bugs had been fixed. + +## System requirements + +* tested on PHP 8.2 and 8.3 +* tested on MySQL 8 and MariaDB 10.11 + +## Improvements + +### Upgrade to Symfony 7.2 + +* Changed `symfony/*` dependencies to `^7.2` + +### Addition of MySQLInvalidatorStorage + +* Introduced `/Shopware/Core/Framework/Adapter/Cache/InvalidatorStorage/MySQLInvalidatorStorage` to collect and handle cache invalidations in MySQL as an atomic operation. +* This new storage option allows delayed cache invalidation without requiring Redis (although Redis remains the recommended solution). +* To switch to MySQL for delayed cache invalidation, update your configuration as follows: +```yaml +shopware: + cache: + invalidation: + delay: 1 + delay_options: + storage: mysql +``` + +### [A11y-HTML] Offer HTML alternative to our pdf standard documents + +* Besides the existing PDF document which is based on DOMPDF, we added our standard document as HTML documents for fulfilling the A11y criteria. + +### Introduce global template data for language and navigation + +Some of the data for the Twig template in the storefront, like the current currency or navigation ID, should not depend on the current page object; instead, the should be available globally and independently. The following changes facilitate the introduction of those global template data: + +* Added new Twig function `sw_breadcrumb_full_by_id` to get the full breadcrumb for a category ID. +* Added /Shopware/Storefront/Framework/Twig/NavigationInfo to the global shopware Twig variable, to provide the ID of the main navigation and the current navigation path as ID list. +* Added `minSearchLength` to the global Shopware Twig variable, which defines the minimum search term length. +* Added `showStagingBanner` to the global shopware Twig variable, which defines if the staging banner should be shown. +* Deprecated the global `showStagingBanner` Twig variable. Use `shopware.showStagingBanner` instead. +* Deprecated the usage of the header and footer properties of page Twig objects outside the dedicated header and footer templates. Use the following alternatives instead: + * `context.currency` instead of `page.header.activeCurrency` + * `shopware.navigation.id` instead of `page.header.navigation.active.id` + * `shopware.navigation.pathIdList` instead of `page.header.navigation.active.path` + * `context.saleschannel.languages.first` instead of `page.header.activeLanguage` +* Added new optional parameter `serviceMenu` of type /Shopware/Core/Content/Category/CategoryCollection to /Shopware/Storefront/Pagelet/Footer/FooterPagelet. It will be required in the next major version. + +### Introduce Edge Side Includes (ESI) for header and + +With the next major version, the header and footer will be loaded via ESI. Due to this change, many things were deprecated and will be removed with the next major version, as they are not needed anymore (Please refer to the [changelog](https://github.com/shopware/shopware/blob/v6.6.10.0/CHANGELOG.md) for a detailed list of associated deprecations). + +* This changes are currently behind the `cache_rework` flag. +* The header and footer are now loaded via ESI. This allows to cache the header and footer separately from the rest of the page. +* Two new routes `/header` and `/footer` were added to receive the rendered header and footer. +* The rendered header and footer are included into the page with the Twig function `render_esi`, which calls the previously mentioned routes. +* Two new templates `src/Storefront/Resources/views/storefront/layout/header.html.twig` and `src/Storefront/Resources/views/storefront/layout/footer.html.twig` were introduced as new entry points for the header and footer. +* Make sure to adjust your template extensions to be compatible with the new structure. The block names are still the same, so it just should be necessary to extend from the new templates. + +### Removal of the asterisk next to every price + +* When activating the `ACCESSIBILITY_TWEAKS` feature flag the price asterisk * are no longer displayed next to every price. A text link for tax and shipping information is displayed instead. + +### Bulk entity extension + +* Deprecated EntityExtension::getDefinitionClass. It will be replaced by `EntityExtension::getEntityName`, which needs to return the entity name. + +Before: + +```php + Date: Thu, 6 Feb 2025 10:52:25 +0100 Subject: [PATCH 09/12] Delete src/6.6/6.6.10.0.md.backup --- src/6.6/6.6.10.0.md.backup | 180 ------------------------------------- 1 file changed, 180 deletions(-) delete mode 100644 src/6.6/6.6.10.0.md.backup diff --git a/src/6.6/6.6.10.0.md.backup b/src/6.6/6.6.10.0.md.backup deleted file mode 100644 index 7808609..0000000 --- a/src/6.6/6.6.10.0.md.backup +++ /dev/null @@ -1,180 +0,0 @@ ---- -nav: - title: v6.6.10.0 -meta: - date: 2025-02-10 ---- - -# Release notes Shopware 6.6.10.0 - -## Abstract - -This minor release contains improvements like MySQL invalidator storage, external media URLs via API, even more A11y improvents and more. Additionally, 10+ bugs had been fixed. - -## System requirements - -* tested on PHP 8.2 and 8.3 -* tested on MySQL 8 and MariaDB 10.11 - -## Improvements - -### Upgrade to Symfony 7.2 - -* Changed `symfony/*` dependencies to `^7.2` - -### Addition of MySQLInvalidatorStorage - -* Introduced `/Shopware/Core/Framework/Adapter/Cache/InvalidatorStorage/MySQLInvalidatorStorage` to collect and handle cache invalidations in MySQL as an atomic operation. -* This new storage option allows delayed cache invalidation without requiring Redis (although Redis remains the recommended solution). -* To switch to MySQL for delayed cache invalidation, update your configuration as follows: -```yaml -shopware: - cache: - invalidation: - delay: 1 - delay_options: - storage: mysql -``` - -### [A11y-HTML] Offer HTML alternative to our pdf standard documents - -* Besides the existing PDF document which is based on DOMPDF, we added our standard document as HTML documents for fulfilling the A11y criteria. - -### Introduce global template data for language and navigation - -Some of the data for the Twig template in the storefront, like the current currency or navigation ID, should not depend on the current page object; instead, the should be available globally and independently. The following changes facilitate the introduction of those global template data: - -* Added new Twig function `sw_breadcrumb_full_by_id` to get the full breadcrumb for a category ID. -* Added /Shopware/Storefront/Framework/Twig/NavigationInfo to the global shopware Twig variable, to provide the ID of the main navigation and the current navigation path as ID list. -* Added `minSearchLength` to the global Shopware Twig variable, which defines the minimum search term length. -* Added `showStagingBanner` to the global shopware Twig variable, which defines if the staging banner should be shown. -* Deprecated the global `showStagingBanner` Twig variable. Use `shopware.showStagingBanner` instead. -* Deprecated the usage of the header and footer properties of page Twig objects outside the dedicated header and footer templates. Use the following alternatives instead: - * `context.currency` instead of `page.header.activeCurrency` - * `shopware.navigation.id` instead of `page.header.navigation.active.id` - * `shopware.navigation.pathIdList` instead of `page.header.navigation.active.path` - * `context.saleschannel.languages.first` instead of `page.header.activeLanguage` -* Added new optional parameter `serviceMenu` of type /Shopware/Core/Content/Category/CategoryCollection to /Shopware/Storefront/Pagelet/Footer/FooterPagelet. It will be required in the next major version. - -### Introduce Edge Side Includes (ESI) for header and - -With the next major version, the header and footer will be loaded via ESI. Due to this change, many things were deprecated and will be removed with the next major version, as they are not needed anymore (Please refer to the [changelog](https://github.com/shopware/shopware/blob/v6.6.10.0/CHANGELOG.md) for a detailed list of associated deprecations). - -* This changes are currently behind the `cache_rework` flag. -* The header and footer are now loaded via ESI. This allows to cache the header and footer separately from the rest of the page. -* Two new routes `/header` and `/footer` were added to receive the rendered header and footer. -* The rendered header and footer are included into the page with the Twig function `render_esi`, which calls the previously mentioned routes. -* Two new templates `src/Storefront/Resources/views/storefront/layout/header.html.twig` and `src/Storefront/Resources/views/storefront/layout/footer.html.twig` were introduced as new entry points for the header and footer. -* Make sure to adjust your template extensions to be compatible with the new structure. The block names are still the same, so it just should be necessary to extend from the new templates. - -### Removal of the asterisk next to every price - -* When activating the `ACCESSIBILITY_TWEAKS` feature flag the price asterisk * are no longer displayed next to every price. A text link for tax and shipping information is displayed instead. - -### Bulk entity extension - -* Deprecated EntityExtension::getDefinitionClass. It will be replaced by `EntityExtension::getEntityName`, which needs to return the entity name. - -Before: - -```php - Date: Fri, 7 Feb 2025 10:15:47 +0100 Subject: [PATCH 10/12] update release notes in 2025-06 --- src/6.6/6.6.10.0.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/6.6/6.6.10.0.md b/src/6.6/6.6.10.0.md index 7808609..aad486a 100644 --- a/src/6.6/6.6.10.0.md +++ b/src/6.6/6.6.10.0.md @@ -136,6 +136,13 @@ Content-Type: application/json * Added generic `/api/aggregate/{entityName}` API. It is similar to already existing `/api/search/${entityName}`, but without loading entities +### Updated Menu Structure in Settings Page + +* The settings page has been reorganized into groups for better usability.\ +Extension developers which extend or customize the settings menu has to make sure that their changes are compatible with the new structure.\ +The old menu structure in the settings page is deprecated and will be removed in `v6.7.0.0`.\ +(Please refer to the [changelog](https://github.com/shopware/shopware/blob/v6.6.10.0/CHANGELOG.md) for a detailed list of associated deprecations). + ## Fixed bugs * [NEXT-40385](https://github.com/shopware/shopware/issues/6359) - No optional config fields in Shopware 6.6.9.0 in theme.json From 62de9ca69469945258f67e78ecaa528f2f9004d6 Mon Sep 17 00:00:00 2001 From: Marco Steinhaeuser Date: Tue, 18 Feb 2025 12:12:06 +0100 Subject: [PATCH 11/12] updated v6.6.10.0 (#62) --- src/6.6/6.6.10.0.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/6.6/6.6.10.0.md b/src/6.6/6.6.10.0.md index aad486a..31f28a2 100644 --- a/src/6.6/6.6.10.0.md +++ b/src/6.6/6.6.10.0.md @@ -2,7 +2,7 @@ nav: title: v6.6.10.0 meta: - date: 2025-02-10 + date: 2025-02-19 --- # Release notes Shopware 6.6.10.0 @@ -145,17 +145,16 @@ The old menu structure in the settings page is deprecated and will be removed in ## Fixed bugs +* [NEXT-40478](https://github.com/shopware/shopware/issues/6484) - Elasticsearch indexing for orders for administration is really slow * [NEXT-40385](https://github.com/shopware/shopware/issues/6359) - No optional config fields in Shopware 6.6.9.0 in theme.json * [NEXT-40210](https://github.com/shopware/shopware/issues/6055) - admin watcher ignores HOST & PORT env * [NEXT-40100](https://github.com/shopware/shopware/issues/5904) - Struct clone behaviour causes errors with readonly properties +* [NEXT-40084](https://github.com/shopware/shopware/issues/5890) - item in warehouse not available when stock 0 * [NEXT-40053](https://github.com/shopware/shopware/issues/5825) - Promotion action buttons have initialization issues and send incorrect entity IDs * [NEXT-39764](https://github.com/shopware/shopware/issues/5669) - Cloud Very long loading & crash from website with many promotion codes * [NEXT-39718](https://github.com/shopware/shopware/issues/5629) - Restoring currency inheritance breaks advanced pricing -* [NEXT-39690](https://github.com/shopware/shopware/issues/5529) - A11y - OU: Lacking descriptive page titles * [NEXT-39645](https://github.com/shopware/shopware/issues/5508) - A11y: Subscriptions - lacking descriptive page titles * [NEXT-39643](https://github.com/shopware/shopware/issues/5506) - A11y: Employee Management - error handling on detail pages for VO -* [NEXT-39635](https://github.com/shopware/shopware/issues/5501) - A11y/Usability: Product slider - Missing slide controls (unlike Image Slider) -* [NEXT-39576](https://github.com/shopware/shopware/issues/5475) - A11y - OU: ARIA dialog and alert dialog nodes should have an accessible name ## Credits @@ -178,7 +177,7 @@ Thanks to all diligent friends for helping us make Shopware better and better wi * [Detailed diff on Github](https://github.com/shopware/shopware/compare/v6.6.9.0...v6.6.10.0) to the former version * [Changelog on GitHub](https://github.com/shopware/shopware/blob/v6.6.10.0/CHANGELOG.md) for this version -* [Release News on corporate blog](https://www.shopware.com/en/news/shopware-6-release-news-january-2025/) +* [Release News on corporate blog](https://www.shopware.com/en/news/shopware-6-release-news-february-2025/) * [Installation overview](https://developer.shopware.com/docs/guides/installation/) * [Update from a previous installation](https://developer.shopware.com/docs/guides/installation/template.html#update-shopware) From 452ef55fc6e16ff19949b5b00ec87cd0d0c4fb8f Mon Sep 17 00:00:00 2001 From: Bojan Rajh <117360292+bojanrajh@users.noreply.github.com> Date: Tue, 18 Feb 2025 12:13:44 +0100 Subject: [PATCH 12/12] Update src/6.6/6.6.10.0.md --- src/6.6/6.6.10.0.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/6.6/6.6.10.0.md b/src/6.6/6.6.10.0.md index 31f28a2..cc6f5ae 100644 --- a/src/6.6/6.6.10.0.md +++ b/src/6.6/6.6.10.0.md @@ -2,7 +2,7 @@ nav: title: v6.6.10.0 meta: - date: 2025-02-19 + date: "2025-02-19" --- # Release notes Shopware 6.6.10.0