Repository navigation
Conversation
✅ Deploy Preview for commercelayer-react-components ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
commit: |
gciotola
approved these changes
Oct 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Version bump to
5.0.11across the three packages, on top of #892.@commercelayer/react-components@commercelayer/core-components@commercelayer/react-hooks-componentsOne commit,
6e53bac5, touching four files and one line each — the threepackage.jsonversion fields andlerna.json. Its parent is the current tip ofmain,fbec2ddc. (The branch was re-cut twice: the first bump,c84f730f, sat on60a64455and would have shipped without #890; the second,d2a453f7, sat on0b3dd1c3and would have shipped without #892.)What ships
Nine PRs merged since
v5.0.10.Checkout fixes
<Shipment>re-reads the shipments when its selection resolves and selects again if the coupon cleared the method (up to three attempts);<CheckoutComPayment>unmounts the Flow of a replaced payment source and detaches its submit handler, so the card and the 3DS go to the source the order points at;<PaymentMethod>no longer creates a payment source after it unmounts; andsetPaymentSourcehands a caller acting on an order read before the last create the source that create made instead of a second one. Seen in mfe-checkout CI onpayments-checkoutcom.spec.ts:446: 3/18 red before, 48/48 green after.<Address>highlighted the card matching the order's address but pushed it to the shared state only on a later re-run of its effect; when nothing re-ran it, the card looked selected and "Continue to delivery" stayed disabled. Seen in mfe-checkout CI oncustomer-addresses-with-wallet.spec.ts:732._placeread the order withoutinclude. With Adyen that is the normal path (the order is placed on_authorize), and in mfe-checkout the thank-you page lost the card's last four digits while GTMadd_payment_infoandpurchasewent out with no items and no payment type.customer_emaillives on the order, but only the customer state learned about it, so gateways that prefill fromorder.customer_email(Klarna, Stripe, Braintree) read nothing.Maintenance
pnpm typecheckat zero errors), including two real defects that were hiding behind type errors.pnpm auditback to clean (Storybook 10.6, vitest 4.1.12, vite 8.3.5 and three overrides),check-exportsruns attw throughpnpm dlx, and unused dev dependencies and dead scripts are gone. Nothing in the published packages' runtime dependencies changes.Verified against mfe-checkout
The e2e suite of mfe-checkout (
feat/new-react-components) was run locally against60a64455(this release minus #890) in local-library mode, with the served chunks checked to contain the local build rather than the published 5.0.8:test.skipin the specs), includingpayments-checkoutcom.spec.tswith the coupon flow from Shipment auto-select never retries when a coupon clears the method mid-select #887.checkout-free-payment.spec.ts:141on an API timeout ("Request cancelled") andpayments-adyen-klarna.spec.ts:35on the Klarna sandbox — and both passed when re-run, on this tree and on the published 5.0.8 alike.payments-checkoutcom.spec.ts:44648/48, the whole checkout.com spec 9/9, Stripe 8/8.customer-addresses-with-wallet17/17,customer-addresses-no-wallet3/3,guest-addresses17/17,address-settings9/9.Tag
v5.0.11is pushed on the bump commit6e53bac5, as for the previous releases (tags cannot be created onmain). Its parent is the tip ofmain, so the merge commit of this PR will have the same tree, andpublish.yamlbuilds exactly what lands onmain.release.yamlhas created the draft release, with #892 in its notes.🤖 Generated with Claude Code