@graphcommerce/magento-store 10.0.0-canary.72 → 10.0.1-canary.0
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 +14 -174
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,42 +1,8 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
## 10.0.
|
|
3
|
+
## 10.0.1-canary.0
|
|
4
4
|
|
|
5
|
-
## 10.0.0
|
|
6
|
-
|
|
7
|
-
## 10.0.0-canary.70
|
|
8
|
-
|
|
9
|
-
### Major Changes
|
|
10
|
-
|
|
11
|
-
- [#2565](https://github.com/graphcommerce-org/graphcommerce/pull/2565) [`c96dfcd`](https://github.com/graphcommerce-org/graphcommerce/commit/c96dfcdca981baca387c270ad9e2b9515cdd00cc) - Updated to Apollo Client 4 ([@paales](https://github.com/paales))
|
|
12
|
-
|
|
13
|
-
## 10.0.0-canary.69
|
|
14
|
-
|
|
15
|
-
## 10.0.0-canary.68
|
|
16
|
-
|
|
17
|
-
## 10.0.0-canary.67
|
|
18
|
-
|
|
19
|
-
## 10.0.0-canary.66
|
|
20
|
-
|
|
21
|
-
## 10.0.0-canary.65
|
|
22
|
-
|
|
23
|
-
## 10.0.0-canary.64
|
|
24
|
-
|
|
25
|
-
## 10.0.0-canary.63
|
|
26
|
-
|
|
27
|
-
## 10.0.0-canary.62
|
|
28
|
-
|
|
29
|
-
## 10.0.0-canary.61
|
|
30
|
-
|
|
31
|
-
## 10.0.0-canary.60
|
|
32
|
-
|
|
33
|
-
## 10.0.0-canary.59
|
|
34
|
-
|
|
35
|
-
## 10.0.0-canary.58
|
|
36
|
-
|
|
37
|
-
## 10.0.0-canary.57
|
|
38
|
-
|
|
39
|
-
## 10.0.0-canary.56
|
|
5
|
+
## 10.0.0
|
|
40
6
|
|
|
41
7
|
### Major Changes
|
|
42
8
|
|
|
@@ -116,172 +82,46 @@
|
|
|
116
82
|
- `@mui/*` modern alias rewrites
|
|
117
83
|
- Debug plugins (`CircularDependencyPlugin`, `DuplicatesPlugin`) ([@paales](https://github.com/paales))
|
|
118
84
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
## 9.1.0-canary.54
|
|
122
|
-
|
|
123
|
-
## 9.1.0-canary.53
|
|
85
|
+
- [#2565](https://github.com/graphcommerce-org/graphcommerce/pull/2565) [`c96dfcd`](https://github.com/graphcommerce-org/graphcommerce/commit/c96dfcdca981baca387c270ad9e2b9515cdd00cc) - Updated to Apollo Client 4 ([@paales](https://github.com/paales))
|
|
124
86
|
|
|
125
|
-
|
|
87
|
+
### Minor Changes
|
|
126
88
|
|
|
127
|
-
|
|
89
|
+
- [#2496](https://github.com/graphcommerce-org/graphcommerce/pull/2496) [`4b6a65d`](https://github.com/graphcommerce-org/graphcommerce/commit/4b6a65db089d92492e7fde28a8e32bc41f5b9103) - Added support for multiple display currencies in the frontend. Multiple currencies were already supported, but this introduces Display Currencies for viewing the cart in different currencies. ([@paales](https://github.com/paales))
|
|
128
90
|
|
|
129
|
-
|
|
91
|
+
- [#2496](https://github.com/graphcommerce-org/graphcommerce/pull/2496) [`4b6a65d`](https://github.com/graphcommerce-org/graphcommerce/commit/4b6a65db089d92492e7fde28a8e32bc41f5b9103) - Refactored the Store Selector to be more of a form and have multiple nested toggles to switch groups, then stores and then currencies. It automatically hides features that aren't used: If only a single group is used with multiple stores only the store selector is shown. If multiple groups are used with each a single store is used, only the group selector is shown. If only a single currency is used, there is no currency selector. If multiple currencies are used, the currency selector is shown. This makes the selector more user-friendly and less cluttered. ([@paales](https://github.com/paales))
|
|
130
92
|
|
|
131
|
-
- [#2537](https://github.com/graphcommerce-org/graphcommerce/pull/2537) [`958dcb6`](https://github.com/graphcommerce-org/graphcommerce/commit/958dcb62d5abb3427a38e2a4583897f3e2043cc4) -
|
|
93
|
+
- [#2537](https://github.com/graphcommerce-org/graphcommerce/pull/2537) [`958dcb6`](https://github.com/graphcommerce-org/graphcommerce/commit/958dcb62d5abb3427a38e2a4583897f3e2043cc4) - Introduce a new Product-`uid` to solve an issue where cache normalization was not working properly on the frontend when viewing products with a differen curreny, etc.
|
|
132
94
|
|
|
133
95
|
Products now have a more detailed `uid` which will include the scope the product is retrieved from. For example: `NDg5MDM=?store=nl_NL¤cyCode=EUR`. This results in a better cache normalization in Apollo Client and allows for switching between scopes (store/currency/price views/accounts) without creating a broken cache state.
|
|
134
96
|
|
|
135
97
|
We have implemented this with a new resolver that rewrites the `uid` passed from Magento to the Mesh Resolver, and additing additonal data to the `uid` based on the headers passed from the client. This also requires each package to implement the `getPrivateQueryContextMesh` method to retrieve the current PrivateQuery context from the GraphQL request headers. ([@paales](https://github.com/paales))
|
|
136
98
|
|
|
99
|
+
- [#2499](https://github.com/graphcommerce-org/graphcommerce/pull/2499) [`9f040a4`](https://github.com/graphcommerce-org/graphcommerce/commit/9f040a4c0947f05f2f27e4c5078a684b04e711e1) - Implemented the `query { attributesForm }` to be able to dynamically render forms with useAttributesForm/preloadAttributesForm and AttributesFormAutoLayout, and additional utilities to handle form submissions. ([@paales](https://github.com/paales))
|
|
100
|
+
|
|
137
101
|
### Patch Changes
|
|
138
102
|
|
|
139
103
|
- [#2537](https://github.com/graphcommerce-org/graphcommerce/pull/2537) [`31397f9`](https://github.com/graphcommerce-org/graphcommerce/commit/31397f9c5b2d85895d6e00732b2e3d7a99ffee53) - Solve issue where a magento store reference was added to the graphql-mesh package. ([@paales](https://github.com/paales))
|
|
140
104
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
## 9.1.0-canary.49
|
|
144
|
-
|
|
145
|
-
## 9.1.0-canary.48
|
|
146
|
-
|
|
147
|
-
## 9.1.0-canary.47
|
|
148
|
-
|
|
149
|
-
## 9.1.0-canary.46
|
|
150
|
-
|
|
151
|
-
## 9.1.0-canary.45
|
|
152
|
-
|
|
153
|
-
## 9.1.0-canary.44
|
|
154
|
-
|
|
155
|
-
## 9.1.0-canary.43
|
|
156
|
-
|
|
157
|
-
## 9.1.0-canary.42
|
|
158
|
-
|
|
159
|
-
## 9.1.0-canary.41
|
|
105
|
+
- [#2528](https://github.com/graphcommerce-org/graphcommerce/pull/2528) [`5a41fff`](https://github.com/graphcommerce-org/graphcommerce/commit/5a41fff74c38ed1f9793e48ec42cba71d1d539d1) - Use the default display currency instead of the base currency in case they differ from one another. ([@paales](https://github.com/paales))
|
|
160
106
|
|
|
161
|
-
|
|
107
|
+
- [#2499](https://github.com/graphcommerce-org/graphcommerce/pull/2499) [`798c122`](https://github.com/graphcommerce-org/graphcommerce/commit/798c12271e90cf0e02f021e7ad4aa088b4c7c2a3) - Use the `storeConfig.head_shortcut_icon` when configured, if not configured it will use the favicon.ico and favicon.svg from the public folder. ([@paales](https://github.com/paales))
|
|
162
108
|
|
|
163
109
|
- [#2530](https://github.com/graphcommerce-org/graphcommerce/pull/2530) [`2075f33`](https://github.com/graphcommerce-org/graphcommerce/commit/2075f331eec38e894722d8ba4539d865f2db5507) - Support asNumber for Money component to easily render all prices as number ([@paales](https://github.com/paales))
|
|
164
110
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
## 9.1.0-canary.39
|
|
168
|
-
|
|
169
|
-
## 9.1.0-canary.38
|
|
170
|
-
|
|
171
|
-
## 9.1.0-canary.37
|
|
111
|
+
- [#2499](https://github.com/graphcommerce-org/graphcommerce/pull/2499) [`6b2b44c`](https://github.com/graphcommerce-org/graphcommerce/commit/6b2b44ca853279144d7768067f3462d4d4bf0af1) - Created a new PriceModifiers component that is implemented on CartItems, allowing different product types to render their options in a consistent manner and allow rendering a base price so that the sum in the cart is correct. ([@paales](https://github.com/paales))
|
|
172
112
|
|
|
173
|
-
|
|
113
|
+
- [#2510](https://github.com/graphcommerce-org/graphcommerce/pull/2510) [`61a2e16`](https://github.com/graphcommerce-org/graphcommerce/commit/61a2e1641c75a0497406e70f2ab96c8e3f5bdd96) - Allow setting alternate store switcher URL ([@bramvanderholst](https://github.com/bramvanderholst))
|
|
174
114
|
|
|
175
|
-
|
|
115
|
+
- [#2528](https://github.com/graphcommerce-org/graphcommerce/pull/2528) [`5a41fff`](https://github.com/graphcommerce-org/graphcommerce/commit/5a41fff74c38ed1f9793e48ec42cba71d1d539d1) - Store switcher now allows switching between currencies without navigating and just switches the @privateContext. ([@paales](https://github.com/paales))
|
|
176
116
|
|
|
177
117
|
- [`4c92400`](https://github.com/graphcommerce-org/graphcommerce/commit/4c92400733bb3764494298122771d5bd9bacd5a2) - Render prices with a narrowSymbol so users just see $ instead of US$ ([@paales](https://github.com/paales))
|
|
178
118
|
|
|
179
119
|
- [`f0d244e`](https://github.com/graphcommerce-org/graphcommerce/commit/f0d244ef8625e9cd2fc08d8518f8afa1edb3d688) - Solve issue where the currency switcher would result in an additional query ([@paales](https://github.com/paales))
|
|
180
120
|
|
|
181
|
-
## 9.1.0-canary.35
|
|
182
|
-
|
|
183
|
-
### Patch Changes
|
|
184
|
-
|
|
185
|
-
- [#2528](https://github.com/graphcommerce-org/graphcommerce/pull/2528) [`5a41fff`](https://github.com/graphcommerce-org/graphcommerce/commit/5a41fff74c38ed1f9793e48ec42cba71d1d539d1) - Use the default display currency instead of the base currency in case they differ from one another. ([@paales](https://github.com/paales))
|
|
186
|
-
|
|
187
|
-
- [#2528](https://github.com/graphcommerce-org/graphcommerce/pull/2528) [`5a41fff`](https://github.com/graphcommerce-org/graphcommerce/commit/5a41fff74c38ed1f9793e48ec42cba71d1d539d1) - Store switcher now allows switching between currencies without navigating and just switches the @privateContext. ([@paales](https://github.com/paales))
|
|
188
|
-
|
|
189
121
|
- [#2528](https://github.com/graphcommerce-org/graphcommerce/pull/2528) [`5a41fff`](https://github.com/graphcommerce-org/graphcommerce/commit/5a41fff74c38ed1f9793e48ec42cba71d1d539d1) - Added store switcher to the header and mobile navigation ([@paales](https://github.com/paales))
|
|
190
122
|
|
|
191
|
-
## 9.1.0-canary.34
|
|
192
|
-
|
|
193
|
-
## 9.1.0-canary.33
|
|
194
|
-
|
|
195
|
-
## 9.1.0-canary.32
|
|
196
|
-
|
|
197
|
-
## 9.1.0-canary.31
|
|
198
|
-
|
|
199
|
-
## 9.1.0-canary.30
|
|
200
|
-
|
|
201
|
-
## 9.1.0-canary.29
|
|
202
|
-
|
|
203
|
-
## 9.1.0-canary.28
|
|
204
|
-
|
|
205
|
-
## 9.1.0-canary.27
|
|
206
|
-
|
|
207
|
-
## 9.1.0-canary.26
|
|
208
|
-
|
|
209
|
-
## 9.1.0-canary.25
|
|
210
|
-
|
|
211
|
-
## 9.1.0-canary.24
|
|
212
|
-
|
|
213
|
-
## 9.1.0-canary.23
|
|
214
|
-
|
|
215
|
-
## 9.1.0-canary.22
|
|
216
|
-
|
|
217
|
-
### Patch Changes
|
|
218
|
-
|
|
219
|
-
- [#2510](https://github.com/graphcommerce-org/graphcommerce/pull/2510) [`61a2e16`](https://github.com/graphcommerce-org/graphcommerce/commit/61a2e1641c75a0497406e70f2ab96c8e3f5bdd96) - Allow setting alternate store switcher URL ([@bramvanderholst](https://github.com/bramvanderholst))
|
|
220
|
-
|
|
221
|
-
## 9.1.0-canary.21
|
|
222
|
-
|
|
223
|
-
## 9.1.0-canary.20
|
|
224
|
-
|
|
225
|
-
## 9.1.0-canary.19
|
|
226
|
-
|
|
227
|
-
### Minor Changes
|
|
228
|
-
|
|
229
|
-
- [#2499](https://github.com/graphcommerce-org/graphcommerce/pull/2499) [`9f040a4`](https://github.com/graphcommerce-org/graphcommerce/commit/9f040a4c0947f05f2f27e4c5078a684b04e711e1) - Implemented the `query { attributesForm }` to be able to dynamically render forms with useAttributesForm/preloadAttributesForm and AttributesFormAutoLayout, and additional utilities to handle form submissions. ([@paales](https://github.com/paales))
|
|
230
|
-
|
|
231
|
-
### Patch Changes
|
|
232
|
-
|
|
233
|
-
- [#2499](https://github.com/graphcommerce-org/graphcommerce/pull/2499) [`798c122`](https://github.com/graphcommerce-org/graphcommerce/commit/798c12271e90cf0e02f021e7ad4aa088b4c7c2a3) - Use the `storeConfig.head_shortcut_icon` when configured, if not configured it will use the favicon.ico and favicon.svg from the public folder. ([@paales](https://github.com/paales))
|
|
234
|
-
|
|
235
|
-
- [#2499](https://github.com/graphcommerce-org/graphcommerce/pull/2499) [`6b2b44c`](https://github.com/graphcommerce-org/graphcommerce/commit/6b2b44ca853279144d7768067f3462d4d4bf0af1) - Created a new PriceModifiers component that is implemented on CartItems, allowing different product types to render their options in a consistent manner and allow rendering a base price so that the sum in the cart is correct. ([@paales](https://github.com/paales))
|
|
236
|
-
|
|
237
|
-
## 9.1.0-canary.18
|
|
238
|
-
|
|
239
|
-
## 9.1.0-canary.17
|
|
240
|
-
|
|
241
|
-
### Minor Changes
|
|
242
|
-
|
|
243
|
-
- [#2496](https://github.com/graphcommerce-org/graphcommerce/pull/2496) [`4b6a65d`](https://github.com/graphcommerce-org/graphcommerce/commit/4b6a65db089d92492e7fde28a8e32bc41f5b9103) - Added support for multiple display currencies in the frontend. Multiple currencies were already supported, but this introduces Display Currencies for viewing the cart in different currencies. ([@paales](https://github.com/paales))
|
|
244
|
-
|
|
245
|
-
- [#2496](https://github.com/graphcommerce-org/graphcommerce/pull/2496) [`4b6a65d`](https://github.com/graphcommerce-org/graphcommerce/commit/4b6a65db089d92492e7fde28a8e32bc41f5b9103) - Refactored the Store Selector to be more of a form and have multiple nested toggles to switch groups, then stores and then currencies. It automatically hides features that aren't used: If only a single group is used with multiple stores only the store selector is shown. If multiple groups are used with each a single store is used, only the group selector is shown. If only a single currency is used, there is no currency selector. If multiple currencies are used, the currency selector is shown. This makes the selector more user-friendly and less cluttered. ([@paales](https://github.com/paales))
|
|
246
|
-
|
|
247
|
-
## 9.1.0-canary.16
|
|
248
|
-
|
|
249
|
-
## 9.1.0-canary.15
|
|
250
|
-
|
|
251
|
-
## 9.0.4-canary.14
|
|
252
|
-
|
|
253
|
-
## 9.0.4-canary.13
|
|
254
|
-
|
|
255
|
-
## 9.0.4-canary.12
|
|
256
|
-
|
|
257
|
-
## 9.0.4-canary.11
|
|
258
|
-
|
|
259
|
-
### Patch Changes
|
|
260
|
-
|
|
261
123
|
- [#2485](https://github.com/graphcommerce-org/graphcommerce/pull/2485) [`b0ec078`](https://github.com/graphcommerce-org/graphcommerce/commit/b0ec0784a0b3ca977598ded3777d23bc929072b0) - Added a CurrencySymbol component that renders the current currency symbol ([@paales](https://github.com/paales))
|
|
262
124
|
|
|
263
|
-
## 9.0.4-canary.10
|
|
264
|
-
|
|
265
|
-
## 9.0.4-canary.9
|
|
266
|
-
|
|
267
|
-
## 9.0.4-canary.8
|
|
268
|
-
|
|
269
|
-
## 9.0.4-canary.7
|
|
270
|
-
|
|
271
|
-
## 9.0.4-canary.6
|
|
272
|
-
|
|
273
|
-
## 9.0.4-canary.5
|
|
274
|
-
|
|
275
|
-
## 9.0.4-canary.4
|
|
276
|
-
|
|
277
|
-
## 9.0.4-canary.3
|
|
278
|
-
|
|
279
|
-
## 9.0.4-canary.2
|
|
280
|
-
|
|
281
|
-
## 9.0.4-canary.1
|
|
282
|
-
|
|
283
|
-
## 9.0.4-canary.0
|
|
284
|
-
|
|
285
125
|
## 9.0.1
|
|
286
126
|
|
|
287
127
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/magento-store",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "10.0.
|
|
5
|
+
"version": "10.0.1-canary.0",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -19,15 +19,15 @@
|
|
|
19
19
|
"./mesh/resolvers.ts": "./mesh/resolvers.ts"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"@graphcommerce/ecommerce-ui": "^10.0.
|
|
23
|
-
"@graphcommerce/eslint-config-pwa": "^10.0.
|
|
24
|
-
"@graphcommerce/framer-utils": "^10.0.
|
|
25
|
-
"@graphcommerce/graphql": "^10.0.
|
|
26
|
-
"@graphcommerce/graphql-mesh": "^10.0.
|
|
27
|
-
"@graphcommerce/image": "^10.0.
|
|
28
|
-
"@graphcommerce/next-ui": "^10.0.
|
|
29
|
-
"@graphcommerce/prettier-config-pwa": "^10.0.
|
|
30
|
-
"@graphcommerce/typescript-config-pwa": "^10.0.
|
|
22
|
+
"@graphcommerce/ecommerce-ui": "^10.0.1-canary.0",
|
|
23
|
+
"@graphcommerce/eslint-config-pwa": "^10.0.1-canary.0",
|
|
24
|
+
"@graphcommerce/framer-utils": "^10.0.1-canary.0",
|
|
25
|
+
"@graphcommerce/graphql": "^10.0.1-canary.0",
|
|
26
|
+
"@graphcommerce/graphql-mesh": "^10.0.1-canary.0",
|
|
27
|
+
"@graphcommerce/image": "^10.0.1-canary.0",
|
|
28
|
+
"@graphcommerce/next-ui": "^10.0.1-canary.0",
|
|
29
|
+
"@graphcommerce/prettier-config-pwa": "^10.0.1-canary.0",
|
|
30
|
+
"@graphcommerce/typescript-config-pwa": "^10.0.1-canary.0",
|
|
31
31
|
"@lingui/core": "^5",
|
|
32
32
|
"@lingui/macro": "^5",
|
|
33
33
|
"@lingui/react": "^5",
|