From 1e94f8d793c85b62d286d2046a361ed4a4fd36ba Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Sun, 23 Dec 2018 13:28:12 -0500 Subject: [PATCH 1/2] Minor version bumps do not break API --- src/Tgstation.Server.Api/ApiHeaders.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tgstation.Server.Api/ApiHeaders.cs b/src/Tgstation.Server.Api/ApiHeaders.cs index 949fc5aaf4..2f2fabbb89 100644 --- a/src/Tgstation.Server.Api/ApiHeaders.cs +++ b/src/Tgstation.Server.Api/ApiHeaders.cs @@ -95,7 +95,7 @@ namespace Tgstation.Server.Api /// /// The to test /// if the given version is compatible with the API. otherwise - public static bool CheckCompatibility(Version otherVersion) => !(Version.Major != otherVersion.Major || Version.Minor != otherVersion.Minor || Version.Build > otherVersion.Build); + public static bool CheckCompatibility(Version otherVersion) => !(Version.Major != otherVersion.Major || Version.Minor > otherVersion.Minor); /// /// Construct for JWT authentication From 3184f668882809d2c18e61de62964b52b999a8e6 Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Sun, 23 Dec 2018 13:28:43 -0500 Subject: [PATCH 2/2] API patch version bump --- src/Tgstation.Server.Api/Tgstation.Server.Api.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tgstation.Server.Api/Tgstation.Server.Api.csproj b/src/Tgstation.Server.Api/Tgstation.Server.Api.csproj index dbd49b3b43..5d5623792e 100644 --- a/src/Tgstation.Server.Api/Tgstation.Server.Api.csproj +++ b/src/Tgstation.Server.Api/Tgstation.Server.Api.csproj @@ -15,7 +15,7 @@ 2018 json web api tgstation-server tgstation ss13 byond Initial release - 4.0.1.0 + 4.0.1.1 ../../build/analyzers.ruleset latest