Changelog

Release history for @nordcom/commerce-cart-react.

@nordcom/cart-react

0.2.2

Patch Changes

  • 67e3ee6 Thanks @filiphsps! - Run unit tests per-package through turbo so an unchanged package restores its result from the build cache instead of re-running; coverage is merged across packages and floor-gated as before. Tooling-only — no change to published output.

  • Updated dependencies [67e3ee6]:

    • @nordcom/cart-core@0.2.2

0.2.1

Patch Changes

  • 29f8582 Thanks @filiphsps! - Add npm version and downloads badges to the package READMEs, and point each homepage at its live docs page under https://nordcom.store/docs/packages/….

  • Updated dependencies [29f8582]:

    • @nordcom/cart-core@0.2.1

0.2.0

Minor Changes

  • #2018 f4500a5 Thanks @filiphsps! - Add a clear cart mutation and clear() action so emptying the cart issues one bulk line removal instead of one removeLine per line.

  • #1945 d5133c3 Thanks @filiphsps! - Initial publish: React 19 provider with slice contexts, predictive mutation queue with cascade-cancel and cross-tab sync, capability-typed actions, line + cart predictors, <CartForm> zero-JS primitive, and ./devtools panel.

Patch Changes

  • f78ea78 Thanks @filiphsps! - Refresh the shared dev/build toolchain (vite, vitest, concurrently) and the React/Next dev pins to their latest releases as part of a monorepo-wide dependency upgrade. Internal-only — published runtime dependencies and peer ranges are unchanged.

  • f690eb9 Thanks @filiphsps! - Fix cartReady permanently stuck at false. seededRef was read inside a useMemo factory but not included in the dependency array — after setInitial dispatch state.pending stayed the same array reference, so the memo never recomputed and cartReady never became true. Replaced the ref with useState so React tracks the transition and recomputes the status slice correctly on mount.

  • #1969 47ae0b0 Thanks @filiphsps! - Address jsdoc review followups: missing @example on Props types, capability-mixin example typings, American English.

  • #1967 f0047c2 Thanks @filiphsps! - Backfill JSDoc on public/internal symbols.

  • Updated dependencies [f78ea78, f4500a5, d5133c3, 72bdabe]:

    • @nordcom/cart-core@0.2.0

On this page