Version Packages (canary)#2961
Open
github-actions[bot] wants to merge 1 commit into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Author
Unlighthouse Performance Comparison — VercelComparing PR preview deployment Unlighthouse scores vs production Unlighthouse scores. Summary ScoreAggregate score across all categories as reported by Unlighthouse.
Category Scores
Core Web Vitals
|
be1aaee to
ad37350
Compare
ad37350 to
9be4b1c
Compare
9be4b1c to
3f5158c
Compare
3f5158c to
7388a7e
Compare
7388a7e to
f746d18
Compare
f746d18 to
2c5a264
Compare
2c5a264 to
1bbce19
Compare
1bbce19 to
0b6e26c
Compare
0b6e26c to
c45e42c
Compare
c45e42c to
ccbc036
Compare
ccbc036 to
85a5e46
Compare
85a5e46 to
78faf77
Compare
78faf77 to
1c596f6
Compare
1c596f6 to
f0e18bc
Compare
f0e18bc to
2232519
Compare
2232519 to
63759e9
Compare
63759e9 to
8adff3d
Compare
8adff3d to
9d490e1
Compare
9d490e1 to
5e7e701
Compare
5e7e701 to
4baaad9
Compare
4baaad9 to
0c12ce0
Compare
0c12ce0 to
288312d
Compare
288312d to
756f3da
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 canary, this PR will be updated.
Releases
@bigcommerce/catalyst-client@1.0.2
Patch Changes
f4216a6Thanks @parthshahp! - Fixclient.fetchso that custom headers passed viafetchOptions.headersproperly override the client's default headers. Headers are now built via aHeadersobject using.set(), so case-insensitive overrides work as expected.@bigcommerce/catalyst-core@1.7.0
Minor Changes
#2989
518d20aThanks @jorgemoya! - Restore locale-awarelangattribute on the root<html>tag. The previous root layout hardcodedlang="en"for all locales; ownership of<html>/<body>now lives inapp/[locale]/layout.tsxsolang={locale}reflects the active locale. The rootapp/layout.tsxis now a passthrough, andapp/not-found.tsxis self-sufficient (renders its own<html>/<body>) to preserve the branded 404 for non-localized requests.#2825
7b38d98Thanks @chanceaclark! - Add GraphQL proxy to enable client-side GraphQL requests through the storefront. This proxy forwards requests from allowed clients (such as checkout-sdk-js) to the BigCommerce Storefront API using a dedicated unauthenticated storefront token for API authorization, while still passing through the customer access token for customer-specific data. No browser cookies are forwarded.Migration
Step 1: Add environment variable
Add a
BIGCOMMERCE_STOREFRONT_UNAUTHENTICATED_TOKENto your.env.local. This should be a storefront API token scoped for client-side proxy use with minimal permissions.Step 2: Create proxy
Create a new file
core/proxies/with-graphql-proxy.ts:Step 3: Register proxy
Update
core/proxy.tsto include the new proxy in the composition chain:import { composeProxies } from './proxies/compose-proxies'; import { withAnalyticsCookies } from './proxies/with-analytics-cookies'; import { withAuth } from './proxies/with-auth'; import { withChannelId } from './proxies/with-channel-id'; + import { withGraphqlProxy } from './proxies/with-graphql-proxy'; import { withIntl } from './proxies/with-intl'; import { withRoutes } from './proxies/with-routes'; export const proxy = composeProxies( withAuth, withAnalyticsCookies, withIntl, withChannelId, + withGraphqlProxy, withRoutes, );The
withGraphqlProxyproxy should be placed afterwithChannelIdand beforewithRoutesin the chain.Patch Changes
#3002
24cc310Thanks @bc-alexsaiannyi! - Fix cart summary Discounts row not showing manual discounts applied via the Management Checkout API#2976
a85fa42Thanks @jorgemoya! - Add X-Correlation-ID header to all GraphQL requests. Each page render gets a stable UUID that persists across all fetches within the same render, enabling easier request tracing in server logs.#3021
4e44415Thanks @mfaris9! - Default brand PLP sort tofeaturedto honor the merchant's product sort order.#2964
d00beebThanks @chanceaclark! - Prevent breadcrumb array mutation on cached web pages by spreading the Reactcache()result before reversing, and fix an off-by-one intruncateBreadcrumbsthat incorrectly truncated arrays exactly at the target length. Also deferProductReviewSchemato client-only rendering to avoid a DOMPurify SSR crash.#3005
37e0a7cThanks @mfaris9! - FixformField.requiredmismatch forcheckbox-groupfields inDynamicForm. The schema branch was missing.optional()for non-required checkbox groups.#3013
9aacfdcThanks @chanceaclark! - Pass the customer access token through route resolution and the normal/contact webpage queries so customer-restricted web pages are accessible (and appear in navigation) for authenticated customers. Thewith-routesproxy is now wrapped inauth(), and webpagepage-dataqueries switch to an uncached fetch when a customer token is present.#2963
a8dd99eThanks @chanceaclark! - Fix DynamicForm not rendering hidden field types, which causedpageEntityIdto beNaNon contact form submission.#3014
a792a86Thanks @parthshahp! - TRAC-276 translate the gift certificate line item title in cart, order list, and order details. Previously the title was rendered as the raw English"{amount} Gift Certificate"string stored on the BigCommerce backend; it is now rendered from the existingCart.GiftCertificate.giftCertificatetranslation key, with the amount shown in the separate price column (the order list view now populatesprice/totalPricefor gift certificates, which were previously empty).#3008
77c8e8dThanks @bc-svc-local! - Update translations.#2959
4870221Thanks @bc-svc-local! - Update translations.#2987
e18feb6Thanks @bc-svc-local! - Update translations.Updated dependencies [
f4216a6]: