From 00969f3b485fd0637980cb4dd8abead2fe621a3b Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Sun, 7 Mar 2021 21:43:23 -0500 Subject: update the JSON schema for Content Patcher 1.21 --- docs/release-notes.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs') diff --git a/docs/release-notes.md b/docs/release-notes.md index 36351f34..ed03b3db 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -20,6 +20,9 @@ Released 07 March 2021 for Stardew Valley 1.5.4 or later. * Fixed `RewriteMods` option ignored when rewriting for OS compatibility. * Fixed edge case when playing as a farmhand in non-English where translatable assets loaded via `IAssetLoader` weren't reapplied immediately when the server disconnects. +* For the web UI: + * Updated the JSON validator/schema for Content Patcher 1.21. + ## 3.9.2 Released 21 February 2021 for Stardew Valley 1.5.4 or later. -- cgit From 35ba5cc58510a754b9377e33ebf01e3c2731d31e Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Mon, 8 Mar 2021 00:05:58 -0500 Subject: fix installer error when Mods folder doesn't exist in 3.9.3 (#764) --- docs/release-notes.md | 4 ++++ src/SMAPI.Toolkit/Utilities/PathUtilities.cs | 3 +++ 2 files changed, 7 insertions(+) (limited to 'docs') diff --git a/docs/release-notes.md b/docs/release-notes.md index ed03b3db..6112f99c 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -7,6 +7,10 @@ * Migrated to Harmony 2.0 (see [_migrate to Harmony 2.0_](https://stardewvalleywiki.com/Modding:Migrate_to_Harmony_2.0) for more info). --> +## Upcoming release +* For players: + * Fixed installer error if the `Mods` folder doesn't exist in 3.9.3. + ## 3.9.3 Released 07 March 2021 for Stardew Valley 1.5.4 or later. diff --git a/src/SMAPI.Toolkit/Utilities/PathUtilities.cs b/src/SMAPI.Toolkit/Utilities/PathUtilities.cs index a394edba..babc0981 100644 --- a/src/SMAPI.Toolkit/Utilities/PathUtilities.cs +++ b/src/SMAPI.Toolkit/Utilities/PathUtilities.cs @@ -139,6 +139,9 @@ namespace StardewModdingAPI.Toolkit.Utilities /// The root path to search. internal static IEnumerable GetTooLongPaths(string rootPath) { + if (!Directory.Exists(rootPath)) + return new string[0]; + return Directory .EnumerateFileSystemEntries(rootPath, "*.*", SearchOption.AllDirectories) .Where(PathUtilities.IsPathTooLong); -- cgit From b8309e90173172dd88a50b429b760271b4a150cf Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Mon, 8 Mar 2021 00:08:15 -0500 Subject: prepare for release --- build/common.targets | 2 +- docs/release-notes.md | 4 +++- src/SMAPI.Mods.ConsoleCommands/manifest.json | 4 ++-- src/SMAPI.Mods.ErrorHandler/manifest.json | 4 ++-- src/SMAPI.Mods.SaveBackup/manifest.json | 4 ++-- src/SMAPI/Constants.cs | 2 +- 6 files changed, 11 insertions(+), 9 deletions(-) (limited to 'docs') diff --git a/build/common.targets b/build/common.targets index 50c839e1..d9d21466 100644 --- a/build/common.targets +++ b/build/common.targets @@ -4,7 +4,7 @@ - 3.9.3 + 3.9.4 SMAPI latest diff --git a/docs/release-notes.md b/docs/release-notes.md index 6112f99c..045a5168 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -7,7 +7,9 @@ * Migrated to Harmony 2.0 (see [_migrate to Harmony 2.0_](https://stardewvalleywiki.com/Modding:Migrate_to_Harmony_2.0) for more info). --> -## Upcoming release +## 3.9.4 +Released 07 March 2021 for Stardew Valley 1.5.4 or later. + * For players: * Fixed installer error if the `Mods` folder doesn't exist in 3.9.3. diff --git a/src/SMAPI.Mods.ConsoleCommands/manifest.json b/src/SMAPI.Mods.ConsoleCommands/manifest.json index 58692de1..2811a11c 100644 --- a/src/SMAPI.Mods.ConsoleCommands/manifest.json +++ b/src/SMAPI.Mods.ConsoleCommands/manifest.json @@ -1,9 +1,9 @@ { "Name": "Console Commands", "Author": "SMAPI", - "Version": "3.9.3", + "Version": "3.9.4", "Description": "Adds SMAPI console commands that let you manipulate the game.", "UniqueID": "SMAPI.ConsoleCommands", "EntryDll": "ConsoleCommands.dll", - "MinimumApiVersion": "3.9.3" + "MinimumApiVersion": "3.9.4" } diff --git a/src/SMAPI.Mods.ErrorHandler/manifest.json b/src/SMAPI.Mods.ErrorHandler/manifest.json index 962b27f8..52bf4f6a 100644 --- a/src/SMAPI.Mods.ErrorHandler/manifest.json +++ b/src/SMAPI.Mods.ErrorHandler/manifest.json @@ -1,9 +1,9 @@ { "Name": "Error Handler", "Author": "SMAPI", - "Version": "3.9.3", + "Version": "3.9.4", "Description": "Handles some common vanilla errors to log more useful info or avoid breaking the game.", "UniqueID": "SMAPI.ErrorHandler", "EntryDll": "ErrorHandler.dll", - "MinimumApiVersion": "3.9.3" + "MinimumApiVersion": "3.9.4" } diff --git a/src/SMAPI.Mods.SaveBackup/manifest.json b/src/SMAPI.Mods.SaveBackup/manifest.json index d51bc5d9..b88582ba 100644 --- a/src/SMAPI.Mods.SaveBackup/manifest.json +++ b/src/SMAPI.Mods.SaveBackup/manifest.json @@ -1,9 +1,9 @@ { "Name": "Save Backup", "Author": "SMAPI", - "Version": "3.9.3", + "Version": "3.9.4", "Description": "Automatically backs up all your saves once per day into its folder.", "UniqueID": "SMAPI.SaveBackup", "EntryDll": "SaveBackup.dll", - "MinimumApiVersion": "3.9.3" + "MinimumApiVersion": "3.9.4" } diff --git a/src/SMAPI/Constants.cs b/src/SMAPI/Constants.cs index a81a6bc9..0de2b12f 100644 --- a/src/SMAPI/Constants.cs +++ b/src/SMAPI/Constants.cs @@ -54,7 +54,7 @@ namespace StardewModdingAPI ** Public ****/ /// SMAPI's current semantic version. - public static ISemanticVersion ApiVersion { get; } = new Toolkit.SemanticVersion("3.9.3"); + public static ISemanticVersion ApiVersion { get; } = new Toolkit.SemanticVersion("3.9.4"); /// The minimum supported version of Stardew Valley. public static ISemanticVersion MinimumGameVersion { get; } = new GameVersion("1.5.4"); -- cgit