Skip to content

ShopifySharp 6.28.0

Latest

Choose a tag to compare

@github-actions github-actions released this 04 Mar 05:18
· 3 commits to master since this release
Immutable release. Only release title and notes can be modified.
3109ca2

ShopifySharp 6.28.0 release notes

A new version of ShopifySharp has been published to Nuget! This version includes a bug fix for the ShopifyDomainUtility.IsValidShopifyDomainAsync method, along with regenerated graphql models for Shopify API version 2026-01. If you're using the IsValidShopifyDomainAsync method in production, you should upgrade to ShopifySharp 6.28.0 forthwith and posthaste.

Bug fixes

(#1242) A "bug" was fixed in the ShopifyDomainUtility.IsValidShopifyDomainAsync method which caused it to suddenly start returning false for all domains – even those that are ostensibly valid. This happened because the method relied on Shopify returning a particular header in their responses when requests are made to a Shopify storefront, but Shopify ceased returning that header over the weekend. The method now looks for a whitelisted set of Shopify headers, and considers a domain valid if any of them are found.

Warning

As noted in the method's documentation/intellisense ShopifyDomainUtility.IsValidShopifyDomainAsync method is not officially supported by Shopify. It's provided as a convenience method and, while it took 8 or 9 years before the first implementation finally broke, Shopify could make changes again and break it at any time. I have plans to make the fix less flaky and more permanent by changing the implementation entirely.

Regenerated query builders and graphql types

(#1243) Many new properties, methods and query builders for Shopify API version 2026-01 have been added to this release, which were erroneously missing in the previous two releases.

❤️ How to support ShopifySharp

If you find ShopifySharp useful, please consider contributing to the project! If you'd like contribute financially, you can do so by sponsoring me here on Github, or by purchasing a copy of The Shopify Development Handbook on Gumroad.. Free updates to the book's projects – using ShopifySharp's new fluent query builders – will be landing in your inboxes within the next couple of weeks!