Skip to content

Releases: packdigital/pack-hydrogen-theme-blueprint

v1.2.1 Removes redundant background color settings in schemas

03 May 16:36
7ae3446
Compare
Choose a tag to compare
  • Removes redundant background color settings for sections that contain container settings

v1.2.0 Updates and fixes script loading and components

03 May 16:32
277cc65
Compare
Choose a tag to compare
  • Adds useLoadScript hook to hooks, which provides a proper way to inject third party scripts into the body or head without hydration errors (Remix-specific gotcha)
  • Removes BodyScripts and HeadScripts files with Scripts file, which utilizes useLoadScript to properly inject GTM and prevent hydration errors
  • Adds new route file ($locale).api.marketing.tsx, which sets up API requests to subscribe email and phone numbers to a marketing list. Klaviyo is integrated by default
  • Adds useMarketingListSubscribe hook to hooks, which uses the api/marketing route to provide front end form logic for the email or phone subscriptions
  • Adds MarketingSignup to sections, which adds a default form for either email or phone subscriptions to a page
  • Adds ProductReviews to sections, which can be customized to inject a product’s review widget onto a PDP
  • Updates to packages @shopify/hydrogen, @remix-run/dev, and @remix-run/eslint-config to latest versions
  • Updates ProductsSlider to fetch all products before rendering product items to eliminate edge case of rendering an inactive product
  • Adds additional logic server side to prevent duplicate collection filter url parameters from showing up in the filters summary
  • Updates DataLayer files and hooks to be able to know to either send out events as Elevar, GA4 or event listeners (Fueled), based on the presence (or absence) of specific env vars
  • Updates data layer product objects to include a collections array
  • Adds currency symbol support for mulit-range slider for collection filter price range
  • Prioritizes alt text set in media manager over alt text set locally in the section
  • Updates description on all customizer alt text fields regarding prioritization
  • Fixes styling issue of cart totals section on cart page on desktop view
  • Fixes incorrect style class preventing filters drawer from opening on tablet viewport
  • Swaps instances of typeof window !== ‘undefined’ with typeof document !== ‘undefined, per Remix documentation
  • Adds heading to tailwind config to separate body and heading font faces by default

v1.1.3 Support loading products and collections from Shopify's mock shop API

25 Mar 18:26
00bd580
Compare
Choose a tag to compare
  • Adds in support to load in mock data from Shopify when no tokens are present
  • Adds in default theme data when no Pack tokens are provided by passing in a defaultThemeData object into createPackClient

v1.1.2 Update readme file & products sliders schema preview image

21 Mar 16:24
96b8540
Compare
Choose a tag to compare

What's Changed

  • chore: update readme file / update products sliders schema preview img

  • chore: package json patch version bump

Full Changelog: v1.1.1...v1.1.2

v1.1.1 Small Improvements To Code & Styles

19 Mar 20:55
8120571
Compare
Choose a tag to compare
  • Adds attributes and sellingPlanId props to AddToCart
  • Breaks out body scripts and head scripts into two separate files
  • Removes isHydrated conditional around the placeholder GTM script
  • Adds disabled prop to QuantitySelector in order to disable both buttons while still being displayed
  • Moves Number() fallback outside constructor to prevent specific edge cases with Number() not accepting a fallback
  • Replaces data source reference with cms prop to enable live previewing with example sections that use metaobjects
  • Misc syntax cleanup

v1.1.0 Add in support for new product variant groupings

11 Mar 19:43
4f52b37
Compare
Choose a tag to compare
  • Replaces existing PDP product grouping logic with more dynamic code, allowing for multiple options (and not just Color) to switch between grouped products
  • Updates logic for ProductItem color variant selector to compare more deeply different grouped products to match the intended options, and only show colors applicable to the initial product family
  • Updates logic for ProductItem quick shop to enable quick shop on additional edge cases with groupings
  • Updates default Storefront API version to 2024-01
  • Updates all @Shopify pacakges to latest
  • Updates misc packages to latest
  • Removes --worker tag from script command lines to remove deprecation warning

v1.0.0 Pack Hydrogen Starter Initial Release

29 Feb 04:50
Compare
Choose a tag to compare