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

Fix/realease oversights #2461

Merged
merged 13 commits into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 5 additions & 0 deletions .changeset/clever-rivers-look.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphcommerce/hygraph-ui': patch
---

Solve issue where the preview mode wouldn't initialize if the hygraphLocales weren't defined
5 changes: 5 additions & 0 deletions .changeset/fifty-points-tap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphcommerce/algolia-insights': patch
---

Solve issue where the item.filters would sometimes be invalid
5 changes: 5 additions & 0 deletions .changeset/five-stingrays-sort.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphcommerce/magento-product': patch
---

Prevent forwarding the isBack prop to the DOM element
5 changes: 5 additions & 0 deletions .changeset/four-dancers-beg.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphcommerce/magento-cart-shipping-address': patch
---

When a Customer deselected their shipping address, but had a shipping note filled in it would try to submit the form causing an error. By making the customer_address_id field required we prevent this.
6 changes: 6 additions & 0 deletions .changeset/fuzzy-carrots-visit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@graphcommerce/magento-cart-items': patch
'@graphcommerce/misc': patch
---

Solve issue where the cart item edit form wasn't aligned in the middle
5 changes: 5 additions & 0 deletions .changeset/light-pumpkins-clean.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphcommerce/magento-category': patch
---

Solve an issue where CategoryChildren wouldn't be rendered on mobile when using the ProductListLayoutSidebar component.
5 changes: 5 additions & 0 deletions .changeset/pretty-dancers-hammer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphcommerce/magento-search-overlay': patch
---

Solve issue with the SearchField throwing an error in production.
727 changes: 248 additions & 479 deletions .changeset/RELEASE-9.0.0.md → .changeset/releases/RELEASE-9.0.0.md

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions .changeset/shy-foxes-drop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphcommerce/docs': patch
---

Solve issue with documentation parsing markdown files as mdx
5 changes: 5 additions & 0 deletions .changeset/two-ligers-hide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphcommerce/hygraph-ui': patch
---

Support for new asset system of Hygraph
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
2 changes: 1 addition & 1 deletion examples/magento-graphcms/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
- Added new `permissions` configuration for GraphCommerce
- Added `permissions.cart`: `ENABLED` | `CUSTOMER_ONLY` | `DISABLED`
- Added `permissions.checkout`: `ENABLED` | `CUSTOMER_ONLY` | `DISABLED`
- Adedd `permissions.customerAccount`: `ENABLED` | `DISABLE_REGISTRATION` | `DISABLE` ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
- Added `permissions.customerAccount`: `ENABLED` | `DISABLE_REGISTRATION` | `DISABLE` ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))

