Skip to content

Commit

Permalink
added v6.6.6.1 (#39)
Browse files Browse the repository at this point in the history
* added v6.6.6.1

* Updated improvements part for v6.6.6.1

* added fixed bugs

* added a correction

* added some other bug fixes concerning changelog

* Apply suggestions from code review

---------

Co-authored-by: SilverDuy <[email protected]>
Co-authored-by: Bojan Rajh <[email protected]>
  • Loading branch information
3 people authored Sep 18, 2024
1 parent 74d8d27 commit c7af60a
Showing 1 changed file with 104 additions and 0 deletions.
104 changes: 104 additions & 0 deletions src/6.6/6.6.6.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
---
nav:
title: v6.6.6.1
meta:
date: "2024-09-18"
---

# Release notes Shopware 6.6.6.1

## Abstract

This patch release contains

## System requirements

* tested on PHP 8.2 and 8.3
* tested on MySQL 8.0.33, MariaDB 10.4. 10.5, 10.11 & 11.0

## Improvements

### Added new store-api endpoints for product and category breadcrumbs
With these new endpoints, you can now fetch the breadcrumbs for a product or category. This is useful if you want to display the breadcrumbs in a custom storefront.

Example GET requests for **category**:
<code v-pre>{{baseUrl}}/breadcrumb/{id}?type=category</code> // one DB call less, if you know the type provide it for category
<code v-pre>{{baseUrl}}/breadcrumb/{id}</code> // but in general type is optional

Example GET requests for **product**:
<code v-pre>{{baseUrl}}/breadcrumb/{id}?referrerCategoryId={categoryId}</code>
<code v-pre>{{baseUrl}}/breadcrumb/{id}</code> // default type is product

If you do not provide a `referrerCategoryId` for the product, the main seo category of the product will be used.

Response structure looks like this _(name and path are always present, seoUrls are optional)_:
```json
{
"breadcrumb": [
{
"name": "Home, Jewelry & Games",
"categoryId": "019192b9b59b713c96b80559e8838d5c",
"type": "page",
"translated": {
"customFields": {},
"slotConfig": null,
"linkType": null,
"internalLink": null,
"externalLink": null,
"linkNewTab": null,
"description": "Deserunt similique necessitatibus illum voluptatibus fugiat voluptatem ullam. Quia iste cum sequi qui.",
"metaTitle": null,
"metaDescription": null,
"keywords": null
},
"path": "Home-Jewelry-Games/",
"seoUrls": [
{
"id": "019192bab2247371acf6efb3af10bea8",
"pathInfo": "/navigation/019192b9b59b713c96b80559e8838d5c",
"seoPathInfo": "Home-Jewelry-Games/"
}
],
"apiAlias": "breadcrumb"
}
],
"apiAlias": "breadcrumb_collection"
}
```

### Improved the tax calculation for the shipping costs
The tax calculation for the shipping costs has been improved. Now we could decide which kind of line item should be aware of the shipping costs. This is useful if you want to calculate the tax for the shipping costs based on the products in the cart or not.

### Improved DAL
Added interval DAL field type to the DAL entity generator.

Added fields with the state attribute to the field collection for attributed entities.

### TWIG update
Updated the Twig version to minimum 3.14.0.

## Fixed bugs

* [#4681](https://github.com/shopware/shopware/issues/4681) | EmailIdnTwigFilter present in shopware/storefront, breaks headless setups on ^v6.6.6.0
* [#4646](https://github.com/shopware/shopware/issues/4646) | By some reason CachedProductDetailRoute::load returned ProductCrossSellingRouteResponse
* [#4650](https://github.com/shopware/shopware/issues/4650) | When clicking on products in the product slider, the slider scrolls a few steps further and doesn't follow the URL
* [#4668](https://github.com/shopware/shopware/issues/4668) | base-slider plugin tries to set attribute on undefined object controlsContainer
* [#3910](https://github.com/shopware/shopware/issues/3910) | Don't save the cart on any request
* [NEXT-33697](https://issues.shopware.com/issues/NEXT-33697) | Focused slides in the carousel are not being moved into the visible area

## Credits

Thanks to all our contributors for helping us improve Shopware with every pull request!

* [Carlo Cecco](https://github.com/luminalpark)

## More resources

* [Detailed diff on Github](https://github.com/shopware/shopware/compare/v6.6.6.0...v6.6.6.1) to the former version
* [Changelog on GitHub](https://github.com/shopware/shopware/blob/v6.6.6.1/CHANGELOG.md) for this version.
* [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://slack.shopware.com). See you there ;)

0 comments on commit c7af60a

Please sign in to comment.