Skip to content

ShopifySharp 6.12.2

Compare
Choose a tag to compare
@github-actions github-actions released this 30 Jan 18:45
· 85 commits to master since this release

What's Changed

Bug fixes

This release fixes a bug with the ShopifyOauthUtility.RefreshAccessTokenAsync method, which was disposing the static HttpClient in ShopifySharp's InternalHttpClientFactory. If the developer did not supply their own IHttpClientFactory to the ShopifyService via ShopifyService.SetHttpClientFactory, then any service that attempted to call the Shopify API after the disposal would throw an ObjectDisposedException for the lifetime of the application.

Note: because the deprecated AuthorizationService.RefreshAccessTokenAsync calls the ShopifyOauthUtility behind the scenes, it was also affected by this bug.

More info about this bug can be found in #1005.

Pull requests

  • Fix disposal of InternalHttpClientFactory's static HttpClient by @nozzlegear in #1006

Full Changelog: ShopifySharp/6.12.1...ShopifySharp/6.12.2