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
+32-2
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,39 @@
4
4
<!--
5
5
## 4.0.0
6
6
* The installer no longer supports updating from SMAPI 2.11.3 or earlier (released in 2019).
7
-
_If needed, you can update to SMAPI 3.15.0 first and then install to the latest version._
7
+
_If needed, you can update to SMAPI 3.16.0 first and then install the latest version._
8
8
-->
9
9
10
+
## 3.16.0
11
+
Released 22 August 2022 for Stardew Valley 1.5.6 or later. See [release highlights](https://www.patreon.com/posts/70797008).
12
+
13
+
* For players:
14
+
* Added error message if mod files are detected directly under `Mods` (instead of each mod having its own subfolder).
15
+
* SMAPI now sets a success/error code when the game exits.
16
+
_This is used by your OS (like Windows) to decide whether to keep the console window open when the game ends._
17
+
* Fixed SMAPI on Windows applying different DPI awareness settings than the game (thanks to spacechase0!).
18
+
* Fixed Linux/macOS installer's color scheme question partly unreadable if the terminal background is dark.
19
+
* Fixed error message when a mod loads an invalid PNG file (thanks to atravita!).
20
+
* Fixed error message when a mod is duplicated, but one of the copies is also missing the DLL file. This now shows the duplicate-mod message instead of the missing-DLL message.
21
+
* Fixed macOS launcher using Terminal regardless of the system's default terminal (thanks to ishan!).
22
+
* Fixed best practices in Linux/macOS launcher scripts (thanks to ishan!).
23
+
* Improved translations. Thanks to KediDili (updated Turkish)!
24
+
25
+
* For mod authors:
26
+
* While loading your mod, SMAPI now searches for indirect dependencies in your mod's folder (thanks to TehPers)! This mainly enables F# mods.
27
+
***Raised deprecation message levels.**
28
+
_Deprecation warnings are now player-visible in the SMAPI console as faded `DEBUG` messages._
29
+
* Updated to Pintail 2.2.1 (see [changes](https://github.com/Nanoray-pl/Pintail/blob/master/docs/release-notes.md#221)).
30
+
* Switched SMAPI's `.pdb` files to the newer 'portable' format. This has no effect on mods.
31
+
32
+
* For the web UI:
33
+
* Added log parser warning about performance of PyTK 1.23.0 or earlier.
34
+
* Converted images to SVG (thanks to ishan!).
35
+
* Updated log parser for the new update alert format in SMAPI 3.15.1.
36
+
* Updated the JSON validator/schema for Content Patcher 1.28.0.
37
+
* Fixed log parsing for invalid content packs.
38
+
* Fixed log parsing if a mod logged a null character.
39
+
10
40
## 3.15.1
11
41
Released 06 July 2022 for Stardew Valley 1.5.6 or later.
12
42
@@ -41,7 +71,7 @@ Released 17 June 2022 for Stardew Valley 1.5.6 or later. See [release highlights
41
71
* Updated dependencies:
42
72
* Harmony 2.2.1 (see changes in [2.2.0](https://github.com/pardeike/Harmony/releases/tag/v2.2.0.0) and [2.2.1](https://github.com/pardeike/Harmony/releases/tag/v2.2.1.0));
43
73
* Newtonsoft.Json 13.0.1 (see [changes](https://github.com/JamesNK/Newtonsoft.Json/releases/tag/13.0.1));
44
-
* Pintail 2.2.0.
74
+
* Pintail 2.2.0 (see [changes](https://github.com/Nanoray-pl/Pintail/blob/master/docs/release-notes.md#220)).
Copy file name to clipboardExpand all lines: docs/technical/smapi.md
+5-4
Original file line number
Diff line number
Diff line change
@@ -33,14 +33,15 @@ argument | purpose
33
33
`--uninstall` | Preselects the uninstall action, skipping the prompt asking what the user wants to do.
34
34
`--game-path "path"` | Specifies the full path to the folder containing the Stardew Valley executable, skipping automatic detection and any prompt to choose a path. If the path is not valid, the installer displays an error.
35
35
36
-
SMAPI itself recognises five arguments **on Windows only**, but these are intended for internal use
37
-
or testing and may change without warning. On Linux/macOS, see _environment variables_ below.
36
+
SMAPI itself recognises five arguments, but these are meant for internal use or testing, and might
37
+
change without warning. **On Linux/macOS**, command-line arguments won't work; see _environment
38
+
variables_ below instead.
38
39
39
40
argument | purpose
40
41
-------- | -------
41
42
`--developer-mode`<br />`--developer-mode-off` | Enable or disable features intended for mod developers. Currently this only makes `TRACE`-level messages appear in the console.
42
-
`--no-terminal` | The SMAPI launcher won't try to open a terminal window, and SMAPI won't log anything to the console. (Messages will still be written to the log file.)
43
-
`--use-current-shell` | The SMAPI launcher won't try to open a terminal window, but SMAPI will still log to the console. (Messages will still be written to the log file.)
43
+
`--no-terminal` | SMAPI won't log anything to the console. On Linux/macOS only, this will also prevent the launch script from trying to open a terminal window. (Messages will still be written to the log file.)
44
+
`--use-current-shell` | On Linux/macOS only, the launch script won't try to open a terminal window. All console output will be sent to the shell running the launch script.
44
45
`--mods-path` | The path to search for mods, if not the standard `Mods` folder. This can be a path relative to the game folder (like `--mods-path "Mods (test)"`) or an absolute path.
/// <summary>A regex pattern matching an entry in SMAPI's content pack list.</summary>
39
-
privatereadonlyRegexContentPackListEntryPattern=new(@"^ (?<name>.+?) (?<version>[^\s]+)(?: by (?<author>[^\|]+))? \| for (?<for>[^\|]+)(?: \| (?<description>.+))?$",RegexOptions.Compiled|RegexOptions.IgnoreCase);
39
+
privatereadonlyRegexContentPackListEntryPattern=new(@"^ (?<name>.+?) (?<version>[^\s]+)(?: by (?<author>[^\|]+))? \| for (?<for>[^\|]*)(?: \| (?<description>.+))?$",RegexOptions.Compiled|RegexOptions.IgnoreCase);
40
40
41
41
/// <summary>A regex pattern matching the start of SMAPI's mod update list.</summary>
42
42
privatereadonlyRegexModUpdateListStartPattern=new(@"^You can update \d+ mods?:$",RegexOptions.Compiled|RegexOptions.IgnoreCase);
43
43
44
44
/// <summary>A regex pattern matching an entry in SMAPI's mod update list.</summary>
privatereadonlyRegexSmapiUpdatePattern=new(@"^You can update SMAPI to (?<version>[^\s]+): (?<link>.+)$",RegexOptions.Compiled|RegexOptions.IgnoreCase);
@@ -77,8 +77,8 @@ public ParsedLog Parse(string? logText)
0 commit comments