Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin' into fix/promotion-code
Browse files Browse the repository at this point in the history
  • Loading branch information
mdanilowicz committed Jul 17, 2024
2 parents 9ca7dd6 + d4c4e8a commit 8dec568
Show file tree
Hide file tree
Showing 73 changed files with 5,879 additions and 6,541 deletions.
5 changes: 5 additions & 0 deletions .changeset/afraid-keys-hear.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@shopware-pwa/helpers-next": patch
---

Removed optional chaining for translated properties. Expecting a different argument type for the `getLanguageName` and `getShippingMethodDeliveryTime` methods.
5 changes: 5 additions & 0 deletions .changeset/early-trains-run.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@shopware-pwa/composables-next": patch
---

`useOrderDetails` - Load shipping address for the order details. Ivoking a `loadOrderDetails` method now will fetch also a `shippingOrderAddress` association.
5 changes: 5 additions & 0 deletions .changeset/funny-onions-call.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@shopware/api-gen": patch
---

Set `translated` property as required in provided schemas
5 changes: 0 additions & 5 deletions .changeset/light-cows-protect.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/orange-taxis-kick.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/six-pigs-laugh.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/sour-starfishes-hide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@shopware/api-client": patch
---

Update default schemas' `translated` properties as required
5 changes: 0 additions & 5 deletions .changeset/tidy-comics-attack.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/tough-queens-swim.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/wise-chairs-smile.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@shopware-pwa/cms-base": patch
---

Removed optional chaining for translated properties
10 changes: 4 additions & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ updates:
directory: '/'
schedule:
interval: 'daily'
open-pull-requests-limit: 10
open-pull-requests-limit: 3
versioning-strategy: 'increase'
ignore:
# used in old client, not upgrading
Expand All @@ -20,6 +20,8 @@ updates:
- dependency-name: 'vitepress-shopware-docs'
# until https://github.com/nuxt-modules/i18n/issues/2215 is resolved
- dependency-name: '@nuxtjs/i18n'
# Until the upgrade is complete: https://github.com/shopware/frontends/pull/1107
- dependency-name: 'openapi-typescript'
groups:
astro:
patterns:
Expand Down Expand Up @@ -79,8 +81,4 @@ updates:
- '@iconify*'
- '@nuxt/*'
- '@unocss/*'
- 'unocss'
# others not defined will be grouped
grouped-dependencies:
patterns:
- "*"
- 'unocss'
7 changes: 7 additions & 0 deletions apps/docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# docs

## 1.7.2

### Patch Changes

- Updated dependencies [[`f9d2735`](https://github.com/shopware/frontends/commit/f9d27353ec6383cb22cdece0469f8fdd13250958), [`d95751e`](https://github.com/shopware/frontends/commit/d95751ecde443a033f17def838bcc25aeba6951e)]:
- @shopware-pwa/composables-next@1.1.0

## 1.7.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions apps/docs/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "docs",
"private": true,
"version": "1.7.1",
"version": "1.7.2",
"description": "",
"scripts": {
"dev": "vitepress",
Expand All @@ -26,7 +26,7 @@
"find-in-files": "0.5.0",
"ts-dox": "0.1.0",
"typescript": "5.5.3",
"unplugin-export-collector": "0.4.3",
"unplugin-export-collector": "0.5.0",
"vinyl": "3.0.0"
},
"pnpm": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ Having source of the data, you can display all you need in your Vue.js template:
```js
import { computed } from "vue";
...
const productName = computed(() => product.value?.translated?.name);
const productName = computed(() => product.value?.translated.name);
const manufacturer = computed(() => product.value?.manufacturer?.name);
const description = computed(() => product.value?.translated?.description);
const description = computed(() => product.value?.translated.description);
const productNumber = computed(() => product.value?.productNumber);
...
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ loadNavigationElements({
<h2
class="mb-6 text-sm font-semibold text-gray-900 uppercase dark:text-white"
>
{{ category.translated?.name }}
{{ category.translated.name }}
</h2>
<ul
class="text-gray-500 dark:text-gray-400 font-medium"
Expand All @@ -52,7 +52,7 @@ loadNavigationElements({
<a
:href="getCategoryRoute(childCategory)"
class="hover:underline"
>{{ childCategory.translated?.name }}</a
>{{ childCategory.translated.name }}</a
>
</li>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion apps/e2e-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"start": "npx http-server"
},
"devDependencies": {
"@playwright/test": "1.45.1"
"@playwright/test": "1.45.2"
},
"dependencies": {
"@stackblitz/sdk": "1.11.0",
Expand Down
Loading

0 comments on commit 8dec568

Please sign in to comment.