You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/release-notes.md
+26
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,32 @@
1
1
← [README](README.md)
2
2
3
3
# Release notes
4
+
## 4.2.0
5
+
Released 24 March 2025 for Stardew Valley 1.6.14 or later. See [release highlights](https://www.patreon.com/posts/125017679).
6
+
7
+
* For players:
8
+
* Fixed `log_context` command not disabling the extra logs when run again.
9
+
* Fixed update alerts when using an unofficial port of SMAPI with a four-part version number.
10
+
* Fixed installer on Linux not always opening a terminal as intended (thanks to HoodedDeath!).
11
+
* Updated compatibility list.
12
+
13
+
* For mod authors:
14
+
* Mod events are now raised on the shipping menu (except when it's actually saving).
15
+
* Added translation API methods to query translation keys (`ContainsKey` and `GetKeys`).
16
+
* Fixed the game's `Data/ChairTiles` logic not handling unique string IDs like `Maps/Author.ModName` correctly.
17
+
* Fixed exception thrown if `modRegistry.GetApi<T>` can't proxy the API to the given interface. It now logs an error and returns null as intended.
18
+
19
+
* For external tools:
20
+
* Added toolkit method to read the compatibility list from a local copy of its Git repo.
21
+
22
+
* For the web UI:
23
+
* You can now link to a mod in the compatibility list by its unique ID, like [smapi.io/mods#Pathoschild.ContentPatcher](https://smapi.io/mods#Pathoschild.ContentPatcher).
24
+
* Fixed search engines able to index uploaded logs and JSON files via the raw download option.
25
+
* Improved Content Patcher JSON schema:
26
+
* Updated for Content Patcher 2.5.0.
27
+
* Added format validation for token names.
28
+
* Fixed incorrect error when setting a config default to a boolean or number.
29
+
4
30
## 4.1.10
5
31
Released 18 December 2024 for Stardew Valley 1.6.14 or later.
Copy file name to clipboardExpand all lines: src/SMAPI.Installer/assets/install on Linux.sh
+4-4
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,13 @@
1
1
#!/usr/bin/env bash
2
2
3
3
functionopen_in_terminal { # Checks for a few different terminal emulators to launch the installer through
4
-
if which konsole 2&>1 >/dev/null;then# KDE Konsole
4
+
if which konsole 2>&1>/dev/null;then# KDE Konsole
5
5
konsole -e $1
6
-
elif which alacritty 2&>1 >/dev/null;then# Alacritty
6
+
elif which alacritty 2>&1>/dev/null;then# Alacritty
7
7
alacritty -e $1
8
-
elif which gnome-terminal 2&>1 >/dev/null;then# GNOME Terminal
8
+
elif which gnome-terminal 2>&1>/dev/null;then# GNOME Terminal
9
9
gnome-terminal -- $1
10
-
elif which xterm 2&>1 >/dev/null;then# Xterm
10
+
elif which xterm 2>&1>/dev/null;then# Xterm
11
11
xterm -e $1
12
12
else# Use notify-send to send a message that none of these terminals were found installed and instruct the user to manually invoke this script through a terminal
13
13
notify-send --app-name="SMAPI Installer" --urgency=critical "Failed to find a terminal to open installer with. Please use a terminal program to open the 'install on Linux.sh' script"
:thrownewNotSupportedException($"Unknown color scheme '{schemeID}'.");
140
+
:thrownewNotSupportedException($"Unknown color scheme '{schemeId}'.");
141
141
}
142
142
143
143
/// <summary>Get whether a console color should be considered dark, which is subjectively defined as 'white looks better than black on this text'.</summary>
Copy file name to clipboardExpand all lines: src/SMAPI.ModBuildConfig.Analyzer.Tests/NetFieldAnalyzerTests.cs
+1-1
Original file line number
Diff line number
Diff line change
@@ -88,7 +88,7 @@ public void AvoidNetFields_RaisesDiagnostic(string codeText, int column, string
88
88
Id="AvoidNetField",
89
89
Message=$"'{expression}' is a {netType} field; consider using the {suggestedProperty} property instead. See https://smapi.io/package/avoid-net-field for details.",
0 commit comments