Skip to content

Commit 561b957

Browse files
author
vmarta_sfemu
committed
Sync from monorepo
Template version: 0.4.0 Uses NPM packages @salesforce/storefront-next-* v0.4.0 Synced by: vmarta_sfemu Monorepo SHA: 7ef89e1a2ec772820e5f749d36747aaeb68ee22f Latest change: 7ef89e1a2 - Bump to 0.4.0 final (#1608)
1 parent 4d0f109 commit 561b957

5 files changed

Lines changed: 248 additions & 262 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,9 @@
1-
## v0.4.0-dev (May 1, 2026)
1+
## v0.4.0 (May 5, 2026)
22

33
- Design layer: Wire `contentLinkUuid` through regions and story fixtures to support content blocks (@W-21609036)
4-
5-
## v0.4.0-dev (Apr 30, 2026)
6-
74
- **Cart line item:** Restore the edit button for non-standard, non-bonus products alongside the newly added wishlist toggle and remove action.
85
- Broke down app.css into a more organized system for readability and discoverability [#1474](https://github.com/commerce-emu/storefront-next/pull/1474)
9-
10-
## v0.4.0-dev (Apr 28, 2026)
11-
126
- **Cart line item:** Removed the edit action from the line card, added an inline wishlist add/remove toggle, removed the product description block, and removed the delivery pill so the row focuses on image, title, attributes, price, and quantity.
13-
14-
## v0.4.0-dev (Apr 24, 2026)
15-
167
- Fix promotions always showing as 0 in order summary and order confirmation when only item-level discounts are applied — now includes `productItems[].priceAdjustments` alongside `orderPriceAdjustments` ([#1557](https://github.com/commerce-emu/storefront-next/pull/1557))
178
- Remove dead `ssr.noExternal` / `ssr.target` block from `vite.config.ts` — production SSR inlining is handled by the SDK's `managedRuntimeBundlePlugin`, and dev works with Vite's default ESM externalization ([#1540](https://github.com/commerce-emu/storefront-next/pull/1540))
189
- Standardize SCAPI requests error handling - Homepage ([#1537](https://github.com/commerce-emu/storefront-next/pull/1537))
@@ -26,9 +17,6 @@
2617
- Standardize behaviors of API errors in Checkout (@W-22199926) ([#1521](https://github.com/commerce-emu/storefront-next/pull/1521))
2718
- Migrate i18n infrastructure to SDK: replace `src/lib/i18next.ts`, `src/lib/i18next.client.ts`, and `scripts/aggregate-extension-locales.js` with imports from `@salesforce/storefront-next-runtime/i18n` and `sfnext locales aggregate-extensions`
2819
- Fix locale bundle bloat, SSR 404 plain-text response, and homepage links ignoring active locale on error pages
29-
30-
## v0.4.0-dev (Apr 15, 2026)
31-
3220
- [UX Fix] Promo code component to match design ([#1525](https://github.com/commerce-emu/storefront-next/pull/1525))
3321
- Mini cart item UX refresh: update product/price hierarchy, stack quantity controls, and improve long promotion wrapping behavior ([#1510](https://github.com/commerce-emu/storefront-next/pull/1510))
3422
- Standardize action error handling with semantic error codes: actions return structured `{ code, message }` errors instead of plain strings (@W-21952674) ([#1508](https://github.com/commerce-emu/storefront-next/pull/1508))
@@ -57,17 +45,11 @@
5745
- Remove unused /callback route
5846
- Remove unused Page Designer dev proxy from vite.config.ts (@W-22154589@)
5947
- Rename server-only source files to `.server.ts` so the React Router build plugin enforces the server/client boundary at compile time
60-
61-
## v0.4.0-dev (Apr 10, 2026)
62-
6348
- Checkout: Shipping method styling as per UX (@W-21512931)
6449
- Added SDD (Spec-Driven Development) support with multi-agent code generation
6550
- ProductCarousel: fix category-driven product fetching in Page Designer — loader now correctly invoked when `categoryId` attribute is set
6651
- ProductCarousel: hide empty-state placeholder on live storefront; "Select a product" now only shown in Page Designer design mode
6752
- ProductCarousel: add `categoryId` and `limit` Page Designer attribute definitions; update cartridge metadata
68-
69-
## v0.4.0-dev (Apr 07, 2026)
70-
7153
- Fix social login redirect flow and callback handler ([#1386](https://github.com/commerce-emu/storefront-next/pull/1386))
7254
- Extend `useSite()` to return `{ site, language, locale, currency }` and remove `CurrencyProvider`/`useCurrency()` (@W-21787278) ([#1384](https://github.com/commerce-emu/storefront-next/pull/1384))
7355
- Add Cloudflare Turnstile bot protection integration for passwordless login with graceful degradation

e2e/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@salesforce/storefront-next-e2e",
3-
"version": "0.4.0-alpha.3",
3+
"version": "0.4.0",
44
"private": true,
55
"scripts": {
66
"typecheck": "pnpm def && tsc --noEmit",

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "template-retail-rsc-app",
3-
"version": "0.4.0-alpha.3",
3+
"version": "0.4.0",
44
"description": "Production-ready React storefront template for Salesforce Commerce Cloud.",
55
"private": true,
66
"type": "module",
@@ -82,8 +82,8 @@
8282
"@radix-ui/react-switch": "1.2.2",
8383
"@radix-ui/react-tooltip": "1.2.8",
8484
"@react-router/node": "7.12.0",
85-
"@salesforce/storefront-next-dev": "0.4.0-alpha.3",
86-
"@salesforce/storefront-next-runtime": "0.4.0-alpha.3",
85+
"@salesforce/storefront-next-dev": "0.4.0",
86+
"@salesforce/storefront-next-runtime": "0.4.0",
8787
"@vis.gl/react-google-maps": "1.7.1",
8888
"class-variance-authority": "0.7.1",
8989
"clsx": "2.1.1",
@@ -174,6 +174,7 @@
174174
"source-map-support": "0.5.21",
175175
"storybook": "10.0.6",
176176
"tw-animate-css": "1.4.0",
177+
"typescript": "5.9.2",
177178
"typescript-eslint": "8.44.0",
178179
"vite": "7.1.7",
179180
"vite-plugin-bundlesize": "0.3.0",

0 commit comments

Comments
 (0)