- [#2324](https://github.com/graphcommerce-org/graphcommerce/pull/2324) [`1c8b1e4`](https://github.com/graphcommerce-org/graphcommerce/commit/1c8b1e441ac44935bfd2215d62a71c02b3ba7e6f) - Magento 2.4.7: Implement the `contactUs` mutation, add contact us overlay. ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
import { CategoryBreadcrumbs, CategoryDescription } from '@graphcommerce/magento-category'
import {
CategoryBreadcrumbs,
CategoryChildren,
CategoryDescription,
} from '@graphcommerce/magento-category'
import {
ProductFiltersPro,
ProductFiltersProAggregations,
Expand Down Expand Up @@ -96,6 +100,9 @@ export const ProductListLayoutSidebar = memoDeep((props: ProductListLayoutProps)
textAlignSm='start'
description={category?.description}
/>
<MediaQuery query={(theme) => theme.breakpoints.down('md')}>
<CategoryChildren params={params}>{category?.children}</CategoryChildren>
</MediaQuery>
</>
) : (
<>
Expand Down
2 changes: 2 additions & 0 deletions examples/magento-graphcms/lib/graphql/graphqlSsrClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ function client(context: GetStaticPropsContext, fetchPolicy: FetchPolicy = 'no-c
* browser's cache.
*/
export function graphqlSharedClient(context: GetStaticPropsContext) {
if (context.preview || context.draftMode) return client(context, 'no-cache')
return client(context, 'cache-first')
}

Expand All @@ -56,6 +57,7 @@ const ssrClient: {
} = {}

export function graphqlSsrClient(context: GetStaticPropsContext) {
if (context.preview || context.draftMode) return client(context, 'no-cache')
const locale = context.locale ?? storefrontConfigDefault().locale
i18nSsrLoader(locale)

Expand Down
6 changes: 3 additions & 3 deletions examples/magento-graphcms/pages/checkout/item/[url].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {
} from '@graphcommerce/magento-cart-items'
import { ProductPageGallery, ProductPageName } from '@graphcommerce/magento-product'
import {
Container,
FullPageMessage,
GetServerSideProps,
LayoutOverlay,
Expand All @@ -27,7 +28,7 @@ import {
} from '@graphcommerce/next-ui'
import { i18n } from '@lingui/core'
import { Trans } from '@lingui/react'
import { CircularProgress, Container, Typography } from '@mui/material'
import { CircularProgress, Typography } from '@mui/material'
import { LayoutNavigationProps, AddProductsToCartView } from '../../../components'
import { Props, getStaticProps } from '../../p/[url]'

Expand Down Expand Up @@ -72,7 +73,7 @@ function CartItemEdit(props: Props) {
</EmptyCart>
)}
{cartItem && (
<Container>
<Container maxWidth='500px'>
<EditCartItemForm
key={cartItem.uid}
href='/cart'
Expand All @@ -88,7 +89,6 @@ function CartItemEdit(props: Props) {
disableSticky
variantMd='oneColumn'
sx={(theme) => ({
maxWidth: '500px',
mb: 0,
'& .SidebarGallery-sidebar': { display: 'grid', rowGap: theme.spacings.sm },
})}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
import { CategoryBreadcrumbs, CategoryDescription } from '@graphcommerce/magento-category'
import {
CategoryBreadcrumbs,
CategoryChildren,
CategoryDescription,
} from '@graphcommerce/magento-category'
import {
ProductFiltersPro,
ProductFiltersProAggregations,
Expand All @@ -21,11 +25,12 @@ import {
ProductFiltersProCategorySectionSearch,
ProductFiltersProSearchTerm,
} from '@graphcommerce/magento-search'
import { MediaQuery, memoDeep, Container, StickyBelowHeader } from '@graphcommerce/next-ui'
import { Container, MediaQuery, memoDeep, StickyBelowHeader } from '@graphcommerce/next-ui'
import { Trans } from '@lingui/macro'
import { Box, Typography } from '@mui/material'
import { ProductListItems } from '../ProductListItems'
import { ProductListLayoutProps, useLayoutConfiguration } from './types'
import type { ProductListLayoutProps } from './types'
import { useLayoutConfiguration } from './types'

export const ProductListLayoutSidebar = memoDeep((props: ProductListLayoutProps) => {
const { filters, filterTypes, params, products, handleSubmit, category, title, menu } = props
Expand Down Expand Up @@ -96,6 +101,9 @@ export const ProductListLayoutSidebar = memoDeep((props: ProductListLayoutProps)
textAlignSm='start'
description={category?.description}
/>
<MediaQuery query={(theme) => theme.breakpoints.down('md')}>
<CategoryChildren params={params}>{category?.children}</CategoryChildren>
</MediaQuery>
</>
) : (
<>
Expand Down
6 changes: 4 additions & 2 deletions examples/magento-open-source/lib/graphql/graphqlSsrClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ import type {
import {
ApolloClient,
ApolloLink,
InMemoryCache,
errorLink,
fragments,
graphqlConfig,
InMemoryCache,
measurePerformanceLink,
mergeTypePolicies,
} from '@graphcommerce/graphql'
import { MeshApolloLink, getBuiltMesh } from '@graphcommerce/graphql-mesh'
import { getBuiltMesh, MeshApolloLink } from '@graphcommerce/graphql-mesh'
import { storefrontConfig, storefrontConfigDefault } from '@graphcommerce/next-ui'
import type { GetStaticPropsContext } from 'next'
import { i18nSsrLoader } from '../i18n/I18nProvider'
Expand Down Expand Up @@ -50,6 +50,7 @@ function client(context: GetStaticPropsContext, fetchPolicy: FetchPolicy = 'no-c
* browser's cache.
*/
export function graphqlSharedClient(context: GetStaticPropsContext) {
if (context.preview || context.draftMode) return client(context, 'no-cache')
return client(context, 'cache-first')
}

Expand All @@ -58,6 +59,7 @@ const ssrClient: {
} = {}

export function graphqlSsrClient(context: GetStaticPropsContext) {
if (context.preview || context.draftMode) return client(context, 'no-cache')
const locale = context.locale ?? storefrontConfigDefault().locale
i18nSsrLoader(locale)

Expand Down
8 changes: 4 additions & 4 deletions examples/magento-open-source/pages/checkout/item/[url].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,18 @@ import {
import { ProductPageGallery, ProductPageName } from '@graphcommerce/magento-product'
import type { GetServerSideProps, LayoutOverlayProps } from '@graphcommerce/next-ui'
import {
Container,
FullPageMessage,
iconShoppingBag,
LayoutOverlay,
LayoutOverlayHeader,
LayoutTitle,
OverlayStickyBottom,
PageMeta,
iconShoppingBag,
} from '@graphcommerce/next-ui'
import { i18n } from '@lingui/core'
import { Trans } from '@lingui/react'
import { CircularProgress, Container, Typography } from '@mui/material'
import { CircularProgress, Typography } from '@mui/material'
import type { LayoutNavigationProps } from '../../../components'
import { AddProductsToCartView } from '../../../components'
import type { Props } from '../../p/[url]'
Expand Down Expand Up @@ -73,7 +74,7 @@ function CartItemEdit(props: Props) {
</EmptyCart>
)}
{cartItem && (
<Container>
<Container maxWidth='500px'>
<EditCartItemForm
key={cartItem.uid}
href='/cart'
Expand All @@ -89,7 +90,6 @@ function CartItemEdit(props: Props) {
disableSticky
variantMd='oneColumn'
sx={(theme) => ({
maxWidth: '500px',
mb: 0,
'& .SidebarGallery-sidebar': { display: 'grid', rowGap: theme.spacings.sm },
})}
Expand Down
2 changes: 1 addition & 1 deletion packages/algolia-insights/hooks/useSendAlgoliaEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ const dataLayerToAlgoliaMap: {
const mapping = getObjectIDToQuery()
const objectIDs = eventData.items.map((item) => atob(item.item_uid))

const relevant = objectIDs.map((objectID) => mapping[objectID])
const relevant = objectIDs.map((objectID) => mapping[objectID]).filter(Boolean)
const queryID = relevant?.[0]?.queryID
const filters = [...new Set(...relevant.map((item) => item.filters))]

Expand Down
2 changes: 1 addition & 1 deletion packages/ecommerce-ui/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
- Added new `permissions` configuration for GraphCommerce
- Added `permissions.cart`: `ENABLED` | `CUSTOMER_ONLY` | `DISABLED`
- Added `permissions.checkout`: `ENABLED` | `CUSTOMER_ONLY` | `DISABLED`
- Adedd `permissions.customerAccount`: `ENABLED` | `DISABLE_REGISTRATION` | `DISABLE` ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
- Added `permissions.customerAccount`: `ENABLED` | `DISABLE_REGISTRATION` | `DISABLE` ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))

### Minor Changes

Expand Down
4 changes: 1 addition & 3 deletions packages/hygraph-ui/plugins/hygraphGraphqlConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,9 @@ export const graphqlConfig: FunctionPlugin<typeof graphqlConfigType> = (prev, co

const locales = conf.storefront.hygraphLocales

if (!locales) return prev(conf)

const hygraphLink = setContext((_, context) => {
if (!context.headers) context.headers = {}
context.headers['gcms-locales'] = locales.join(',')
if (locales) context.headers['gcms-locales'] = locales.join(',')

const stage = conf.previewData?.hygraphStage ?? 'DRAFT'
if (conf.preview) {
Expand Down
2 changes: 1 addition & 1 deletion packages/magento-cart-email/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
- Added new `permissions` configuration for GraphCommerce
- Added `permissions.cart`: `ENABLED` | `CUSTOMER_ONLY` | `DISABLED`
- Added `permissions.checkout`: `ENABLED` | `CUSTOMER_ONLY` | `DISABLED`
- Adedd `permissions.customerAccount`: `ENABLED` | `DISABLE_REGISTRATION` | `DISABLE` ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
- Added `permissions.customerAccount`: `ENABLED` | `DISABLE_REGISTRATION` | `DISABLE` ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))

### Minor Changes

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ export function CustomerAddressForm(props: CustomerAddressListProps) {
collapse
size='large'
color='secondary'
required
items={[
...customerAddresses.map((address) => ({ ...address, value: address.id })),
{ value: -1 },
Expand Down
2 changes: 1 addition & 1 deletion packages/magento-cart/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
- Added new `permissions` configuration for GraphCommerce
- Added `permissions.cart`: `ENABLED` | `CUSTOMER_ONLY` | `DISABLED`
- Added `permissions.checkout`: `ENABLED` | `CUSTOMER_ONLY` | `DISABLED`
- Adedd `permissions.customerAccount`: `ENABLED` | `DISABLE_REGISTRATION` | `DISABLE` ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
- Added `permissions.customerAccount`: `ENABLED` | `DISABLE_REGISTRATION` | `DISABLE` ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))

- [#2234](https://github.com/graphcommerce-org/graphcommerce/pull/2234) [`530076e`](https://github.com/graphcommerce-org/graphcommerce/commit/530076e3664703cb8b577b7fcf1998a420819f60) - INP improvements: Moved all usages of `useFormPersist` to the `<FormPersist/>` component to prevent rerenders. ([@FrankHarland](https://github.com/FrankHarland))

Expand Down
6 changes: 3 additions & 3 deletions packages/magento-customer/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,12 @@

- [#2327](https://github.com/graphcommerce-org/graphcommerce/pull/2327) [`af83d81`](https://github.com/graphcommerce-org/graphcommerce/commit/af83d81656a4c1a014802fb052a94a079e9f60c1) - Add `reorderItems` mutation, add `reorder` button to order detail page. ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))

- [#2320](https://github.com/graphcommerce-org/graphcommerce/pull/2320) [`dc5e85c`](https://github.com/graphcommerce-org/graphcommerce/commit/dc5e85c95dad6145fde02a6e54f0fbd1cdfe9e3d) - Replace deprecated `updateCustomer` mutations with `updateCustomerV2`. ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))

- [#2366](https://github.com/graphcommerce-org/graphcommerce/pull/2366) [`3612c99`](https://github.com/graphcommerce-org/graphcommerce/commit/3612c994b80bb3b1bc02de10668f69a332402dc4) - Add `permissions` configuration to disable functionalities.

- Added new `permissions` configuration for GraphCommerce
- Added `permissions.cart`: `ENABLED` | `CUSTOMER_ONLY` | `DISABLED`
- Added `permissions.checkout`: `ENABLED` | `CUSTOMER_ONLY` | `DISABLED`
- Adedd `permissions.customerAccount`: `ENABLED` | `DISABLE_REGISTRATION` | `DISABLE` ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
- Added `permissions.customerAccount`: `ENABLED` | `DISABLE_REGISTRATION` | `DISABLE` ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))

- [#2324](https://github.com/graphcommerce-org/graphcommerce/pull/2324) [`1c8b1e4`](https://github.com/graphcommerce-org/graphcommerce/commit/1c8b1e441ac44935bfd2215d62a71c02b3ba7e6f) - Magento 2.4.7: Implement the `contactUs` mutation, add contact us overlay. ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))

Expand All @@ -37,6 +35,8 @@

- [#2301](https://github.com/graphcommerce-org/graphcommerce/pull/2301) [`13d0649`](https://github.com/graphcommerce-org/graphcommerce/commit/13d06498d121f93b52c25930e50aa3b0bd12a818) - Created a new `<EmailElement/>` component to make re-use easier. ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))

- [#2320](https://github.com/graphcommerce-org/graphcommerce/pull/2320) [`dc5e85c`](https://github.com/graphcommerce-org/graphcommerce/commit/dc5e85c95dad6145fde02a6e54f0fbd1cdfe9e3d) - Replace deprecated `updateCustomer` mutations with `updateCustomerV2`. ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))

### Patch Changes

- [#2392](https://github.com/graphcommerce-org/graphcommerce/pull/2392) [`1c0bde3`](https://github.com/graphcommerce-org/graphcommerce/commit/1c0bde328035de75b165c40e4a0fe80c7de2267b) - Redirect users to homepage after password reset as `router.back()` often returns an empty or invalid history state. ([@carlocarels90](https://github.com/carlocarels90))
Expand Down
8 changes: 6 additions & 2 deletions packages/magento-graphql/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,16 @@

### Major Changes

- [#2416](https://github.com/graphcommerce-org/graphcommerce/pull/2416) [`53af256`](https://github.com/graphcommerce-org/graphcommerce/commit/53af25671d3aca7f3daa2dd45ccd2237697e9254) - Magento 2.4.7: To make the `custom_attribute` field more valueable, we've added an `attribute`-field to the `AttributeValueInterface` to be able to retrieve attribute metadata from the value of an attribute. To be able to retieve the attribute label for an attribute value. ([@paales](https://github.com/paales))

- [#2416](https://github.com/graphcommerce-org/graphcommerce/pull/2416) [`651eea0`](https://github.com/graphcommerce-org/graphcommerce/commit/651eea0bdda1ed0f46f4c73d7edf52c8c1da5b54) - Magento 2.4.7: Created a GraphQL query field for products: `custom_attribute(attribute_code: "attribute_code")` to retrieve attribute option value labels. This is different from the `custom_attributes` endpoint (note the plural) and allows for retrieving singular attribute values, like brand or any other select or multiselect attribute. ([@paales](https://github.com/paales))

to retieve the attribute label for an attribute value. ([@paales](https://github.com/paales))

- [#2299](https://github.com/graphcommerce-org/graphcommerce/pull/2299) [`c6ac45b`](https://github.com/graphcommerce-org/graphcommerce/commit/c6ac45b8ff41dcaa47f1e5d40d04e120990870aa) - Magento 2.4.7: Added a `magentoVersion` configuration value to be able to differentiate features based on the Magento version. GraphCommerce will automatically load any schema's that are defined in later version of Magento, allowing GraphCommerce to be forward compatible. See [schema-246](https://github.com/graphcommerce-org/graphcommerce/tree/canary/packages/magento-graphql/schema-246) and [schema-247](https://github.com/graphcommerce-org/graphcommerce/tree/canary/packages/magento-graphql/schema-247) directories for the changes made to the schema. This is only for compatibility and doesn't make the functionality work. ([@paales](https://github.com/paales))

### Minor Changes

- [#2416](https://github.com/graphcommerce-org/graphcommerce/pull/2416) [`53af256`](https://github.com/graphcommerce-org/graphcommerce/commit/53af25671d3aca7f3daa2dd45ccd2237697e9254) - Magento 2.4.7: To make the `custom_attribute` field more valueable, we've added an `attribute`-field to the `AttributeValueInterface` to be able to retrieve attribute metadata from the value of an attribute. To be able

### Patch Changes

- [#2204](https://github.com/graphcommerce-org/graphcommerce/pull/2204) [`42843eb`](https://github.com/graphcommerce-org/graphcommerce/commit/42843eb760f8301eb7901bb0d888c95792ff0b4b) - Add `X-Forwarded-For` header to mesh requests. ([@SumVur](https://github.com/SumVur))
Expand Down
Loading
Loading