@salesforce/retail-react-app 9.2.0-preview.0 → 10.0.0-preview.2

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,3 +1,4 @@
1
+ ## v10.0.0-preview.1 (May 04, 2026)
1
2
  ## v9.2.0-preview.0 (May 01, 2026)
2
3
  - Update MRT Data Store configuration comments to use new environment variable names (`MRT_DATA_STORE_DEFAULTS` instead of `PWAKIT_MRT_DATA_STORE_DEFAULTS`). Local data store now provided by `@salesforce/mrt-utilities` via conditional exports. [#3811](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3811)
3
4
  - Add opt-in `app.mrtDataStore.enabled` to `config/default.js` (default `false`). Set to `true` or use `PWAKIT_MRT_DATA_STORE_ENABLED=true` to resolve MRT Data Store custom preferences during SSR. Local defaults without DynamoDB: `PWAKIT_MRT_DATA_STORE_DEFAULTS` and related env vars (see `config/default.js` comments). [#3787](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3787)
@@ -6,7 +7,7 @@
6
7
  - [Bugfix] Fix alert description text styling on subscribe form to not override default alert styles [#3780](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3780)
7
8
  - [Bugfix] Add `return_url` for express checkout payment confirmation, required by redirect-based payment methods like Amazon Pay [#3803](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3803)
8
9
  - Update `app/ssr.js` guidance for the SLAS private-client proxy: replace the deprecated `applySLASPrivateClientToEndpoints` example with a pointer to `slasPrivateClientAllowList` [#3802](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3802)
9
- - Add support for HttpOnly session cookies [#3804](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3804)
10
+ - WIP: Add support for HttpOnly session cookies [#3804](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3804)
10
11
 
11
12
  ## v9.1.1 (Mar 20, 2026)
12
13
  - Add base path prefix to support multiple MRT environments under 1 domain [#3614](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3614)
package/README.md CHANGED
@@ -44,13 +44,13 @@ The Retail React App's configuration files are located in the `app/config` folde
44
44
  You can resolve **MRT Data Store** custom preferences during SSR without DynamoDB by using the in-memory provider from **`@salesforce/pwa-kit-dev`** (loaded by `@salesforce/pwa-kit-runtime` when you are **not** in a full Managed Runtime process).
45
45
 
46
46
  - **Turn the feature on:** set **`app.mrtDataStore.enabled`** in `config/default.js`, and/or **`PWAKIT_MRT_DATA_STORE_ENABLED=true`** (use `false` to force off without editing files).
47
- - **Use local defaults:** set **`PWAKIT_MRT_DATA_STORE_DEFAULTS`** to a JSON object whose keys are **full DAL keys** and values are plain objects. For example, site preferences use `<siteId>-custom-site-preferences` (such as `RefArch-custom-site-preferences`); global preferences use **`custom-global-preferences`**.
47
+ - **Use local defaults:** set **`MRT_DATA_STORE_DEFAULTS`** to a JSON object whose keys are **full DAL keys** and values are plain objects. For example, site preferences use `<siteId>-custom-site-preferences` (such as `RefArch-custom-site-preferences`); global preferences use **`custom-global-preferences`**.
48
48
  - **Use the local provider, not DynamoDB:** in development, keep **`AWS_REGION`**, **`MOBIFY_PROPERTY_ID`**, and **`DEPLOY_TARGET`** unset for the dev server. If all three are set, the runtime uses the **real** Data Store instead of your defaults map.
49
- - **Optional:** **`PWAKIT_MRT_DATA_STORE_WARN_ON_MISSING=false`** silences console warnings when a key is missing. Use **`PWAKIT_MRT_DATA_STORE_ALLOW_LOCAL=true`** if you need the local provider while **`NODE_ENV=production`** locally.
49
+ - **Optional:** **`MRT_DATA_STORE_WARN_ON_MISSING=false`** silences console warnings when a key is missing.
50
50
 
51
51
  ```bash
52
52
  export PWAKIT_MRT_DATA_STORE_ENABLED=true
53
- export PWAKIT_MRT_DATA_STORE_DEFAULTS='{"RefArch-custom-site-preferences":{},"custom-global-preferences":{}}'
53
+ export MRT_DATA_STORE_DEFAULTS='{"RefArch-custom-site-preferences":{},"custom-global-preferences":{}}'
54
54
  npm start
55
55
  ```
56
56
 
package/config/default.js CHANGED
@@ -134,6 +134,7 @@ module.exports = {
134
134
  ssrParameters: {
135
135
  ssrFunctionNodeVersion: '24.x',
136
136
  // Store the session cookies as HttpOnly for enhanced security.
137
+ // WIP: Do not enable. This feature is in-progress.
137
138
  enableHttpOnlySessionCookies: false,
138
139
  proxyConfigs: [
139
140
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/retail-react-app",
3
- "version": "9.2.0-preview.0",
3
+ "version": "10.0.0-preview.2",
4
4
  "license": "See license in LICENSE",
5
5
  "author": "cc-pwa-kit@salesforce.com",
6
6
  "ccExtensibility": {
@@ -46,10 +46,10 @@
46
46
  "@loadable/component": "^5.15.3",
47
47
  "@peculiar/webcrypto": "^1.4.2",
48
48
  "@salesforce/cc-datacloud-typescript": "1.1.2",
49
- "@salesforce/commerce-sdk-react": "5.2.0-preview.0",
50
- "@salesforce/pwa-kit-dev": "3.18.0-preview.0",
51
- "@salesforce/pwa-kit-react-sdk": "3.18.0-preview.0",
52
- "@salesforce/pwa-kit-runtime": "3.18.0-preview.0",
49
+ "@salesforce/commerce-sdk-react": "5.2.0-preview.2",
50
+ "@salesforce/pwa-kit-dev": "3.18.0-preview.2",
51
+ "@salesforce/pwa-kit-react-sdk": "3.18.0-preview.2",
52
+ "@salesforce/pwa-kit-runtime": "3.18.0-preview.2",
53
53
  "@salesforce/storefront-next-runtime": "0.1.1",
54
54
  "@tanstack/react-query": "^4.28.0",
55
55
  "@tanstack/react-query-devtools": "^4.29.1",
@@ -113,5 +113,5 @@
113
113
  "maxSize": "395 kB"
114
114
  }
115
115
  ],
116
- "gitHead": "75dd6afbf5269009754337c2cddc5bc0c508e3b3"
116
+ "gitHead": "453ec7cb09081ee0e678fc2402acefa6d5e39449"
117
117
  }