The Commerce boilerplate has been updated with a Drop-in SDK major upgrade, multi-storefront browsing history support, and accessibility fixes across boilerplate blocks:
Infrastructure
- Drop-in SDK:
@dropins/toolsupgraded to 2.0.0, including a TypeScript 6.0 and ESLint 9 upgrade across the SDK. See Updated Drop-in SDK for consumer migration steps and sub-package versions. Jest upgraded to 30.4.2 and Storybook to 10.4.0 (#205).
Fixes and improvements
- Drop-in SDK:
COMPANY_CREATEadded to the default reCAPTCHA form map (#206). Added a TypeScript return type forevents.lastPayload(#216). Accessibility fixes:- Picker no longer leaves Add to Cart disabled after single-option narrowing on configurable PDPs (#219).
- Accessible labels on password validation icons (#220).
- Picker’s accessible name and label association (#233).
- Screen reader announcements for Field and InLineAlert status and error messages (#253).
- Unique accessible names for InLineAlert’s Undo/Dismiss action buttons (#242).
- Modal focus management and dialog semantics (#244).
- ToggleButton’s accessible name (#246) and invalid HTML ids when its value contains spaces (#262).
- Higher-contrast keyboard focus indicators and a date-format fix in
InputDate.
- Product recommendations:
getPurchaseHistoryandgetProductViewHistorynow key browsing history by a storefront identifier, so history no longer mixes between storefronts that share a domain. A SaaS storefront and an Adobe Commerce Optimizer storefront on the same domain are a common example. Prerendered product pages (hovered but never visited) no longer pollute that history either (#1301, #1361). - Recommendations block: Now forwards cart SKUs to the recommendations request, so cart-based recommendation units reflect what’s actually in the shopper’s cart (#1366).
- Cart (gift cards): Adding a gift card product from the product listing page no longer fails silently. Gift card products now redirect to the product details page to collect the required sender and recipient information, the same way bundle and configurable products already do (#1328).
- Modal: The modal block now emits a
closeevent with the dismissal reason (button, backdrop, or programmatic), so you can react when a modal closes (#1318). - Accessibility: The header sign-in dropdown, mini cart panel, and search popover now stay scrollable and reachable at reduced viewport heights, meeting WCAG 1.4.10 Reflow (#1312, #1315, #1319).
- The My Account button (#1321) and mini cart button (#1337) now announce their expanded state to screen readers.
- The “Updating Cart” button text has higher contrast and now announces its progress to screen readers (#1323, #1327).
- The checkout Edit-cart link, cart Edit button, and product image and Add to Cart links each have distinct accessible names (#1330, #1334, #1340).
- Checkout status messages now use persistent
aria-liveregions (#1344).
- B2B (Checkout): Fixed an issue that could prevent the Credit Card checkout fields from rendering (#1347, B2B).