Skip to content

Latest commit

 

History

History
756 lines (430 loc) · 66.7 KB

CHANGELOG.md

File metadata and controls

756 lines (430 loc) · 66.7 KB

Changelog

0.21.0

Minor Changes

Patch Changes

0.20.0

Minor Changes

Patch Changes

0.19.0

Minor Changes

  • #1262 0c2023b Thanks @chanceaclark! - Removes all usages of the customer impersonation token. Also updates the docs to correspond with the Storefront API Token.

  • #1262 0c2023b Thanks @chanceaclark! - Allows the ability to consume a storefront token. This new token will allow Catalyst to create customerAccessToken's whenever a user logs into their account. This change doesn't include consuming the either token, only adding the ability to pass it in.

Patch Changes

0.18.1

Patch Changes

0.18.0

Minor Changes

  • #1491 313a591 Thanks @jorgemoya! - Bump next-intl which includes some minor changes and updated APIs:

    • Use new createNavigation api.
    • Pass locale to redirects.
    • setRequestLocale is no longer unstable.

Patch Changes

0.17.1

Patch Changes

0.17.0

Minor Changes

Patch Changes

0.16.0

Minor Changes

Patch Changes

0.15.0

Minor Changes

  • #1362 0814afe Thanks @deini! - If app is not running on Vercel's infra, <Analytics /> and <SpeedInsights /> are not rendered.

    Opt-out of vercel analytics and speed insights by setting the following env vars to true

    • DISABLE_VERCEL_ANALYTICS
    • DISABLE_VERCEL_SPEED_INSIGHTS
  • #1354 3d298c7 Thanks @jorgemoya! - Move address forms in account to their own /add and /edit pages.

  • #1280 27cbfd2 Thanks @bookernath! - Add dynamic favicon from API on a static route

  • #1357 3176491 Thanks @jorgemoya! - Add /account/settings/change-password route for change password form.

Patch Changes

0.14.2

Patch Changes

0.14.1

Patch Changes

  • #1257 d656e79 Thanks @bc-alexsaiannyi! - add numbers-only field & utils for account form fields

  • #1277 8e6253d Thanks @jorgemoya! - Update Slideshow prop to use altText for image. Rename Hero wrapper component to Slideshow.

  • #1302 a620a19 Thanks @deini! - fix: decode webpage id to fix 404 on some Webpages

  • #1257 d656e79 Thanks @bc-alexsaiannyi! - add checkboxes field for account & addresses forms

  • #1346 33e133d Thanks @bc-alexsaiannyi! - fix placeholder positioning for picklist custom form field

  • #1316 4aea109 Thanks @jorgemoya! - Normalizes translations across all pages, updates the next-intl configuration, and simplifies translation handling in the project.

  • #1257 d656e79 Thanks @bc-alexsaiannyi! - add dates field for account & address forms

  • #1141 9f3c949 Thanks @bc-yevhenii-buliuk! - improve redirect behavior after creating new address

  • #1305 b11ba3d Thanks @jorgemoya! - Refactors tabs in /account to each be their own page. This also removes unused links in account home page (and tests) until we have that functionality available.

    Previous structure:

    /account
      [tab]
        page.tsx
    

    New structure:

    /account
      (tabs)
        addresses
          page.tsx
        settings
          page.tsx
        ...etc
    
  • #1257 d656e79 Thanks @bc-alexsaiannyi! - add multipleChoices field(radio-buttons, picklist) for account & address forms

  • #1334 00f43f0 Thanks @deini! - Fixes a server crash when user switches language settings

  • #1333 e2c0153 Thanks @deini! - Splits i18n into request.ts and routing.ts This helps reduce our middleware bundle as we no longer do a dynamic import on our middleware entrypoint.

  • #1342 f7bb1e2 Thanks @jorgemoya! - Update localeSwitcher to use a link instead of a form.

  • #1326 255c648 Thanks @chanceaclark! - Ensure recaptcha is bypassed for functional tests.

  • #1278 f8553c6 Thanks @jorgemoya! - Fix wrapping author text in BlogPostCard.

  • #1322 77ecb4b Thanks @jorgemoya! - Split auth forms to four different pages:

    • /login
    • /register
    • /reset
    • /change-password

    Additionally, moved shared form field components to /components/form-fields/ and updated translations.

  • #1317 7802361 Thanks @jorgemoya! - Rename NEXT_PUBLIC_DEFAULT_REVALIDATE_TARGET to DEFAULT_REVALIDATE_TARGET since we don't need this exposed to the client.

  • #1296 fcd44bb Thanks @bookernath! - Add link header to preconnect to CDN

  • #1088 644361e Thanks @bc-yevhenii-buliuk! - improve redirect behavior after creating account

  • #1329 ad601e1 Thanks @bc-alexsaiannyi! - update multiline form-field to respect required settings

  • #1257 d656e79 Thanks @bc-alexsaiannyi! - add multilinetext field for account & address forms

  • #1300 b32198b Thanks @jorgemoya! - Refactor queries, fragments, and mutations in an effort to set a pattern on where these functions need to be defined.

    Shared queries and mutations will remain in /client for now.

  • #1349 dd9cf6f Thanks @jorgemoya! - Remove updateCustomer and getCustomerAddresses queries since they are defined now where they are used.

  • #1313 6531bb2 Thanks @jorgemoya! - Remove "Quick add" button in PLP for products that have options. Will now just show a button that links to the product.

0.14.0

