@graphcommerce/magento-newsletter 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.
- package/CHANGELOG.md +14 -12
- package/package.json +10 -10
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
|
|
@@ -36,8 +40,7 @@
|
|
|
36
40
|
|
|
37
41
|
### Patch Changes
|
|
38
42
|
|
|
39
|
-
- [#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.
|
|
40
|
-
([@paales](https://github.com/paales))
|
|
43
|
+
- [#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))
|
|
41
44
|
|
|
42
45
|
## 8.0.3-canary.6
|
|
43
46
|
|
|
@@ -51,8 +54,7 @@
|
|
|
51
54
|
|
|
52
55
|
### Patch Changes
|
|
53
56
|
|
|
54
|
-
- [#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.
|
|
55
|
-
([@paales](https://github.com/paales))
|
|
57
|
+
- [#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))
|
|
56
58
|
|
|
57
59
|
## 8.0.3-canary.1
|
|
58
60
|
|
|
@@ -1289,31 +1291,31 @@
|
|
|
1289
1291
|
All occurences of `<Trans>` and `t` need to be replaced:
|
|
1290
1292
|
|
|
1291
1293
|
```tsx
|
|
1292
|
-
import { Trans, t } from
|
|
1294
|
+
import { Trans, t } from '@lingui/macro'
|
|
1293
1295
|
|
|
1294
1296
|
function MyComponent() {
|
|
1295
|
-
const foo =
|
|
1297
|
+
const foo = 'bar'
|
|
1296
1298
|
return (
|
|
1297
1299
|
<div aria-label={t`Account ${foo}`}>
|
|
1298
1300
|
<Trans>My Translation {foo}</Trans>
|
|
1299
1301
|
</div>
|
|
1300
|
-
)
|
|
1302
|
+
)
|
|
1301
1303
|
}
|
|
1302
1304
|
```
|
|
1303
1305
|
|
|
1304
1306
|
Needs to be replaced with:
|
|
1305
1307
|
|
|
1306
1308
|
```tsx
|
|
1307
|
-
import { Trans } from
|
|
1308
|
-
import { i18n } from
|
|
1309
|
+
import { Trans } from '@lingui/react'
|
|
1310
|
+
import { i18n } from '@lingui/core'
|
|
1309
1311
|
|
|
1310
1312
|
function MyComponent() {
|
|
1311
|
-
const foo =
|
|
1313
|
+
const foo = 'bar'
|
|
1312
1314
|
return (
|
|
1313
1315
|
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
|
1314
|
-
<Trans key=
|
|
1316
|
+
<Trans key='My Translation {foo}' values={{ foo }}></Trans>
|
|
1315
1317
|
</div>
|
|
1316
|
-
)
|
|
1318
|
+
)
|
|
1317
1319
|
}
|
|
1318
1320
|
```
|
|
1319
1321
|
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/magento-newsletter",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "8.0.
|
|
5
|
+
"version": "8.0.8",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -12,15 +12,15 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@graphcommerce/ecommerce-ui": "^8.0.
|
|
16
|
-
"@graphcommerce/eslint-config-pwa": "^8.0.
|
|
17
|
-
"@graphcommerce/graphql": "^8.0.
|
|
18
|
-
"@graphcommerce/magento-cart": "^8.0.
|
|
19
|
-
"@graphcommerce/magento-customer": "^8.0.
|
|
20
|
-
"@graphcommerce/next-ui": "^8.0.
|
|
21
|
-
"@graphcommerce/prettier-config-pwa": "^8.0.
|
|
22
|
-
"@graphcommerce/react-hook-form": "^8.0.
|
|
23
|
-
"@graphcommerce/typescript-config-pwa": "^8.0.
|
|
15
|
+
"@graphcommerce/ecommerce-ui": "^8.0.8",
|
|
16
|
+
"@graphcommerce/eslint-config-pwa": "^8.0.8",
|
|
17
|
+
"@graphcommerce/graphql": "^8.0.8",
|
|
18
|
+
"@graphcommerce/magento-cart": "^8.0.8",
|
|
19
|
+
"@graphcommerce/magento-customer": "^8.0.8",
|
|
20
|
+
"@graphcommerce/next-ui": "^8.0.8",
|
|
21
|
+
"@graphcommerce/prettier-config-pwa": "^8.0.8",
|
|
22
|
+
"@graphcommerce/react-hook-form": "^8.0.8",
|
|
23
|
+
"@graphcommerce/typescript-config-pwa": "^8.0.8",
|
|
24
24
|
"@lingui/core": "^4.2.1",
|
|
25
25
|
"@lingui/macro": "^4.2.1",
|
|
26
26
|
"@lingui/react": "^4.2.1",
|