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
CS0436 | all | local type conflicts with imported type | SMAPI needs to use certain low-level code during very early compatibility checks, before it's safe to load any other DLLs.
37
-
CS0612 | deprecated | member is obsolete | internal references to deprecated code when deprecated code is enabled.
38
-
CS0618 | deprecated | member is obsolete (with message) | internal references to deprecated code when deprecated code is enabled.
39
36
CA1416 | all | platform code available on all platforms | Compiler doesn't recognize the #if constants used by SMAPI.
40
37
CS0809 | all | obsolete overload for non-obsolete member | This is deliberate to signal to mods that certain APIs are only implemented for the game and shouldn't be called by mods.
41
38
NU1701 | all | NuGet package targets older .NET version | All such packages are carefully tested to make sure they do work.
Copy file name to clipboardExpand all lines: docs/release-notes.md
+28-4
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,35 @@
1
1
← [README](README.md)
2
2
3
3
# Release notes
4
-
<!--
5
4
## 4.0.0
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.16.0 first and then install the latest version._
8
-
-->
5
+
Released 19 March 2024 for Stardew Valley 1.6.0 or later. See [release highlights](https://www.patreon.com/posts/100388693).
6
+
7
+
* For players:
8
+
* Updated for Stardew Valley 1.6.
9
+
* Added support for overriding SMAPI configuration per `Mods` folder (thanks to Shockah!).
10
+
* Improved performance.
11
+
* Improved compatibility rewriting to handle more cases (thanks to SinZ for his contributions!).
12
+
* Removed the bundled `ErrorHandler` mod, which is now integrated into Stardew Valley 1.6.
13
+
* Removed obsolete console commands: `list_item_types` (no longer needed) and `player_setimmunity` (broke in 1.6 and rarely used).
14
+
* Removed support for seamlessly updating from SMAPI 2.11.3 and earlier (released in 2019).
15
+
_If needed, you can update to SMAPI 3.18.0 first and then install the latest version._
16
+
17
+
* For mod authors:
18
+
* Updated to .NET 6.
19
+
* Added [`RenderingStep` and `RenderedStep` events](https://stardewvalleywiki.com/Modding:Modder_Guide/APIs/Events#Display.RenderingStep), which let you handle a specific step in the game's render cycle.
20
+
* Added support for [custom update manifests](https://stardewvalleywiki.com/Modding:Modder_Guide/APIs/Update_checks#Custom_update_manifest) (thanks to Jamie Taylor!).
21
+
* Removed all deprecated APIs.
22
+
* SMAPI no longer intercepts output written to the console. Mods which directly access `Console` will be listed under mod warnings.
23
+
* Calling `Monitor.VerboseLog` with an interpolated string no longer evaluates the string if verbose mode is disabled (thanks to atravita!). This only applies to mods compiled in SMAPI 4.0.0 or later.
24
+
* Fixed redundant `TRACE` logs for a broken mod which references members with the wrong types.
25
+
26
+
* For the web UI:
27
+
* Updated JSON validator for Content Patcher 2.0.0.
28
+
* Fixed uploaded log/JSON file expiry alway shown as renewed.
29
+
* Fixed update check for mods with a prerelease version tag not recognized by the ModDrop API. SMAPI now parses the version itself if needed.
30
+
31
+
* For SMAPI developers:
32
+
* Added `LogTechnicalDetailsForBrokenMods` option in `smapi-internal/config.json`, which adds more technical info to the SMAPI log when a mod is broken. This is mainly useful for creating compatibility rewriters.
9
33
10
34
## 3.18.6
11
35
Released 05 October 2023 for Stardew Valley 1.5.6 or later.
Copy file name to clipboardExpand all lines: docs/technical/web.md
+9-1
Original file line number
Diff line number
Diff line change
@@ -275,7 +275,6 @@ field | summary
275
275
`brokeIn` | The SMAPI or Stardew Valley version that broke this mod, if any.
276
276
`betaCompatibilityStatus`<br />`betaCompatibilitySummary`<br />`betaBrokeIn` | Equivalent to the preceding fields, but for beta versions of SMAPI or Stardew Valley.
277
277
278
-
279
278
</td>
280
279
</tr>
281
280
</table>
@@ -324,6 +323,15 @@ Example response with `includeExtendedMetadata: true`:
324
323
]
325
324
```
326
325
326
+
### `/mods/metrics`
327
+
The `/mods/metrics` endpoint returns a summary of update-check metrics since the server was last
328
+
deployed or restarted.
329
+
330
+
Example request:
331
+
```js
332
+
GET https://smapi.io/api/v3.0/mods/metrics
333
+
```
334
+
327
335
## Short URLs
328
336
The SMAPI web services provides a few short URLs for convenience:
/// <remarks>We can't use <see cref="FileInfo.MoveTo(string)"/> or <see cref="DirectoryInfo.MoveTo"/>, because those don't work across partitions.</remarks>
0 commit comments