Skip to content

Commit

Permalink
GUARD-3710 Use Shopify API Version 2024-04 (#47)
Browse files Browse the repository at this point in the history
* GUARD-3710 [v.1.14.0-alpha] Point to Shopify API version 2024-04 (available through March 2025). Kept the old version 2023-10, so that other branches that use this package aren't broken

* GUARD-3710 [1.14.1-alpha] Point tests to the updated version of the API "2024-04"
  • Loading branch information
maxim-skuvault authored Dec 20, 2024
1 parent 3df41e9 commit 5f514b9
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ task NuGet Package, Version, {
<package>
<metadata>
<id>$project_name</id>
<version>$Version</version>
<version>$Version-alpha</version>
<authors>SkuVault</authors>
<owners>SkuVault</owners>
<projectUrl>https://github.com/agileharbor/$project_name</projectUrl>
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ _TeamCity*/
*.ReSharper
*.docstates
_rltm*
ShopifyCredentials.csv
*Credentials*.csv
license.txt

#Ignore common build files
Expand Down
4 changes: 2 additions & 2 deletions src/Global/GlobalAssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[ assembly : ComVisible( false ) ]
[ assembly : AssemblyProduct( "ShopifyAccess" ) ]
[ assembly : AssemblyCompany( "SkuVault Inc." ) ]
[ assembly : AssemblyCopyright( "Copyright (C) 2020 SkuVault Inc." ) ]
[ assembly : AssemblyCopyright( "Copyright (C) 2025 SkuVault Inc." ) ]
[ assembly : AssemblyDescription( "Shopify webservices API wrapper." ) ]
[ assembly : AssemblyTrademark( "" ) ]
[ assembly : AssemblyCulture( "" ) ]
Expand All @@ -22,4 +22,4 @@
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]

[ assembly : AssemblyVersion( "1.13.0.0" ) ]
[ assembly : AssemblyVersion( "1.14.1.0" ) ]
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ public sealed class ShopifyApiVersion
{
private readonly string _versionCode;

public static readonly ShopifyApiVersion V2023_04 = new ShopifyApiVersion( "2023-04" );
public static readonly ShopifyApiVersion V2023_10 = new ShopifyApiVersion( "2023-10" );
public static readonly ShopifyApiVersion V2024_04 = new ShopifyApiVersion( "2024-04" );

private ShopifyApiVersion( string versionCode )
{
Expand Down
2 changes: 1 addition & 1 deletion src/ShopifyAccessTests/ShopifyAccessTests/BaseTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace ShopifyAccessTests
{
public class BaseTests
{
protected static readonly ShopifyApiVersion ApiVersion = ShopifyApiVersion.V2023_10;
protected static readonly ShopifyApiVersion ApiVersion = ShopifyApiVersion.V2024_04;
protected readonly IShopifyFactory ShopifyFactory = new ShopifyFactory( ApiVersion );
protected ShopifyClientCredentials _clientCredentials;
protected IShopifyService Service;
Expand Down

0 comments on commit 5f514b9

Please sign in to comment.