Skip to content

Commit f0e74ea

Browse files
committed
prepare for release
1 parent 7af0070 commit f0e74ea

File tree

5 files changed

+57
-14
lines changed

5 files changed

+57
-14
lines changed

build/common.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ repo. It imports the other MSBuild files as needed.
77
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
88
<PropertyGroup>
99
<!--set general build properties -->
10-
<Version>4.0.8</Version>
10+
<Version>4.1.0</Version>
1111
<Product>SMAPI</Product>
1212
<LangVersion>latest</LangVersion>
1313
<AssemblySearchPaths>$(AssemblySearchPaths);{GAC}</AssemblySearchPaths>

docs/release-notes.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
[README](README.md)
22

33
# Release notes
4-
## Upcoming release
4+
## 4.1.0
5+
Released 04 November 2024 for Stardew Valley 1.6.9 or later. See [release highlights](https://www.patreon.com/posts/115304143).
6+
57
* For players:
68
* Updated for Stardew Valley 1.6.9.
79
* SMAPI now auto-detects missing or modified content files, and logs a warning if found.
@@ -11,7 +13,7 @@
1113
* Removed confusing "Found X mods with warnings:" log message.
1214
* The installer on Linux now tries to open a terminal if needed (thanks to HoodedDeath!).
1315
* Fixed installer not detecting Linux Flatpak install paths.
14-
* Fixed content issues for non-English players in recent builds (e.g. content packs not detecting the current festival correctly).
16+
* Fixed various content issues for non-English players (e.g. content packs not detecting the current festival correctly).
1517
* Fixed dependencies on obsolete redundant mods not ignored in some cases.
1618
* Fixed issues in Console Commands:
1719
* Fixed `list_items` & `player_add` not handling dried items, pickled forage, smoked fish, and specific bait correctly.
@@ -24,18 +26,19 @@
2426
* For mod authors:
2527
* Added support for [private assembly references](https://stardewvalleywiki.com/Modding:Modder_Guide/APIs/Manifest#Private_assemblies) (thanks to Shockah!).
2628
* Added support for [i18n subfolders](https://stardewvalleywiki.com/Modding:Modder_Guide/APIs/Translation#i18n_folder) (thanks to spacechase0!).
27-
* Added `DoesAssetExist` methods to `helper.GameContent` and `helper.ModContent` (thanks to KhloeLeclair!).
28-
* Added scroll wheel suppression via `helper.Input.SuppressScrollWheel()` (thanks to MercuriusXeno!).
29-
* Added `PathUtilities.AnonymizePathForDisplay` to anonymize home paths (thanks to AnotherPillow!).
3029
* Added asset propagation for `Data/ChairTiles`.
30+
* Added new C# API methods:
31+
* Added `DoesAssetExist` methods to `helper.GameContent` and `helper.ModContent` (thanks to KhloeLeclair!).
32+
* Added scroll wheel suppression via `helper.Input.SuppressScrollWheel()` (thanks to MercuriusXeno!).
33+
* Added `PathUtilities.AnonymizePathForDisplay` to anonymize home paths (thanks to AnotherPillow!).
3134
* Added parameter docs to event interfaces. This lets you fully document your event handlers like `/// <inheritdoc cref="IGameLoopEvents.SaveLoaded" />`.
32-
* Translations now support tokens in their placeholder text.
3335
* Translations now support [gender switch blocks](https://stardewvalleywiki.com/Modding:Dialogue#Gender_switch).
36+
* Translations now support tokens in their placeholder text.
3437
* SMAPI no longer blocks map edits which change the tilesheet order, since that no longer causes crashes in Stardew Valley 1.6.9.
38+
* The SMAPI log now includes the assembly version of each loaded mod (thanks to spacechase0!).
3539
* Updated dependencies, including...
3640
* [FluentHttpClient](https://github.com/Pathoschild/FluentHttpClient#readme) 4.3.0 → 4.4.1 (see [changes](https://github.com/Pathoschild/FluentHttpClient/blob/develop/RELEASE-NOTES.md#441));
3741
* [Pintail](https://github.com/Nanoray-pl/Pintail) 2.3.0 → 2.6.0 (see [changes](https://github.com/Nanoray-pl/Pintail/blob/master/docs/release-notes.md#260)).
38-
* The SMAPI log now includes the assembly version of each loaded mod (thanks to spacechase0!).
3942
* Fixed `content.Load` ignoring language override in recent versions.
4043
* Fixed player sprites and building paint masks not always propagated on change.
4144
* Fixed `.tmx` map tile sizes being premultiplied, which is inconsistent with the game's `.tbin` maps.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"Name": "Console Commands",
33
"Author": "SMAPI",
4-
"Version": "4.0.8",
4+
"Version": "4.1.0",
55
"Description": "Adds SMAPI console commands that let you manipulate the game.",
66
"UniqueID": "SMAPI.ConsoleCommands",
77
"EntryDll": "ConsoleCommands.dll",
8-
"MinimumApiVersion": "4.0.8"
8+
"MinimumApiVersion": "4.1.0"
99
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"Name": "Save Backup",
33
"Author": "SMAPI",
4-
"Version": "4.0.8",
4+
"Version": "4.1.0",
55
"Description": "Automatically backs up all your saves once per day into its folder.",
66
"UniqueID": "SMAPI.SaveBackup",
77
"EntryDll": "SaveBackup.dll",
8-
"MinimumApiVersion": "4.0.8"
8+
"MinimumApiVersion": "4.1.0"
99
}

src/SMAPI/Constants.cs

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ internal static class EarlyConstants
4949
internal static int? LogScreenId { get; set; }
5050

5151
/// <summary>SMAPI's current raw semantic version.</summary>
52-
internal static string RawApiVersion = "4.0.8";
52+
internal static string RawApiVersion = "4.1.0";
5353
}
5454

5555
/// <summary>Contains SMAPI's constants and assumptions.</summary>
@@ -68,7 +68,7 @@ public static class Constants
6868
public static ISemanticVersion MinimumGameVersion { get; } = new GameVersion("1.6.9");
6969

7070
/// <summary>The minimum supported Stardew Valley build number, or <c>null</c> for any build of <see cref="MinimumGameVersion"/>.</summary>
71-
public static int? MinimumGameBuild { get; } = 24292;
71+
public static int? MinimumGameBuild { get; } = 24308;
7272

7373
/// <summary>The maximum supported version of Stardew Valley, if any.</summary>
7474
public static ISemanticVersion? MaximumGameVersion { get; } = null;
@@ -175,7 +175,47 @@ public static class Constants
175175
// Nonstandard versions are normalized by GameVersion (e.g. 1.07 => 1.0.7).
176176
switch (version.ToString())
177177
{
178+
case "1.6.8":
179+
case "1.6.7":
180+
case "1.6.6":
181+
case "1.6.5":
182+
case "1.6.4":
183+
return new SemanticVersion("4.0.8");
184+
185+
case "1.6.3":
186+
case "1.6.2":
187+
case "1.6.1":
188+
case "1.6.0":
189+
return new SemanticVersion("4.0.6");
190+
191+
case "1.5.6":
192+
return new SemanticVersion("3.18.6");
193+
194+
case "1.5.5":
195+
return new SemanticVersion("3.13.2");
196+
197+
case "1.5.4":
198+
return new SemanticVersion("3.12.8");
199+
200+
case "1.5.3":
201+
return new SemanticVersion("3.8.4");
202+
203+
case "1.5.2":
204+
return new SemanticVersion("3.8.3");
205+
206+
case "1.5.1":
207+
return new SemanticVersion("3.8.2");
208+
209+
case "1.5.0":
210+
return new SemanticVersion("3.8.0");
211+
212+
case "1.4.5":
213+
case "1.4.4":
214+
case "1.4.3":
215+
case "1.4.2":
178216
case "1.4.1":
217+
return new SemanticVersion("3.7.6");
218+
179219
case "1.4.0":
180220
return new SemanticVersion("3.0.1");
181221

0 commit comments

Comments
 (0)