@graphcommerce/magento-graphql 9.0.1-canary.0 → 9.0.1-canary.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,66 +1,30 @@
1
1
  # Change Log
2
2
 
3
- ## 9.0.1-canary.0
4
-
5
- ## 9.0.0
6
-
7
- ### Minor Changes
8
-
9
- - [#2416](https://github.com/graphcommerce-org/graphcommerce/pull/2416) [`651eea0`](https://github.com/graphcommerce-org/graphcommerce/commit/651eea0bdda1ed0f46f4c73d7edf52c8c1da5b54) - Created a new field for products: `custom_attribute(attribute_code: "attribute_code")` to retrieve attribute option value labels. This field is only available in Magento 2.4.7 and up. ([@paales](https://github.com/paales))
10
-
11
- - [#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))
12
-
13
- - [#2416](https://github.com/graphcommerce-org/graphcommerce/pull/2416) [`53af256`](https://github.com/graphcommerce-org/graphcommerce/commit/53af25671d3aca7f3daa2dd45ccd2237697e9254) - Added an `attribute`-field to `AttributeValueInterface` to be able to retrieve attribute metadata from the value of an attribute. ([@paales](https://github.com/paales))
3
+ ## 9.0.1-canary.2
14
4
 
15
5
  ### Patch Changes
16
6
 
17
- - [#2299](https://github.com/graphcommerce-org/graphcommerce/pull/2299) [`c6ac45b`](https://github.com/graphcommerce-org/graphcommerce/commit/c6ac45b8ff41dcaa47f1e5d40d04e120990870aa) - Added a `magentoVersion` configuration value to be able to differentiate features based on the Magento version. ([@paales](https://github.com/paales))
18
-
19
- ## 9.0.0-canary.118
20
-
21
- ## 9.0.0-canary.117
22
-
23
- ## 9.0.0-canary.116
24
-
25
- ## 9.0.0-canary.115
7
+ - [#2465](https://github.com/graphcommerce-org/graphcommerce/pull/2465) [`22b9111`](https://github.com/graphcommerce-org/graphcommerce/commit/22b9111b93bbfaa4d323c183b8c5a1e72b807725) - Support Magento 2.4.7 placeOrder.errors field to handle possible errors while placing the order. An `assertOrderPlaced` method was created to assert a valid placed order. ([@paales](https://github.com/paales))
26
8
 
27
- ## 9.0.0-canary.114
9
+ ## 9.0.1-canary.1
28
10
 
29
- ## 9.0.0-canary.113
30
-
31
- ## 9.0.0-canary.112
32
-
33
- ## 9.0.0-canary.111
34
-
35
- ## 9.0.0-canary.110
36
-
37
- ## 9.0.0-canary.109
38
-
39
- ## 9.0.0-canary.108
40
-
41
- ## 9.0.0-canary.107
42
-
43
- ## 9.0.0-canary.106
11
+ ## 9.0.0
44
12
 
45
- ## 9.0.0-canary.105
13
+ ### Major Changes
46
14
 
47
- ## 9.0.0-canary.104
15
+ - [#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))
48
16
 
49
- ## 9.0.0-canary.103
17
+ to retieve the attribute label for an attribute value. ([@paales](https://github.com/paales))
50
18
 
51
- ## 9.0.0-canary.99
19
+ - [#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))
52
20
 
53
21
  ### Minor Changes
54
22
 
55
- - [#2416](https://github.com/graphcommerce-org/graphcommerce/pull/2416) [`651eea0`](https://github.com/graphcommerce-org/graphcommerce/commit/651eea0bdda1ed0f46f4c73d7edf52c8c1da5b54) - Created a new field for products: `custom_attribute(attribute_code: "attribute_code")` to retrieve attribute option value labels. This field is only available in Magento 2.4.7 and up. ([@paales](https://github.com/paales))
56
-
57
- - [#2416](https://github.com/graphcommerce-org/graphcommerce/pull/2416) [`53af256`](https://github.com/graphcommerce-org/graphcommerce/commit/53af25671d3aca7f3daa2dd45ccd2237697e9254) - Added an `attribute`-field to `AttributeValueInterface` to be able to retrieve attribute metadata from the value of an attribute. ([@paales](https://github.com/paales))
58
-
59
- ## 8.1.0-canary.32
23
+ - [#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
60
24
 
61
25
  ### Patch Changes
62
26
 
63
- - [#2299](https://github.com/graphcommerce-org/graphcommerce/pull/2299) [`c6ac45b`](https://github.com/graphcommerce-org/graphcommerce/commit/c6ac45b8ff41dcaa47f1e5d40d04e120990870aa) - Added a magentoVersion configuration value to be able to differentiate features based on the Magento version ([@paales](https://github.com/paales))
27
+ - [#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))
64
28
 
65
29
  ## 7.0.0
66
30
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/magento-graphql",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "9.0.1-canary.0",
5
+ "version": "9.0.1-canary.2",
6
6
  "sideEffects": false,
7
7
  "main": "index.ts",
8
8
  "prettier": "@graphcommerce/prettier-config-pwa",
@@ -13,10 +13,10 @@
13
13
  }
14
14
  },
15
15
  "peerDependencies": {
16
- "@graphcommerce/eslint-config-pwa": "^9.0.1-canary.0",
17
- "@graphcommerce/graphql": "^9.0.1-canary.0",
18
- "@graphcommerce/prettier-config-pwa": "^9.0.1-canary.0",
19
- "@graphcommerce/typescript-config-pwa": "^9.0.1-canary.0",
16
+ "@graphcommerce/eslint-config-pwa": "^9.0.1-canary.2",
17
+ "@graphcommerce/graphql": "^9.0.1-canary.2",
18
+ "@graphcommerce/prettier-config-pwa": "^9.0.1-canary.2",
19
+ "@graphcommerce/typescript-config-pwa": "^9.0.1-canary.2",
20
20
  "graphql": "^16.0.0",
21
21
  "next": "*",
22
22
  "react": "^18.2.0",
@@ -3,6 +3,11 @@ type PlaceOrderOutput {
3
3
  The ID of the order.
4
4
  """
5
5
  order: Order
6
+ """
7
+ An array of place order errors.
8
+ """
9
+ errors: [PlaceOrderError]! @deprecated(reason: "Magento >= 2.4.7")
10
+
6
11
  """
7
12
  Full order information.
8
13
  """