|
1 | 1 | # Release notes |
| 2 | +## 2.0 (upcoming) |
| 3 | +<!--See [log](https://github.com/Pathoschild/SMAPI/compare/1.10...2.0).--> |
2 | 4 |
|
3 | | -<!-- |
4 | | -## 2.0 |
5 | | -See [log](https://github.com/Pathoschild/SMAPI/compare/1.10...2.0). |
| 5 | +For players: |
| 6 | +* The SMAPI console is now much simpler and easier-to-read. |
6 | 7 |
|
7 | 8 | For mod developers: |
8 | | -* Added `ContentEvents.AssetLoading` event with a helper which lets you intercept the XNB content |
9 | | - load, and dynamically adjust or replace the content being loaded (including support for patching |
10 | | - images). |
11 | | ---> |
| 9 | +* Added API to edit XNB images & data loaded by the game (see [API reference](http://stardewvalleywiki.com/Modding:SMAPI_APIs#Content)). |
| 10 | +* Added API to inject new XNB images & data (see [API reference](http://stardewvalleywiki.com/Modding:SMAPI_APIs#Content)). |
| 11 | +* Added `InputEvents` which unify keyboard, mouse, and controller input for much simpler input handling (see [API reference](http://stardewvalleywiki.com/Modding:SMAPI_APIs#Input_events)). |
| 12 | +* Added useful `InputEvents` metadata like the cursor position, grab tile, etc. |
| 13 | +* Added ability to prevent the game from handling a button press via `InputEvents`. |
| 14 | +* In `manifest.json`: |
| 15 | + * Dependencies can now be optional. |
| 16 | + * The version can now be a string like `"1.0-alpha"` instead of a structure. |
| 17 | +* Removed all deprecated code. |
| 18 | + |
| 19 | +## 1.15 |
| 20 | +See [log](https://github.com/Pathoschild/SMAPI/compare/1.14...1.15). |
| 21 | + |
| 22 | +For players: |
| 23 | +* Cleaned up SMAPI console a bit. |
| 24 | +* Revamped TrainerMod's item commands: |
| 25 | + * `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`. |
| 26 | + * `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`. |
| 27 | + * `list_items` now also matches translated item names when playing in another language. |
| 28 | + * `list_item_types` is a new command to see a list of item types. |
| 29 | +* Fixed unhelpful error when a `config.json` is invalid. |
| 30 | +* Fixed rare crash when window loses focus for a few players (further to fix in 1.14). |
| 31 | +* Fixed invalid `ObjectInformation.xnb` causing a flood of warnings; SMAPI now shows one error instead. |
| 32 | +* Updated mod compatibility list. |
| 33 | + |
| 34 | +For modders: |
| 35 | +* Added `SDate` utility for in-game date calculations (see [API reference](http://stardewvalleywiki.com/Modding:SMAPI_APIs#Dates)). |
| 36 | +* Added support for minimum dependency versions in `manifest.json` (see [API reference](http://stardewvalleywiki.com/Modding:SMAPI_APIs#Manifest)). |
| 37 | +* Added more useful logging when loading mods. |
| 38 | +* Added a `ModID` property to all mod helpers for extension methods. |
| 39 | +* Changed `manifest.MinimumApiVersion` from string to `ISemanticVersion`. This shouldn't affect mods unless they referenced that field in code. |
| 40 | +* Fixed `SemanticVersion` parsing some invalid versions into close approximations (like `1.apple` → `1.0-apple`). |
| 41 | +* Fixed `SemanticVersion` not treating hyphens as separators when comparing prerelease tags. |
| 42 | + <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> |
| 43 | +* Fixed corrupted state exceptions not being logged by SMAPI. |
| 44 | +* Increased all deprecations to _pending removal_. |
| 45 | + |
| 46 | +For SMAPI developers: |
| 47 | +* Added SMAPI 2.0 compile mode, for testing how mods will work with SMAPI 2.0. |
| 48 | +* Added prototype SMAPI 2.0 feature to override XNB files (not enabled for mods yet). |
| 49 | +* Added prototype SMAPI 2.0 support for version strings in `manifest.json` (not recommended for mods yet). |
| 50 | +* Compiling SMAPI now uses your `~/stardewvalley.targets` file if present. |
12 | 51 |
|
13 | 52 | ## 1.14 |
14 | 53 | See [log](https://github.com/Pathoschild/SMAPI/compare/1.13...1.14). |
|
0 commit comments