2019-07-06 13:04:05 +08:00
← [README ](README.md )
2018-12-30 07:31:23 +08:00
# Release notes
2019-01-01 02:54:06 +08:00
## 3.0 (upcoming release)
These changes have not been released yet.
2019-02-10 04:16:14 +08:00
* For players:
2019-04-16 10:36:50 +08:00
* Updated for Stardew Valley 1.4.
2019-03-22 11:14:31 +08:00
* Improved performance.
2019-04-24 13:26:15 +08:00
* Rewrote launch script on Linux to improve compatibility (thanks to kurumushi and toastal!).
2019-05-05 01:53:34 +08:00
* Improved mod scanning:
* Now ignores metadata files/folders like `__MACOSX` and `__folder_managed_by_vortex` .
* Now ignores content files like `.txt` or `.png` , which avoids missing-manifest errors in some common cases.
* Now detects XNB mods more accurately, and consolidates multi-folder XNB mods.
* Updated mod compatibility list.
2019-05-30 10:32:52 +08:00
* Fixed mods needing to load custom `Map` assets before the game accesses them (SMAPI will now do so automatically).
2019-02-10 04:16:14 +08:00
* Fixed Save Backup not pruning old backups if they're uncompressed.
2019-02-18 14:33:10 +08:00
* Fixed issues when a farmhand reconnects before the game notices they're disconnected.
2019-03-08 07:19:11 +08:00
* Fixed 'received message' logs shown in non-developer mode.
2019-04-15 12:40:45 +08:00
* Fixed some assets not updated when you switch language to English.
2019-05-17 07:16:08 +08:00
* Fixed lag in some cases due to incorrect asset caching when playing in non-English.
2019-05-18 07:41:26 +08:00
* Fixed lag when a mod invalidates many NPC portraits/sprites at once.
2019-05-25 13:59:32 +08:00
* Fixed map reloads resetting tilesheet seasons.
2019-06-14 07:35:51 +08:00
* Fixed map reloads not updating door warps.
2019-05-25 13:59:32 +08:00
* Fixed outdoor tilesheets being seasonalised when added to an indoor location.
2019-02-10 04:16:14 +08:00
2019-07-15 05:49:33 +08:00
* For the mod compatibility list:
* Clicking a mod link now automatically adds it to the visible mods when the list is filtered.
2019-07-15 10:27:00 +08:00
* Added metadata links and dev notes (if any) to advanced info.
2019-07-15 05:49:33 +08:00
2019-01-01 02:54:06 +08:00
* For modders:
2019-07-13 08:51:46 +08:00
* Mods are now loaded much earlier in the game launch. This lets mods intercept any content asset, but the game is not fully initialised when `Entry` is called (use the `GameLaunched` event if you need to run code when the game is initialised).
2019-03-22 11:12:26 +08:00
* Added support for content pack translations.
2019-07-14 10:45:48 +08:00
* Added fields and methods: `IContentPack.HasFile` , `Context.IsGameLaunched` , and `SemanticVersion.TryParse` .
2019-05-30 09:26:57 +08:00
* Added separate `LogNetworkTraffic` option to make verbose logging less overwhelmingly verbose.
2019-07-15 02:55:31 +08:00
* Added asset propagation for critter textures and `DayTimeMoneyBox` buttons.
2019-06-18 06:51:31 +08:00
* The installer now recognises custom game paths stored in `stardewvalley.targets` , if any.
2019-04-06 12:35:53 +08:00
* When a mod is incompatible, the trace logs now list all detected issues instead of the first one.
2019-05-02 07:40:47 +08:00
* Removed all deprecated APIs.
* Removed the `Monitor.ExitGameImmediately` method.
2019-07-18 01:15:48 +08:00
* Updated dependencies (including Json.NET 11.0.2 → 12.0.2, Mono.Cecil 0.10.1 → 0.10.4).
2019-06-14 13:16:50 +08:00
* Fixed issue where mod changes weren't tracked correctly for raising events in some cases. Events now reflect a frozen snapshot of the game state, and any mod changes are reflected in the next event tick.
2019-05-11 11:49:08 +08:00
* Fixed `LoadStageChanged` event not raising correct flags in some cases when creating a new save.
2019-01-01 02:54:06 +08:00
2019-09-14 06:20:27 +08:00
## 2.11.3
Released 13 September 2019 for Stardew Valley 1.3.36.
2019-03-09 10:49:35 +08:00
* For players:
* SMAPI now prevents invalid items from breaking menus on hover.
2019-04-15 10:04:32 +08:00
* SMAPI now prevents invalid event preconditions from crashing the game (thanks to berkayylmao!).
2019-09-14 06:20:27 +08:00
* SMAPI now prevents more invalid dialogue from crashing the game.
2019-03-28 09:13:46 +08:00
* Fixed errors during early startup not shown before exit.
2019-08-24 04:18:51 +08:00
* Fixed various error messages and inconsistent spelling.
2019-03-09 10:49:35 +08:00
2019-05-16 08:51:28 +08:00
* For the web UI:
* When filtering the mod list, clicking a mod link now automatically adds it to the visible mods.
2019-07-12 09:00:48 +08:00
* Added log parser instructions for Android.
2019-06-14 13:38:50 +08:00
* Fixed log parser failing in some cases due to time format localisation.
2019-05-16 08:51:28 +08:00
2019-03-14 10:20:18 +08:00
* For modders:
2019-09-14 06:20:27 +08:00
* `this.Monitor.Log` now defaults to the `Trace` log level instead of `Debug` . The change will only take effect when you recompile the mod.
2019-05-10 11:03:45 +08:00
* Fixed 'location list changed' verbose log not correctly listing changes.
2019-05-31 05:40:21 +08:00
* Fixed mods able to directly load (and in some cases edit) a different mod's local assets using internal asset key forwarding.
* Fixed changes to a map loaded by a mod being persisted across content managers.
2019-06-10 04:26:01 +08:00
* Fixed `SDate.AddDays` incorrectly changing year when the result is exactly winter 28.
2019-03-14 10:20:18 +08:00
2019-04-23 10:05:36 +08:00
## 2.11.2
2019-04-24 00:35:09 +08:00
Released 23 April 2019 for Stardew Valley 1.3.36.
2019-03-28 09:09:02 +08:00
* For players:
2019-04-24 00:35:09 +08:00
* Fixed error when a custom map references certain vanilla tilesheets on Linux/Mac.
* Fixed compatibility with some Linux distros.
2019-03-28 09:09:02 +08:00
2019-03-18 09:34:44 +08:00
## 2.11.1
Released 17 March 2019 for Stardew Valley 1.3.36.
2019-03-10 08:38:06 +08:00
2019-03-17 10:17:58 +08:00
* For players:
2019-03-18 07:42:49 +08:00
* Added crops option to `world_clear` console command.
2019-03-18 09:34:44 +08:00
* Prepared compatibility check for Stardew Valley 1.4.
* Updated mod compatibility list.
2019-03-18 07:42:49 +08:00
* Fixed `world_clear` console command removing chests edited to have a debris name.
2019-03-17 10:17:58 +08:00
2019-03-18 12:41:07 +08:00
* For modders:
2019-03-18 09:34:44 +08:00
* Added support for suppressing false-positive warnings in rare cases.
2019-03-18 12:41:07 +08:00
* For the web UI:
2019-03-18 09:34:44 +08:00
* The log parser now collapses redundant sections by default.
2019-03-15 08:17:16 +08:00
* Fixed log parser column resize bug.
2019-03-10 08:38:06 +08:00
2019-03-02 03:10:29 +08:00
## 2.11
Released 01 March 2019 for Stardew Valley 1.3.36.
2019-02-10 04:20:35 +08:00
2019-01-25 03:49:12 +08:00
* For players:
2019-03-02 03:10:29 +08:00
* Updated for Stardew Valley 1.3.36.
2019-02-10 04:20:35 +08:00
2019-02-23 10:17:52 +08:00
* For modders:
* Bumped all deprecation levels to _pending removal_ .
2019-02-10 04:20:35 +08:00
* For the web UI:
2019-03-02 03:10:29 +08:00
* The log parser now shows available updates in a section at the top.
* The mod compatibility page now crosses out mod links if they're outdated to avoid confusion.
2019-02-25 05:29:50 +08:00
* Fixed smapi.io linking to an archived download in rare cases.
2019-01-25 03:49:12 +08:00
2019-02-09 07:19:47 +08:00
## 2.10.2
2019-02-10 04:20:35 +08:00
Released 09 January 2019 for Stardew Valley 1.3.32– 33.
2019-02-09 07:19:47 +08:00
2019-02-08 11:34:18 +08:00
* For players:
2019-02-09 07:19:47 +08:00
* SMAPI now keeps the first save backup created for the day, instead of the last one.
* Fixed save backup for some Linux/Mac players. (When compression isn't available, SMAPI will now create uncompressed backups instead.)
* Fixed some common dependencies not linking to the mod page in 'missing mod' errors.
2019-01-01 03:16:43 +08:00
* Fixed 'unknown mod' deprecation warnings showing a stack trace when developers mode not enabled.
2019-01-01 03:40:42 +08:00
* Fixed 'unknown mod' deprecation warnings when they occur in the Mod constructor.
2019-02-09 07:19:47 +08:00
* Fixed confusing error message when using SMAPI 2.10._x_ with Stardew Valley 1.3.35+.
2019-01-24 03:11:38 +08:00
* Tweaked XNB mod message for clarity.
2019-01-06 06:59:24 +08:00
* Updated compatibility list.
2019-02-08 11:34:18 +08:00
2019-01-14 10:05:39 +08:00
* For the web UI:
2019-01-26 04:12:14 +08:00
* Added beta status filter to compatibility list.
2019-01-14 10:05:39 +08:00
* Fixed broken ModDrop links in the compatibility list.
2019-02-08 11:28:55 +08:00
* For modders:
2019-01-20 14:01:26 +08:00
* Asset changes are now propagated into the parsed save being loaded if applicable.
2019-02-07 11:46:18 +08:00
* Added locale to context trace logs.
2019-02-07 09:47:57 +08:00
* Fixed error loading custom map tilesheets in some cases.
2019-02-09 07:19:28 +08:00
* Fixed error when swapping maps mid-session for a location with interior doors.
2019-02-08 11:28:55 +08:00
* Fixed `Constants.SaveFolderName` and `CurrentSavePath` not available during early load stages when using `Specialised.LoadStageChanged` event.
2019-02-08 11:30:09 +08:00
* Fixed `LoadStage.SaveParsed` raised before the parsed save data is available.
2019-01-01 03:10:25 +08:00
* Fixed 'unknown mod' deprecation warnings showing the wrong stack trace.
2019-01-04 07:44:09 +08:00
* Fixed `e.Cursor` in input events showing wrong grab tile when player using a controller moves without moving the viewpoint.
2019-01-06 03:47:50 +08:00
* Fixed incorrect 'bypassed safety checks' warning for mods using the new `Specialised.LoadStageChanged` event in 2.10.
2019-01-10 11:52:40 +08:00
* Deprecated `EntryDll` values whose capitalisation don't match the actual file. (This works on Windows, but causes errors for Linux/Mac players.)
2019-02-08 11:28:55 +08:00
2018-12-31 06:02:56 +08:00
## 2.10.1
2019-02-09 07:19:47 +08:00
Released 30 December 2018 for Stardew Valley 1.3.32– 33.
2018-12-31 06:02:56 +08:00
2018-12-31 05:56:35 +08:00
* For players:
2018-12-31 06:02:56 +08:00
* Fixed some mod integrations not working correctly in SMAPI 2.10.
2018-12-31 05:56:35 +08:00
2018-12-30 09:09:19 +08:00
## 2.10
2019-02-09 07:19:47 +08:00
Released 29 December 2018 for Stardew Valley 1.3.32– 33.
2018-12-30 09:09:19 +08:00
2018-12-19 09:15:39 +08:00
* For players:
2018-12-23 05:08:52 +08:00
* Added `world_clear` console command to remove spawned or placed entities.
2018-12-30 09:09:19 +08:00
* Minor performance improvements.
2018-12-19 09:15:39 +08:00
* Tweaked installer to reduce antivirus false positives.
2018-12-24 05:51:38 +08:00
* For modders:
2018-12-30 09:09:19 +08:00
* Added [events ](https://stardewvalleywiki.com/Modding:Modder_Guide/APIs/Events ): `GameLoop.OneSecondUpdateTicking` , `GameLoop.OneSecondUpdateTicked` , and `Specialised.LoadStageChanged` .
2018-12-30 07:31:23 +08:00
* Added `e.IsCurrentLocation` event arg to `World` events.
2018-12-28 10:54:03 +08:00
* You can now use `helper.Data.Read/WriteSaveData` as soon as the save is loaded (instead of once the world is initialised).
2018-12-30 09:09:19 +08:00
* Increased deprecation levels to _info_ for the upcoming SMAPI 3.0.
2018-12-24 05:51:38 +08:00
2018-12-30 04:53:11 +08:00
* For the web UI:
* Reduced mod compatibility list's cache time.
2018-12-17 08:58:11 +08:00
## 2.9.3
2018-12-30 07:16:12 +08:00
Released 16 December 2018 for Stardew Valley 1.3.32.
2018-12-17 09:28:02 +08:00
* For players:
* Fixed errors hovering items in some cases with SMAPI 2.9.2.
* Fixed some multiplayer features broken when a farmhand returns to title and rejoins.
2018-12-17 08:58:11 +08:00
2018-12-17 06:25:46 +08:00
## 2.9.2
2018-12-30 07:16:12 +08:00
Released 16 December 2018 for Stardew Valley 1.3.32.
2018-12-10 07:52:21 +08:00
* For players:
2018-12-16 02:33:22 +08:00
* SMAPI now prevents invalid items from crashing the game on hover.
2018-12-17 06:25:46 +08:00
* Fixed some multiplayer features broken when connecting via Steam friends.
2018-12-14 13:42:00 +08:00
* Fixed cryptic error message when the game isn't installed correctly.
2018-12-10 07:52:21 +08:00
* Fixed error when a mod makes invalid changes to an NPC schedule.
2018-12-17 06:25:46 +08:00
* Fixed game launch errors logged as `SMAPI` instead of `game` .
2018-12-15 07:59:49 +08:00
* Fixed Windows installer adding unneeded Unix launcher to game folder.
2018-12-10 07:52:21 +08:00
2018-12-13 14:16:38 +08:00
* For modders:
2018-12-17 06:25:46 +08:00
* Moved content pack methods into a new [content pack API ](https://stardewvalleywiki.com/Modding:Modder_Guide/APIs/Content_Packs ).
* Fixed invalid NPC data propagated when a mod changes NPC dispositions.
* Fixed `Display.RenderedWorld` event broken in SMAPI 2.9.1.
2018-12-16 02:33:22 +08:00
* **Deprecations:**
2018-12-16 03:46:09 +08:00
* The `assetData.AsDictionary<TKey, TValue>().Set` methods are now deprecated. Mods should access the `Data` property directly instead.
2018-12-17 06:25:46 +08:00
* The content pack methods directly on `helper` are now deprecated. Mods should use `helper.ContentPacks` instead.
2018-12-13 14:16:38 +08:00
2018-12-16 03:46:09 +08:00
* For SMAPI developers:
2018-12-15 13:18:51 +08:00
* Added SMAPI 3.0 readiness to mod API data.
2018-12-08 05:17:45 +08:00
## 2.9.1
2018-12-30 07:16:12 +08:00
Released 07 December 2018 for Stardew Valley 1.3.32.
2018-12-08 05:17:45 +08:00
* For players:
* Fixed crash in SMAPI 2.9 when constructing certain buildings.
2018-12-08 05:29:06 +08:00
* Fixed error when a map asset is reloaded in rare cases.
2018-12-08 05:17:45 +08:00
2018-12-08 02:40:13 +08:00
## 2.9
2018-12-30 07:16:12 +08:00
Released 07 December 2018 for Stardew Valley 1.3.32.
2018-11-24 00:57:25 +08:00
* For players:
2018-12-03 04:40:54 +08:00
* Added support for ModDrop in update checks and the mod compatibility list.
2018-12-08 02:40:13 +08:00
* Added friendly error for Steam players when Steam isn't loaded.
2018-11-24 00:57:25 +08:00
* Fixed cryptic error when running the installer from inside a zip file on Windows.
2018-11-26 02:14:45 +08:00
* Fixed error when leaving and rejoining a multiplayer server in the same session.
2018-12-07 07:27:44 +08:00
* Fixed empty "mods with warnings" list in some cases due to hidden warnings.
2018-12-08 02:40:13 +08:00
* Fixed Console Commands' handling of tool upgrade levels for item commands.
2018-11-24 00:57:25 +08:00
2018-11-24 06:33:30 +08:00
* For modders:
2018-12-03 04:40:54 +08:00
* Added ModDrop update keys (see [docs ](https://stardewvalleywiki.com/Modding:Modder_Guide/APIs/Manifest#Update_checks )).
2018-12-04 07:28:39 +08:00
* Added `IsLocalPlayer` to new player events.
2018-12-08 02:40:13 +08:00
* Added `helper.CreateTemporaryContentPack` to replace the deprecated `CreateTransitionalContentPack` .
2018-11-26 04:19:12 +08:00
* Reloading a map asset will now update affected locations.
* Reloading the `Data\NPCDispositions` asset will now update affected NPCs.
2018-12-08 02:40:13 +08:00
* Disabled trace messages related to paranoid mode when it's disabled.
* Fixed world events like `ObjectListChanged` not working in the mines.
2018-11-29 07:37:46 +08:00
* Fixed some map tilesheets not editable if not playing in English.
2018-12-08 02:40:13 +08:00
* Fixed newlines in manifest fields not being ignored.
* Fixed `Display.RenderedWorld` event invoked after overlays are rendered.
2018-12-03 15:42:01 +08:00
* **Deprecations:**
2018-12-08 02:40:13 +08:00
* All static events are deprecated and will be removed in SMAPI 3.0. Mods should use the new event system available through `helper.Events` instead; see [_migrate to SMAPI 3.0_ ](https://stardewvalleywiki.com/Modding:Migrate_to_SMAPI_3.0 ) for details.
2018-11-24 06:33:30 +08:00
2018-11-20 08:22:55 +08:00
* For the web UI:
2018-11-23 05:16:59 +08:00
* Added stats to compatibility list.
2018-11-20 08:22:55 +08:00
* Fixed compatibility list showing beta header when there's no beta in progress.
2018-11-20 04:05:44 +08:00
## 2.8.2
2018-12-30 07:16:12 +08:00
Released 19 November 2018 for Stardew Valley 1.3.32.
2018-12-08 02:40:13 +08:00
* Fixed game crash in MacOS with SMAPI 2.8.
2018-11-20 04:05:44 +08:00
2018-11-20 02:37:46 +08:00
## 2.8.1
2018-12-30 07:16:12 +08:00
Released 19 November 2018 for Stardew Valley 1.3.32.
2018-12-08 02:40:13 +08:00
* Fixed installer error on Windows with SMAPI 2.8.
2018-11-20 02:37:46 +08:00
2018-11-19 13:55:21 +08:00
## 2.8
2018-12-30 07:16:12 +08:00
Released 19 November 2018 for Stardew Valley 1.3.32.
2018-08-19 11:00:01 +08:00
* For players:
2018-10-02 06:43:14 +08:00
* Reorganised SMAPI files:
2018-11-19 13:55:21 +08:00
* Moved most SMAPI files into a `smapi-internal` subfolder (so your game folder is less messy).
* Moved save backups into a `save-backups` subfolder (so they're easier to find).
2018-11-18 13:47:35 +08:00
* Simplified the installer files to avoid confusion.
2018-11-19 13:55:21 +08:00
* Added support for organising mods into subfolders.
* Added support for [ignoring mod folders ](https://stardewvalleywiki.com/Modding:Player_Guide/Getting_Started#Install_mods ).
* Update checks now work even for mods without update keys in most cases.
2018-10-09 07:50:09 +08:00
* SMAPI now prevents a crash caused by mods adding dialogue the game can't parse.
2018-11-10 06:35:56 +08:00
* SMAPI now recommends a compatible SMAPI version if you have an older game version.
2018-11-15 10:13:48 +08:00
* Improved various error messages to be more clear and intuitive.
2018-11-19 13:55:21 +08:00
* Improved compatibility with various Linux shells (thanks to lqdev!), and prefer xterm when available.
2018-09-04 13:49:12 +08:00
* Fixed transparency issues on Linux/Mac for some mod images.
2018-10-02 06:43:14 +08:00
* Fixed error when a mod manifest is corrupted.
* Fixed error when a mod adds an unnamed location.
2018-10-28 01:08:15 +08:00
* Fixed friendly error no longer shown when SMAPI isn't run from the game folder.
2018-10-02 06:43:14 +08:00
* Fixed some Windows install paths not detected.
* Fixed installer duplicating bundled mods if you moved them after the last install.
2018-11-18 13:44:56 +08:00
* Fixed installer allowing custom mods to be bundled with the install.
2018-11-19 13:55:21 +08:00
* Fixed some translation issues not shown as warnings.
2018-09-19 06:49:07 +08:00
* Fixed dependencies not correctly enforced if the dependency is installed but failed to load.
2018-09-30 06:30:14 +08:00
* Fixed some errors logged as SMAPI instead of the affected mod.
2018-11-07 10:24:46 +08:00
* Fixed crash log deleted immediately when you relaunch the game.
2018-08-19 11:00:01 +08:00
* Updated compatibility list.
2018-10-09 08:10:12 +08:00
* For the web UI:
2018-11-19 13:55:21 +08:00
* Added a [mod compatibility page ](https://mods.smapi.io ) and [privacy page ](https://smapi.io/privacy ).
2018-10-09 08:10:12 +08:00
* The log parser now has a separate filter for game messages.
2018-10-09 10:19:16 +08:00
* The log parser now shows content pack authors (thanks to danvolchek!).
2018-11-14 07:44:46 +08:00
* Tweaked log parser UI (thanks to danvolchek!).
2018-11-05 15:13:44 +08:00
* Fixed log parser instructions for Mac.
2018-10-09 08:10:12 +08:00
2018-08-19 11:00:01 +08:00
* For modders:
2018-11-19 13:55:21 +08:00
* Added [data API ](https://stardewvalleywiki.com/Modding:Modder_Guide/APIs/Data ) to store mod data in the save file or app data.
2018-11-03 13:29:01 +08:00
* Added [multiplayer API ](https://stardewvalleywiki.com/Modding:Modder_Guide/APIs/Multiplayer ) and [events ](https://stardewvalleywiki.com/Modding:Modder_Guide/Apis/Events#Multiplayer_2 ) to send/receive messages and get connected player info.
2018-11-08 02:33:56 +08:00
* Added [verbose logging ](https://stardewvalleywiki.com/Modding:Modder_Guide/APIs/Logging#Verbose_logging ) feature.
2018-08-19 11:00:01 +08:00
* Added `IContentPack.WriteJsonFile` method.
2018-10-02 06:43:14 +08:00
* Added IntelliSense documentation for the non-developers version of SMAPI.
2018-10-09 06:57:09 +08:00
* Added more events to the prototype `helper.Events` for SMAPI 3.0.
* Added `SkillType` enum constant.
* Improved content API:
* added support for overlaying image assets with semi-transparency;
* mods can now load PNGs even if the game is currently drawing.
2018-11-19 13:55:21 +08:00
* When comparing mod versions, SMAPI now assigns the lowest precedence to `-unofficial` (e.g. `1.0-beta > 1.0-unofficial` ).
2018-11-17 10:29:28 +08:00
* Fixed content packs' `ReadJsonFile` allowing non-relative paths.
2018-11-17 10:32:48 +08:00
* Fixed content packs always failing to load if they declare a dependency on a SMAPI mod.
2018-09-19 09:03:05 +08:00
* Fixed trace logs not showing path for invalid mods.
2018-10-02 06:43:14 +08:00
* Fixed 'no update keys' warning not shown for mods with only invalid update keys.
2018-11-19 13:55:21 +08:00
* Fixed `Context.IsPlayerFree` being true while the player is mid-warp in multiplayer.
* Fixed update-check errors sometimes being overwritten with a generic message.
2018-08-25 08:16:03 +08:00
* Suppressed the game's 'added crickets' debug output.
2018-11-05 12:47:17 +08:00
* Updated dependencies (Harmony 1.0.9.1 → 1.2.0.1, Mono.Cecil 0.10 → 0.10.1).
2018-11-08 01:17:53 +08:00
* **Deprecations:**
2018-11-10 06:35:56 +08:00
* Non-string manifest versions are now deprecated and will stop working in SMAPI 3.0. Affected mods should use a string version, like `"Version": "1.0.0"` .
2018-11-08 01:17:53 +08:00
* `ISemanticVersion.Build` is now deprecated and will be removed in SMAPI 3.0. Affected mods should use `ISemanticVersion.PrereleaseTag` instead.
* **Breaking changes:**
2018-11-19 13:55:21 +08:00
* `helper.ModRegistry` now returns `IModInfo` instead of `IManifest` directly. This lets SMAPI return more metadata about mods. This doesn't affect any mods that didn't already break in Stardew Valley 1.3.32.
2018-11-08 01:17:53 +08:00
* Most SMAPI files have been moved into a `smapi-internal` subfolder. This won't affect compiled mod releases, but you'll need to update the build config NuGet package.
2018-08-19 01:25:08 +08:00
2018-08-20 09:08:58 +08:00
* For SMAPI developers:
2018-09-07 09:41:02 +08:00
* Added support for parallel stable/beta unofficial updates in update checks.
2018-08-31 12:48:34 +08:00
* Added a 'paranoid warnings' option which reports mods using potentially sensitive .NET APIs (like file or shell access) in the mod issues list.
2018-08-20 09:08:58 +08:00
* Adjusted `SaveBackup` mod to make it easier to account for custom mod subfolders in the installer.
2018-08-20 09:50:42 +08:00
* Installer no longer special-cases Omegasis' older `SaveBackup` mod (now named `AdvancedSaveBackup` ).
2018-09-30 06:18:01 +08:00
* Fixed mod web API returning a concatenated name for mods with alternate names.
2018-08-20 09:08:58 +08:00
2018-08-12 01:10:39 +08:00
## 2.7
2018-12-30 07:16:12 +08:00
Released 14 August 2018 for Stardew Valley 1.3.28.
2018-08-07 10:21:10 +08:00
* For players:
2018-08-15 00:21:31 +08:00
* Updated for Stardew Valley 1.3.28.
2018-08-10 12:59:48 +08:00
* Improved how mod issues are listed in the console and log.
2018-08-12 11:17:36 +08:00
* Revamped installer. It now...
2018-08-12 11:19:21 +08:00
* uses a new format that should be more intuitive;
* lets players on Linux/Mac choose the console color scheme (SMAPI will auto-detect it on Windows);
2018-08-12 11:17:36 +08:00
* and validates requirements earlier.
2018-08-07 10:21:10 +08:00
* Fixed custom festival maps always using spring tilesheets.
2018-08-07 10:23:18 +08:00
* Fixed `player_add` command not recognising return scepter.
2018-08-08 12:12:47 +08:00
* Fixed `player_add` command showing fish twice.
2018-08-10 04:32:00 +08:00
* Fixed some SMAPI logs not deleted when starting a new session.
2018-08-19 11:00:01 +08:00
* Updated compatibility list.
2018-08-07 10:21:10 +08:00
2018-08-05 04:18:23 +08:00
* For modders:
2018-08-12 08:33:21 +08:00
* Added support for `.json` data files in the content API (including Content Patcher).
2018-08-15 00:21:31 +08:00
* Added propagation for asset changes through the content API for...
2018-08-12 13:31:52 +08:00
* child sprites;
* dialogue;
* map tilesheets.
2018-08-15 00:21:31 +08:00
* Added `--mods-path` CLI command-line argument to switch between mod folders.
* All enums are now JSON-serialised by name instead of numeric value. (Previously only a few enums were serialised that way. JSON files which already have numeric enum values will still be parsed fine.)
2018-08-05 04:32:46 +08:00
* Fixed false compatibility error when constructing multidimensional arrays.
2018-08-05 04:18:23 +08:00
* Fixed `.ToSButton()` methods not being public.
2018-08-15 00:07:15 +08:00
* For SMAPI developers:
* Dropped support for pre-SMAPI-2.6 update checks in the web API.
_These are no longer useful, even if the player still has earlier versions of SMAPI. Older versions of SMAPI won't launch in Stardew Valley 1.3 (so they won't check for updates), and newer versions of SMAPI/mods won't work with older versions of the game._
2018-08-01 08:41:06 +08:00
## 2.6
2018-12-30 07:16:12 +08:00
Released 01 August 2018 for Stardew Valley 1.3.27.
2018-03-12 07:09:08 +08:00
* For players:
2018-07-30 01:35:52 +08:00
* Updated for Stardew Valley 1.3.
* Added automatic save backups.
2018-06-29 08:59:39 +08:00
* Improved update checks:
* added beta update channel;
2018-07-02 05:33:11 +08:00
* added update alerts for incompatible mods with an unofficial update on the wiki;
* added update alerts for optional files on Nexus;
2018-06-29 08:59:39 +08:00
* added console warning for mods which don't have update checks configured;
2018-07-02 05:33:11 +08:00
* added more visible prompt in beta channel for SMAPI updates;
2018-06-29 08:59:39 +08:00
* fixed mod update checks failing if a mod only has prerelease versions on GitHub;
* fixed Nexus mod update alerts not showing HTTPS links.
2018-07-02 05:33:11 +08:00
* Improved mod warnings in the console.
* Improved error when game can't start audio.
2018-07-30 01:35:52 +08:00
* Improved the Console Commands mod:
* Added `player_add name` , which adds items to your inventory by name instead of ID.
* Fixed `world_setseason` not running season-change logic.
* Fixed `world_setseason` not normalising the season value.
* Fixed `world_settime` sometimes breaking NPC schedules (e.g. so they stay in bed).
* Removed the `player_setlevel` and `player_setspeed` commands, which weren't implemented in a useful way. Use a mod like CJB Cheats Menu if you need those.
* Fixed `SEHException` errors for some players.
* Fixed performance issues for some players.
2018-07-02 05:33:11 +08:00
* Fixed default color scheme on Mac or in PowerShell (configurable via `StardewModdingAPI.config.json` ).
2018-06-09 23:59:00 +08:00
* Fixed installer error on Linux/Mac in some cases.
2018-07-02 05:33:11 +08:00
* Fixed installer not finding some game paths or showing duplicate paths.
2018-06-09 23:59:00 +08:00
* Fixed installer not removing some SMAPI files.
2018-05-23 12:35:43 +08:00
* Fixed launch issue for Linux players with some terminals. (Thanks to HanFox and kurumushi!)
2018-07-02 05:33:11 +08:00
* Fixed abort-retry loop if a mod crashed when intercepting assets during startup.
* Fixed some mods failing if the player name is blank.
* Fixed errors when a mod references a missing assembly.
2018-07-02 03:15:33 +08:00
* Fixed `AssemblyResolutionException` errors in rare cases.
2018-05-12 00:59:52 +08:00
* Renamed `install.exe` to `install on Windows.exe` to avoid confusion.
2018-06-09 23:59:00 +08:00
* Updated compatibility list.
2018-03-12 07:09:08 +08:00
2018-07-30 01:35:52 +08:00
* For the web UI:
* Added option to download SMAPI from Nexus.
* Added log parser redesign that should be more intuitive.
* Added log parser option to view raw log.
* Changed log parser filters to show `DEBUG` messages by default.
* Fixed design on smaller screens.
* Fixed log parser issue when content packs have no description.
* Fixed log parser mangling crossplatform paths in some cases.
* Fixed `smapi.io/install` not linking to a useful page.
2018-03-12 07:10:27 +08:00
* For modders:
2018-06-03 04:00:16 +08:00
* Added [input API ](https://stardewvalleywiki.com/Modding:Modder_Guide/APIs/Input ) for reading and suppressing keyboard, controller, and mouse input.
2018-07-02 05:33:11 +08:00
* Added code analysis in the NuGet package to flag common issues as warnings.
* Replaced `LocationEvents` to support multiplayer:
2018-05-05 13:31:06 +08:00
* now raised for all locations;
* now includes added/removed building interiors;
* each event now provides a list of added/removed values;
* added buildings-changed event.
2018-04-25 12:26:13 +08:00
* Added `Context.IsMultiplayer` and `Context.IsMainPlayer` flags.
2018-05-02 07:15:56 +08:00
* Added `Constants.TargetPlatform` which says whether the game is running on Linux, Mac, or Windows.
2018-05-03 12:14:35 +08:00
* Added `semanticVersion.IsPrerelease()` method.
2018-06-09 06:46:58 +08:00
* Added support for launching multiple instances transparently. This removes the former `--log-path` command-line argument.
2018-06-09 23:59:00 +08:00
* Added support for custom seasonal tilesheets when loading an unpacked `.tbin` map.
* Added Harmony DLL for internal use by SMAPI. (Mods should still include their own copy for backwards compatibility, and in case it's removed later. SMAPI will always load its own version though.)
* Added option to suppress update checks for a specific mod in `StardewModdingAPI.config.json` .
2018-06-20 10:59:38 +08:00
* Added absolute pixels to `ICursorPosition` .
2018-06-29 09:41:00 +08:00
* Added support for reading/writing `ISemanticVersion` to JSON.
2018-07-02 05:37:19 +08:00
* Added support for reloading NPC schedules through the content API.
2018-07-30 01:35:52 +08:00
* Reimplemented the content API so it works more reliably in many edge cases.
* Reimplemented input suppression to work more consistently in many cases.
* The order of update keys now affects which URL players see in update alerts.
2018-04-26 08:49:37 +08:00
* Fixed assets loaded by temporary content managers not being editable by mods.
* Fixed assets not reloaded consistently when the player switches language.
2018-07-01 04:55:59 +08:00
* Fixed error if a mod loads a PNG while the game is loading (e.g. custom map tilesheets via `IAssetLoader` ).
2018-07-10 08:59:39 +08:00
* Fixed error if a mod translation file is empty.
2018-05-05 14:27:43 +08:00
* Fixed input suppression not working consistently for clicks.
2018-07-30 01:35:52 +08:00
* Fixed console input not saved to the log.
2018-07-01 04:55:59 +08:00
* Fixed `Context.IsPlayerFree` being false during festivals.
2018-07-02 05:33:11 +08:00
* Fixed `helper.ModRegistry.GetApi` errors not always mentioning which interface caused the issue.
2018-07-14 08:19:02 +08:00
* Fixed console commands being invoked asynchronously.
2018-05-23 10:53:44 +08:00
* Fixed mods able to intercept other mods' assets via the internal asset keys.
* Fixed mods able to indirectly change other mods' data through shared content caches.
2018-06-11 09:50:24 +08:00
* Fixed `SemanticVersion` allowing invalid versions in some cases.
2018-05-05 13:31:06 +08:00
* **Breaking changes** (see [migration guide ](https://stardewvalleywiki.com/Modding:Migrate_to_Stardew_Valley_1.3 )):
2018-05-06 10:18:52 +08:00
* Dropped some deprecated APIs.
2018-06-09 23:59:00 +08:00
* `LocationEvents` have been rewritten.
* Mods can't intercept chatbox input.
* Mod IDs should only contain letters, numbers, hyphens, dots, and underscores. That allows their use in many contexts like URLs. This restriction is now enforced. (In regex form: `^[a-zA-Z0-9_.-]+$` .)
2018-03-16 11:41:19 +08:00
* For SMAPI developers:
2018-07-30 01:35:52 +08:00
* Added more consistent crossplatform handling, including MacOS detection.
* Added beta update channel.
* Added optional mod metadata to the web API (including Nexus info, wiki metadata, etc).
* Added early prototype of SMAPI 3.0 events via `helper.Events` .
* Added early prototype of mod handler toolkit.
* Added Harmony for SMAPI's internal use.
2018-06-10 07:46:12 +08:00
* Added metadata dump option in `StardewModdingAPI.config.json` for troubleshooting some cases.
2018-07-02 05:33:11 +08:00
* Added more stylish pufferchick on the home page.
2018-06-29 08:59:39 +08:00
* Rewrote update checks:
* Moved most logic into the web API.
2018-07-30 01:35:52 +08:00
* Changed web API to require mod IDs.
2018-07-02 05:33:11 +08:00
* Changed web API to also fetch metadata from SMAPI's internal mod DB and the wiki.
2018-07-30 01:35:52 +08:00
* Rewrote world/player state tracking. The new implementation is much more efficient than previous method, uses net field events where available, and lays the groundwork for more advanced events in SMAPI 3.0.
2018-06-09 23:59:00 +08:00
* Split mod DB out of `StardewModdingAPI.config.json` into its own file.
2018-06-25 07:49:34 +08:00
* Updated to Mono.Cecil 0.10.
2018-03-12 07:10:27 +08:00
2018-03-31 10:51:34 +08:00
## 2.5.5
2018-12-30 07:16:12 +08:00
Released 11 April 2018 for Stardew Valley 1.2.30– 1.2.33.
2018-03-31 10:51:34 +08:00
* For players:
2018-04-12 04:08:58 +08:00
* Fixed mod not loaded if it has an optional dependency that's loaded but skipped.
* Fixed mod update alerts not shown if one mod has an invalid remote version.
2018-04-12 03:41:32 +08:00
* Fixed SMAPI update alerts linking to the GitHub repository instead of [smapi.io ](https://smapi.io ).
2018-04-12 07:55:01 +08:00
* Fixed SMAPI update alerts for draft releases.
2018-04-12 04:17:23 +08:00
* Fixed error when two content packs use different capitalisation for the same required mod ID.
2018-04-12 04:08:58 +08:00
* Fixed rare crash if the game duplicates an item.
2018-03-31 10:51:34 +08:00
2018-12-30 07:16:12 +08:00
* For the [log parser ](https://log.smapi.io ):
2018-03-29 12:39:25 +08:00
* Tweaked UI.
2018-03-23 13:21:50 +08:00
## 2.5.4
2018-12-30 07:16:12 +08:00
Released 26 March 2018 for Stardew Valley 1.2.30– 1.2.33.
2018-03-24 10:30:49 +08:00
* For players:
2018-03-26 21:34:45 +08:00
* Fixed some textures not updated when a mod changes them.
2018-03-26 02:59:06 +08:00
* Fixed visual bug on Linux/Mac when mods overlay textures.
2018-03-26 21:34:45 +08:00
* Fixed error when mods remove an asset editor/loader.
* Fixed minimum game version incorrectly increased in SMAPI 2.5.3.
2018-03-24 08:18:23 +08:00
2018-12-30 07:16:12 +08:00
* For the [log parser ](https://log.smapi.io ):
2018-03-23 13:21:50 +08:00
* Fixed error when log text contains certain tokens.
2018-03-26 21:34:45 +08:00
* For modders:
* Updated to Json.NET 11.0.2.
* For SMAPI developers:
* Added support for beta update track to support upcoming Stardew Valley 1.3 beta.
2018-03-04 06:56:15 +08:00
## 2.5.3
2018-12-30 07:16:12 +08:00
Released 13 March 2018 for Stardew Valley ~~1.2.30~~ – 1.2.33.
2018-03-04 06:54:17 +08:00
* For players:
2018-03-14 07:47:30 +08:00
* Simplified and improved skipped-mod messages.
2018-03-05 10:27:56 +08:00
* Fixed rare crash with some combinations of manifest fields and internal mod data.
* Fixed update checks failing for Nexus Mods due to a change in their API.
2018-03-05 07:46:05 +08:00
* Fixed update checks failing for some older mods with non-standard versions.
2018-03-17 08:28:16 +08:00
* Fixed failed update checks being cached for an hour (now cached 5 minutes).
2018-03-12 09:07:45 +08:00
* Fixed error when a content pack needs a mod that couldn't be loaded.
2018-03-12 09:17:17 +08:00
* Fixed Linux ["magic number is wrong" errors ](https://github.com/mono/mono/issues/6752 ) by changing default terminal order.
2018-03-05 10:27:56 +08:00
* Updated compatibility list and added update checks for more mods.
2018-03-04 06:54:17 +08:00
2018-12-30 07:16:12 +08:00
* For the [log parser ](https://log.smapi.io ):
2018-03-05 10:27:56 +08:00
* Fixed incorrect filtering in some cases.
* Fixed error if mods have duplicate names.
* Fixed parse bugs if a mod has no author name.
2018-02-26 12:27:44 +08:00
2018-03-04 11:18:44 +08:00
* For SMAPI developers:
* Internal changes to support the upcoming Stardew Valley 1.3 update.
2018-02-25 14:07:32 +08:00
## 2.5.2
2018-12-30 07:16:12 +08:00
Released 25 February 2018 for Stardew Valley 1.2.30– 1.2.33.
2018-02-25 14:07:32 +08:00
* For modders:
* Fixed issue where replacing an asset through `asset.AsImage()` or `asset.AsDictionary()` didn't take effect.
2018-12-30 07:16:12 +08:00
* For the [log parser ](https://log.smapi.io ):
2018-02-25 14:26:03 +08:00
* Fixed blank page after uploading a log in some cases.
2018-02-25 09:24:42 +08:00
## 2.5.1
2018-12-30 07:16:12 +08:00
Released 24 February 2018 for Stardew Valley 1.2.30– 1.2.33.
2018-02-25 09:24:42 +08:00
* For players:
* Fixed event error in rare cases.
2018-02-16 12:06:44 +08:00
## 2.5
2018-12-30 07:16:12 +08:00
Released 24 February 2018 for Stardew Valley 1.2.30– 1.2.33.
2018-02-16 12:58:27 +08:00
* For players:
2018-02-25 06:45:29 +08:00
* **Added support for [content packs ](https://stardewvalleywiki.com/Modding:Content_packs )**.
2018-02-23 10:23:07 +08:00
< small > _Content packs are collections of files for a SMAPI mod to load. These can be installed directly under `Mods` like a normal SMAPI mod, get automatic update and compatibility checks, and provide convenient APIs to the mods that read them._</ small >
2018-02-25 06:45:29 +08:00
* Added mod detection for unhandled errors (so most errors now mention which mod caused them).
2018-02-23 10:23:07 +08:00
* Added install scripts for Linux/Mac (no more manual terminal commands!).
2018-02-25 06:45:29 +08:00
* Added the missing mod's name and URL to dependency errors.
* Fixed uninstall script not reporting when done on Linux/Mac.
2018-02-19 07:23:17 +08:00
* Updated compatibility list and enabled update checks for more mods.
2018-02-16 12:58:27 +08:00
2018-02-16 12:06:44 +08:00
* For modders:
2018-02-25 06:45:29 +08:00
* Added support for content packs and new APIs to read them.
2018-02-18 15:31:39 +08:00
* Added support for `ISemanticVersion` in JSON models.
2018-02-20 08:32:27 +08:00
* Added `SpecialisedEvents.UnvalidatedUpdateTick` event for specialised use cases.
2018-02-25 06:45:29 +08:00
* Added path normalising to `ReadJsonFile` and `WriteJsonFile` helpers (so no longer need `Path.Combine` with those).
* Fixed deadlock in rare cases with asset loaders.
2018-02-18 07:51:09 +08:00
* Fixed unhelpful error when a mod exposes a non-public API.
2018-02-23 09:26:21 +08:00
* Fixed unhelpful error when a translation file has duplicate keys due to case-insensitivity.
2018-02-20 02:38:09 +08:00
* Fixed some JSON field names being case-sensitive.
2018-02-16 12:06:44 +08:00
2018-12-30 07:16:12 +08:00
* For the [log parser ](https://log.smapi.io ):
2018-02-25 05:52:38 +08:00
* Added support for SMAPI 2.5 content packs.
2018-02-25 06:45:29 +08:00
* Reduced download size when viewing a parsed log with repeated errors.
2018-02-25 05:51:37 +08:00
* Improved parse error handling.
* Fixed 'log started' field showing incorrect date.
2018-02-16 12:06:44 +08:00
* For SMAPI developers:
2018-02-19 07:23:17 +08:00
* Overhauled mod DB format to be more concise, reduce the memory footprint, and support versioning/defaulting more fields.
2018-02-25 05:51:37 +08:00
* Reimplemented log parser with serverside parsing and vue.js on the frontend.
2018-02-16 12:06:44 +08:00
2017-12-28 13:16:54 +08:00
## 2.4
2018-12-30 07:16:12 +08:00
Released 24 January 2018 for Stardew Valley 1.2.30– 1.2.33.
2017-12-28 13:16:54 +08:00
* For players:
2018-01-22 11:22:44 +08:00
* Fixed visual map glitch in rare cases.
* Fixed error parsing JSON files which have curly quotes.
* Fixed error parsing some JSON files generated on another system.
2018-01-20 10:13:23 +08:00
* Fixed error parsing some JSON files after mods reload core assemblies, which is no longer allowed.
2018-01-22 11:22:44 +08:00
* Fixed intermittent errors (e.g. 'collection has been modified') with some mods when loading a save.
* Fixed compatibility with Linux Terminator terminal.
2018-01-17 08:16:58 +08:00
2018-12-30 07:16:12 +08:00
* For the [log parser ](https://log.smapi.io ):
2018-01-22 11:22:44 +08:00
* Fixed error parsing logs with zero installed mods.
2018-01-03 05:48:33 +08:00
2018-01-17 13:20:24 +08:00
* For modders:
2018-01-21 15:14:28 +08:00
* Added `SaveEvents.BeforeCreate` and `AfterCreate` events.
2018-01-17 13:20:24 +08:00
* Added `SButton` `IsActionButton()` and `IsUseToolButton()` extensions.
2018-01-21 10:26:21 +08:00
* Improved JSON parse errors to provide more useful info for troubleshooting.
2018-01-20 10:13:23 +08:00
* Fixed events being raised while the game is loading a save file.
2018-01-17 13:20:24 +08:00
* Fixed input events not recognising controller input as an action or use-tool button.
* Fixed input events setting the same `IsActionButton` and `IsUseToolButton` values for all buttons pressed in an update tick.
2018-01-22 11:22:44 +08:00
* Fixed semantic versions ignoring `-0` as a prerelease tag.
* Updated Json.NET to 11.0.1-beta3 (needed to avoid a parser edge case).
2018-01-17 13:20:24 +08:00
* For SMAPI developers:
* Overhauled input handling to support future input events.
2017-12-10 01:46:10 +08:00
## 2.3
2018-12-30 07:16:12 +08:00
Released 26 December 2017 for Stardew Valley 1.2.30– 1.2.33.
2017-12-26 00:19:32 +08:00
* For players:
* Added a user-friendly [download page ](https://smapi.io ).
2017-12-26 00:24:47 +08:00
* Improved cryptic libgdiplus errors on Mac when Mono isn't installed.
* Fixed mod UIs hidden when menu backgrounds are enabled.
2017-12-26 00:19:32 +08:00
2017-12-10 01:46:10 +08:00
* For modders:
2017-12-26 00:24:47 +08:00
* **Added mod-provided APIs** to allow simple integrations between mods, even without direct assembly references.
* Added `GameEvents.FirstUpdateTick` event (called once after all mods are initialised).
* Added `IsSuppressed` to input events so mods can optionally avoid handling keys another mod has already handled.
* Added trace message for mods with no update keys.
2017-12-26 12:45:17 +08:00
* Adjusted reflection API to match actual usage (e.g. renamed `GetPrivate*` to `Get*` ), and deprecated previous methods.
2017-12-11 04:28:27 +08:00
* Fixed `GraphicsEvents.OnPostRenderEvent` not being raised in some specialised cases.
2017-12-26 00:24:47 +08:00
* Fixed reflection API error for properties missing a `get` and `set` .
2017-12-11 02:37:59 +08:00
* Fixed issue where a mod could change the cursor position reported to other mods.
2017-12-17 06:41:16 +08:00
* Updated compatibility list.
2017-12-10 01:46:10 +08:00
2018-12-30 07:16:12 +08:00
* For the [log parser ](https://log.smapi.io ):
2017-12-11 12:42:22 +08:00
* Fixed broken favicon.
2017-11-27 03:54:32 +08:00
## 2.2
2018-12-30 07:16:12 +08:00
Released 02 December 2017 for Stardew Valley 1.2.30– 1.2.33.
2017-11-27 03:54:32 +08:00
* For players:
2017-11-28 11:19:23 +08:00
* Fixed error when a mod loads custom assets on Linux/Mac.
2017-11-29 07:53:08 +08:00
* Fixed error when checking for updates on Linux/Mac due to API HTTPS redirect.
* Fixed error when Mac adds an `mcs` symlink to the installer package.
2017-11-27 10:13:38 +08:00
* Fixed `player_add` command not handling tool upgrade levels.
2017-12-03 03:27:20 +08:00
* Improved error when a mod has an invalid `EntryDLL` filename format.
2017-11-27 05:27:36 +08:00
* Updated compatibility list.
2017-12-03 03:27:20 +08:00
2018-12-30 07:16:12 +08:00
* For the [log parser ](https://log.smapi.io ):
2017-12-03 03:27:20 +08:00
* Logs no longer expire after a week.
* Fixed error when uploading very large logs.
* Slightly improved the UI.
2017-11-27 03:54:32 +08:00
* For modders:
2017-12-03 03:27:03 +08:00
* Added `helper.Content.NormaliseAssetName` method.
* Added `SDate.DaysSinceStart` property.
2017-11-29 07:53:08 +08:00
* Fixed input events' `e.SuppressButton(button)` method ignoring specified button.
* Fixed input events' `e.SuppressButton()` method not working with mouse buttons.
2017-11-27 03:54:32 +08:00
2017-11-02 05:41:29 +08:00
## 2.1
2018-12-30 07:16:12 +08:00
Released 01 November 2017 for Stardew Valley 1.2.30– 1.2.33.
2017-10-18 22:59:57 +08:00
* For players:
2018-12-30 07:16:12 +08:00
* Added a [log parser ](https://log.smapi.io ) site.
2017-10-30 11:21:14 +08:00
* Added better Steam instructions to the SMAPI installer.
2017-11-02 05:41:29 +08:00
* Renamed the bundled _TrainerMod_ to _ConsoleCommands_ to make its purpose clearer.
* Removed the game's test messages from the console log.
* Improved update-check errors when playing offline.
* Fixed compatibility check for players with Stardew Valley 1.08.
* Fixed `player_setlevel` command not setting XP too.
2017-10-18 22:59:57 +08:00
2017-10-20 09:26:00 +08:00
* For modders:
2017-10-30 12:02:20 +08:00
* The reflection API now works with public code to simplify mod integrations.
* The content API now lets you invalidated multiple assets at once.
2017-11-02 05:41:29 +08:00
* The `InputEvents` have been improved:
2017-10-23 03:09:36 +08:00
* Added `e.IsActionButton` and `e.IsUseToolButton` .
2017-10-23 03:07:06 +08:00
* Added `ToSButton()` extension for the game's `Game1.options` button type.
2017-10-23 03:09:36 +08:00
* Deprecated `e.IsClick` , which is limited and unclear. Use `IsActionButton` or `IsUseToolButton` instead.
2017-10-23 03:07:06 +08:00
* Fixed `e.SuppressButton()` not correctly suppressing keyboard buttons.
2017-10-23 03:09:36 +08:00
* Fixed `e.IsClick` (now `e.IsActionButton` ) ignoring custom key bindings.
2017-10-30 11:15:18 +08:00
* `SemanticVersion` can now be constructed from a `System.Version` .
2017-11-02 05:41:29 +08:00
* Fixed reflection API blocking access to some non-SMAPI members.
2017-10-31 07:26:45 +08:00
* Fixed content API allowing absolute paths as asset keys.
* Fixed content API failing to load custom map tilesheets that aren't preloaded.
* Fixed content API incorrectly detecting duplicate loaders when a mod implements `IAssetLoader` directly.
2017-10-20 09:26:00 +08:00
2017-10-30 11:17:21 +08:00
* For SMAPI developers:
2017-11-02 05:41:29 +08:00
* Added the installer version and platform to the installer window title to simplify troubleshooting.
2017-10-30 11:17:21 +08:00
2017-10-14 23:39:52 +08:00
## 2.0
2018-12-30 07:16:12 +08:00
Released 14 October 2017 for Stardew Valley 1.2.30– 1.2.33.
2017-10-14 23:39:52 +08:00
### Release highlights
* **Mod update checks**
SMAPI now checks if your mods have updates available, and will alert you in the console with a convenient link to the
mod page. This works with mods from the Chucklefish mod site, GitHub, or Nexus Mods. SMAPI 2.0 launches with
update-check support for over 250 existing mods, and more will be added as modders enable the feature.
2017-03-04 09:25:01 +08:00
2017-10-14 23:39:52 +08:00
* **Mod stability warnings**
SMAPI now detects when a mod contains code which can destabilise your game or corrupt your save, and shows a warning
in the console.
* **Simpler console**
The console is now simpler and easier to read, some commands have been streamlined, and the colors now adjust to fit
your terminal background color.
* **New features for modders**
SMAPI 2.0 adds several features to enable new kinds of mods (see
2018-06-03 03:48:35 +08:00
[API documentation ](https://stardewvalleywiki.com/Modding:Modder_Guide/APIs )).
2017-10-14 23:39:52 +08:00
2017-10-18 22:59:57 +08:00
The **content API** lets you edit, inject, and reload XNB data loaded by the game at any time. This lets SMAPI mods do
2017-10-14 23:39:52 +08:00
anything previously only possible with XNB mods, and enables new mod scenarios not possible with XNB mods (e.g.
seasonal textures, NPC clothing that depend on the weather or location, etc).
The **input events** unify controller + keyboard + mouse input into one event and constant for easy handling, and add
metadata like the cursor position and grab tile to support click handling. They also let you prevent the game from
receiving input, to enable new scenarios like action highjacking and UI overlays.
The mod manifest has a few changes too:
* The ** `UpdateKeys` field** lets you specify your Chucklefish, GitHub, or Nexus mod IDs. SMAPI will automatically
check for newer versions and notify the player.
* The **version field** is now a semantic string like `"1.0-alpha"` . (Mods which still use the version structure will
still work fine.)
* The **dependencies field** now lets you add optional dependencies which should be loaded first if available.
Finally, the `SDate` utility now has a `DayOfWeek` field for more convenient date calculations, and `ISemanticVersion`
now implements `IEquatable<ISemanticVersion>` .
* **Goodbye deprecated code**
SMAPI 2.0 removes all deprecated code to unshackle future development. That includes...
* removed all code marked obsolete;
* removed TrainerMod's `save` and `load` commands;
* removed support for mods with no `Name` , `Version` , or `UniqueID` in their manifest;
* removed support for multiple mods having the same `UniqueID` value;
* removed access to SMAPI internals through the reflection helper.
* **Command-line install**
For power users and mod managers, the SMAPI installer can now be scripted using command-line arguments
2019-07-06 13:04:05 +08:00
(see [technical docs ](technical/smapi.md#command-line-arguments )).
2017-10-14 23:39:52 +08:00
### Change log
2017-07-04 02:26:45 +08:00
For players:
2017-09-26 09:50:15 +08:00
* SMAPI now alerts you when mods have new versions available.
2017-10-03 09:39:51 +08:00
* SMAPI now warns you about mods which may impact game stability or compatibility.
2017-09-26 09:50:15 +08:00
* The console is now simpler and easier to read, and adjusts its colors to fit your terminal background color.
* Renamed installer folder to avoid confusion.
2017-09-24 07:15:07 +08:00
* Updated compatibility list.
* Fixed update check errors on Linux/Mac.
2017-10-03 09:41:09 +08:00
* Fixed collection-changed errors during startup for some players.
2017-07-04 02:26:45 +08:00
2017-03-04 09:25:01 +08:00
For mod developers:
2017-10-14 23:39:52 +08:00
* Added support for editing, injecting, and reloading XNB data loaded by the game at any time.
* Added support for automatic mod update checks.
* Added unified input events.
* Added support for suppressing input.
2017-07-14 07:44:59 +08:00
* Added support for optional dependencies.
2017-09-26 09:50:15 +08:00
* Added support for specifying the mod version as a string (like `"1.0-alpha"` ) in `manifest.json` .
2017-08-02 12:27:43 +08:00
* Added day of week to `SDate` instances.
2017-09-26 09:50:15 +08:00
* Added `IEquatable<ISemanticVersion>` to `ISemanticVersion` .
2017-10-14 01:17:58 +08:00
* Updated Json.NET from 8.0.3 to 10.0.3.
2017-08-02 12:27:43 +08:00
* Removed the TrainerMod's `save` and `load` commands.
2017-08-01 11:18:49 +08:00
* Removed all deprecated code.
* Removed support for mods with no `Name` , `Version` , or `UniqueID` in their manifest.
* Removed support for mods with a non-unique `UniqueID` value in their manifest.
2017-08-02 12:27:43 +08:00
* Removed access to SMAPI internals through the reflection helper, to discourage fragile mods.
2017-10-13 12:33:05 +08:00
* Fixed `SDate.Now()` crashing when called during the new-game intro.
2017-08-01 11:48:53 +08:00
* Fixed `TimeEvents.AfterDayStarted` being raised during the new-game intro.
2017-10-13 10:20:19 +08:00
* Fixed SMAPI allowing map tilesheets with absolute or directory-climbing paths. These are now rejected even if the path exists, to avoid problems when players install the mod.
2017-03-31 06:59:01 +08:00
2017-08-02 13:36:56 +08:00
For power users:
* Added command-line arguments to the SMAPI installer so it can be scripted.
2017-09-20 12:09:20 +08:00
For SMAPI developers:
2017-09-26 09:50:15 +08:00
* Significantly refactored SMAPI to support changes in 2.0 and upcoming releases.
* Overhauled `StardewModdingAPI.config.json` format to support mod data like update keys.
* Removed SMAPI 1._x_ compatibility mode.
2017-09-20 12:09:20 +08:00
2017-08-25 08:44:44 +08:00
## 1.15.4
2018-12-30 07:16:12 +08:00
Released 09 September 2017 for Stardew Valley 1.2.30– 1.2.33.
2017-08-25 08:44:44 +08:00
For players:
2017-09-09 01:18:43 +08:00
* Fixed errors when loading some custom maps on Linux/Mac or using XNB Loader.
* Fixed errors in rare cases when a mod calculates an in-game date.
2017-09-07 10:04:51 +08:00
For modders:
2017-09-08 23:50:49 +08:00
* Added UTC timestamp to log file.
For SMAPI developers:
* Internal changes to support the upcoming SMAPI 2.0 release.
2017-08-25 08:44:44 +08:00
2017-08-24 04:23:45 +08:00
## 1.15.3
2018-12-30 07:16:12 +08:00
Released 23 August 2017 for Stardew Valley 1.2.30– 1.2.33.
2017-08-24 04:23:45 +08:00
For players:
2017-09-07 10:04:51 +08:00
* Fixed mods being wrongly marked as duplicate in some cases.
2017-08-24 04:23:45 +08:00
2017-07-14 08:38:35 +08:00
## 1.15.2
2018-12-30 07:16:12 +08:00
Released 23 August 2017 for Stardew Valley 1.2.30– 1.2.33.
2017-07-14 08:38:35 +08:00
For players:
2017-08-22 04:39:01 +08:00
* Improved errors when a mod DLL can't be loaded.
* Improved errors when using very old versions of Stardew Valley.
2017-07-14 08:38:35 +08:00
* Updated compatibility list.
2017-08-14 13:52:47 +08:00
For mod developers:
2017-08-14 19:55:21 +08:00
* Added `Context.CanPlayerMove` property for mod convenience.
* Added content helper properties for the game's current language.
* Fixed `Context.IsPlayerFree` being false if the player is performing an action.
2017-08-14 13:52:47 +08:00
* Fixed `GraphicsEvents.Resize` being raised before the game updates its window data.
2017-08-14 19:55:21 +08:00
* Fixed `SemanticVersion` not being deserialisable through Json.NET.
2017-08-17 09:51:03 +08:00
* Fixed terminal not launching on Xfce Linux.
2017-08-14 13:52:47 +08:00
2017-07-24 01:20:15 +08:00
For SMAPI developers:
* Internal changes to support the upcoming SMAPI 2.0 release.
2017-07-11 08:28:23 +08:00
## 1.15.1
2018-12-30 07:16:12 +08:00
Released 10 July 2017 for Stardew Valley 1.2.30– 1.2.33.
2017-07-11 08:28:23 +08:00
For players:
2017-07-11 10:09:02 +08:00
* Fixed controller mod input broken in 1.15.
* Fixed TrainerMod packaging unneeded files.
2017-07-10 10:22:41 +08:00
2017-07-11 08:28:23 +08:00
For modders:
* Fixed mod registry lookups by unique ID not being case-insensitive.
2017-06-13 06:44:36 +08:00
2017-07-11 08:28:23 +08:00
## 1.15
2018-12-30 07:16:12 +08:00
Released 08 July 2017 for Stardew Valley 1.2.30– 1.2.31.
2017-06-13 06:44:36 +08:00
For players:
2017-07-08 05:20:09 +08:00
* Cleaned up SMAPI console a bit.
2017-07-03 06:17:20 +08:00
* Revamped TrainerMod's item commands:
2017-07-03 11:17:45 +08:00
* `player_add` is a new command to add any item to your inventory (including tools, weapons, equipment, craftables, wallpaper, etc). This replaces the former `player_additem` , `player_addring` , and `player_addweapon` .
2017-07-03 06:17:20 +08:00
* `list_items` now shows all items in the game. You can search by item type like `list_items weapon` , or search by item name like `list_items galaxy sword` .
* `list_items` now also matches translated item names when playing in another language.
* `list_item_types` is a new command to see a list of item types.
2017-07-03 11:17:45 +08:00
* Fixed unhelpful error when a `config.json` is invalid.
2017-07-03 07:42:05 +08:00
* Fixed rare crash when window loses focus for a few players (further to fix in 1.14).
2017-07-03 08:51:49 +08:00
* Fixed invalid `ObjectInformation.xnb` causing a flood of warnings; SMAPI now shows one error instead.
* Updated mod compatibility list.
2017-06-13 06:44:36 +08:00
2017-06-19 06:01:15 +08:00
For modders:
2018-06-03 03:48:35 +08:00
* Added `SDate` utility for in-game date calculations (see [API reference ](https://stardewvalleywiki.com/Modding:Modder_Guide/APIs/Utilities#Dates )).
* Added support for minimum dependency versions in `manifest.json` (see [API reference ](https://stardewvalleywiki.com/Modding:Modder_Guide/APIs/Manifest )).
2017-07-03 11:17:45 +08:00
* Added more useful logging when loading mods.
2017-07-08 02:22:28 +08:00
* Added a `ModID` property to all mod helpers for extension methods.
2017-07-03 11:17:45 +08:00
* Changed `manifest.MinimumApiVersion` from string to `ISemanticVersion` . This shouldn't affect mods unless they referenced that field in code.
2017-06-19 13:05:43 +08:00
* Fixed `SemanticVersion` parsing some invalid versions into close approximations (like `1.apple` → `1.0-apple` ).
* Fixed `SemanticVersion` not treating hyphens as separators when comparing prerelease tags.
< small > _(While that was technically correct, it leads to unintuitive behaviour like sorting `-alpha-2` _after_ `-alpha-10` , even though `-alpha.2` sorts before `-alpha.10` .)_</ small >
2017-06-27 23:37:50 +08:00
* Fixed corrupted state exceptions not being logged by SMAPI.
2017-07-04 02:09:26 +08:00
* Increased all deprecations to _pending removal_ .
2017-06-19 06:01:15 +08:00
2017-07-03 11:17:45 +08:00
For SMAPI developers:
2017-07-03 13:03:13 +08:00
* Added SMAPI 2.0 compile mode, for testing how mods will work with SMAPI 2.0.
2017-07-03 11:17:45 +08:00
* Added prototype SMAPI 2.0 feature to override XNB files (not enabled for mods yet).
* Added prototype SMAPI 2.0 support for version strings in `manifest.json` (not recommended for mods yet).
2017-07-08 04:58:55 +08:00
* Compiling SMAPI now uses your `~/stardewvalley.targets` file if present.
2017-07-03 11:17:45 +08:00
2017-05-21 03:11:36 +08:00
## 1.14
2018-12-30 07:16:12 +08:00
Released 02 July 2017 for Stardew Valley 1.2.30.
2017-05-21 03:11:36 +08:00
For players:
2017-05-23 06:55:09 +08:00
* SMAPI now shows friendly errors when...
* it can't detect the game;
* a mod dependency is missing (if it's listed in the mod manifest);
* you have Stardew Valley 1.11 or earlier (which aren't compatible);
* you run `install.exe` from within the downloaded zip file.
2017-05-22 06:22:21 +08:00
* Fixed "unknown mod" deprecation warnings by improving how SMAPI detects the mod using the event.
2017-05-27 12:21:48 +08:00
* Fixed `libgdiplus.dylib` errors for some players on Mac.
2017-05-24 11:31:34 +08:00
* Fixed rare crash when window loses focus for a few players.
2017-05-29 08:31:50 +08:00
* Bumped minimum game version to 1.2.30.
2017-06-03 06:00:57 +08:00
* Updated mod compatibility list.
2017-05-22 05:29:40 +08:00
For modders:
2018-06-03 03:48:35 +08:00
* You can now add dependencies to `manifest.json` (see [API reference ](https://stardewvalleywiki.com/Modding:Modder_Guide/APIs/Manifest )).
* You can now translate your mod (see [API reference ](https://stardewvalleywiki.com/Modding:Modder_Guide/APIs/Translation )).
2017-05-26 09:36:58 +08:00
* You can now load unpacked `.tbin` files from your mod folder through the content API.
* SMAPI now automatically fixes tilesheet references for maps loaded from the mod folder.
< small > _When loading a map from the mod folder, SMAPI will automatically use tilesheets relative to the map file if they exists. Otherwise it will default to tilesheets in the game content._< / small >
2017-05-28 11:48:16 +08:00
* Added `Context.IsPlayerFree` for mods that need to check if the player can act (i.e. save is loaded, no menu is displayed, no cutscene is in progress, etc).
2017-05-23 04:41:50 +08:00
* Added `Context.IsInDrawLoop` for specialised mods.
2017-05-22 05:58:17 +08:00
* Fixed `smapi-crash.txt` being copied from the default log even if a different path is specified with `--log-path` .
2017-05-27 13:01:45 +08:00
* Fixed the content API not matching XNB filenames with two dots (like `a.b.xnb` ) if you don't specify the `.xnb` extension.
2017-05-28 12:39:01 +08:00
* Fixed `debug` command output not printed to console.
2017-05-30 11:52:33 +08:00
* Deprecated `TimeEvents.DayOfMonthChanged` , `SeasonOfYearChanged` , and `YearOfGameChanged` . These don't do what most modders think they do and aren't very reliable, since they depend on the SMAPI/game lifecycle which can change. You should use `TimeEvents.AfterDayStarted` or `SaveEvents.BeforeSave` instead.
2017-05-21 03:11:36 +08:00
2017-05-20 11:49:59 +08:00
## 1.13.1
2018-12-30 07:16:12 +08:00
Released 19 May 2017 for Stardew Valley 1.2.26– 1.2.29.
2017-05-20 11:49:59 +08:00
For players:
2017-05-20 12:29:04 +08:00
* Fixed errors when loading a mod with no name or version.
* Fixed mods with no manifest `Name` field having no name (SMAPI will now shows their filename).
2017-05-20 11:49:59 +08:00
2017-05-08 13:57:07 +08:00
## 1.13
2018-12-30 07:16:12 +08:00
Released 19 May 2017 for Stardew Valley 1.2.26– 1.2.29.
2017-05-08 13:57:07 +08:00
For players:
2017-05-17 07:22:09 +08:00
* SMAPI now recovers better from mod draw errors and detects when the error is irrecoverable.
2017-05-18 01:12:31 +08:00
* SMAPI now recovers automatically from errors in the game loop when possible.
2017-05-14 03:14:32 +08:00
* SMAPI now remembers if your game crashed and offers help next time you launch it.
2017-05-19 05:02:34 +08:00
* Fixed installer sometimes finding redundant game paths.
2017-05-11 12:34:01 +08:00
* Fixed save events not being raised after the first day on Linux/Mac.
2017-05-14 03:14:32 +08:00
* Fixed error on Linux/Mac when a mod loads a PNG immediately after the save is loaded.
2017-05-16 10:41:44 +08:00
* Updated mod compatibility list for Stardew Valley 1.2.
2017-05-08 13:57:07 +08:00
For mod developers:
2017-05-17 07:22:09 +08:00
* Added a `Context.IsWorldReady` flag for mods to use.
2017-05-26 09:36:58 +08:00
< small > _This indicates whether a save is loaded and the world is finished initialising, which starts at the same point that `SaveEvents.AfterLoad` and `TimeEvents.AfterDayStarted` are raised. This is mainly useful for events which can be raised before the world is loaded (like update tick)._</ small >
2017-05-17 07:22:09 +08:00
* Added a `debug` console command which lets you run the game's debug commands (e.g. `debug warp FarmHouse 1 1` warps you to the farmhouse).
* Added basic context info to logs to simplify troubleshooting.
* Added a `Mod.Dispose` method which can be overriden to clean up before exit. This method isn't guaranteed to be called on every exit.
* Deprecated mods that don't have a `Name` , `Version` , or `UniqueID` in their manifest. These will be required in SMAPI 2.0.
* Deprecated `GameEvents.GameLoaded` and `GameEvents.FirstUpdateTick` . You can move any affected code into your mod's `Entry` method.
2017-05-17 07:15:28 +08:00
* Fixed maps not recognising custom tilesheets added through the SMAPI content API.
2017-05-17 11:44:33 +08:00
* Internal refactoring for upcoming features.
2017-05-08 13:57:07 +08:00
2017-05-02 12:43:15 +08:00
## 1.12
2018-12-30 07:16:12 +08:00
Released 03 May 2017 for Stardew Valley 1.2.26– 1.2.29.
2017-05-02 12:43:15 +08:00
2017-05-03 12:40:21 +08:00
For players:
* The installer now lets you choose the install path if you have multiple copies of the game, instead of using the first path found.
2017-05-04 00:28:05 +08:00
* Fixed mod draw errors breaking the game.
* Fixed mods on Linux/Mac no longer working after the game saves.
2017-05-27 12:21:48 +08:00
* Fixed `libgdiplus.dylib` errors on Mac when mods read PNG files.
2017-05-03 23:58:33 +08:00
* Adopted pufferchick.
2017-05-03 12:40:21 +08:00
2017-05-02 12:43:15 +08:00
For mod developers:
2017-05-03 11:53:15 +08:00
* Unknown mod manifest fields are now stored in `IManifest::ExtraFields` .
2017-05-03 11:45:25 +08:00
* The content API now defaults to `ContentSource.ModFolder` .
2017-05-03 11:25:23 +08:00
* Fixed content API error when loading a PNG during early game init (e.g. in mod's `Entry` ).
* Fixed content API error when loading an XNB from the mod folder on Mac.
2017-05-02 12:43:15 +08:00
2017-04-27 04:04:20 +08:00
## 1.11
2018-12-30 07:16:12 +08:00
Released 30 April 2017 for Stardew Valley 1.2.26.
2017-04-27 04:04:20 +08:00
For players:
2017-04-28 12:58:54 +08:00
* SMAPI now detects issues in `ObjectInformation.xnb` files caused by outdated XNB mods.
2017-04-27 04:22:41 +08:00
* Errors when loading a save are now shown in the SMAPI console.
2017-04-28 12:58:54 +08:00
* Improved console logging performance.
2017-04-30 00:23:38 +08:00
* Fixed errors during game update causing the game to hang.
2017-04-30 09:46:01 +08:00
* Fixed errors due to mod events triggering during game save in Stardew Valley 1.2.
2017-04-27 04:04:20 +08:00
2017-04-27 04:21:03 +08:00
For mod developers:
2017-04-30 13:17:56 +08:00
* Added a content API which loads custom textures/maps/data from the mod's folder (`.xnb` or `.png` format) or game content.
2017-04-27 04:22:41 +08:00
* `Console.Out` messages are now written to the log file.
2017-04-27 06:25:59 +08:00
* `Monitor.ExitGameImmediately` now aborts SMAPI initialisation and events more quickly.
2017-05-15 10:04:32 +08:00
* Fixed value-changed events being raised when the player loads a save due to values being initialised.
2017-04-27 04:21:03 +08:00
2017-03-31 06:59:01 +08:00
## 1.10
2018-12-30 07:16:12 +08:00
Released 24 April 2017 for Stardew Valley 1.2.26.
2017-03-04 09:25:01 +08:00
2017-04-24 08:27:55 +08:00
For players:
2017-04-25 00:36:20 +08:00
* Updated to Stardew Valley 1.2.
2017-04-24 09:51:49 +08:00
* Added logic to rewrite many mods for compatibility with game updates, though some mods may still need an update.
2017-04-24 11:00:13 +08:00
* Fixed `SEHException` errors affecting some players.
* Fixed issue where SMAPI didn't unlock some files on exit.
2017-04-24 09:55:01 +08:00
* Fixed rare issue where the installer would crash trying to delete a bundled mod from `%appdata%` .
2017-04-24 10:46:14 +08:00
* Improved TrainerMod commands:
* Added `world_setyear` to change the current year.
* Replaced `player_addmelee` with `player_addweapon` with support for non-melee weapons.
2017-04-08 03:36:45 +08:00
For mod developers:
2017-04-24 10:04:56 +08:00
* Mods are now initialised after the `Initialize` /`LoadContent` phase, which means the `GameEvents.Initialize` and `GameEvents.LoadContent` events are deprecated. You can move any logic in those methods to your mod's `Entry` method.
* Added `IsBetween` and string overloads to the `ISemanticVersion` methods.
2017-04-08 03:36:45 +08:00
* Fixed mouse-changed event never updating prior mouse position.
2017-04-24 07:21:48 +08:00
* Fixed `monitor.ExitGameImmediately` not working correctly.
2017-04-24 11:58:08 +08:00
* Fixed `Constants.SaveFolderName` not set for a new game until the save is created.
2017-04-08 03:36:45 +08:00
2017-02-08 09:50:41 +08:00
## 1.9
2018-12-30 07:16:12 +08:00
Released 05 April 2017 for Stardew Valley 1.1– 1.11.
2017-02-08 09:50:41 +08:00
For players:
2017-03-17 04:51:30 +08:00
* SMAPI now detects incompatible mods and disables them before they cause problems.
* SMAPI now allows mods nested into an otherwise empty parent folder (like `Mods\ModName-1.0\ModName\manifest.json` ), since that's a common default behaviour when unpacking mods.
* The installer now detects if you need to update .NET Framework before installing SMAPI.
2017-03-17 05:06:53 +08:00
* The installer now detects if you need to run the game at least once (to let it perform first-time setup) before installing SMAPI.
2017-03-17 07:01:22 +08:00
* The installer on Linux now finds games installed to `~/.steam/steam/steamapps/common/Stardew Valley` too.
2017-03-31 07:48:01 +08:00
* The installer now removes old SMAPI logs to prevent confusion.
2017-03-17 04:51:30 +08:00
* The console now has simpler error messages.
* The console now has improved command handling & feedback.
* The console no longer shows the game's debug output (unless you use a _SMAPI for developers_ build).
* Fixed the game-needs-an-update error not pausing before exit.
2017-02-13 08:41:15 +08:00
* Fixed installer errors for some players when deleting files.
2017-02-19 14:07:04 +08:00
* Fixed installer not ignoring potential game folders that don't contain a Stardew Valley exe.
2017-02-19 14:29:30 +08:00
* Fixed installer not recognising Linux/Mac paths starting with `~/` or containing an escaped space.
2017-03-02 08:20:11 +08:00
* Fixed TrainerMod letting you add invalid items which may crash the game.
2017-03-02 09:06:03 +08:00
* Fixed TrainerMod's `world_downminelevel` command not working.
2017-02-17 14:44:19 +08:00
* Fixed rare issue where mod dependencies would override SMAPI dependencies and cause unpredictable bugs.
2017-03-17 04:51:30 +08:00
* Fixed errors in mods' console command handlers crashing the game.
2017-02-08 09:50:41 +08:00
For mod developers:
2017-02-13 14:27:49 +08:00
* Added a simpler API for console commands (see `helper.ConsoleCommands` ).
2017-03-17 04:51:30 +08:00
* Added `TimeEvents.AfterDayStarted` event triggered when a day starts. This happens no matter how the day started (including new game, loaded save, or player went to bed).
2017-03-31 06:59:01 +08:00
* Added `ContentEvents.AfterLocaleChanged` event triggered when the player changes the content language (for the upcoming Stardew Valley 1.2).
* Added `SaveEvents.AfterReturnToTitle` event triggered when the player returns to the title screen (for the upcoming Stardew Valley 1.2).
* Added `helper.Reflection.GetPrivateProperty` method.
2017-04-02 04:08:31 +08:00
* Added a `--log-path` argument to specify the SMAPI log path during testing.
2017-03-02 09:20:58 +08:00
* SMAPI now writes XNA input enums (`Buttons` and `Keys` ) to JSON as strings automatically, so mods no longer need to add a `StringEnumConverter` themselves for those.
2017-03-17 04:51:30 +08:00
* The SMAPI log now has a simpler filename.
* The SMAPI log now shows the OS caption (like "Windows 10") instead of its internal version when available.
* The SMAPI log now always uses `\r\n` line endings to simplify crossplatform viewing.
2017-03-12 06:28:39 +08:00
* Fixed `SaveEvents.AfterLoad` being raised during the new-game intro before the player is initialised.
2017-03-27 08:15:48 +08:00
* Fixed SMAPI not recognising `Mod` instances that don't subclass `Mod` directly.
2018-11-05 12:52:59 +08:00
* Several obsolete APIs have been removed (see [migration guides ](https://stardewvalleywiki.com/Modding:Index#Migration_guides )),
2017-02-17 02:59:13 +08:00
and all _notice_ -level deprecations have been increased to _info_ .
2017-03-17 04:51:30 +08:00
* Removed the experimental `IConfigFile` .
2017-02-08 09:50:41 +08:00
2017-02-11 08:22:22 +08:00
For SMAPI developers:
2017-03-17 04:51:30 +08:00
* Added support for debugging SMAPI on Linux/Mac if supported by the editor.
2017-02-11 08:22:22 +08:00
2017-01-26 11:30:07 +08:00
## 1.8
2018-12-30 07:16:12 +08:00
Released 04 February 2017 for Stardew Valley 1.1– 1.11.
2017-01-26 11:30:07 +08:00
2017-02-03 12:45:09 +08:00
For players:
2017-02-05 04:30:26 +08:00
* Mods no longer generate `.cache` subfolders.
2017-02-03 12:45:09 +08:00
* Fixed multiple issues where mods failed during assembly loading.
2017-02-04 11:02:54 +08:00
* Tweaked install package to reduce confusion.
2017-02-03 12:45:09 +08:00
For mod developers:
2017-02-05 04:30:26 +08:00
* The `SemanticVersion` constructor now accepts a string version.
2017-02-05 04:27:13 +08:00
* Increased deprecation level for `Extensions` to _pending removal_ .
2017-02-05 04:30:26 +08:00
* **Warning:** `Assembly.GetExecutingAssembly().Location` will no longer reliably
return a valid path, because mod assemblies are loaded from memory when rewritten for
compatibility. This approach has been discouraged since SMAPI 1.3; use `helper.DirectoryPath`
instead.
2017-02-03 09:47:54 +08:00
2017-02-03 12:45:09 +08:00
For SMAPI developers:
* Rewrote assembly loading from the ground up. The new implementation...
* is much simpler;
2017-02-04 14:22:31 +08:00
* eliminates the `.cache` folders by loading rewritten assemblies from memory;
* ensures DLLs are loaded in leaf-to-root order (i.e. dependencies first);
2017-02-03 12:45:09 +08:00
* improves dependent assembly resolution;
2017-02-04 14:22:31 +08:00
* no longer loads DLLs if they're not referenced;
2017-02-03 12:45:09 +08:00
* reduces log verbosity.
2017-01-26 11:30:07 +08:00
2017-01-19 10:32:38 +08:00
## 1.7
2018-12-30 07:16:12 +08:00
Released 19 January 2017 for Stardew Valley 1.1– 1.11.
2017-01-19 10:32:38 +08:00
2017-01-19 14:10:13 +08:00
For players:
2017-01-20 01:22:32 +08:00
* The console now shows the folder path where mods should be added.
* The console now shows deprecation warnings after the list of loaded mods (instead of intermingled).
2017-01-19 14:10:13 +08:00
2017-01-19 10:32:38 +08:00
For mod developers:
2017-01-20 01:22:32 +08:00
* Added a mod registry which provides metadata about loaded mods.
* The `Entry(…)` method is now deferred until all mods are loaded.
* Fixed `SaveEvents.BeforeSave` and `.AfterSave` not triggering on days when the player shipped something.
2017-01-19 10:32:38 +08:00
* Fixed `PlayerEvents.LoadedGame` and `SaveEvents.AfterLoad` being fired before the world finishes initialising.
2017-01-19 11:14:50 +08:00
* Fixed some `LocationEvents` , `PlayerEvents` , and `TimeEvents` being fired during game startup.
2017-01-20 01:22:32 +08:00
* Increased deprecation levels for `SObject` , `LogWriter` (not `Log` ), and `Mod.Entry(ModHelper)` (not `Mod.Entry(IModHelper)` ) to _pending removal_ . Increased deprecation levels for `Mod.PerSaveConfigFolder` , `Mod.PerSaveConfigPath` , and `Version.VersionString` to _info_ .
2017-01-19 10:32:38 +08:00
2017-01-16 09:19:32 +08:00
## 1.6
2018-12-30 07:16:12 +08:00
Released 16 January 2017 for Stardew Valley 1.1– 1.11.
2017-01-12 03:00:13 +08:00
For players:
2017-01-16 09:19:32 +08:00
* Added console commands to open the game/data folders.
2017-01-12 03:00:13 +08:00
* Updated list of incompatible mods.
2017-01-16 09:19:32 +08:00
* Fixed `config.json` values being duplicated in some cases.
* Fixed some Linux users not being able to launch SMAPI from Steam.
* Fixed the installer not finding custom install paths on 32-bit Windows.
* Fixed error when loading a mod which was released with a `.cache` folder for a different platform.
* Fixed error when the console doesn't support colour.
* Fixed error when a mod reads a custom JSON file from a directory that doesn't exist.
2017-01-12 03:00:13 +08:00
2017-01-15 01:26:59 +08:00
For mod developers:
2017-01-16 08:21:26 +08:00
* Added three events: `SaveEvents.BeforeSave` , `SaveEvents.AfterSave` , and `SaveEvents.AfterLoad` .
* Deprecated three events:
2017-01-16 09:19:32 +08:00
* `TimeEvents.OnNewDay` is unreliable; use `TimeEvents.DayOfMonthChanged` or `SaveEvents` instead.
* `PlayerEvents.LoadedGame` is replaced by `SaveEvents.AfterLoad` .
2017-01-16 08:21:26 +08:00
* `PlayerEvents.FarmerChanged` serves no purpose.
2017-01-15 01:26:59 +08:00
2017-01-14 13:59:19 +08:00
For SMAPI developers:
* Added support for specifying a lower bound in mod incompatibility data.
2017-01-16 09:19:32 +08:00
* Added support for custom incompatible-mod error text.
2017-01-15 11:47:54 +08:00
* Fixed issue where `TrainerMod` used older logic to detect the game path.
2017-01-14 13:59:19 +08:00
2016-12-19 02:28:23 +08:00
## 1.5
2018-12-30 07:16:12 +08:00
Released 27 December 2016 for Stardew Valley 1.1– 1.11.
2016-12-19 02:28:23 +08:00
For players:
2016-12-24 01:43:42 +08:00
* Added an option to disable update checks.
2016-12-23 02:08:45 +08:00
* SMAPI will now show a friendly error with update links when you try to use a known incompatible mod version.
2016-12-24 01:43:42 +08:00
* Fixed an error when a mod uses the new reflection API on a missing field or method.
* Fixed an issue where mods weren't notified of a menu change if it changed while SMAPI was still notifying mods of the previous change.
2016-12-19 02:28:23 +08:00
2016-12-22 23:26:00 +08:00
For developers:
* Deprecated `Version` in favour of `SemanticVersion` .
2018-11-05 12:52:59 +08:00
_This new implementation is [semver 2.0](https://semver.org/)-compliant, introduces `NewerThan(version)` and `OlderThan(version)` convenience methods, adds support for parsing a version string into a `SemanticVersion`, and fixes various bugs with the former implementation. This also replaces `Manifest` with `IManifest`._
2016-12-24 01:36:03 +08:00
* Increased deprecation levels for `SObject` , `Extensions` , `LogWriter` (not `Log` ), `SPlayer` , and `Mod.Entry(ModHelper)` (not `Mod.Entry(IModHelper)` ).
2016-12-22 23:26:00 +08:00
2016-12-13 00:20:31 +08:00
## 1.4
2018-12-30 07:16:12 +08:00
Released 12 December 2016 for Stardew Valley 1.1– 1.11.
2016-12-06 13:45:22 +08:00
For players:
2016-12-13 00:20:31 +08:00
* SMAPI will now prevent mods from crashing your game with menu errors.
2016-12-09 01:15:10 +08:00
* The installer will now automatically detect most custom install paths.
* The installer will now automatically clean up old SMAPI files.
2016-12-11 03:29:38 +08:00
* Each mod now has its own `.cache` folder, so removing the mod won't leave orphaned cache files behind.
* Improved installer wording to reduce confusion.
2016-12-08 11:43:05 +08:00
* Fixed the installer not removing TrainerMod from appdata if it's already in the game mods directory.
* Fixed the installer not moving mods out of appdata if the game isn't installed on the same Windows partition.
2016-12-11 03:29:38 +08:00
* Fixed the SMAPI console not being shown on Linux and Mac.
2016-12-06 13:45:22 +08:00
For developers:
2016-12-11 03:29:38 +08:00
* Added a reflection API (via `helper.Reflection` ) that simplifies robust access to the game's private fields and methods.
* Added a searchable `list_items` console command to replace the `out_items` , `out_melee` , and `out_rings` commands.
2016-12-08 11:05:14 +08:00
* Added `TypeLoadException` details when intercepted by SMAPI.
2016-12-07 11:19:38 +08:00
* Fixed an issue where you couldn't debug into an assembly because it was copied into the `.cache` directory. That will now only happen if necessary.
2016-12-06 13:45:22 +08:00
2016-11-30 08:24:00 +08:00
## 1.3
2018-12-30 07:16:12 +08:00
Released 04 December 2016 for Stardew Valley 1.1– 1.11.
2016-11-30 08:24:00 +08:00
For players:
* You can now run most mods on any platform (e.g. run Windows mods on Linux/Mac).
2016-11-30 08:42:27 +08:00
* Fixed the normal uninstaller not removing files added by the 'SMAPI for developers' installer.
2016-11-30 08:24:00 +08:00
2016-11-25 01:19:57 +08:00
## 1.2
2018-12-30 07:16:12 +08:00
Released 25 November 2016 for Stardew Valley 1.1– 1.11.
2016-11-24 09:21:12 +08:00
For players:
* Fixed compatibility with some older mods.
2016-11-25 01:19:57 +08:00
* Fixed mod errors in most event handlers crashing the game.
* Fixed mod errors in some event handlers preventing other mods from receiving the same event.
2016-11-25 01:43:28 +08:00
* Fixed game crashing on startup with an audio error for some players.
2016-11-24 09:21:12 +08:00
2016-11-24 09:23:42 +08:00
For developers:
2016-11-25 01:19:57 +08:00
* Improved logging to show `ReflectionTypeLoadException` details when it's caught by SMAPI.
2016-11-24 09:23:42 +08:00
2018-12-30 07:16:12 +08:00
## 1.1.1
Released 19 November 2016 for Stardew Valley 1.1– 1.11.
For players:
* Fixed compatibility with some older mods.
* Fixed race condition where some mods would sometimes crash because the game wasn't ready yet.
For developers:
* Fixed deprecation warnings being repeated if the mod can't be identified.
2016-11-15 08:27:44 +08:00
## 1.1
2018-12-30 07:16:12 +08:00
Released 17 November 2016 for Stardew Valley 1.1– 1.11.
2016-11-15 08:27:44 +08:00
2016-11-17 06:42:44 +08:00
For players:
* Fixed console exiting immediately when some exceptions occur.
* Fixed an error in 1.0 when mod uses `config.json` but the file doesn't exist.
* Fixed critical errors being saved to a separate log file.
For developers:
* Added new logging interface:
* easier to use;
* supports trace logs (written to the log file, but hidden in the console by default);
* messages are now listed in order;
* messages now show which mod logged them;
* more consistent and intuitive console color scheme.
* Added optional `MinimumApiVersion` to `manifest.json` .
2016-11-17 11:41:27 +08:00
* Added emergency interrupt feature for dangerous mods.
2016-11-15 08:27:44 +08:00
2016-11-08 05:26:31 +08:00
## 1.0
2018-12-30 07:16:12 +08:00
Released 11 November 2016 for Stardew Valley 1.1– 1.11.
2016-11-08 05:26:31 +08:00
For players:
2016-10-31 11:59:51 +08:00
* Added support for Linux and Mac.
2016-11-04 12:07:17 +08:00
* Added installer to automate adding & removing SMAPI.
2016-11-03 12:43:41 +08:00
* Added background update check on launch.
2016-11-08 05:26:31 +08:00
* Fixed missing `steam_appid.txt` file.
* Fixed some mod UIs disappearing at a non-default zoom level for some users.
* Removed undocumented support for mods in AppData folder ** (breaking change)**.
* Removed `F2` debug mode.
For mod developers:
* Added deprecation warnings.
2016-11-03 12:25:54 +08:00
* Added OS version to log.
2016-11-03 12:43:41 +08:00
* Added zoom-adjusted mouse position to mouse-changed event arguments.
2016-11-08 05:26:31 +08:00
* Added SMAPI code documentation.
2018-11-05 12:52:59 +08:00
* Switched to [semantic versioning ](https://semver.org ).
2016-11-08 05:26:31 +08:00
* Fixed mod versions not shown correctly in the log.
2016-11-03 12:25:54 +08:00
* Fixed misspelled field in `manifest.json` schema.
2016-11-08 05:26:31 +08:00
* Fixed some events getting wrong data.
* Simplified log output.
For SMAPI developers:
* Simplified compiling from source.
* Formalised release process and added automated build packaging.
* Removed obsolete and unfinished code.
* Internal cleanup & refactoring.
2016-10-31 11:59:51 +08:00
## 0.x
2018-12-30 07:16:12 +08:00
* 0.40.1.1 (30 September 2016)
2016-10-31 11:59:51 +08:00
* Added support for Stardew Valley 1.1.
2018-12-30 07:16:12 +08:00
* 0.40.0 (05 April 2016)
2016-10-31 11:59:51 +08:00
* Fixed an error that ocurred during minigames.
2018-12-30 07:16:12 +08:00
* 0.39.7 (04 April 2016)
2016-10-31 11:59:51 +08:00
* Added 'no check' graphics events that are triggered regardless of game's if checks.
2018-12-30 07:16:12 +08:00
* 0.39.6 (01 April 2016)
2016-10-31 11:59:51 +08:00
* Added game & SMAPI versions to log.
* Fixed conflict in graphics tick events.
* Bug fixes.
2018-12-30 07:16:12 +08:00
* 0.39.5 (30 March 2016)
* 0.39.4 (29 March 2016)
* 0.39.3 (28 March 2016)
* 0.39.2 (23 March 2016)
* 0.39.1 (23 March 2016)
* 0.38.8 (23 March 2016)
* 0.38.7 (23 March 2016)
* 0.38.6 (22 March 2016)
* 0.38.5 (22 March 2016)
* 0.38.4 (21 March 2016)
* 0.38.3 (21 March 2016)
* 0.38.2 (21 March 2016)
* 0.38.0 (20 March 2016)
* 0.38.1 (20 March 2016)
* 0.37.3 (08 March 2016)
* 0.37.2 (07 March 2016)
* 0.37.1 (06 March 2016)
* 0.36 (04 March 2016)
* 0.37 (04 March 2016)
* 0.35 (02 March 2016)
* 0.34 (02 March 2016)
* 0.33 (02 March 2016)
* 0.32 (02 March 2016)
* 0.31 (02 March 2016)
* 0.3 (01 March 2016)
* 0.2 (29 February 2016)
* 0.1 (28 February 2016)