From 5f514b97a8d9a66995d4b4280c1ee1c3720beae4 Mon Sep 17 00:00:00 2001 From: maxim-skuvault Date: Fri, 20 Dec 2024 13:24:54 -0500 Subject: [PATCH] GUARD-3710 Use Shopify API Version 2024-04 (#47) * 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" --- .build.ps1 | 2 +- .gitignore | 2 +- src/Global/GlobalAssemblyInfo.cs | 4 ++-- .../Models/Configuration/Command/ShopifyApiVersion.cs | 2 +- src/ShopifyAccessTests/ShopifyAccessTests/BaseTests.cs | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.build.ps1 b/.build.ps1 index 00ff33a..84de51e 100644 --- a/.build.ps1 +++ b/.build.ps1 @@ -76,7 +76,7 @@ task NuGet Package, Version, { $project_name - $Version + $Version-alpha SkuVault SkuVault https://github.com/agileharbor/$project_name diff --git a/.gitignore b/.gitignore index cd57ee0..49262d3 100644 --- a/.gitignore +++ b/.gitignore @@ -32,7 +32,7 @@ _TeamCity*/ *.ReSharper *.docstates _rltm* -ShopifyCredentials.csv +*Credentials*.csv license.txt #Ignore common build files diff --git a/src/Global/GlobalAssemblyInfo.cs b/src/Global/GlobalAssemblyInfo.cs index 043b96f..15c4576 100644 --- a/src/Global/GlobalAssemblyInfo.cs +++ b/src/Global/GlobalAssemblyInfo.cs @@ -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( "" ) ] @@ -22,4 +22,4 @@ // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[ assembly : AssemblyVersion( "1.13.0.0" ) ] \ No newline at end of file +[ assembly : AssemblyVersion( "1.14.1.0" ) ] \ No newline at end of file diff --git a/src/ShopifyAccess/Models/Configuration/Command/ShopifyApiVersion.cs b/src/ShopifyAccess/Models/Configuration/Command/ShopifyApiVersion.cs index e61696e..3f7deb6 100644 --- a/src/ShopifyAccess/Models/Configuration/Command/ShopifyApiVersion.cs +++ b/src/ShopifyAccess/Models/Configuration/Command/ShopifyApiVersion.cs @@ -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 ) { diff --git a/src/ShopifyAccessTests/ShopifyAccessTests/BaseTests.cs b/src/ShopifyAccessTests/ShopifyAccessTests/BaseTests.cs index 2376287..1e83547 100644 --- a/src/ShopifyAccessTests/ShopifyAccessTests/BaseTests.cs +++ b/src/ShopifyAccessTests/ShopifyAccessTests/BaseTests.cs @@ -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;