summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-03-03 22:18:44 -0500
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-03-03 22:18:44 -0500
commita290a2fa5229a1105942300c5ccd471a34915758 (patch)
tree9a5980fea0199b81c5172b1bb6ea37a051efb789
parentf9dc901994c1a8b17e22de3f68ceb038965e0cc5 (diff)
downloadSMAPI-a290a2fa5229a1105942300c5ccd471a34915758.tar.gz
SMAPI-a290a2fa5229a1105942300c5ccd471a34915758.tar.bz2
SMAPI-a290a2fa5229a1105942300c5ccd471a34915758.zip
mark Stardew Valley 1.3 incompatible in SMAPI 2.5.x to reduce confusion when it's released (#453)
-rw-r--r--docs/release-notes.md3
-rw-r--r--src/SMAPI/Constants.cs2
-rw-r--r--src/SMAPI/Program.cs2
3 files changed, 5 insertions, 2 deletions
diff --git a/docs/release-notes.md b/docs/release-notes.md
index be6fdb27..d20584af 100644
--- a/docs/release-notes.md
+++ b/docs/release-notes.md
@@ -8,6 +8,9 @@
* Fixed mod list not including all mods if at least one has no author name.
* Fixed some log entries being incorrectly filtered.
+* For SMAPI developers:
+ * Internal changes to support the upcoming Stardew Valley 1.3 update.
+
## 2.5.2
* For modders:
* Fixed issue where replacing an asset through `asset.AsImage()` or `asset.AsDictionary()` didn't take effect.
diff --git a/src/SMAPI/Constants.cs b/src/SMAPI/Constants.cs
index fe9fdf9b..c5e378e2 100644
--- a/src/SMAPI/Constants.cs
+++ b/src/SMAPI/Constants.cs
@@ -43,7 +43,7 @@ namespace StardewModdingAPI
public static ISemanticVersion MinimumGameVersion { get; } = new SemanticVersion("1.2.30");
/// <summary>The maximum supported version of Stardew Valley.</summary>
- public static ISemanticVersion MaximumGameVersion { get; } = null;
+ public static ISemanticVersion MaximumGameVersion { get; } = new SemanticVersion("1.2.33");
/// <summary>The path to the game folder.</summary>
public static string ExecutionPath { get; } = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
diff --git a/src/SMAPI/Program.cs b/src/SMAPI/Program.cs
index fec03d6f..22bceafd 100644
--- a/src/SMAPI/Program.cs
+++ b/src/SMAPI/Program.cs
@@ -177,7 +177,7 @@ namespace StardewModdingAPI
}
if (Constants.MaximumGameVersion != null && Constants.GameVersion.IsNewerThan(Constants.MaximumGameVersion))
{
- this.Monitor.Log($"Oops! You're running Stardew Valley {Constants.GameVersion}, but this version of SMAPI is only compatible up to Stardew Valley {Constants.MaximumGameVersion}. Please check for a newer version of SMAPI.", LogLevel.Error);
+ this.Monitor.Log($"Oops! You're running Stardew Valley {Constants.GameVersion}, but this version of SMAPI is only compatible up to Stardew Valley {Constants.MaximumGameVersion}. Please check for a newer version of SMAPI: https://smapi.io.", LogLevel.Error);
this.PressAnyKeyToExit();
return;
}