Skip to content

Releases: packdigital/pack-hydrogen-theme-blueprint

v1.9.7 Reverts PDP url param set method, adds logic to ignore tracking url params as product options

08 Nov 00:22
f1779f0
Compare
Choose a tag to compare
  • Reverts the use of useSearchParams to update the product page url from release v1.9.4. If the product page had a url param that wasn't a product option, e.g. tracking url param, the user would be unable to successfully select any variant other than the first one [commit]
  • Adds additional check to not include common tracking url parameters as possible product options when a product page first loads [commit]

v1.9.6 Renames PackAnalytics, fixes double login analytics events, removes redundant providers from GlobalProvider, fixes loading specific content envs, adds cache control to xml routes, misc cleanup

06 Nov 00:23
35d1520
Compare
Choose a tag to compare

Update:

  • Renames PackAnalytics to just Analytics to avoid confusion the analytics logic is custom to Pack [commit]

Minor fix:

  • Fixes double events firing for login and register analytics events [commit]
  • Removes redundant providers left over in GlobalProvider [commit]
  • Fixes loading specific content environments [commit]
  • Adds missing px to all Image's with the width attribute [commit]

Improvement:

  • Adds cache control to xml routes [commit]
  • Updates application error verbiage to limit confusion while in customizer [commit]

Cleanup:

  • Misc minor code cleanup [commit]

v1.9.5 Correction to cookie domain used for analytics

22 Oct 19:40
30588ca
Compare
Choose a tag to compare
  • Passes cookieDomain to Analytics.Provider [commit]
  • Adds Domain= to the pack_session cookie and removes SameSite=Strict [commit]

v1.9.4 Corrects cart line product url, updates PDP variant url change function, new cart redirect route, minor code cleanup

18 Oct 23:44
f765b42
Compare
Choose a tag to compare

Minor fix:

  • Corrects product url for cart line item [commit]
  • Sets PDP variant url change via useSearchParams to be more in line with Remix [commit]

New:

  • Adds ($locale).cart.$lines route to account for any cart redirect links [commit]

Minor cleanup:

  • Renames header schema fields menuItems to navItems and menuItem to navItem for correct semantics. Adds missing optional chaining in mobile menu. [commit]
  • Adds additional conditional for rendering quick shop add to cart button [commit]
  • Misc minor style tweaks [commit]
  • Misc minor code cleanup [commit] [commit]

Routine:

  • Updates packages to latest. Locks cookie package to 0.7.2 to prevent upgrade to 1.0.0 which was causing an infinite loop. Adds SHOP_ID to remix.env.d [commit]

v1.9.3 Critical fix to promobar state change, separate GlobalProvider into separate context providers, wrap components in memo for added performance

06 Oct 02:36
2672d2b
Compare
Choose a tag to compare

Critical Fix:

  • Fix state change for Promobar visibility on scroll to only set state when necessary. Previously, this state change would occur on every pixel with scrolling causing all components that subscribed to useGlobal to re-render each time. This did not affect page load, rather unnecessarily increased cpu usage with the browser upon scrolling. [commit]

Fix:

  • Corrects UI logic from the optimistic selection of product options as links from release v1.8.2. Prevents disabled option links from being optimistically (visibly) selected [commit]

Performance Improvement:

  • Separates GlobalProvider into separate context providers and updates components that subscribe to useGlobal with the new accompanying hook. This prevents components from re-rendering based on state change for unrelated state [commit]
  • Wraps relevant components with memo for added memoization and performance improvement [commit]

v1.9.2 Fix article paths without blogs, fix for product item color variant edge case, video element keys, misc cleanup

03 Oct 18:36
50215ad
Compare
Choose a tag to compare
  • Fixes article route update from previous release [commit]
    • Previously, all articles were redirected to the path blogs/$blogHandle/$handle, but if an article didn't have a blog assigned, navigating to it would result in a 404. This adds back the legacy article route component to account for those legacy articles.
  • Fixes rare edge case with ProductItem color variants causing syntax error by optional chaining [commit]
  • Adds key to all video elements to re-render a video if the video src is changed [commit]
  • Adds sms: link support in the Markdown url transform [commit]
  • Adds check for product id as a number in useProductsByIds hook [commit]
  • Cleans up Graphql queries and naming [commit]
  • Updates packages to latest [commit]

