Repository navigation
Version Packages - #1512
Merged
Merged
Version Packages#1512
Conversation
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
October 20, 2026 00:00
dac5275 to
ecb45b8
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
October 20, 2026 00:12
ecb45b8 to
7a040f3
Compare
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.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@godaddy/gd-commerce-server@0.3.0
Minor Changes
b39d49d: Return 400 from the order-status route for invalid order IDs, including IDs the Orders API rejects as malformed, and 404 when the Orders API reports the order missing or it belongs to another store or channel, instead of 500. A 404 without the Orders API's
NOT_FOUNDcode, such as from a misconfigured base URL, stays a logged 500. The 500 response no longer includes the internal error message; it is logged server-side instead. ExportInvalidOrderIdError,OrderNotFoundError, andORDER_STATUS_UNKNOWNfor in-processgetOrderStatus()callers; checkerror.namerather thaninstanceofso the check holds when a host has more than one copy of this package.9a172d8: Standardize route error handling. Every failure now responds with
{ error, code, requestId }and no longer includes internal error text in amessagefield.Status codes now reflect the cause:
upstream_unauthorized); previously 500. This includes order-status upstream failures, which were 500. An OAuth 400 isupstream_unauthorizedonly forinvalid_client,invalid_grant,unauthorized_client, orinvalid_scope./config. Data and checkout routes also return 503not_configuredwhen the host reports a connection state other thanready; previously 500./cart/:id/...) that is missing, expired, or completed; previously 500. Creating a cart and checkout are not classified this way and return 502.Hosts can pass
loggerandgetRequestIdto the router factories to receive failure detail and reuse their own request ids; a throwinggetRequestIdfalls back to a generated id. In-process helpers, includinggetOrderStatus()andcreateCheckoutSession(), throw exportedCommerceErrorsubclasses, also when a host configuration throws while being read. Checkerror.coderather thaninstanceoforerror.name; it holds when a host has more than one copy of this package.validateCommerceCartScopewas internal and is replaced by a throwingassertCommerceCartScope.Hosts that read
messageor check for status 500 should switch tocodeand server-side logs.@godaddy/react@1.0.59
Patch Changes