Skip to content

Releases: bigcommerce/catalyst

@bigcommerce/[email protected]

14 Nov 22:07
9f0d520

Choose a tag to compare

@bigcommerce/[email protected]

14 Nov 23:04
dbbb920

Choose a tag to compare

Patch Changes

@bigcommerce/[email protected]

14 Nov 21:06
6f13cab

Choose a tag to compare

Changelog

1.3.2

Patch Changes

  • ce1731f Thanks @chanceaclark! - Updates the scripts transformer to account for inline scripts having a src attribute with empty content.

Full Changelog: https://github.com/bigcommerce/catalyst/compare/@bigcommerce/[email protected]...@bigcommerce/[email protected]

@bigcommerce/[email protected]

12 Nov 21:17
6c10e05

Choose a tag to compare

Changelog

1.3.1

Patch Changes

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]

12 Nov 19:35
61183ca

Choose a tag to compare

Patch Changes

  • #2679 323483a Thanks @chanceaclark! - Update the lint command to utilize eslint CLI directly. next lint is deprecated in Next.js version 16 and this provides a lower migration impact when the time comes.

  • #2681 cacfb55 Thanks @jordanarldt! - Minor refactor to improve the performance when navigating from the cart to the checkout.

    Migration

    Use the above PR diffs as a reference.

    1. Remove core/app/[locale]/(default)/cart/_actions/redirect-to-checkout.ts
    2. Update checkoutAction in core/app/[locale]/(default)/cart/page.tsx to "/checkout"
    3. Copy changes to core/app/[locale]/(default)/checkout/route.ts
    4. Update core/lib/server-toast.ts and set the cookie maxAge to 1 - this ensures any toast errors live through the redirect back to the /cart page
    5. Copy changes in core/vibes/soul/sections/cart/client.tsx
    6. Update en.json with the updated translation values (optional)

@bigcommerce/[email protected]

10 Nov 19:34

Choose a tag to compare

Minor Changes

Patch Changes

  • #2628 d52d6f6 Thanks @arvinpoddar! - Switch to using ReactRuntimeCore instead of ReactRuntime, avoiding the bundling of unused dependencies from some Makeswift builtin components. Also bumps to latest @makeswift/runtime.

  • #2621 eb2d4e1 Thanks @agurtovoy! - Fix locale switcher on localized Makeswift pages with different paths

@bigcommerce/[email protected]

10 Nov 18:57
c13aa69

Choose a tag to compare

Minor Changes

  • #2659 abaa461 Thanks @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 391e20d Thanks @matthewvolk! - Adds a new consent manager provider using the @c15t/nextjs package to handle cookie consent management with support for multiple consent categories and cookie-based persistence.

  • #2666 ed1f615 Thanks @chanceaclark! - Passes the shoppers consent to the checkout redirect mutation

  • #2619 19077cd Thanks @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 71cfd62 Thanks @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 be00b44 Thanks @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 416796f Thanks @matthewvolk! - Added consent manager UI components with Catalyst styling and next-intl integration. The CookieBanner and ConsentManagerDialog provide a customizable banner and preference dialog for cookie consent.

Patch Changes

  • #2577 baf07ca Thanks @jorgemoya! - Remove unused exports from core

  • #2551 be23108 Thanks @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 be80d14 Thanks @jorgemoya! - Remove unused dependencies.

  • #2609 4e6f58d Thanks @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 337b7ce Thanks @jorgemoya! - Remove unused UI files.

  • #2580 f790cd6 Thanks @jorgemoya! - Remove unused export types from core.

  • #2670 d5fbb73 Thanks @jordanarldt! - Fixed issue with 301 redirect loops when TRAILING_SLASH is set to false, or when 301 redirects exist targeting the same path but with different capitalization.

  • #2585 a40b96f Thanks @copilot-swe-agent! - Add graceful error handling for invalid anonymous JWT cookies

  • #2578 bb7940c Thanks @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 ff9aa17 Thanks @dependabot! - Updates next-auth to the latest beta version

    Migration

    Delete the @ts-expect-error comments within the with-auth.ts middleware.

  • #2662 8c6626e Thanks @jorgemoya! - Replace StreamableAnalyticsProviderwith simplified AnalyticsProvider component.

    • Removed StreamableAnalyticsProvider that used Streamable.from() for async data loading.
    • Added new AnalyticsProvider component that accepts channelId and settings as 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 children inside the provider.

    Migration

    • Use new AnalyticsProvider component in core/app/[locale]/layout.tsx, instead of StreamableAnalyticsProvider.
  • #2667 c8dbba6 Thanks @bc-svc-local! - Update translations.

  • #2589 d3391ee Thanks @bc-svc-local! - Update translations.

  • #2675 ab9f11e Thanks @bc-svc-local! - Update translations.

  • #2608 3d47825 Thanks @bc-svc-local! - Update translations.

  • #2648 7914650 Thanks @bc-svc-local! - Update translations.

@bigcommerce/[email protected]

08 Sep 19:38
2c7d3eb

Choose a tag to compare

Patch Changes

  • #2591 f791fef Thanks @matthewvolk! - Removes chalk dependency in favor of consola "colorize" utility function (which only depends on node:tty)

@bigcommerce/[email protected]

04 Sep 18:40
bedf1d6

Choose a tag to compare

Minor Changes

@bigcommerce/[email protected]

04 Sep 13:50
4d30763

Choose a tag to compare

Minor Changes

Patch Changes

  • #2526 2089a58 Thanks @chanceaclark! - The anonymous session cookie had secure always set to true regardless if we were prefixing it or not. This change updates the cookie to set secure to the same "value" if we prefix the cookie with __Secure-.

  • #2564 69797a4 Thanks @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

    1. Update /core/vibes/soul/sections/cart/client.tsx to include latest changes:
    • Use isLineItemActionPending to 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 beforeunload and when user tries to navigate using a link.
    • Add prop to lineItemActionPendingLabel to be able to pass in a translatable label to the window alert.
    1. Add label to dictionary of choice.
  • #2521 6f6a8af Thanks @bookernath! - Preconnect to checkout domain on cart page to improve checkout load time

  • Updated dependencies [707ec24, a27054f]: