Skip to content

v5.0.3 - #844

Merged
acasazza merged 1 commit into
mainfrom
version
Sep 15, 2026
Merged

v5.0.3#844
acasazza merged 1 commit into
mainfrom
version

Conversation

@acasazza

Copy link
Copy Markdown
Member

Version bump to 5.0.3 across the three packages, on top of #843.

What ships

#843 — checkout state shared across sibling subtrees, closing #841. The standalone components replace the last three deprecated containers: the save button reaches the address forms it saves, the payment components and the place-order button find each other across steps, and the order recap renders without a wrapper.

Three fixes that came with it and stand on their own:

  • saveOrderAddresses gets back the invertAddresses branch and the do_not_ship guard it lost when it was ported from the address reducer.
  • An order whose include list grows after it was first fetched is now fetched again, coalesced on a single flush.
  • The payment source follows the order instead of being derived once, so the recap shows the card's brand and last four digits rather than the placeholders.

All fifteen deprecated containers now warn, in one voice — eight of them said nothing at all before.

Worth a line in the release notes

useAddressForm changes behaviour: its form values move from per-instance to shared per order. That is what makes a save button outside the forms work at all, and the hook had no consumers in this repo, but it is observable. scope opts out.

The hook also gains errors, setErrors, registerValidator, validateAddresses, and the order / updateOrder parameters for a caller that already owns the order.

🤖 Generated with Claude Code

@acasazza acasazza added the enhancement New feature or request label Sep 14, 2026
@acasazza acasazza self-assigned this Sep 14, 2026
@netlify

netlify Bot commented Sep 14, 2026

Copy link
Copy Markdown

Deploy Preview for commercelayer-react-components ready!

Name Link
🔨 Latest commit 9961de1
🔍 Latest deploy log https://app.netlify.com/projects/commercelayer-react-components/deploys/6aa81c33f5e2a600086f45c2
😎 Deploy Preview https://deploy-preview-844--commercelayer-react-components.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@acasazza acasazza added ignore-for-release Ignore this issue or pull request from release notes and removed enhancement New feature or request labels Sep 15, 2026
@acasazza
acasazza merged commit 87a28ac into main Sep 15, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ignore-for-release Ignore this issue or pull request from release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants