@graphcommerce/magento-cart 8.0.6 → 8.0.8

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +32 -48
  2. package/package.json +15 -15
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Change Log
2
2
 
3
+ ## 8.0.8
4
+
5
+ ## 8.0.7
6
+
3
7
  ## 8.0.6
4
8
 
5
9
  ## 8.0.5
@@ -30,8 +34,7 @@
30
34
 
31
35
  ### Patch Changes
32
36
 
33
- - [#2221](https://github.com/graphcommerce-org/graphcommerce/pull/2221) [`0ba1fdc`](https://github.com/graphcommerce-org/graphcommerce/commit/0ba1fdc9a2d005f47cd1725fe723e77da4cc5b9d) - After a user just logged in the checkout, the useFormGqlMutationCart would still run even though the cart was locked.
34
- ([@paales](https://github.com/paales))
37
+ - [#2221](https://github.com/graphcommerce-org/graphcommerce/pull/2221) [`0ba1fdc`](https://github.com/graphcommerce-org/graphcommerce/commit/0ba1fdc9a2d005f47cd1725fe723e77da4cc5b9d) - After a user just logged in the checkout, the useFormGqlMutationCart would still run even though the cart was locked. ([@paales](https://github.com/paales))
35
38
 
36
39
  ## 8.0.4-canary.1
37
40
 
@@ -39,21 +42,17 @@
39
42
 
40
43
  ### Patch Changes
41
44
 
42
- - [#2221](https://github.com/graphcommerce-org/graphcommerce/pull/2221) [`0ba1fdc`](https://github.com/graphcommerce-org/graphcommerce/commit/0ba1fdc9a2d005f47cd1725fe723e77da4cc5b9d) - After a user just logged in the checkout, the useFormGqlMutationCart would still run even though the cart was locked.
43
- ([@paales](https://github.com/paales))
45
+ - [#2221](https://github.com/graphcommerce-org/graphcommerce/pull/2221) [`0ba1fdc`](https://github.com/graphcommerce-org/graphcommerce/commit/0ba1fdc9a2d005f47cd1725fe723e77da4cc5b9d) - After a user just logged in the checkout, the useFormGqlMutationCart would still run even though the cart was locked. ([@paales](https://github.com/paales))
44
46
 
45
47
  ## 8.0.3
46
48
 
47
49
  ### Patch Changes
48
50
 
49
- - [#2205](https://github.com/graphcommerce-org/graphcommerce/pull/2205) [`d67c89d`](https://github.com/graphcommerce-org/graphcommerce/commit/d67c89d464a60f0e2618dab670b63a39f6291341) - Deprecate the allowUrl option for useCartQuery, it was already enabled by default and should never be set to false.
50
- ([@paales](https://github.com/paales))
51
+ - [#2205](https://github.com/graphcommerce-org/graphcommerce/pull/2205) [`d67c89d`](https://github.com/graphcommerce-org/graphcommerce/commit/d67c89d464a60f0e2618dab670b63a39f6291341) - Deprecate the allowUrl option for useCartQuery, it was already enabled by default and should never be set to false. ([@paales](https://github.com/paales))
51
52
 
52
- - [#2205](https://github.com/graphcommerce-org/graphcommerce/pull/2205) [`3fbf3da`](https://github.com/graphcommerce-org/graphcommerce/commit/3fbf3da8a67f2fbaa7fa974a37cbbf34613844e4) - Solve an issue where the user would be presented with the Session expired dialog when the user would be logging in during the checkout process.
53
- ([@paales](https://github.com/paales))
53
+ - [#2205](https://github.com/graphcommerce-org/graphcommerce/pull/2205) [`3fbf3da`](https://github.com/graphcommerce-org/graphcommerce/commit/3fbf3da8a67f2fbaa7fa974a37cbbf34613844e4) - Solve an issue where the user would be presented with the Session expired dialog when the user would be logging in during the checkout process. ([@paales](https://github.com/paales))
54
54
 
55
- - [#2207](https://github.com/graphcommerce-org/graphcommerce/pull/2207) [`9876b13`](https://github.com/graphcommerce-org/graphcommerce/commit/9876b139b2c12c860a16af97eddea761d1059110) - Remove redundant query on the success page for logged in customers
56
- ([@paales](https://github.com/paales))
55
+ - [#2207](https://github.com/graphcommerce-org/graphcommerce/pull/2207) [`9876b13`](https://github.com/graphcommerce-org/graphcommerce/commit/9876b139b2c12c860a16af97eddea761d1059110) - Remove redundant query on the success page for logged in customers ([@paales](https://github.com/paales))
57
56
 
58
57
  ## 8.0.3-canary.6
59
58
 
@@ -67,18 +66,15 @@
67
66
 
68
67
  ### Patch Changes
69
68
 
70
- - [#2205](https://github.com/graphcommerce-org/graphcommerce/pull/2205) [`d67c89d`](https://github.com/graphcommerce-org/graphcommerce/commit/d67c89d464a60f0e2618dab670b63a39f6291341) - Deprecate the allowUrl option for useCartQuery, it was already enabled by default and should never be set to false.
71
- ([@paales](https://github.com/paales))
69
+ - [#2205](https://github.com/graphcommerce-org/graphcommerce/pull/2205) [`d67c89d`](https://github.com/graphcommerce-org/graphcommerce/commit/d67c89d464a60f0e2618dab670b63a39f6291341) - Deprecate the allowUrl option for useCartQuery, it was already enabled by default and should never be set to false. ([@paales](https://github.com/paales))
72
70
 
73
- - [#2205](https://github.com/graphcommerce-org/graphcommerce/pull/2205) [`3fbf3da`](https://github.com/graphcommerce-org/graphcommerce/commit/3fbf3da8a67f2fbaa7fa974a37cbbf34613844e4) - Solve an issue where the user would be presented with the Session expired dialog when the user would be logging in during the checkout process.
74
- ([@paales](https://github.com/paales))
71
+ - [#2205](https://github.com/graphcommerce-org/graphcommerce/pull/2205) [`3fbf3da`](https://github.com/graphcommerce-org/graphcommerce/commit/3fbf3da8a67f2fbaa7fa974a37cbbf34613844e4) - Solve an issue where the user would be presented with the Session expired dialog when the user would be logging in during the checkout process. ([@paales](https://github.com/paales))
75
72
 
76
73
  ## 8.0.3-canary.1
77
74
 
78
75
  ### Patch Changes
79
76
 
80
- - [#2207](https://github.com/graphcommerce-org/graphcommerce/pull/2207) [`9876b13`](https://github.com/graphcommerce-org/graphcommerce/commit/9876b139b2c12c860a16af97eddea761d1059110) - Remove redundant query on the success page for logged in customers
81
- ([@paales](https://github.com/paales))
77
+ - [#2207](https://github.com/graphcommerce-org/graphcommerce/pull/2207) [`9876b13`](https://github.com/graphcommerce-org/graphcommerce/commit/9876b139b2c12c860a16af97eddea761d1059110) - Remove redundant query on the success page for logged in customers ([@paales](https://github.com/paales))
82
78
 
83
79
  ## 8.0.3-canary.0
84
80
 
@@ -108,38 +104,29 @@
108
104
 
109
105
  ### Minor Changes
110
106
 
111
- - [#2075](https://github.com/graphcommerce-org/graphcommerce/pull/2075) [`34dee45`](https://github.com/graphcommerce-org/graphcommerce/commit/34dee456ef686174b62e604911a0ba84cbd3d002) - Added the customers order number to succes page.
112
- ([@Jessevdpoel](https://github.com/Jessevdpoel))
107
+ - [#2075](https://github.com/graphcommerce-org/graphcommerce/pull/2075) [`34dee45`](https://github.com/graphcommerce-org/graphcommerce/commit/34dee456ef686174b62e604911a0ba84cbd3d002) - Added the customers order number to succes page. ([@Jessevdpoel](https://github.com/Jessevdpoel))
113
108
 
114
- - [#2018](https://github.com/graphcommerce-org/graphcommerce/pull/2018) [`750aa6a`](https://github.com/graphcommerce-org/graphcommerce/commit/750aa6a72710869d54244467253212e551d335e0) - Changed the layout of the succes page. We are using ActionCards right now to match the design of the cart.
115
- ([@Jessevdpoel](https://github.com/Jessevdpoel))
109
+ - [#2018](https://github.com/graphcommerce-org/graphcommerce/pull/2018) [`750aa6a`](https://github.com/graphcommerce-org/graphcommerce/commit/750aa6a72710869d54244467253212e551d335e0) - Changed the layout of the succes page. We are using ActionCards right now to match the design of the cart. ([@Jessevdpoel](https://github.com/Jessevdpoel))
116
110
 
117
111
  ### Patch Changes
118
112
 
119
- - [#2184](https://github.com/graphcommerce-org/graphcommerce/pull/2184) [`28b7e6e`](https://github.com/graphcommerce-org/graphcommerce/commit/28b7e6ef3e3f698751c6e82431fd14fb35463dd6) - When a customer would return from a payment gateway and it would erroneously query the cart GraphCommerce would immediately create a new empty cart while it shouldn't.
120
- ([@paales](https://github.com/paales))
113
+ - [#2184](https://github.com/graphcommerce-org/graphcommerce/pull/2184) [`28b7e6e`](https://github.com/graphcommerce-org/graphcommerce/commit/28b7e6ef3e3f698751c6e82431fd14fb35463dd6) - When a customer would return from a payment gateway and it would erroneously query the cart GraphCommerce would immediately create a new empty cart while it shouldn't. ([@paales](https://github.com/paales))
121
114
 
122
- - [#1999](https://github.com/graphcommerce-org/graphcommerce/pull/1999) [`6d7ed0a`](https://github.com/graphcommerce-org/graphcommerce/commit/6d7ed0a2a3d9b3c6193f86bce6889ff24adf3e83) - After signing in the `<CartFab/>` would not always properly reflect if there are items in the customers cart.
123
- ([@paales](https://github.com/paales))
115
+ - [#1999](https://github.com/graphcommerce-org/graphcommerce/pull/1999) [`6d7ed0a`](https://github.com/graphcommerce-org/graphcommerce/commit/6d7ed0a2a3d9b3c6193f86bce6889ff24adf3e83) - After signing in the `<CartFab/>` would not always properly reflect if there are items in the customers cart. ([@paales](https://github.com/paales))
124
116
 
125
- - [#2089](https://github.com/graphcommerce-org/graphcommerce/pull/2089) [`4b6bbf0`](https://github.com/graphcommerce-org/graphcommerce/commit/4b6bbf06572c71e266cc2407e4533833712898e2) - The `<CartFab/>` wouldn't reflect that there are items in the cart when a customer refreshes the page after adding a product to the cart, without viewing the cart.
126
- ([@carlocarels90](https://github.com/carlocarels90))
117
+ - [#2089](https://github.com/graphcommerce-org/graphcommerce/pull/2089) [`4b6bbf0`](https://github.com/graphcommerce-org/graphcommerce/commit/4b6bbf06572c71e266cc2407e4533833712898e2) - The `<CartFab/>` wouldn't reflect that there are items in the cart when a customer refreshes the page after adding a product to the cart, without viewing the cart. ([@carlocarels90](https://github.com/carlocarels90))
127
118
 
128
- - [#2170](https://github.com/graphcommerce-org/graphcommerce/pull/2170) [`f3e906f`](https://github.com/graphcommerce-org/graphcommerce/commit/f3e906f7e374ce22d36af29c0f3c8153e18300e6) - Solved an issue where the inactive cart would set as the current cart when the customer had signed in, checked out their cart, session expired and tried to log in again.
129
- ([@FrankHarland](https://github.com/FrankHarland))
119
+ - [#2170](https://github.com/graphcommerce-org/graphcommerce/pull/2170) [`f3e906f`](https://github.com/graphcommerce-org/graphcommerce/commit/f3e906f7e374ce22d36af29c0f3c8153e18300e6) - Solved an issue where the inactive cart would set as the current cart when the customer had signed in, checked out their cart, session expired and tried to log in again. ([@FrankHarland](https://github.com/FrankHarland))
130
120
 
131
- - [#2107](https://github.com/graphcommerce-org/graphcommerce/pull/2107) [`2f51504`](https://github.com/graphcommerce-org/graphcommerce/commit/2f5150456eabcce410ad8a0f1cbebeedabb6564c) - Remember email adress when going from checkout to signin/up form
132
- ([@FrankHarland](https://github.com/FrankHarland))
121
+ - [#2107](https://github.com/graphcommerce-org/graphcommerce/pull/2107) [`2f51504`](https://github.com/graphcommerce-org/graphcommerce/commit/2f5150456eabcce410ad8a0f1cbebeedabb6564c) - Remember email adress when going from checkout to signin/up form ([@FrankHarland](https://github.com/FrankHarland))
133
122
 
134
- - [#1999](https://github.com/graphcommerce-org/graphcommerce/pull/1999) [`ab834fb`](https://github.com/graphcommerce-org/graphcommerce/commit/ab834fbfe057fb507c371a6d22af282cc1b195d4) - Added a new 'Session expired' dialog that is shown when a GraphQL query or mutation returns a `graphql-authorization` error. This error is returned when the user's session has expired. The dialog allows the user to sign in again and then the query or mutation is re-executed.
135
- ([@paales](https://github.com/paales))
123
+ - [#1999](https://github.com/graphcommerce-org/graphcommerce/pull/1999) [`ab834fb`](https://github.com/graphcommerce-org/graphcommerce/commit/ab834fbfe057fb507c371a6d22af282cc1b195d4) - Added a new 'Session expired' dialog that is shown when a GraphQL query or mutation returns a `graphql-authorization` error. This error is returned when the user's session has expired. The dialog allows the user to sign in again and then the query or mutation is re-executed. ([@paales](https://github.com/paales))
136
124
 
137
125
  ## 8.0.0-canary.100
138
126
 
139
127
  ### Patch Changes
140
128
 
141
- - [#2184](https://github.com/graphcommerce-org/graphcommerce/pull/2184) [`28b7e6e`](https://github.com/graphcommerce-org/graphcommerce/commit/28b7e6ef3e3f698751c6e82431fd14fb35463dd6) - When a customer would return from a payment gateway and it would erroneously query the cart GraphCommerce would immediately create a new empty cart while it shouldn't.
142
- ([@paales](https://github.com/paales))
129
+ - [#2184](https://github.com/graphcommerce-org/graphcommerce/pull/2184) [`28b7e6e`](https://github.com/graphcommerce-org/graphcommerce/commit/28b7e6ef3e3f698751c6e82431fd14fb35463dd6) - When a customer would return from a payment gateway and it would erroneously query the cart GraphCommerce would immediately create a new empty cart while it shouldn't. ([@paales](https://github.com/paales))
143
130
 
144
131
  ## 8.0.0-canary.99
145
132
 
@@ -163,8 +150,7 @@
163
150
 
164
151
  ### Patch Changes
165
152
 
166
- - [#2170](https://github.com/graphcommerce-org/graphcommerce/pull/2170) [`f3e906f`](https://github.com/graphcommerce-org/graphcommerce/commit/f3e906f7e374ce22d36af29c0f3c8153e18300e6) - fix(GCOM-1317): fix bug where inactive cached cart could be set as currentCartId
167
- ([@FrankHarland](https://github.com/FrankHarland))
153
+ - [#2170](https://github.com/graphcommerce-org/graphcommerce/pull/2170) [`f3e906f`](https://github.com/graphcommerce-org/graphcommerce/commit/f3e906f7e374ce22d36af29c0f3c8153e18300e6) - fix(GCOM-1317): fix bug where inactive cached cart could be set as currentCartId ([@FrankHarland](https://github.com/FrankHarland))
168
154
 
169
155
  ## 8.0.0-canary.89
170
156
 
@@ -212,11 +198,9 @@
212
198
 
213
199
  ### Patch Changes
214
200
 
215
- - [#1999](https://github.com/graphcommerce-org/graphcommerce/pull/1999) [`6d7ed0a`](https://github.com/graphcommerce-org/graphcommerce/commit/6d7ed0a2a3d9b3c6193f86bce6889ff24adf3e83) - When signing in the cartFab would not always properly reflect the current items in the cart
216
- ([@paales](https://github.com/paales))
201
+ - [#1999](https://github.com/graphcommerce-org/graphcommerce/pull/1999) [`6d7ed0a`](https://github.com/graphcommerce-org/graphcommerce/commit/6d7ed0a2a3d9b3c6193f86bce6889ff24adf3e83) - When signing in the cartFab would not always properly reflect the current items in the cart ([@paales](https://github.com/paales))
217
202
 
218
- - [#1999](https://github.com/graphcommerce-org/graphcommerce/pull/1999) [`ab834fb`](https://github.com/graphcommerce-org/graphcommerce/commit/ab834fbfe057fb507c371a6d22af282cc1b195d4) - Added user session reevaluation after unathenticated call. Queries will be paused untill user has signed in again
219
- ([@paales](https://github.com/paales))
203
+ - [#1999](https://github.com/graphcommerce-org/graphcommerce/pull/1999) [`ab834fb`](https://github.com/graphcommerce-org/graphcommerce/commit/ab834fbfe057fb507c371a6d22af282cc1b195d4) - Added user session reevaluation after unathenticated call. Queries will be paused untill user has signed in again ([@paales](https://github.com/paales))
220
204
 
221
205
  ## 7.1.0-canary.67
222
206
 
@@ -1660,31 +1644,31 @@
1660
1644
  All occurences of `<Trans>` and `t` need to be replaced:
1661
1645
 
1662
1646
  ```tsx
1663
- import { Trans, t } from "@lingui/macro";
1647
+ import { Trans, t } from '@lingui/macro'
1664
1648
 
1665
1649
  function MyComponent() {
1666
- const foo = "bar";
1650
+ const foo = 'bar'
1667
1651
  return (
1668
1652
  <div aria-label={t`Account ${foo}`}>
1669
1653
  <Trans>My Translation {foo}</Trans>
1670
1654
  </div>
1671
- );
1655
+ )
1672
1656
  }
1673
1657
  ```
1674
1658
 
1675
1659
  Needs to be replaced with:
1676
1660
 
1677
1661
  ```tsx
1678
- import { Trans } from "@lingui/react";
1679
- import { i18n } from "@lingui/core";
1662
+ import { Trans } from '@lingui/react'
1663
+ import { i18n } from '@lingui/core'
1680
1664
 
1681
1665
  function MyComponent() {
1682
- const foo = "bar";
1666
+ const foo = 'bar'
1683
1667
  return (
1684
1668
  <div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
1685
- <Trans key="My Translation {foo}" values={{ foo }}></Trans>
1669
+ <Trans key='My Translation {foo}' values={{ foo }}></Trans>
1686
1670
  </div>
1687
- );
1671
+ )
1688
1672
  }
1689
1673
  ```
1690
1674
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/magento-cart",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "8.0.6",
5
+ "version": "8.0.8",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,20 +12,20 @@
12
12
  }
13
13
  },
14
14
  "peerDependencies": {
15
- "@graphcommerce/ecommerce-ui": "^8.0.6",
16
- "@graphcommerce/eslint-config-pwa": "^8.0.6",
17
- "@graphcommerce/framer-next-pages": "^8.0.6",
18
- "@graphcommerce/framer-scroller": "^8.0.6",
19
- "@graphcommerce/framer-utils": "^8.0.6",
20
- "@graphcommerce/graphql": "^8.0.6",
21
- "@graphcommerce/image": "^8.0.6",
22
- "@graphcommerce/magento-customer": "^8.0.6",
23
- "@graphcommerce/magento-graphql": "^8.0.6",
24
- "@graphcommerce/magento-store": "^8.0.6",
25
- "@graphcommerce/next-ui": "^8.0.6",
26
- "@graphcommerce/prettier-config-pwa": "^8.0.6",
27
- "@graphcommerce/react-hook-form": "^8.0.6",
28
- "@graphcommerce/typescript-config-pwa": "^8.0.6",
15
+ "@graphcommerce/ecommerce-ui": "^8.0.8",
16
+ "@graphcommerce/eslint-config-pwa": "^8.0.8",
17
+ "@graphcommerce/framer-next-pages": "^8.0.8",
18
+ "@graphcommerce/framer-scroller": "^8.0.8",
19
+ "@graphcommerce/framer-utils": "^8.0.8",
20
+ "@graphcommerce/graphql": "^8.0.8",
21
+ "@graphcommerce/image": "^8.0.8",
22
+ "@graphcommerce/magento-customer": "^8.0.8",
23
+ "@graphcommerce/magento-graphql": "^8.0.8",
24
+ "@graphcommerce/magento-store": "^8.0.8",
25
+ "@graphcommerce/next-ui": "^8.0.8",
26
+ "@graphcommerce/prettier-config-pwa": "^8.0.8",
27
+ "@graphcommerce/react-hook-form": "^8.0.8",
28
+ "@graphcommerce/typescript-config-pwa": "^8.0.8",
29
29
  "@lingui/core": "^4.2.1",
30
30
  "@lingui/macro": "^4.2.1",
31
31
  "@lingui/react": "^4.2.1",