Releases: bigcommerce/catalyst
@bigcommerce/[email protected]
Changelog
1.3.2
Patch Changes
6c94decThanks @chanceaclark! - Pulls in changes from the@bigcommerce/[email protected]patch.
Full Changelog: https://github.com/bigcommerce/catalyst/compare/@bigcommerce/[email protected]...@bigcommerce/[email protected]
@bigcommerce/[email protected]
Patch Changes
-
#2695
6d565c2Thanks @jordanarldt! - Add Gift Certificates link to the header/footer. -
#2694
fdedcaaThanks @BC-AdamWard! - Fix anonymous session cookie maxAge calculation to correctly set 7 days instead of 7 hours.
@bigcommerce/[email protected]
Changelog
1.3.2
Patch Changes
ce1731fThanks @chanceaclark! - Updates the scripts transformer to account for inline scripts having asrcattribute with empty content.
Full Changelog: https://github.com/bigcommerce/catalyst/compare/@bigcommerce/[email protected]...@bigcommerce/[email protected]
@bigcommerce/[email protected]
Changelog
1.3.1
Patch Changes
- #2685
bf176c2Thanks @jordanarldt! - Includes all changes included in the 1.3.1 release of@bigcommerce/catalyst-core
What's Changed
- fix(core): CATALYST-1579 Replace checkout redirect server action with /checkout route by @jordanarldt in #2680
- chore: remove next lint command by @chanceaclark in #2679
- fix(core): CATALYST-1579 Ensure "Proceed to checkout" has loading state, respect trailing slash on checkout action path by @jordanarldt in #2681
- Version Packages (
canary) by @github-actions[bot] in #2682 - Pull changes into makeswift by @jordanarldt in #2683
Full Changelog: https://github.com/bigcommerce/catalyst/compare/@bigcommerce/[email protected]...@bigcommerce/[email protected]
@bigcommerce/[email protected]
Patch Changes
-
#2679
323483aThanks @chanceaclark! - Update thelintcommand to utilizeeslintCLI directly.next lintis deprecated in Next.js version 16 and this provides a lower migration impact when the time comes. -
#2681
cacfb55Thanks @jordanarldt! - Minor refactor to improve the performance when navigating from the cart to the checkout.Migration
Use the above PR diffs as a reference.
- Remove
core/app/[locale]/(default)/cart/_actions/redirect-to-checkout.ts - Update
checkoutActionincore/app/[locale]/(default)/cart/page.tsxto"/checkout" - Copy changes to
core/app/[locale]/(default)/checkout/route.ts - Update
core/lib/server-toast.tsand set the cookiemaxAgeto1- this ensures any toast errors live through the redirect back to the/cartpage - Copy changes in
core/vibes/soul/sections/cart/client.tsx - Update
en.jsonwith the updated translation values (optional)
- Remove
@bigcommerce/[email protected]
Minor Changes
-
#2678
f121097Thanks @chanceaclark! - Synced the changes made oncanary. See the 1.3.0 changelog for more details: https://github.com/bigcommerce/catalyst/releases/tag/%40bigcommerce%2Fcatalyst-core%401.3.0 -
#2593
9e2f992Thanks @hunterbecton! - Create alias for variables for button and button-link components
Patch Changes
-
#2628
d52d6f6Thanks @arvinpoddar! - Switch to usingReactRuntimeCoreinstead ofReactRuntime, avoiding the bundling of unused dependencies from some Makeswift builtin components. Also bumps to latest@makeswift/runtime. -
#2621
eb2d4e1Thanks @agurtovoy! - Fix locale switcher on localized Makeswift pages with different paths
@bigcommerce/[email protected]
Minor Changes
-
#2659
abaa461Thanks @matthewvolk! - Adds consent-aware script loading to Catalyst's consent manager, achieving parity with Stencil's behavior where scripts are conditionally rendered based on user consent preferences. BigCommerce scripts from the Store Scripts API are now transformed and loaded via C15T's ClientSideOptionsProvider, with ESSENTIAL/UNKNOWN scripts rendering by default, all scripts rendering when consent is fully granted, and specific scripts loading based on granular consent selections. -
#2643
391e20dThanks @matthewvolk! - Adds a new consent manager provider using the@c15t/nextjspackage to handle cookie consent management with support for multiple consent categories and cookie-based persistence. -
#2666
ed1f615Thanks @chanceaclark! - Passes the shoppers consent to the checkout redirect mutation -
#2619
19077cdThanks @Tharaae! - Add current stock message to product details page based on the store/product inventory settings.Migration
For existing Catalyst stores, to get the newly added feature, simply rebase the existing code with the new release code. The files to be rebased for this change to be applied are:
- core/messages/en.json
- core/app/[locale]/(default)/product/[slug]/page-data.ts
- core/app/[locale]/(default)/product/[slug]/page.tsx
-
#2664
71cfd62Thanks @chanceaclark! - Provides a way to track analytics consent updates within the analytics provider. This also enables a the Google Analytics provider to be able to get the initial consent values so it can initialize the default consent values. -
#2661
be00b44Thanks @matthewvolk! - Integrates Catalyst's consent manager with the BigCommerce Control Panel's Cookie Consent setting, allowing merchants to centrally control whether the consent banner displays on the storefront. When disabled in the Control Panel, the consent banner is suppressed and all script categories are consented implicitly, matching Stencil behavior. -
#2650
416796fThanks @matthewvolk! - Added consent manager UI components with Catalyst styling and next-intl integration. TheCookieBannerandConsentManagerDialogprovide a customizable banner and preference dialog for cookie consent.
Patch Changes
-
#2577
baf07caThanks @jorgemoya! - Remove unused exports from core -
#2551
be23108Thanks @jkanive! - fix: resolve maintenance page width issues- Add w-full classes to ensure proper width expansion
- Remove flex-1 in favor of w-full for column layout
-
#2574
be80d14Thanks @jorgemoya! - Remove unused dependencies. -
#2609
4e6f58dThanks @chanceaclark! - Adds the product count to the facet label if the facet provides the count. This also fixes an issue where the facets weren't respecting the collapse by default setting. -
#2572
337b7ceThanks @jorgemoya! - Remove unused UI files. -
#2580
f790cd6Thanks @jorgemoya! - Remove unused export types from core. -
#2670
d5fbb73Thanks @jordanarldt! - Fixed issue with 301 redirect loops whenTRAILING_SLASHis set tofalse, or when 301 redirects exist targeting the same path but with different capitalization. -
#2585
a40b96fThanks @copilot-swe-agent! - Add graceful error handling for invalid anonymous JWT cookies -
#2578
bb7940cThanks @jorgemoya! - Remove recpatcha code until we're ready to add it at a later point (if needed).Migration
- A lot of the code removed was just old commented out blocks.
- Remove any recaptcha mention from graphql mutation and queries
-
#2656
ff9aa17Thanks @dependabot! - Updates next-auth to the latest beta versionMigration
Delete the
@ts-expect-errorcomments within thewith-auth.tsmiddleware. -
#2662
8c6626eThanks @jorgemoya! - ReplaceStreamableAnalyticsProviderwith simplifiedAnalyticsProvidercomponent.- Removed
StreamableAnalyticsProviderthat usedStreamable.from()for async data loading. - Added new
AnalyticsProvidercomponent that acceptschannelIdandsettingsas direct props. - Simplifies analytics initialization by removing unnecessary streaming complexity.
- Maintains same functionality with cleaner, more straightforward implementation.
- Fixes issue of events not triggering by properly wrapping
childreninside the provider.
Migration
- Use new
AnalyticsProvidercomponent incore/app/[locale]/layout.tsx, instead ofStreamableAnalyticsProvider.
- Removed
-
#2667
c8dbba6Thanks @bc-svc-local! - Update translations. -
#2589
d3391eeThanks @bc-svc-local! - Update translations. -
#2675
ab9f11eThanks @bc-svc-local! - Update translations. -
#2608
3d47825Thanks @bc-svc-local! - Update translations. -
#2648
7914650Thanks @bc-svc-local! - Update translations.
@bigcommerce/[email protected]
Patch Changes
- #2591
f791fefThanks @matthewvolk! - Removeschalkdependency in favor ofconsola"colorize" utility function (which only depends onnode:tty)
@bigcommerce/[email protected]
Minor Changes
-
#2546
63d2dd7Thanks @bookernath! - Bump Makeswift runtime to 0.25.0 for Next v15.5 compatibility -
#2568
4145846Thanks @hunterbecton! - Now have the ability to make footer links open in new tabs -
#2582
b3c7bbfThanks @matthewvolk! - Includes all changes included in the 1.2.0 release of@bigcommerce/catalyst-core
@bigcommerce/[email protected]
Minor Changes
- #2475
33b574dThanks @bookernath! - Implement Vercel Runtime Cache API as replacement for Vercel KV adapter
Patch Changes
-
#2526
2089a58Thanks @chanceaclark! - The anonymous session cookie hadsecurealways set to true regardless if we were prefixing it or not. This change updates the cookie to setsecureto the same "value" if we prefix the cookie with__Secure-. -
#2564
69797a4Thanks @jorgemoya! - Add visual queues when the cart state is being updated in the Cart page. Will also warn about pending state when trying to navigate away from page.Migration
- Update
/core/vibes/soul/sections/cart/client.tsxto include latest changes:
- Use
isLineItemActionPendingto track when we need to disable checkout button and add a loading state. - Add skeletons to checkout summary fields that will update when the pending state is complete.
- Add side effects to handle when a user
beforeunloadand when user tries to navigate using a link. - Add prop to
lineItemActionPendingLabelto be able to pass in a translatable label to the window alert.
- Add label to dictionary of choice.
- Update
-
#2521
6f6a8afThanks @bookernath! - Preconnect to checkout domain on cart page to improve checkout load time -
Updated dependencies [
707ec24,a27054f]:- @bigcommerce/[email protected]