@graphcommerce/magento-graphql 2.104.13 → 3.0.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,83 +1,143 @@
1
1
  # Change Log
2
2
 
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
3
+ ## 3.0.2
5
4
 
6
- # [2.104.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-graphql@2.103.10...@graphcommerce/magento-graphql@2.104.0) (2021-10-27)
5
+ ### Patch Changes
7
6
 
7
+ - [#1276](https://github.com/ho-nl/m2-pwa/pull/1276)
8
+ [`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2)
9
+ Thanks [@paales](https://github.com/paales)! - We've moved lots of internal packages from
10
+ `dependencies` to `peerDependencies`. The result of this is that there will be significantly less
11
+ duplicate packages in the node_modules folders.
8
12
 
9
- ### Features
13
+ * [#1276](https://github.com/ho-nl/m2-pwa/pull/1276)
14
+ [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d)
15
+ Thanks [@paales](https://github.com/paales)! - Upgraded to
16
+ [NextJS 12.1](https://nextjs.org/blog/next-12-1)! This is just for compatibility, but we'll be
17
+ implementing
18
+ [On-demand Incremental Static Regeneration](https://nextjs.org/blog/next-12-1#on-demand-incremental-static-regeneration-beta)
19
+ soon.
10
20
 
11
- * **nextjs:** upgraded to nextjs 12 ([9331bc8](https://github.com/ho-nl/m2-pwa/commit/9331bc801f6419522115cc47d291d49d608d5a90))
21
+ This will greatly reduce the requirement to rebuid stuff and we'll add a management UI on the
22
+ frontend to be able to revalidate pages manually.
12
23
 
24
+ * Updated dependencies
25
+ [[`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2),
26
+ [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d)]:
27
+ - @graphcommerce/graphql@3.0.2
13
28
 
29
+ ## 3.0.1
14
30
 
31
+ ### Patch Changes
15
32
 
33
+ - [`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)
34
+ Thanks [@paales](https://github.com/paales)! - Added homepage and repository package.json files,
35
+ so that the packages link to back to the website and repository
36
+ - Updated dependencies
37
+ [[`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)]:
38
+ - @graphcommerce/graphql@3.0.1
16
39
 
17
- ## [2.103.1](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-graphql@2.103.0...@graphcommerce/magento-graphql@2.103.1) (2021-09-27)
40
+ ## 3.0.0
18
41
 
19
- **Note:** Version bump only for package @graphcommerce/magento-graphql
42
+ ### Major Changes
20
43
 
44
+ - [#1258](https://github.com/ho-nl/m2-pwa/pull/1258)
45
+ [`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)
46
+ Thanks [@paales](https://github.com/paales)! - Upgraded to Material UI 5
21
47
 
48
+ ### Patch Changes
22
49
 
50
+ - Updated dependencies
51
+ [[`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)]:
52
+ - @graphcommerce/graphql@3.0.0
23
53
 
54
+ All notable changes to this project will be documented in this file. See
55
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
24
56
 
25
- # 2.103.0 (2021-09-27)
57
+ # [2.104.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-graphql@2.103.10...@graphcommerce/magento-graphql@2.104.0) (2021-10-27)
26
58
 
59
+ ### Features
27
60
 
28
- ### Bug Fixes
61
+ - **nextjs:** upgraded to nextjs 12
62
+ ([9331bc8](https://github.com/ho-nl/m2-pwa/commit/9331bc801f6419522115cc47d291d49d608d5a90))
29
63
 
30
- * **cart:** invariant violation value_id not found ([c6db986](https://github.com/ho-nl/m2-pwa/commit/c6db986aa411915f344006d16c222b3621e2f4fc))
31
- * category children and swatch renderer ([1ee008d](https://github.com/ho-nl/m2-pwa/commit/1ee008d9ecf3bf5ec4b2d82243e4bcbbec384411))
32
- * ignore md files from triggering version updates ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
33
- * review pagination and sign in using type policies ([ab16659](https://github.com/ho-nl/m2-pwa/commit/ab16659caaa846d6728a3f3f6bcf5d7cb2f55b18))
34
- * yarn workspace packages hot reload ([d03fc9f](https://github.com/ho-nl/m2-pwa/commit/d03fc9fdda3486476761786f2b56a934cc92befc))
64
+ ## [2.103.1](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-graphql@2.103.0...@graphcommerce/magento-graphql@2.103.1) (2021-09-27)
35
65
 
66
+ **Note:** Version bump only for package @graphcommerce/magento-graphql
36
67
 
37
- ### Features
68
+ # 2.103.0 (2021-09-27)
38
69
 
39
- * apollo error full page component ([fc1e695](https://github.com/ho-nl/m2-pwa/commit/fc1e695251a8792abaec5b9382e8301d3794cb6d))
40
- * better 404 handling and simplified getStaticProps ([321ace1](https://github.com/ho-nl/m2-pwa/commit/321ace1850642ee3eddfa674c37e6fca8adcdb74))
41
- * better sign in form handling ([6ac339f](https://github.com/ho-nl/m2-pwa/commit/6ac339fdfa1ece959cc8548e5bfadfca7c1f5cf6))
42
- * created stacked-pages package ([d86008e](https://github.com/ho-nl/m2-pwa/commit/d86008ee659ccb25b194a41d624b394a1ddbd088))
43
- * **graphql:** introduced new graphql package that holds all generated files ([a3e7aa0](https://github.com/ho-nl/m2-pwa/commit/a3e7aa05540540533b5ced9a95f1f802ecbe499f))
44
- * i18n routing added (/ and /fr for demo) ([bb3b339](https://github.com/ho-nl/m2-pwa/commit/bb3b339fbc9fceddd264a891ad81f00327a241ae))
45
- * implemented checkmo payment method ([18525b2](https://github.com/ho-nl/m2-pwa/commit/18525b2f4efe9bd0eea12a7a992d284f341e0c68))
46
- * improved drawer stacking and stable layoutId support ([b5b0406](https://github.com/ho-nl/m2-pwa/commit/b5b040635993eb3da819606e94d3cd6fdaddb05c))
47
- * **magento-customer:** introduced ApolloCustomerErrorAlert ([e5406d9](https://github.com/ho-nl/m2-pwa/commit/e5406d91f914de290c5f097955e312312e567972))
48
- * **magento-graphql:** added core magentoTypePolicies ([bdf15d0](https://github.com/ho-nl/m2-pwa/commit/bdf15d0d3c04e88339a8385d76f3b1ab9589fde3))
49
- * major performance refactor ([03f8e2f](https://github.com/ho-nl/m2-pwa/commit/03f8e2fa16ef919bd6bd6eadd36922d0245ed960))
50
- * next.js 11 ([7d61407](https://github.com/ho-nl/m2-pwa/commit/7d614075a778f488045034f74be4f75b93f63c43))
51
- * **playwright:** added new playwright package to enable browser testing ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
52
- * product page review pagination ([4e18395](https://github.com/ho-nl/m2-pwa/commit/4e18395944c08e195fd09192086301c695d044ed))
53
- * renamed all packages to use [@graphcommerce](https://github.com/graphcommerce) instead of [@reachdigital](https://github.com/reachdigital) ([491e4ce](https://github.com/ho-nl/m2-pwa/commit/491e4cec9a2686472dac36b79f999257c0811ffe))
54
- * support vscode graphql extension ([9324507](https://github.com/ho-nl/m2-pwa/commit/9324507c3c149fbcb7cd51ac41250a8637521ceb))
55
- * upgrade to node 14 ([d079a75](https://github.com/ho-nl/m2-pwa/commit/d079a751e9bfd8dc7f5009d2c9f31c336a0c96ab))
56
- * upgraded to nextjs 11 ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
57
- * working on EmailForm ([f16141f](https://github.com/ho-nl/m2-pwa/commit/f16141f8cc0dfeaef8dee2a3e635bda898550a51))
70
+ ### Bug Fixes
58
71
 
72
+ - **cart:** invariant violation value_id not found
73
+ ([c6db986](https://github.com/ho-nl/m2-pwa/commit/c6db986aa411915f344006d16c222b3621e2f4fc))
74
+ - category children and swatch renderer
75
+ ([1ee008d](https://github.com/ho-nl/m2-pwa/commit/1ee008d9ecf3bf5ec4b2d82243e4bcbbec384411))
76
+ - ignore md files from triggering version updates
77
+ ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
78
+ - review pagination and sign in using type policies
79
+ ([ab16659](https://github.com/ho-nl/m2-pwa/commit/ab16659caaa846d6728a3f3f6bcf5d7cb2f55b18))
80
+ - yarn workspace packages hot reload
81
+ ([d03fc9f](https://github.com/ho-nl/m2-pwa/commit/d03fc9fdda3486476761786f2b56a934cc92befc))
59
82
 
60
- ### Reverts
83
+ ### Features
61
84
 
62
- * Revert "chore: upgrade @apollo/client" ([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
85
+ - apollo error full page component
86
+ ([fc1e695](https://github.com/ho-nl/m2-pwa/commit/fc1e695251a8792abaec5b9382e8301d3794cb6d))
87
+ - better 404 handling and simplified getStaticProps
88
+ ([321ace1](https://github.com/ho-nl/m2-pwa/commit/321ace1850642ee3eddfa674c37e6fca8adcdb74))
89
+ - better sign in form handling
90
+ ([6ac339f](https://github.com/ho-nl/m2-pwa/commit/6ac339fdfa1ece959cc8548e5bfadfca7c1f5cf6))
91
+ - created stacked-pages package
92
+ ([d86008e](https://github.com/ho-nl/m2-pwa/commit/d86008ee659ccb25b194a41d624b394a1ddbd088))
93
+ - **graphql:** introduced new graphql package that holds all generated files
94
+ ([a3e7aa0](https://github.com/ho-nl/m2-pwa/commit/a3e7aa05540540533b5ced9a95f1f802ecbe499f))
95
+ - i18n routing added (/ and /fr for demo)
96
+ ([bb3b339](https://github.com/ho-nl/m2-pwa/commit/bb3b339fbc9fceddd264a891ad81f00327a241ae))
97
+ - implemented checkmo payment method
98
+ ([18525b2](https://github.com/ho-nl/m2-pwa/commit/18525b2f4efe9bd0eea12a7a992d284f341e0c68))
99
+ - improved drawer stacking and stable layoutId support
100
+ ([b5b0406](https://github.com/ho-nl/m2-pwa/commit/b5b040635993eb3da819606e94d3cd6fdaddb05c))
101
+ - **magento-customer:** introduced ApolloCustomerErrorAlert
102
+ ([e5406d9](https://github.com/ho-nl/m2-pwa/commit/e5406d91f914de290c5f097955e312312e567972))
103
+ - **magento-graphql:** added core magentoTypePolicies
104
+ ([bdf15d0](https://github.com/ho-nl/m2-pwa/commit/bdf15d0d3c04e88339a8385d76f3b1ab9589fde3))
105
+ - major performance refactor
106
+ ([03f8e2f](https://github.com/ho-nl/m2-pwa/commit/03f8e2fa16ef919bd6bd6eadd36922d0245ed960))
107
+ - next.js 11
108
+ ([7d61407](https://github.com/ho-nl/m2-pwa/commit/7d614075a778f488045034f74be4f75b93f63c43))
109
+ - **playwright:** added new playwright package to enable browser testing
110
+ ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
111
+ - product page review pagination
112
+ ([4e18395](https://github.com/ho-nl/m2-pwa/commit/4e18395944c08e195fd09192086301c695d044ed))
113
+ - renamed all packages to use [@graphcommerce](https://github.com/graphcommerce) instead of
114
+ [@reachdigital](https://github.com/reachdigital)
115
+ ([491e4ce](https://github.com/ho-nl/m2-pwa/commit/491e4cec9a2686472dac36b79f999257c0811ffe))
116
+ - support vscode graphql extension
117
+ ([9324507](https://github.com/ho-nl/m2-pwa/commit/9324507c3c149fbcb7cd51ac41250a8637521ceb))
118
+ - upgrade to node 14
119
+ ([d079a75](https://github.com/ho-nl/m2-pwa/commit/d079a751e9bfd8dc7f5009d2c9f31c336a0c96ab))
120
+ - upgraded to nextjs 11
121
+ ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
122
+ - working on EmailForm
123
+ ([f16141f](https://github.com/ho-nl/m2-pwa/commit/f16141f8cc0dfeaef8dee2a3e635bda898550a51))
63
124
 
125
+ ### Reverts
64
126
 
127
+ - Revert "chore: upgrade @apollo/client"
128
+ ([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
65
129
 
66
130
  ## 2.0.8 (2020-10-28)
67
131
 
68
-
69
132
  ### Bug Fixes
70
133
 
71
- * exclusively use Magento endpoint for magento codegen packages ([deafc42](https://github.com/ho-nl/m2-pwa/commit/deafc423ca0831853ac070e947b900ece565fa65))
72
-
134
+ - exclusively use Magento endpoint for magento codegen packages
135
+ ([deafc42](https://github.com/ho-nl/m2-pwa/commit/deafc423ca0831853ac070e947b900ece565fa65))
73
136
 
74
137
  ### Features
75
138
 
76
- * added generated graphql.ts files ([3e44415](https://github.com/ho-nl/m2-pwa/commit/3e44415b018e74b502e9e98479aa5e84041f337d))
77
-
78
-
79
-
80
-
139
+ - added generated graphql.ts files
140
+ ([3e44415](https://github.com/ho-nl/m2-pwa/commit/3e44415b018e74b502e9e98479aa5e84041f337d))
81
141
 
82
142
  # Change Log
83
143
 
@@ -1,4 +1,4 @@
1
- import { ApolloError } from '@apollo/client'
1
+ import { ApolloError } from '@graphcommerce/graphql'
2
2
  import type { GraphQLError } from 'graphql'
3
3
 
4
4
  export type ErrorCategory =
package/package.json CHANGED
@@ -1,12 +1,11 @@
1
1
  {
2
2
  "name": "@graphcommerce/magento-graphql",
3
- "version": "2.104.13",
3
+ "homepage": "https://www.graphcommerce.org/",
4
+ "repository": "github:graphcommerce-org/graphcommerce",
5
+ "version": "3.0.2",
4
6
  "sideEffects": false,
5
7
  "main": "index.ts",
6
8
  "prettier": "@graphcommerce/prettier-config-pwa",
7
- "browserslist": [
8
- "extends @graphcommerce/browserslist-config-pwa"
9
- ],
10
9
  "eslintConfig": {
11
10
  "extends": "@graphcommerce/eslint-config-pwa",
12
11
  "parserOptions": {
@@ -14,18 +13,17 @@
14
13
  }
15
14
  },
16
15
  "devDependencies": {
17
- "@graphcommerce/browserslist-config-pwa": "^3.0.3",
18
- "@graphcommerce/eslint-config-pwa": "^3.1.10",
19
- "@graphcommerce/prettier-config-pwa": "^3.0.5",
20
- "@graphcommerce/typescript-config-pwa": "^3.1.2",
21
- "@playwright/test": "^1.17.1"
16
+ "@graphcommerce/eslint-config-pwa": "^4.0.2",
17
+ "@graphcommerce/prettier-config-pwa": "^4.0.1",
18
+ "@graphcommerce/typescript-config-pwa": "^4.0.1",
19
+ "@playwright/test": "^1.19.1"
22
20
  },
23
21
  "dependencies": {
24
- "@apollo/client": "^3.5.6",
25
- "@graphcommerce/graphql": "^2.105.13",
26
- "next": "^12.0.7",
22
+ "@graphcommerce/graphql": "^3.0.2"
23
+ },
24
+ "peerDependencies": {
25
+ "next": "^12.0.10",
27
26
  "react": "^17.0.2",
28
27
  "react-dom": "^17.0.2"
29
- },
30
- "gitHead": "bc5423d7547f8685db4cd8fc6d8f7a2a51ebed05"
28
+ }
31
29
  }