v1.9.1 Updates Image component for latest Hydrogen versions, fixes add to cart button text shift, adds tel url support for markdown

27 Sep 18:31
c4c1abe
Compare
Choose a tag to compare
  • Removes the customization within Image component. After recent version updates to Image from @shopify/hydrogen-react, the custom srcSetOptions passed in and the isStatic logic is no longer needed. This will address any lower res images becoming visibly blurry after upgrading to latest versions [commit]
  • Fixes the "Added To Cart" misalignment in the AddToCart button [commit]
  • Adds a url transform for tel: links for support in Markdown [commit]

v1.9.0 Non-critical migrations, customizerMeta fix, updated Klaviyo endpoint, code improvements and cleanup

26 Sep 22:10
9a48af7
Compare
Choose a tag to compare

Migration:

  • Adds new ($locale).blogs.$blogHandle.$handle route, which is copy of the original ($locale).articles.$handle route. This is to support the new path pattern for article pages. The original articles route is now just a redirect to the new path [commit]
  • Per migration notes for latest @shopify/hydrogen versions, all instances of session.commit() in routes are removed and instead exists only in server.ts. Additional logic is also added into AppSession [commit]

Fix:

  • Correct the undefined customizerMeta returned from the root loader [commit]

Improvement:

  • Moves all Providers to inside of <body> instead of immediately outside of <html> [commit]
  • Updates the Klaviyo subscription logic to instead use their client-side API endpoint which also allows for adding custom properties to a customer profile [commit]

Minor Fix:

  • Clear buyer identity for cart on customer log out [commit]
  • Correct missing variant title on order page item [commit]

Cleanup:

  • Pass selected locale to <html> in Document [commit]
  • Update SEO page title to not affix the storefront name if the SEO title comes from Shopify, i.e. products, collections [commit]
  • Update the default colors for the TestimonialSlider section [commit]
  • Adds missing id's for input's on account forms to be paired with their accompanying <label> [commit]
  • Recategorize sections [commit]

Routine:

  • Updates @remix and @shopify packages to latest [commit]

v1.8.2 Improved product groupings logic, useProductsByIds hook, search results page seo fix, misc settings and display updates

17 Sep 21:50
477ecd3
Compare
Choose a tag to compare

New/Improvement:

  • Improves PDP product grouping logic by optimizing server load time. It reduces the fetching of grouping products to a singular graphql request and moves product grouping options generation to client-side [commit]
    • Adds logic to PDP product option values that link to a new PDP with optimistic selection, visibly selecting the value before the page navigates
    • Updates selectedVariant in product files to account for edge case from the useProduct hook, which temporarily misaligns the selected variant with the actual product after navigation between PDP's
  • Adds useProductsByIds hook which fetches products through an array of ids. This completely replaces the previous hook useProductsFromHandles. The new hook is optimized by using singular graphql request, whereas the deprecated hook sent multiple. [commit]
  • Updates useProductGroupingByHandle to fetch grouping products via ids for aforementioned optimization [commit]
  • Creates empty cart on page load if no cart has been created. This allows for better analytics tracking where applicable [commit]

Fix:

  • Corrects the search page SEO json-ld to use SearchResultsPage instead of CollectionPage [commit]

Routine:

  • Updates all packages to latest [commit]

Minor improvements:

  • Adds submit button text settings to logged-out account pages [commit]
  • Updates various media renders to only mount once intersection observer is met [commit]
  • Adds new PUBLIC_CHECKOUT_DOMAIN env to multipass logic [commit]
  • Misc cleanup [commit]

v1.8.1 Lock @headlessui/react to stable package version

04 Sep 18:04
473be69
Compare
Choose a tag to compare

Locks @headlessui/react to stable package version because latest versions have issue with listbox options not being clickable