Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release December 20, 2024 #2464

Merged
merged 38 commits into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
59340b2
chore(release): update prerelease versions
github-actions[bot] Dec 18, 2024
f2f29a3
Update VSCode guide reference
emmanuel-ferdman Dec 19, 2024
0f5267b
Create spotty-falcons-grab.md
paales Dec 19, 2024
e5e16ac
Merge pull request #2454 from emmanuel-ferdman/canary
paales Dec 19, 2024
3245661
chore(release): update prerelease versions
github-actions[bot] Dec 19, 2024
d742381
Cleaned up CHANGELOG.md files and generated release notes
paales Dec 19, 2024
d708e06
Merge pull request #2456 from graphcommerce-org/fix/release-notes
paales Dec 19, 2024
9b33eac
Fix Magento store code not getting set in context.headers.store
bramvanderholst Dec 19, 2024
3711e2b
Fix tests
paales Dec 19, 2024
67bc2a1
Merge pull request #2458 from graphcommerce-org/fix/header-store
paales Dec 19, 2024
85037b7
Refactor AddressFields component to spread props correctly for child …
carlocarels90 Dec 20, 2024
298cb68
fix: add changeset
carlocarels90 Dec 20, 2024
d8ec6a8
Respect breadcrumbs config on blog pages
bramvanderholst Dec 20, 2024
337204b
Merge pull request #2459 from graphcommerce-org/fix/GCOM-1543
paales Dec 20, 2024
1b5322d
Merge pull request #2460 from graphcommerce-org/fix/breadcrumbs
paales Dec 20, 2024
91a5131
Updated changelog
paales Dec 20, 2024
24c68c1
Solve issue with the SearchField throwing an error in production.
paales Dec 20, 2024
7017b60
Solve issue with documentation parsing markdown files as mdx
paales Dec 20, 2024
ad37d0d
Moved releases to releases directory
paales Dec 20, 2024
fbe78be
Solve issue where the cart item edit form wasn't aligned in the middle
paales Dec 20, 2024
aac4864
Solve issue where the item.filters would sometimes be invalid
paales Dec 20, 2024
838fe30
Support for new asset system of Hygraph
paales Dec 20, 2024
68f2861
Support for new asset system of Hygraph
paales Dec 20, 2024
3066a2f
When a Customer deselected their shipping address, but had a shipping…
paales Dec 20, 2024
c83aad6
Prevent forwarding the isBack prop to the DOM element
paales Dec 20, 2024
ff0009b
Solve an issue where CategoryChildren wouldn't be rendered on mobile …
paales Dec 20, 2024
d528cb0
Apply changes to open-source variant
paales Dec 20, 2024
073e049
fix issue where CategoryChildren would cause layout to break on mobile
FrankHarland Dec 20, 2024
6031bba
Create happy-melons-train.md
FrankHarland Dec 20, 2024
a8787cd
Cleaned up config
paales Dec 20, 2024
dc9a3c5
Merge pull request #2461 from graphcommerce-org/fix/realease-oversights
paales Dec 20, 2024
a194038
fix issue where layout title would be left aligned
FrankHarland Dec 20, 2024
3bb93cd
Merge pull request #2462 from graphcommerce-org/fix/fix-category-chil…
paales Dec 20, 2024
db3e142
Create orange-olives-smile.md
paales Dec 20, 2024
0900261
Merge pull request #2463 from graphcommerce-org/fix/layout-title-alig…
paales Dec 20, 2024
f4f196a
Rename RELEASE-9.0.0
paales Dec 20, 2024
abf6572
chore(release): update prerelease versions
github-actions[bot] Dec 20, 2024
2b1ef03
[create-pull-request] automated change
paales Dec 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
871 changes: 871 additions & 0 deletions RELEASE-9.0.0.md

Large diffs are not rendered by default.

107 changes: 20 additions & 87 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,119 +1,52 @@
# Change Log

## 9.0.0

### Minor Changes

