@graphcommerce/magento-cart 8.0.6 → 8.0.7
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 +30 -48
- package/package.json +15 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 8.0.7
|
|
4
|
+
|
|
3
5
|
## 8.0.6
|
|
4
6
|
|
|
5
7
|
## 8.0.5
|
|
@@ -30,8 +32,7 @@
|
|
|
30
32
|
|
|
31
33
|
### Patch Changes
|
|
32
34
|
|
|
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))
|
|
35
|
+
- [#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
36
|
|
|
36
37
|
## 8.0.4-canary.1
|
|
37
38
|
|
|
@@ -39,21 +40,17 @@
|
|
|
39
40
|
|
|
40
41
|
### Patch Changes
|
|
41
42
|
|
|
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))
|
|
43
|
+
- [#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
44
|
|
|
45
45
|
## 8.0.3
|
|
46
46
|
|
|
47
47
|
### Patch Changes
|
|
48
48
|
|
|
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))
|
|
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. ([@paales](https://github.com/paales))
|
|
51
50
|
|
|
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))
|
|
51
|
+
- [#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
52
|
|
|
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))
|
|
53
|
+
- [#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
54
|
|
|
58
55
|
## 8.0.3-canary.6
|
|
59
56
|
|
|
@@ -67,18 +64,15 @@
|
|
|
67
64
|
|
|
68
65
|
### Patch Changes
|
|
69
66
|
|
|
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))
|
|
67
|
+
- [#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
68
|
|
|
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))
|
|
69
|
+
- [#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
70
|
|
|
76
71
|
## 8.0.3-canary.1
|
|
77
72
|
|
|
78
73
|
### Patch Changes
|
|
79
74
|
|
|
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))
|
|
75
|
+
- [#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
76
|
|
|
83
77
|
## 8.0.3-canary.0
|
|
84
78
|
|
|
@@ -108,38 +102,29 @@
|
|
|
108
102
|
|
|
109
103
|
### Minor Changes
|
|
110
104
|
|
|
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))
|
|
105
|
+
- [#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
106
|
|
|
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))
|
|
107
|
+
- [#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
108
|
|
|
117
109
|
### Patch Changes
|
|
118
110
|
|
|
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))
|
|
111
|
+
- [#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
112
|
|
|
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))
|
|
113
|
+
- [#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
114
|
|
|
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))
|
|
115
|
+
- [#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
116
|
|
|
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))
|
|
117
|
+
- [#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
118
|
|
|
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))
|
|
119
|
+
- [#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
120
|
|
|
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))
|
|
121
|
+
- [#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
122
|
|
|
137
123
|
## 8.0.0-canary.100
|
|
138
124
|
|
|
139
125
|
### Patch Changes
|
|
140
126
|
|
|
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))
|
|
127
|
+
- [#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
128
|
|
|
144
129
|
## 8.0.0-canary.99
|
|
145
130
|
|
|
@@ -163,8 +148,7 @@
|
|
|
163
148
|
|
|
164
149
|
### Patch Changes
|
|
165
150
|
|
|
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))
|
|
151
|
+
- [#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
152
|
|
|
169
153
|
## 8.0.0-canary.89
|
|
170
154
|
|
|
@@ -212,11 +196,9 @@
|
|
|
212
196
|
|
|
213
197
|
### Patch Changes
|
|
214
198
|
|
|
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))
|
|
199
|
+
- [#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
200
|
|
|
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))
|
|
201
|
+
- [#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
202
|
|
|
221
203
|
## 7.1.0-canary.67
|
|
222
204
|
|
|
@@ -1660,31 +1642,31 @@
|
|
|
1660
1642
|
All occurences of `<Trans>` and `t` need to be replaced:
|
|
1661
1643
|
|
|
1662
1644
|
```tsx
|
|
1663
|
-
import { Trans, t } from
|
|
1645
|
+
import { Trans, t } from '@lingui/macro'
|
|
1664
1646
|
|
|
1665
1647
|
function MyComponent() {
|
|
1666
|
-
const foo =
|
|
1648
|
+
const foo = 'bar'
|
|
1667
1649
|
return (
|
|
1668
1650
|
<div aria-label={t`Account ${foo}`}>
|
|
1669
1651
|
<Trans>My Translation {foo}</Trans>
|
|
1670
1652
|
</div>
|
|
1671
|
-
)
|
|
1653
|
+
)
|
|
1672
1654
|
}
|
|
1673
1655
|
```
|
|
1674
1656
|
|
|
1675
1657
|
Needs to be replaced with:
|
|
1676
1658
|
|
|
1677
1659
|
```tsx
|
|
1678
|
-
import { Trans } from
|
|
1679
|
-
import { i18n } from
|
|
1660
|
+
import { Trans } from '@lingui/react'
|
|
1661
|
+
import { i18n } from '@lingui/core'
|
|
1680
1662
|
|
|
1681
1663
|
function MyComponent() {
|
|
1682
|
-
const foo =
|
|
1664
|
+
const foo = 'bar'
|
|
1683
1665
|
return (
|
|
1684
1666
|
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
|
1685
|
-
<Trans key=
|
|
1667
|
+
<Trans key='My Translation {foo}' values={{ foo }}></Trans>
|
|
1686
1668
|
</div>
|
|
1687
|
-
)
|
|
1669
|
+
)
|
|
1688
1670
|
}
|
|
1689
1671
|
```
|
|
1690
1672
|
|
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.
|
|
5
|
+
"version": "8.0.7",
|
|
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.
|
|
16
|
-
"@graphcommerce/eslint-config-pwa": "^8.0.
|
|
17
|
-
"@graphcommerce/framer-next-pages": "^8.0.
|
|
18
|
-
"@graphcommerce/framer-scroller": "^8.0.
|
|
19
|
-
"@graphcommerce/framer-utils": "^8.0.
|
|
20
|
-
"@graphcommerce/graphql": "^8.0.
|
|
21
|
-
"@graphcommerce/image": "^8.0.
|
|
22
|
-
"@graphcommerce/magento-customer": "^8.0.
|
|
23
|
-
"@graphcommerce/magento-graphql": "^8.0.
|
|
24
|
-
"@graphcommerce/magento-store": "^8.0.
|
|
25
|
-
"@graphcommerce/next-ui": "^8.0.
|
|
26
|
-
"@graphcommerce/prettier-config-pwa": "^8.0.
|
|
27
|
-
"@graphcommerce/react-hook-form": "^8.0.
|
|
28
|
-
"@graphcommerce/typescript-config-pwa": "^8.0.
|
|
15
|
+
"@graphcommerce/ecommerce-ui": "^8.0.7",
|
|
16
|
+
"@graphcommerce/eslint-config-pwa": "^8.0.7",
|
|
17
|
+
"@graphcommerce/framer-next-pages": "^8.0.7",
|
|
18
|
+
"@graphcommerce/framer-scroller": "^8.0.7",
|
|
19
|
+
"@graphcommerce/framer-utils": "^8.0.7",
|
|
20
|
+
"@graphcommerce/graphql": "^8.0.7",
|
|
21
|
+
"@graphcommerce/image": "^8.0.7",
|
|
22
|
+
"@graphcommerce/magento-customer": "^8.0.7",
|
|
23
|
+
"@graphcommerce/magento-graphql": "^8.0.7",
|
|
24
|
+
"@graphcommerce/magento-store": "^8.0.7",
|
|
25
|
+
"@graphcommerce/next-ui": "^8.0.7",
|
|
26
|
+
"@graphcommerce/prettier-config-pwa": "^8.0.7",
|
|
27
|
+
"@graphcommerce/react-hook-form": "^8.0.7",
|
|
28
|
+
"@graphcommerce/typescript-config-pwa": "^8.0.7",
|
|
29
29
|
"@lingui/core": "^4.2.1",
|
|
30
30
|
"@lingui/macro": "^4.2.1",
|
|
31
31
|
"@lingui/react": "^4.2.1",
|