@salesforce/retail-react-app 5.0.0-preview.0 → 5.0.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 CHANGED
@@ -1,4 +1,4 @@
1
- ## v5.0.0-preview.0 (Oct 23, 2024)
1
+ ## v5.0.0 (Oct 28, 2024)
2
2
 
3
3
  ### New Features
4
4
  - Implement ability to set Shopper Context via search parameters in the Retail React App [#1986](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/1986)
@@ -15,6 +15,7 @@
15
15
  - Announce wishlist change in total for screen readers (a11y) [#2033](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2033)
16
16
  - Fixed a bug that incorrectly imports uninstalled package `@chakra-ui/layout` [#2047](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2047)
17
17
  - Replace getAppOrigin with useOrigin to have a better support for an app origin building. [#2050](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2050)
18
+ - PWA Kit projects have Active Data tracking set to "true" by default [#1983](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/1983).
18
19
 
19
20
  ### Bug Fixes
20
21
  - The unused `njwt` npm package had a security vulnerability, since it was unused, the package has been dropped
@@ -23,6 +24,8 @@
23
24
  - PDP / PLP: Render non HTTP 404 erros [#2003](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2003)
24
25
  - Error page: Render home page when clicking nav icon [#2003](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2003)
25
26
  - Encode non ASCII HTTP headers when `encodeNonAsciiHttpHeaders` flag is set to true in `ssr.js` [#2009](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2009)
27
+ - Updated @salesforce/commerce-sdk-react to 3.0.1 to fix an issue with the expires attribute of cookies, ensuring it uses seconds instead of days [#1994](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/1994)
28
+
26
29
 
27
30
  ### Accessibility Improvements
28
31
  - [a11y] Hide svg from screenreader as they are decorative on homepage [#1980](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/1980)
@@ -39,11 +42,6 @@
39
42
  - [a11y] Mobile view account menu a11y adjustments [#2059](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2059)
40
43
  - [a11y] PLP - Use header tags for filter options [#2065](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2065)
41
44
 
42
- ## v4.0.1 (Sept 4, 2024)
43
- - Updated @salesforce/commerce-sdk-react to 3.0.1 to fix an issue with the expires attribute of cookies, ensuring it uses seconds instead of days [#1994](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/1994)
44
-
45
- ### Other Features
46
- - PWA Kit projects have Active Data tracking set to "true" by default.
47
45
 
48
46
  ## v4.0.0 (Aug 7, 2024)
49
47
 
package/config/default.js CHANGED
@@ -55,6 +55,10 @@ module.exports = {
55
55
  {
56
56
  host: 'kv7kzm78.api.commercecloud.salesforce.com',
57
57
  path: 'api'
58
+ },
59
+ {
60
+ host: 'zzrf-001.dx.commercecloud.salesforce.com',
61
+ path: 'ocapi'
58
62
  }
59
63
  ]
60
64
  }
@@ -112,6 +112,10 @@ module.exports = {
112
112
  {
113
113
  host: 'localhost:8888',
114
114
  path: 'api'
115
+ },
116
+ {
117
+ host: 'localhost:9999',
118
+ path: 'ocapi'
115
119
  }
116
120
  ]
117
121
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/retail-react-app",
3
- "version": "5.0.0-preview.0",
3
+ "version": "5.0.0",
4
4
  "license": "See license in LICENSE",
5
5
  "author": "cc-pwa-kit@salesforce.com",
6
6
  "ccExtensibility": {
@@ -45,10 +45,10 @@
45
45
  "@lhci/cli": "^0.11.0",
46
46
  "@loadable/component": "^5.15.3",
47
47
  "@peculiar/webcrypto": "^1.4.2",
48
- "@salesforce/commerce-sdk-react": "3.1.0-preview.0",
49
- "@salesforce/pwa-kit-dev": "3.8.0-preview.0",
50
- "@salesforce/pwa-kit-react-sdk": "3.8.0-preview.0",
51
- "@salesforce/pwa-kit-runtime": "3.8.0-preview.0",
48
+ "@salesforce/commerce-sdk-react": "3.1.0",
49
+ "@salesforce/pwa-kit-dev": "3.8.0",
50
+ "@salesforce/pwa-kit-react-sdk": "3.8.0",
51
+ "@salesforce/pwa-kit-runtime": "3.8.0",
52
52
  "@tanstack/react-query": "^4.28.0",
53
53
  "@tanstack/react-query-devtools": "^4.29.1",
54
54
  "@testing-library/dom": "^9.0.1",
@@ -99,5 +99,5 @@
99
99
  "maxSize": "321 kB"
100
100
  }
101
101
  ],
102
- "gitHead": "6f0e672fef7517c7d8a5b80242a9cc0e929bc5ac"
102
+ "gitHead": "d6ed7107a4087093442b125f8cc212302046ab7e"
103
103
  }