- [#2439](https://github.com/graphcommerce-org/graphcommerce/pull/2439) [`6061226`](https://github.com/graphcommerce-org/graphcommerce/commit/60612265466e4c508a2d3f478ff679251e7819de) - Moved to serwist for service workers ([@paales](https://github.com/paales))

- [#2242](https://github.com/graphcommerce-org/graphcommerce/pull/2242) [`a4cce76`](https://github.com/graphcommerce-org/graphcommerce/commit/a4cce76ca37af2bec604e953ada4bb11bd91f55d) - Add option to show an extended version of the pagination component. Configurable via the `productListPaginationVariant` key in your `graphcommerce.config.js`.

- `COMPACT` means: `< Page X of Y >`
- `EXTENDED` means: `< 1 2 ... [5] ... 10 11 >` ([@FrankHarland](https://github.com/FrankHarland))

### Patch Changes

- [#1984](https://github.com/graphcommerce-org/graphcommerce/pull/1984) [`e05534f`](https://github.com/graphcommerce-org/graphcommerce/commit/e05534fff4990fd584fe401b55b6d9a33934e048) - Added docs about caching. ([@paales](https://github.com/paales))

- [#2223](https://github.com/graphcommerce-org/graphcommerce/pull/2223) [`7652234`](https://github.com/graphcommerce-org/graphcommerce/commit/7652234e222c3f4d8de3817fe907b5b6925a5493) - Replaced `next-sitemap` with page router based robots.txt & sitemaps. ([@bramvanderholst](https://github.com/bramvanderholst))

- [#2450](https://github.com/graphcommerce-org/graphcommerce/pull/2450) [`b116d0f`](https://github.com/graphcommerce-org/graphcommerce/commit/b116d0f714d37a4db30b19812ce5a9d2a6372d42) - Added documentation about the Canonical URL and Sitemap handling ([@paales](https://github.com/paales))

- [#2329](https://github.com/graphcommerce-org/graphcommerce/pull/2329) [`6301fe3`](https://github.com/graphcommerce-org/graphcommerce/commit/6301fe33e73be1a151d0f8290e83418b4b87a738) - Document patch `custom_attributesV2` for null attribute values issue. ([@SimonPrins](https://github.com/SimonPrins))

- [#2196](https://github.com/graphcommerce-org/graphcommerce/pull/2196) [`84c50e4`](https://github.com/graphcommerce-org/graphcommerce/commit/84c50e49a1a7f154d4a8f4045c37e773e20283ad) - Allow Lingui to use `linguiLocale` with country identifiers like `en-us`, it would always load `en` in this case. Introduced a new `useLocale` hook to use the correct locale string to use in Intl methods. ([@paales](https://github.com/paales))

- [#2326](https://github.com/graphcommerce-org/graphcommerce/pull/2326) [`1faefa4`](https://github.com/graphcommerce-org/graphcommerce/commit/1faefa424df1f40e0f7d20def7192cf7752f761e) - Create a 'Third-Party Libraries' page that includes further details on tools such as Google Analytics and Google Tag Manager. ([@carlocarels90](https://github.com/carlocarels90))

- [#2247](https://github.com/graphcommerce-org/graphcommerce/pull/2247) [`444e446`](https://github.com/graphcommerce-org/graphcommerce/commit/444e446a218cc9da3defb940a6d5cce0229ff845) - Added clear upgrade instructions for `linguiLocale`. ([@paales](https://github.com/paales))

- [#2427](https://github.com/graphcommerce-org/graphcommerce/pull/2427) [`d400e53`](https://github.com/graphcommerce-org/graphcommerce/commit/d400e534c89955c99a7ccb4bc8b1a0ae2ae4fbfd) - Added web vitals document ([@paales](https://github.com/paales))

## 9.0.0-canary.118

## 9.0.0-canary.117

## 9.0.0-canary.116

## 9.0.0-canary.115

## 9.0.0-canary.114

### Patch Changes

- [#2450](https://github.com/graphcommerce-org/graphcommerce/pull/2450) [`b116d0f`](https://github.com/graphcommerce-org/graphcommerce/commit/b116d0f714d37a4db30b19812ce5a9d2a6372d42) - Added documentation about the Canonical URL and Sitemap handling ([@paales](https://github.com/paales))

## 9.0.0-canary.113

## 9.0.0-canary.112

## 9.0.0-canary.111

## 9.0.0-canary.110

## 9.0.0-canary.109

## 9.0.0-canary.108

### Patch Changes

- [#2439](https://github.com/graphcommerce-org/graphcommerce/pull/2439) [`6061226`](https://github.com/graphcommerce-org/graphcommerce/commit/60612265466e4c508a2d3f478ff679251e7819de) - Moved to serwist for service workers ([@paales](https://github.com/paales))

## 9.0.0-canary.107

## 9.0.0-canary.106

## 9.0.0-canary.105
## 9.0.1

### Patch Changes

- [#2427](https://github.com/graphcommerce-org/graphcommerce/pull/2427) [`d400e53`](https://github.com/graphcommerce-org/graphcommerce/commit/d400e534c89955c99a7ccb4bc8b1a0ae2ae4fbfd) - Added web vitals document ([@paales](https://github.com/paales))

## 9.0.0-canary.104
- [#2461](https://github.com/graphcommerce-org/graphcommerce/pull/2461) [`7017b60`](https://github.com/graphcommerce-org/graphcommerce/commit/7017b608eb61097c881103c40701ab4a41197d7a) - Solve issue with documentation parsing markdown files as mdx ([@paales](https://github.com/paales))

## 9.0.0-canary.103
- [#2454](https://github.com/graphcommerce-org/graphcommerce/pull/2454) [`0f5267b`](https://github.com/graphcommerce-org/graphcommerce/commit/0f5267b92d8561e20164fe2f078097cb52220726) - Update VSCode guide reference ([@emmanuel-ferdman](https://github.com/emmanuel-ferdman))

## 9.0.0-canary.62
## 9.0.1-canary.1

### Patch Changes

- [#2326](https://github.com/graphcommerce-org/graphcommerce/pull/2326) [`1faefa4`](https://github.com/graphcommerce-org/graphcommerce/commit/1faefa424df1f40e0f7d20def7192cf7752f761e) - Create a 'Third-Party Libraries' page that includes further details on tools such as Google Analytics and Google Tag Manager. ([@carlocarels90](https://github.com/carlocarels90))
- [#2461](https://github.com/graphcommerce-org/graphcommerce/pull/2461) [`7017b60`](https://github.com/graphcommerce-org/graphcommerce/commit/7017b608eb61097c881103c40701ab4a41197d7a) - Solve issue with documentation parsing markdown files as mdx ([@paales](https://github.com/paales))

## 9.0.0-canary.56
## 9.0.1-canary.0

### Patch Changes

- [#2329](https://github.com/graphcommerce-org/graphcommerce/pull/2329) [`6301fe3`](https://github.com/graphcommerce-org/graphcommerce/commit/6301fe33e73be1a151d0f8290e83418b4b87a738) - Document patch custom_attributesV2 for null attribute values issue ([@SimonPrins](https://github.com/SimonPrins))
- [#2454](https://github.com/graphcommerce-org/graphcommerce/pull/2454) [`0f5267b`](https://github.com/graphcommerce-org/graphcommerce/commit/0f5267b92d8561e20164fe2f078097cb52220726) - Update VSCode guide reference ([@emmanuel-ferdman](https://github.com/emmanuel-ferdman))

## 8.1.0-canary.41
## 9.0.0

### Patch Changes
### Major Changes

- [#2242](https://github.com/graphcommerce-org/graphcommerce/pull/2242) [`a4cce76`](https://github.com/graphcommerce-org/graphcommerce/commit/a4cce76ca37af2bec604e953ada4bb11bd91f55d) - Add option to show an extended version of the pagination component. Configurable via the "productListPaginationVariant" key in your graphcommerce.config.js COMPACT means: "< Page X of Y >" EXTENDED means: "< 1 2 ... [5] ... 10 11 >" ([@FrankHarland](https://github.com/FrankHarland))
- [#2439](https://github.com/graphcommerce-org/graphcommerce/pull/2439) [`6061226`](https://github.com/graphcommerce-org/graphcommerce/commit/60612265466e4c508a2d3f478ff679251e7819de) - Moved to [serwist](https://serwist.pages.dev/) for service workers. ([@paales](https://github.com/paales))

## 8.1.0-canary.9
- [#2242](https://github.com/graphcommerce-org/graphcommerce/pull/2242) [`a4cce76`](https://github.com/graphcommerce-org/graphcommerce/commit/a4cce76ca37af2bec604e953ada4bb11bd91f55d) - Add option to show an extended version of the pagination component. Configurable via the `productListPaginationVariant` key in your `graphcommerce.config.js`. `COMPACT` means: `< Page X of Y >` and `EXTENDED` means: `< 1 2 ... [5] ... 10 11 >` ([@FrankHarland](https://github.com/FrankHarland))

### Patch Changes
- [#2223](https://github.com/graphcommerce-org/graphcommerce/pull/2223) [`7652234`](https://github.com/graphcommerce-org/graphcommerce/commit/7652234e222c3f4d8de3817fe907b5b6925a5493) - Fully replaced the sitemap and robots.txt generation. We previously relied on next-sitemap to generate the sitemap based on static generated pages. However with bigger shops the SSG woudn't be complete. Full support for multi domain setups. ([@bramvanderholst](https://github.com/bramvanderholst))

- [#2223](https://github.com/graphcommerce-org/graphcommerce/pull/2223) [`7652234`](https://github.com/graphcommerce-org/graphcommerce/commit/7652234e222c3f4d8de3817fe907b5b6925a5493) - Replaced next-sitemap with page router based robots.txt & sitemaps ([@bramvanderholst](https://github.com/bramvanderholst))
### Minor Changes

## 8.1.0-canary.8
- [#2196](https://github.com/graphcommerce-org/graphcommerce/pull/2196) [`84c50e4`](https://github.com/graphcommerce-org/graphcommerce/commit/84c50e49a1a7f154d4a8f4045c37e773e20283ad) - Allow Lingui to use `linguiLocale` with country identifiers like `en-us`, it would always load `en` in this case. Introduced a new `useLocale` hook to use the correct locale string to use in Intl methods. ([@paales](https://github.com/paales))

### Patch Changes

- [#2247](https://github.com/graphcommerce-org/graphcommerce/pull/2247) [`444e446`](https://github.com/graphcommerce-org/graphcommerce/commit/444e446a218cc9da3defb940a6d5cce0229ff845) - Added clear upgrade instructions for linguiLocale ([@paales](https://github.com/paales))

## 8.1.0-canary.6
- [#1984](https://github.com/graphcommerce-org/graphcommerce/pull/1984) [`e05534f`](https://github.com/graphcommerce-org/graphcommerce/commit/e05534fff4990fd584fe401b55b6d9a33934e048) - Added docs about caching. ([@paales](https://github.com/paales))

### Patch Changes
- [#2450](https://github.com/graphcommerce-org/graphcommerce/pull/2450) [`b116d0f`](https://github.com/graphcommerce-org/graphcommerce/commit/b116d0f714d37a4db30b19812ce5a9d2a6372d42) - Added documentation about the Canonical URL and Sitemap handling ([@paales](https://github.com/paales))

- [#1984](https://github.com/graphcommerce-org/graphcommerce/pull/1984) [`e05534f`](https://github.com/graphcommerce-org/graphcommerce/commit/e05534fff4990fd584fe401b55b6d9a33934e048) - Added docs about caching ([@paales](https://github.com/paales))
- [#2329](https://github.com/graphcommerce-org/graphcommerce/pull/2329) [`6301fe3`](https://github.com/graphcommerce-org/graphcommerce/commit/6301fe33e73be1a151d0f8290e83418b4b87a738) - Document patch `custom_attributesV2` for null attribute values issue. ([@SimonPrins](https://github.com/SimonPrins))

## 8.0.6-canary.0
- [#2326](https://github.com/graphcommerce-org/graphcommerce/pull/2326) [`1faefa4`](https://github.com/graphcommerce-org/graphcommerce/commit/1faefa424df1f40e0f7d20def7192cf7752f761e) - Create a 'Third-Party Libraries' page that includes further details on tools such as Google Analytics and Google Tag Manager. ([@carlocarels90](https://github.com/carlocarels90))

### Patch Changes
- [#2247](https://github.com/graphcommerce-org/graphcommerce/pull/2247) [`444e446`](https://github.com/graphcommerce-org/graphcommerce/commit/444e446a218cc9da3defb940a6d5cce0229ff845) - Added clear upgrade instructions for `linguiLocale`. ([@paales](https://github.com/paales))

- [#2196](https://github.com/graphcommerce-org/graphcommerce/pull/2196) [`84c50e4`](https://github.com/graphcommerce-org/graphcommerce/commit/84c50e49a1a7f154d4a8f4045c37e773e20283ad) - Allow Lingui to use linguiLocale with country identifiers like `en-us`, it would always load `en` in this case. Introced a new `useLocale` hook to use the correct locale string to use in Intl methods. ([@paales](https://github.com/paales))
- [#2427](https://github.com/graphcommerce-org/graphcommerce/pull/2427) [`d400e53`](https://github.com/graphcommerce-org/graphcommerce/commit/d400e534c89955c99a7ccb4bc8b1a0ae2ae4fbfd) - Added web vitals document ([@paales](https://github.com/paales))

## 8.0.2

Expand Down
4 changes: 2 additions & 2 deletions docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ File structure of GraphCommerce
### Formatting and Linting

GraphCommerce uses ESLint for linting and Prettier for code formatting. Install
the [recommended VS Code extensions](../docs/getting-started/vscode.md)
the [recommended VS Code extensions](../docs/framework/vscode.md)

<!--
### Contributor License Agreement
Expand Down Expand Up @@ -106,7 +106,7 @@ need to sign the CLA once.
because every change made here must be applied by every developer upgrading a
GraphCommerce project
- Extract code changes made and move them into packages where possible.
- Stylistic only changes usually aren't prefered, less changes often is
- Stylistic only changes usually aren't preferred, less changes often is
better.

## Next steps
Expand Down
2 changes: 1 addition & 1 deletion docs/framework/seo.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ We integrated [JSON-LD](https://json-ld.org/) for pages.
A
[`<JsonLd>`](https://github.com/graphcommerce-org/graphcommerce/blob/main/packages/next-ui/JsonLd/JsonLd.tsx)
component provides Json-LD metadata for your pages. See
[<ProductPageJsonLd>](https://github.com/graphcommerce-org/graphcommerce/blob/main/packages/magento-product/components/JsonLdProduct/ProductPageJsonLd.tsx)
[`<ProductPageJsonLd/>`](https://github.com/graphcommerce-org/graphcommerce/blob/main/packages/magento-product/components/JsonLdProduct/ProductPageJsonLd.tsx)
or
[`<BreadcrumbJsonLd>`](https://github.com/graphcommerce-org/graphcommerce/blob/main/packages/next-ui/BreadcrumbJsonLd/BreadcrumbJsonLd.tsx)
for examples.
Expand Down
9 changes: 5 additions & 4 deletions docs/framework/theming.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ as well as some common theming needs.

## Changing the color palette

The global styles or your GraphCommerce app are located in /components/theme.ts.
To customize the app with your preferred colors, change the primary, secondary
and text colors. Save the file to see your changes updated in real-time:
The global styles or your GraphCommerce app are located in
/components/theme.ts.` To customize the app with your preferred colors, change
the primary, secondary and text colors. Save the file to see your changes
updated in real-time:

```json
primary: {
Expand Down Expand Up @@ -248,7 +249,7 @@ should not be scaled with responsiveVal. To learn more, look into

## Disabling darkmode or lightmode site wide

Remove light={lightTheme} or dark={darkTheme} from the
Remove `light={lightTheme}` or `dark={darkTheme}` from the
`<DarkLightModeThemeProvider />` in \_app.tsx to disable darkmode or lightmode
site wide.

Expand Down
6 changes: 3 additions & 3 deletions docs/getting-started/improving-core-web-vitals.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ GraphCommerce has a strict focus on getting great scores on Google's Core Web
Vitals. This document outlines the steps we take to ensure that our frontend is
performant.

- LCP: Good: <=2.5s Needs Improvement: <=4s Bad: >4s
- CLS: Good: <=0.1 Needs improvement: <=0.25 Bad: >0.25
- INP: Good: <=200ms Needs improvement: <=500ms Bad: >500ms
- LCP: Good: \<=2.5s Needs Improvement: \<=4s Bad: \>4s
- CLS: Good: \<=0.1 Needs improvement: \<=0.25 Bad: \>0.25
- INP: Good: \<=200ms Needs improvement: \<=500ms Bad: \>500ms

To get a good LCP and CLS there are a few things we need to do.

Expand Down
4 changes: 2 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"name": "@graphcommerce/docs",
"homepage": "https://www.graphcommerce.org/docs",
"repository": "github:graphcommerce-org/graphcommerce/docs",
"version": "9.0.0",
"version": "9.0.1",
"sideEffects": true,
"peerDependencies": {
"@graphcommerce/prettier-config-pwa": "^9.0.0"
"@graphcommerce/prettier-config-pwa": "^9.0.1"
},
"prettier": "@graphcommerce/prettier-config-pwa"
}
Loading
Loading