@graphcommerce/magento-payment-braintree 3.0.13 → 3.0.16

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 +68 -0
  2. package/package.json +14 -13
package/CHANGELOG.md CHANGED
@@ -1,5 +1,73 @@
1
1
  # Change Log
2
2
 
3
+ ## 3.0.16
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1451](https://github.com/graphcommerce-org/graphcommerce/pull/1451) [`f698ff85d`](https://github.com/graphcommerce-org/graphcommerce/commit/f698ff85df6bb0922288471bb3c81856091b8061) Thanks [@paales](https://github.com/paales)! - Removed all occurences of @lingui/macro and moved to @lingui/macro / @lingui/core in preparation to move to swc.
8
+
9
+ Since we've removed @lingui/macro, all occurences need to be replaced with @lingui/core and @lingui/react.
10
+
11
+ All occurences of `<Trans>` and `t` need to be replaced:
12
+
13
+ ```tsx
14
+ import { Trans, t } from '@lingui/macro'
15
+
16
+ function MyComponent() {
17
+ const foo = 'bar'
18
+ return (
19
+ <div aria-label={t`Account ${foo}`}>
20
+ <Trans>My Translation {foo}</Trans>
21
+ </div>
22
+ )
23
+ }
24
+ ```
25
+
26
+ Needs to be replaced with:
27
+
28
+ ```tsx
29
+ import { Trans } from '@lingui/react'
30
+ import { i18n } from '@lingui/core'
31
+
32
+ function MyComponent() {
33
+ const foo = 'bar'
34
+ return (
35
+ <div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
36
+ <Trans key='My Translation {foo}' values={{ foo }}></Trans>
37
+ </div>
38
+ )
39
+ }
40
+ ```
41
+
42
+ [More examples for Trans](https://lingui.js.org/ref/macro.html#examples-of-jsx-macros) and [more examples for `t`](https://lingui.js.org/ref/macro.html#examples-of-js-macros)
43
+
44
+ - Updated dependencies [[`50188e378`](https://github.com/graphcommerce-org/graphcommerce/commit/50188e378b4c77561ebc600958ea11cd114fa61a), [`f698ff85d`](https://github.com/graphcommerce-org/graphcommerce/commit/f698ff85df6bb0922288471bb3c81856091b8061)]:
45
+ - @graphcommerce/magento-cart-payment-method@3.1.9
46
+ - @graphcommerce/react-hook-form@3.1.3
47
+ - @graphcommerce/magento-cart@4.2.13
48
+ - @graphcommerce/magento-store@4.2.2
49
+ - @graphcommerce/next-ui@4.7.2
50
+ - @graphcommerce/graphql@3.1.3
51
+
52
+ ## 3.0.15
53
+
54
+ ### Patch Changes
55
+
56
+ - Updated dependencies []:
57
+ - @graphcommerce/magento-cart@4.2.12
58
+ - @graphcommerce/magento-cart-payment-method@3.1.8
59
+
60
+ ## 3.0.14
61
+
62
+ ### Patch Changes
63
+
64
+ - Updated dependencies [[`25ef6cf08`](https://github.com/graphcommerce-org/graphcommerce/commit/25ef6cf08c278105307d6f604b7135d637e9046c), [`80e30bb77`](https://github.com/graphcommerce-org/graphcommerce/commit/80e30bb77015755fbc00a7935d590f80c1c1c18c)]:
65
+ - @graphcommerce/graphql@3.1.2
66
+ - @graphcommerce/magento-cart@4.2.11
67
+ - @graphcommerce/magento-cart-payment-method@3.1.7
68
+ - @graphcommerce/magento-store@4.2.1
69
+ - @graphcommerce/next-ui@4.7.1
70
+
3
71
  ## 3.0.13
4
72
 
5
73
  ### Patch Changes
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/magento-payment-braintree",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "3.0.13",
5
+ "version": "3.0.16",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,28 +12,29 @@
12
12
  }
13
13
  },
14
14
  "devDependencies": {
15
- "@graphcommerce/eslint-config-pwa": "^4.1.6",
16
- "@graphcommerce/magento-cart-shipping-address": "3.0.13",
17
- "@graphcommerce/magento-product": "4.2.0",
18
- "@graphcommerce/magento-product-configurable": "4.0.16",
15
+ "@graphcommerce/eslint-config-pwa": "^4.1.7",
16
+ "@graphcommerce/magento-cart-shipping-address": "3.0.16",
17
+ "@graphcommerce/magento-product": "4.3.3",
18
+ "@graphcommerce/magento-product-configurable": "4.1.3",
19
19
  "@graphcommerce/prettier-config-pwa": "^4.0.6",
20
- "@graphcommerce/typescript-config-pwa": "^4.0.2",
20
+ "@graphcommerce/typescript-config-pwa": "^4.0.3",
21
21
  "@playwright/test": "^1.21.1",
22
22
  "@types/braintree-web": "^3.75.19",
23
23
  "type-fest": "^2.12.2"
24
24
  },
25
25
  "dependencies": {
26
- "@graphcommerce/graphql": "3.1.1",
26
+ "@graphcommerce/graphql": "3.1.3",
27
27
  "@graphcommerce/image": "3.1.5",
28
- "@graphcommerce/magento-cart": "4.2.10",
29
- "@graphcommerce/magento-cart-payment-method": "3.1.6",
30
- "@graphcommerce/magento-store": "4.2.0",
31
- "@graphcommerce/next-ui": "4.7.0",
32
- "@graphcommerce/react-hook-form": "3.1.2",
28
+ "@graphcommerce/magento-cart": "4.2.13",
29
+ "@graphcommerce/magento-cart-payment-method": "3.1.9",
30
+ "@graphcommerce/magento-store": "4.2.2",
31
+ "@graphcommerce/next-ui": "4.7.2",
32
+ "@graphcommerce/react-hook-form": "3.1.3",
33
33
  "braintree-web": "^3.85.3"
34
34
  },
35
35
  "peerDependencies": {
36
- "@lingui/macro": "^3.13.2",
36
+ "@lingui/react": "^3.13.2",
37
+ "@lingui/core": "^3.13.2",
37
38
  "@mui/material": "5.5.3",
38
39
  "framer-motion": "^6.2.4",
39
40
  "next": "12.1.2",