Minor Changes

  • #1261 f715067 Thanks @chanceaclark! - Remove the need of fetching shipping countries by using the GraphQL data.

  • #1261 f715067 Thanks @chanceaclark! - Fetch shipping zones if access token exists, otherwise regress back to using the geography node on graphql for shipping information. This is part of an effort to remove the need of the BIGCOMMERCE_ACCESS_TOKEN.

Patch Changes

0.13.0

Minor Changes

  • #1166 0661e53 Thanks @bookernath! - Use default SEO settings from store for pages without SEO information specified, normalize SEO implementation across pages

  • #1194 b455b05 Thanks @BC-krasnoshapka! - Add basic support for Google Analytics via Big Open Data Layer. BODL and GA4 integration is encapsulated in bodl library which hides current complexity and limitations that will be improved in future. It can be extended with more events and integrations with other analytics providers later. Data transformation from Catalyst data models to BODL and firing events is done in client components, as only frontend events are supported by BODL for now.

    List of currently supported events:

    • View product category
    • View product page
    • Add product to cart
    • View cart
    • Remove product from cart

    In order to configure you need to specify NEXT_PUBLIC_GOOGLE_ANALYTICS_ID environment variable which is essentially your GA4 ID.

Patch Changes

0.12.0

Minor Changes

  • #1178 f592d9f Thanks @jorgemoya! - This refactor changes the structure of our UI components by replacing composability with a prop-based configuration. This change simplifies the use of our components, eliminating the need to build them individually from a composable approach. Additionally, it provides a single location for all class customizations, improving the experience when fully customizing the component. We believe this approach will make it easier to use components correctly and safeguard against incorrect usage. Ultimately, by adopting a prop-based configuration, we aim to achieve full replaceability and simplify theming for our components.

    Before refactor:

    <Accordions>
        <AccordionsItem>
            <AccordionsTrigger>
                Title 1
            </AccordionsTrigger>
            <AccordionsContent>
                Item Content 1
            </AccordionsContent>
        </AccordionsItem>
        <AccordionsItem>
            <AccordionsTrigger>
                Title 2
            </AccordionsTrigger>
            <AccordionsContent>
                Item Content 2
            </AccordionsContent>
        </AccordionsItem>
    </Accordions>
    

    After refactor:

    <Accordions accordions={[
        {value: 'Title 1', content: 'Item Content 1'},
        {value: 'Title 2', content: 'Item Content 2'}
    ]}>
    

    Before refactor:

    <Select
        onValueChange={onSort}
        value={value}
    >
        <SelectContent>
            <SelectItem value="featured">Featured</SelectItem>
            <SelectItem value="newest">Newest</SelectItem>
            <SelectItem value="best_selling">Best selling</SelectItem>
            <SelectItem value="a_to_z">A to Z</SelectItem>
            <SelectItem value="z_to_a">Z to A</SelectItem>
            <SelectItem value="best_reviewed">By reviews</SelectItem>
            <SelectItem value="lowest_price">Price ascending</SelectItem>
            <SelectItem value="highest_price">Price descending</SelectItem>
            <SelectItem value="relevance">Relevance</SelectItem>
        </SelectContent>
    </Select>
    

    After refactor:

    <Select
        onValueChange={onSort}
        options={[
            { value: 'featured', label: 'Featured' },
            { value: 'newest', label: 'Newest' },
            { value: 'best_selling', label: 'Best selling' },
            { value: 'a_to_z', label: 'A to Z' },
            { value: 'z_to_a', label: 'Z to A' },
            { value: 'best_reviewed', label: 'By reviews'},
            { value: 'lowest_price', label: 'Price ascending' },
            { value: 'highest_price', label: 'Price descending' },
            { value: 'relevance', label: 'Relevance' },
        ]}
        value={value}
    />
    

0.11.0

Minor Changes

  • #1156 7d91478 Thanks @chanceaclark! - Adds customer information onto the session for consumption in both server and client components

Patch Changes

  • #1183 4e7ed57 Thanks @chanceaclark! - Uses next/navigation for logging in as a customer instead of the built-in redirectTo option. That option was not following the trailingSlash config set in next.config.js which caused test failures.

  • #1179 ae8d985 Thanks @deini! - bump next to 14.2.5

  • Updated dependencies []:

0.10.0

Minor Changes

Patch Changes

0.9.1

Patch Changes

  • #937 3606639 Thanks @jorgemoya! - Show correct status and messaging for the Add to Cart button.

  • #979 6a6c193 Thanks @bc-yevhenii-buliuk! - fix redirection to the Login page after password change

  • #972 3c34e27 Thanks @jorgemoya! - Show correct color of remove button when in loading state.

  • #982 b8ea900 Thanks @matthewvolk! - Introduces more consistent naming convention for files related to GraphQL, changes opinions around when it is appropriate to track GraphQL files in version control, fixes an issue where the generate.cjs script was swallowing helpful error messaging

  • #977 bf4739d Thanks @jorgemoya! - Add upstash kv adapter.

  • #974 970651c Thanks @jorgemoya! - Add loading state to remove coupon code button.

0.9.0

Minor Changes

Patch Changes

0.8.0

Minor Changes

Patch Changes

0.7.0

Minor Changes

Patch Changes

0.6.0

Minor Changes

Patch Changes

0.5.0

Minor Changes

Patch Changes

0.4.0

Minor Changes

Patch Changes

0.3.0

Minor Changes

  • #696 6deba4a Thanks @deini! - removes graphql codegen setup, all graphql calls are done using gql.tada

Patch Changes

0.2.1

Patch Changes

0.2.0

Minor Changes

Patch Changes

0.1.1

Patch Changes