Skip to content

ShopifySharp.Extensions.DependencyInjection 1.8.0

Compare
Choose a tag to compare
@github-actions github-actions released this 21 Jan 23:34
· 24 commits to master since this release
37ca222

Summary

ShopifySharp.Extensions.DependencyInjection version 1.8.0 is now available on Nuget! This version primarily contains under-the-hood enhancements for the latest version of ShopifySharp v6.22.0, which itself has massive changes to the GraphService and json serialization.

In addition to those under-the-hood updates for supporting ShopifySharp, this release also paves the way for an update I'm working on to bring even more service injection into ShopifySharp. The plan is to help you inject things like HttpClientFactory, HttpClient, json serializers, and more. Check this board for more details.

What's changed

  • This package now requires ShopifySharp >= v6.22.0 to install.
  • .NET Framework 6.0 was dropped as a target framework.
  • An IServiceProvider is now passed to all ShopifySharp service factories to resolve dependencies. This is now the preferred constructor method for the factories.
  • ShopifySharp's service factories themselves now construct the ShopifySharp service classes using the new (ShopifyApiCredentials credentials) constructor. Previously, they used the new (string shopDomain, string accessToken) constructor.

Full Changelog: 1.7.0...ShopifySharp.Extensions.DependencyInjection/1.8.0

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 the author here on Github, or by purchasing a copy of The Shopify Development Handbook on Gumroad.