From a4713ea88238e6a6d62447aef97b35321e63c010 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Mon, 12 Jun 2017 18:44:36 -0400 Subject: add separate list of obsolete mods --- release-notes.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'release-notes.md') diff --git a/release-notes.md b/release-notes.md index e39ae3a8..f52e66cd 100644 --- a/release-notes.md +++ b/release-notes.md @@ -10,6 +10,12 @@ For mod developers: images). --> +## 1.15 +See [log](https://github.com/Pathoschild/SMAPI/compare/1.14...1.15). + +For players: +* SMAPI will no longer load mods known to be obsolete or unneeded. + ## 1.14 See [log](https://github.com/Pathoschild/SMAPI/compare/1.13...1.14). -- cgit From cdac6dad7d163736ead307041e15857123e07951 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Sun, 18 Jun 2017 18:01:15 -0400 Subject: enable C# 7 tuples --- release-notes.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'release-notes.md') diff --git a/release-notes.md b/release-notes.md index f52e66cd..c75f0c19 100644 --- a/release-notes.md +++ b/release-notes.md @@ -16,6 +16,9 @@ See [log](https://github.com/Pathoschild/SMAPI/compare/1.14...1.15). For players: * SMAPI will no longer load mods known to be obsolete or unneeded. +For modders: +* Added `System.ValueTuple.dll` to the SMAPI install package so mods can use [C# 7 value tuples](https://docs.microsoft.com/en-us/dotnet/csharp/tuples). + ## 1.14 See [log](https://github.com/Pathoschild/SMAPI/compare/1.13...1.14). -- cgit From 3c3953a7fdca6e79f50a4a5474be69ca6aab6446 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Sun, 18 Jun 2017 18:18:04 -0400 Subject: add support for minimum dependency versions (#286) --- release-notes.md | 1 + 1 file changed, 1 insertion(+) (limited to 'release-notes.md') diff --git a/release-notes.md b/release-notes.md index c75f0c19..8a8aa46e 100644 --- a/release-notes.md +++ b/release-notes.md @@ -17,6 +17,7 @@ For players: * SMAPI will no longer load mods known to be obsolete or unneeded. For modders: +* You can now specify minimum dependency versions in `manifest.json`. * Added `System.ValueTuple.dll` to the SMAPI install package so mods can use [C# 7 value tuples](https://docs.microsoft.com/en-us/dotnet/csharp/tuples). ## 1.14 -- cgit From b46776a4fbabe765b81751f8c4984cdd8a207419 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Sun, 18 Jun 2017 22:08:56 -0400 Subject: enable string versions in manifest.json (#308) --- release-notes.md | 1 + 1 file changed, 1 insertion(+) (limited to 'release-notes.md') diff --git a/release-notes.md b/release-notes.md index 8a8aa46e..851e6abe 100644 --- a/release-notes.md +++ b/release-notes.md @@ -5,6 +5,7 @@ See [log](https://github.com/Pathoschild/SMAPI/compare/1.10...2.0). For mod developers: +* The manifest.json version can now be specified as a string. * Added `ContentEvents.AssetLoading` event with a helper which lets you intercept the XNB content load, and dynamically adjust or replace the content being loaded (including support for patching images). -- cgit From a011c28d4000f469327ac85f79b4801a432a498b Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Mon, 19 Jun 2017 01:05:43 -0400 Subject: make version parsing stricter, add unit tests for parsing (#309) --- release-notes.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'release-notes.md') diff --git a/release-notes.md b/release-notes.md index 851e6abe..67de304a 100644 --- a/release-notes.md +++ b/release-notes.md @@ -20,6 +20,9 @@ For players: For modders: * You can now specify minimum dependency versions in `manifest.json`. * Added `System.ValueTuple.dll` to the SMAPI install package so mods can use [C# 7 value tuples](https://docs.microsoft.com/en-us/dotnet/csharp/tuples). +* 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. + _(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`.)_ ## 1.14 See [log](https://github.com/Pathoschild/SMAPI/compare/1.13...1.14). -- cgit From 640a523eb4a63aa078db15b63ac6e01c6c15d53c Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Mon, 19 Jun 2017 02:12:18 -0400 Subject: when the ObjectInformation.xnb file is broken, print one error instead of a warning flood --- release-notes.md | 1 + 1 file changed, 1 insertion(+) (limited to 'release-notes.md') diff --git a/release-notes.md b/release-notes.md index 67de304a..f0e08e3a 100644 --- a/release-notes.md +++ b/release-notes.md @@ -16,6 +16,7 @@ See [log](https://github.com/Pathoschild/SMAPI/compare/1.14...1.15). For players: * SMAPI will no longer load mods known to be obsolete or unneeded. +* When the `ObjectInformation.xnb` is broken, SMAPI will now print one error to the console instead of a warning flood. (The individual issues are still listed in the log file if needed.) For modders: * You can now specify minimum dependency versions in `manifest.json`. -- cgit From 8d7b5b372657c0f96196cb2a902b2bdcce184fe4 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Mon, 26 Jun 2017 11:01:47 -0400 Subject: improve logging when SMAPI loads mods --- release-notes.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'release-notes.md') diff --git a/release-notes.md b/release-notes.md index f0e08e3a..d1f02588 100644 --- a/release-notes.md +++ b/release-notes.md @@ -17,10 +17,12 @@ See [log](https://github.com/Pathoschild/SMAPI/compare/1.14...1.15). For players: * SMAPI will no longer load mods known to be obsolete or unneeded. * When the `ObjectInformation.xnb` is broken, SMAPI will now print one error to the console instead of a warning flood. (The individual issues are still listed in the log file if needed.) +* Mods are now listed in alphabetical order in the log. For modders: * You can now specify minimum dependency versions in `manifest.json`. * Added `System.ValueTuple.dll` to the SMAPI install package so mods can use [C# 7 value tuples](https://docs.microsoft.com/en-us/dotnet/csharp/tuples). +* Improved trace logging when SMAPI loads mods. * 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. _(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`.)_ -- cgit From 6073d24cabe3fa93ddbba7e4a613e7342a8b20c2 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Mon, 26 Jun 2017 11:08:45 -0400 Subject: change manifest.MinimumApiVersion to ISemanticVersion --- release-notes.md | 1 + 1 file changed, 1 insertion(+) (limited to 'release-notes.md') diff --git a/release-notes.md b/release-notes.md index d1f02588..e5cfb7f8 100644 --- a/release-notes.md +++ b/release-notes.md @@ -23,6 +23,7 @@ For modders: * You can now specify minimum dependency versions in `manifest.json`. * Added `System.ValueTuple.dll` to the SMAPI install package so mods can use [C# 7 value tuples](https://docs.microsoft.com/en-us/dotnet/csharp/tuples). * Improved trace logging when SMAPI loads mods. +* Changed `manifest.MinimumApiVersion` from string to `ISemanticVersion`. * 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. _(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`.)_ -- cgit From a9958dac6acd23213649456fe4763f54d2672bcb Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Tue, 27 Jun 2017 11:22:36 -0400 Subject: clean up log output when loading mods --- release-notes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'release-notes.md') diff --git a/release-notes.md b/release-notes.md index e5cfb7f8..c76623b0 100644 --- a/release-notes.md +++ b/release-notes.md @@ -17,12 +17,12 @@ See [log](https://github.com/Pathoschild/SMAPI/compare/1.14...1.15). For players: * SMAPI will no longer load mods known to be obsolete or unneeded. * When the `ObjectInformation.xnb` is broken, SMAPI will now print one error to the console instead of a warning flood. (The individual issues are still listed in the log file if needed.) -* Mods are now listed in alphabetical order in the log. +* Cleaned up & sorted mod list in console log. For modders: * You can now specify minimum dependency versions in `manifest.json`. * Added `System.ValueTuple.dll` to the SMAPI install package so mods can use [C# 7 value tuples](https://docs.microsoft.com/en-us/dotnet/csharp/tuples). -* Improved trace logging when SMAPI loads mods. +* Cleaned up SMAPI logging when loading mods. * Changed `manifest.MinimumApiVersion` from string to `ISemanticVersion`. * 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. -- cgit From 7b6b2742f65ac1d2590357babc517b6cd9b69d04 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Tue, 27 Jun 2017 11:37:50 -0400 Subject: fix corrupted state exceptions not being logged by SMAPI --- release-notes.md | 1 + 1 file changed, 1 insertion(+) (limited to 'release-notes.md') diff --git a/release-notes.md b/release-notes.md index c76623b0..281c602c 100644 --- a/release-notes.md +++ b/release-notes.md @@ -27,6 +27,7 @@ For modders: * 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. _(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`.)_ +* Fixed corrupted state exceptions not being logged by SMAPI. ## 1.14 See [log](https://github.com/Pathoschild/SMAPI/compare/1.13...1.14). -- cgit From 306c044c4acce9a691360ff371909d9dd5711d99 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Sat, 1 Jul 2017 13:39:31 -0400 Subject: group skipped mods in console log --- release-notes.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'release-notes.md') diff --git a/release-notes.md b/release-notes.md index 281c602c..e5a4906a 100644 --- a/release-notes.md +++ b/release-notes.md @@ -15,9 +15,9 @@ For mod developers: See [log](https://github.com/Pathoschild/SMAPI/compare/1.14...1.15). For players: -* SMAPI will no longer load mods known to be obsolete or unneeded. -* When the `ObjectInformation.xnb` is broken, SMAPI will now print one error to the console instead of a warning flood. (The individual issues are still listed in the log file if needed.) -* Cleaned up & sorted mod list in console log. +* SMAPI no longer loads mods known to be obsolete or unneeded. +* SMAPI now lists mods in an easier-to-read format in the console. +* When the `ObjectInformation.xnb` is broken, SMAPI now prints one error to the console instead of a warning flood. (The individual issues are still listed in the log file if needed.) For modders: * You can now specify minimum dependency versions in `manifest.json`. -- cgit From 6364e162f22973201b9da69f76db512005a5501e Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Sat, 1 Jul 2017 23:39:23 -0400 Subject: update release notes (#255) --- release-notes.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'release-notes.md') diff --git a/release-notes.md b/release-notes.md index e5a4906a..816c2b68 100644 --- a/release-notes.md +++ b/release-notes.md @@ -6,9 +6,7 @@ See [log](https://github.com/Pathoschild/SMAPI/compare/1.10...2.0). For mod developers: * The manifest.json version can now be specified as a string. -* Added `ContentEvents.AssetLoading` event with a helper which lets you intercept the XNB content - load, and dynamically adjust or replace the content being loaded (including support for patching - images). +* SMAPI mods can now intercept and edit XNB images and data loaded by the game (see [API reference](http://stardewvalleywiki.com/Modding:SMAPI_APIs#Content)). --> ## 1.15 -- cgit From 40e8d3da0e204117d0a6de91b368ef420eb31df0 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Sun, 2 Jul 2017 17:37:30 -0400 Subject: migrate list_items command to new item repository (#302) --- release-notes.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'release-notes.md') diff --git a/release-notes.md b/release-notes.md index 816c2b68..e23a1e45 100644 --- a/release-notes.md +++ b/release-notes.md @@ -16,6 +16,8 @@ For players: * SMAPI no longer loads mods known to be obsolete or unneeded. * SMAPI now lists mods in an easier-to-read format in the console. * When the `ObjectInformation.xnb` is broken, SMAPI now prints one error to the console instead of a warning flood. (The individual issues are still listed in the log file if needed.) +* TrainerMod's `list_items` command now shows all item types in the game. You can search specific item types like `list_items weapons`, and use `list_item_types` to see a list of types. +* TrainerMod's `list_items` with search keywords now also searches items' translated names. For modders: * You can now specify minimum dependency versions in `manifest.json`. -- cgit From f904b3da9728ee51c76e95915b78623a7638de26 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Sun, 2 Jul 2017 18:17:20 -0400 Subject: add unified player_add command which adds any item type (#302) --- release-notes.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'release-notes.md') diff --git a/release-notes.md b/release-notes.md index e23a1e45..4b4a3447 100644 --- a/release-notes.md +++ b/release-notes.md @@ -16,8 +16,11 @@ For players: * SMAPI no longer loads mods known to be obsolete or unneeded. * SMAPI now lists mods in an easier-to-read format in the console. * When the `ObjectInformation.xnb` is broken, SMAPI now prints one error to the console instead of a warning flood. (The individual issues are still listed in the log file if needed.) -* TrainerMod's `list_items` command now shows all item types in the game. You can search specific item types like `list_items weapons`, and use `list_item_types` to see a list of types. -* TrainerMod's `list_items` with search keywords now also searches items' translated names. +* Revamped TrainerMod's item commands: + * `player_add` is a new command which lets you add any game item to your inventory (including tools, weapons, equipment, craftables, wallpaper, etc). This replaces the former `player_additem`, `player_addring`, and `player_addweapon`. + * `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. For modders: * You can now specify minimum dependency versions in `manifest.json`. -- cgit From e69d1615c4ff1cf93e51f83b66f7d32fe6baf942 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Sun, 2 Jul 2017 19:32:40 -0400 Subject: throw more useful error when JSON file is invalid (#314) --- release-notes.md | 1 + 1 file changed, 1 insertion(+) (limited to 'release-notes.md') diff --git a/release-notes.md b/release-notes.md index 4b4a3447..ae2f853d 100644 --- a/release-notes.md +++ b/release-notes.md @@ -21,6 +21,7 @@ For players: * `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. +* Added clearer error when a `config.json` is invalid. For modders: * You can now specify minimum dependency versions in `manifest.json`. -- cgit From 698328c52f60e6f825086585ef79f8c6eedb944e Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Sun, 2 Jul 2017 19:42:05 -0400 Subject: fix rare crash for some players when window loses focus (#306) --- release-notes.md | 1 + 1 file changed, 1 insertion(+) (limited to 'release-notes.md') diff --git a/release-notes.md b/release-notes.md index ae2f853d..b1917ef7 100644 --- a/release-notes.md +++ b/release-notes.md @@ -22,6 +22,7 @@ For players: * `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. * Added clearer error when a `config.json` is invalid. +* Fixed rare crash when window loses focus for a few players (further to fix in 1.14). For modders: * You can now specify minimum dependency versions in `manifest.json`. -- cgit From 0e6d30f65b562704675a20b1c4ce399787a68511 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Sun, 2 Jul 2017 20:51:49 -0400 Subject: further simplify console output for players --- release-notes.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'release-notes.md') diff --git a/release-notes.md b/release-notes.md index b1917ef7..b5a8a529 100644 --- a/release-notes.md +++ b/release-notes.md @@ -13,9 +13,7 @@ For mod developers: See [log](https://github.com/Pathoschild/SMAPI/compare/1.14...1.15). For players: -* SMAPI no longer loads mods known to be obsolete or unneeded. -* SMAPI now lists mods in an easier-to-read format in the console. -* When the `ObjectInformation.xnb` is broken, SMAPI now prints one error to the console instead of a warning flood. (The individual issues are still listed in the log file if needed.) +* Many changes to the SMAPI console to make it simpler for players. * Revamped TrainerMod's item commands: * `player_add` is a new command which lets you add any game item to your inventory (including tools, weapons, equipment, craftables, wallpaper, etc). This replaces the former `player_additem`, `player_addring`, and `player_addweapon`. * `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`. @@ -23,11 +21,13 @@ For players: * `list_item_types` is a new command to see a list of item types. * Added clearer error when a `config.json` is invalid. * Fixed rare crash when window loses focus for a few players (further to fix in 1.14). +* Fixed invalid `ObjectInformation.xnb` causing a flood of warnings; SMAPI now shows one error instead. +* Updated mod compatibility list. For modders: * You can now specify minimum dependency versions in `manifest.json`. * Added `System.ValueTuple.dll` to the SMAPI install package so mods can use [C# 7 value tuples](https://docs.microsoft.com/en-us/dotnet/csharp/tuples). -* Cleaned up SMAPI logging when loading mods. +* Added more useful trace logging when loading mods. * Changed `manifest.MinimumApiVersion` from string to `ISemanticVersion`. * 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. -- cgit From 6a628a4d8a21b98a55ff29065980fc818d4f39dc Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Sun, 2 Jul 2017 21:24:32 -0400 Subject: simplify log timestamps in console (except in developer mode) --- release-notes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'release-notes.md') diff --git a/release-notes.md b/release-notes.md index b5a8a529..c5d0ccef 100644 --- a/release-notes.md +++ b/release-notes.md @@ -13,7 +13,7 @@ For mod developers: See [log](https://github.com/Pathoschild/SMAPI/compare/1.14...1.15). For players: -* Many changes to the SMAPI console to make it simpler for players. +* Several changes to the SMAPI console to make it simpler for players. * Revamped TrainerMod's item commands: * `player_add` is a new command which lets you add any game item to your inventory (including tools, weapons, equipment, craftables, wallpaper, etc). This replaces the former `player_additem`, `player_addring`, and `player_addweapon`. * `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`. -- cgit From 8c1bf732ff6bbf2056b7416887354020d10a7ca9 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Sun, 2 Jul 2017 23:17:45 -0400 Subject: update readme & polish release notes for 1.15 --- release-notes.md | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'release-notes.md') diff --git a/release-notes.md b/release-notes.md index c5d0ccef..7a7045fc 100644 --- a/release-notes.md +++ b/release-notes.md @@ -6,7 +6,7 @@ See [log](https://github.com/Pathoschild/SMAPI/compare/1.10...2.0). For mod developers: * The manifest.json version can now be specified as a string. -* SMAPI mods can now intercept and edit XNB images and data loaded by the game (see [API reference](http://stardewvalleywiki.com/Modding:SMAPI_APIs#Content)). +* SMAPI mods can now edit XNB images and data loaded by the game (see [API reference](http://stardewvalleywiki.com/Modding:SMAPI_APIs#Content)). --> ## 1.15 @@ -15,25 +15,30 @@ See [log](https://github.com/Pathoschild/SMAPI/compare/1.14...1.15). For players: * Several changes to the SMAPI console to make it simpler for players. * Revamped TrainerMod's item commands: - * `player_add` is a new command which lets you add any game item to your inventory (including tools, weapons, equipment, craftables, wallpaper, etc). This replaces the former `player_additem`, `player_addring`, and `player_addweapon`. + * `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`. * `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. -* Added clearer error when a `config.json` is invalid. +* Fixed unhelpful error when a `config.json` is invalid. * Fixed rare crash when window loses focus for a few players (further to fix in 1.14). * Fixed invalid `ObjectInformation.xnb` causing a flood of warnings; SMAPI now shows one error instead. * Updated mod compatibility list. For modders: -* You can now specify minimum dependency versions in `manifest.json`. +* Added `SDate` utility for in-game date calculations (see [API reference](http://stardewvalleywiki.com/Modding:SMAPI_APIs#Dates)). +* Added support for minimum dependency versions in `manifest.json` (see [API reference](http://stardewvalleywiki.com/Modding:SMAPI_APIs#Manifest)). * Added `System.ValueTuple.dll` to the SMAPI install package so mods can use [C# 7 value tuples](https://docs.microsoft.com/en-us/dotnet/csharp/tuples). -* Added more useful trace logging when loading mods. -* Changed `manifest.MinimumApiVersion` from string to `ISemanticVersion`. +* Added more useful logging when loading mods. +* Changed `manifest.MinimumApiVersion` from string to `ISemanticVersion`. This shouldn't affect mods unless they referenced that field in code. * 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. _(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`.)_ * Fixed corrupted state exceptions not being logged by SMAPI. +For SMAPI developers: +* 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). + ## 1.14 See [log](https://github.com/Pathoschild/SMAPI/compare/1.13...1.14). -- cgit From 771263299cae11d464c25c5291e59507c639e822 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Mon, 3 Jul 2017 01:03:13 -0400 Subject: add SMAPI 2.0 compile mode --- release-notes.md | 1 + 1 file changed, 1 insertion(+) (limited to 'release-notes.md') diff --git a/release-notes.md b/release-notes.md index 7a7045fc..94106ba6 100644 --- a/release-notes.md +++ b/release-notes.md @@ -36,6 +36,7 @@ For modders: * Fixed corrupted state exceptions not being logged by SMAPI. For SMAPI developers: +* Added SMAPI 2.0 compile mode, for testing how mods will work with SMAPI 2.0. * 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). -- cgit From 136525b40df5d47b8e398a394af081e19efcf86c Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Mon, 3 Jul 2017 01:29:56 -0400 Subject: remove System.ValueTuple This caused reference errors on Linux/Mac, and there aren't enough use cases to look into it further for now. --- release-notes.md | 1 - 1 file changed, 1 deletion(-) (limited to 'release-notes.md') diff --git a/release-notes.md b/release-notes.md index 94106ba6..c1efc5ae 100644 --- a/release-notes.md +++ b/release-notes.md @@ -27,7 +27,6 @@ For players: For modders: * Added `SDate` utility for in-game date calculations (see [API reference](http://stardewvalleywiki.com/Modding:SMAPI_APIs#Dates)). * Added support for minimum dependency versions in `manifest.json` (see [API reference](http://stardewvalleywiki.com/Modding:SMAPI_APIs#Manifest)). -* Added `System.ValueTuple.dll` to the SMAPI install package so mods can use [C# 7 value tuples](https://docs.microsoft.com/en-us/dotnet/csharp/tuples). * Added more useful logging when loading mods. * Changed `manifest.MinimumApiVersion` from string to `ISemanticVersion`. This shouldn't affect mods unless they referenced that field in code. * Fixed `SemanticVersion` parsing some invalid versions into close approximations (like `1.apple` → `1.0-apple`). -- cgit From 7cb523cd49ad7872ffff396444f52756d958ca7e Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Mon, 3 Jul 2017 14:09:26 -0400 Subject: bump all deprecation levels to 'pending removal' --- release-notes.md | 1 + 1 file changed, 1 insertion(+) (limited to 'release-notes.md') diff --git a/release-notes.md b/release-notes.md index c1efc5ae..e34990aa 100644 --- a/release-notes.md +++ b/release-notes.md @@ -33,6 +33,7 @@ For modders: * Fixed `SemanticVersion` not treating hyphens as separators when comparing prerelease tags. _(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`.)_ * Fixed corrupted state exceptions not being logged by SMAPI. +* Increased all deprecations to _pending removal_. For SMAPI developers: * Added SMAPI 2.0 compile mode, for testing how mods will work with SMAPI 2.0. -- cgit From 18e5e42529e13f21553651014a93c0f48cd93a59 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Mon, 3 Jul 2017 14:26:45 -0400 Subject: defer some console changes until SMAPI 2.0 --- release-notes.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'release-notes.md') diff --git a/release-notes.md b/release-notes.md index e34990aa..0d34e8e0 100644 --- a/release-notes.md +++ b/release-notes.md @@ -4,21 +4,24 @@ ## 2.0 See [log](https://github.com/Pathoschild/SMAPI/compare/1.10...2.0). +For players: +* The SMAPI console is now cleaner and simpler. + For mod developers: -* The manifest.json version can now be specified as a string. * SMAPI mods can now edit XNB images and data loaded by the game (see [API reference](http://stardewvalleywiki.com/Modding:SMAPI_APIs#Content)). +* The manifest.json version can now be specified as a string. --> ## 1.15 See [log](https://github.com/Pathoschild/SMAPI/compare/1.14...1.15). For players: -* Several changes to the SMAPI console to make it simpler for players. * Revamped TrainerMod's item commands: * `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`. * `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. +* Cleaned up SMAPI console a bit. * Fixed unhelpful error when a `config.json` is invalid. * Fixed rare crash when window loses focus for a few players (further to fix in 1.14). * Fixed invalid `ObjectInformation.xnb` causing a flood of warnings; SMAPI now shows one error instead. -- cgit From 72c9e956e7b7012a503af0c77434105785a84ef4 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Mon, 3 Jul 2017 14:29:22 -0400 Subject: add SMAPI 2.0 release notes --- release-notes.md | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'release-notes.md') diff --git a/release-notes.md b/release-notes.md index 0d34e8e0..2283d6d1 100644 --- a/release-notes.md +++ b/release-notes.md @@ -1,16 +1,14 @@ # Release notes - - For players: -* The SMAPI console is now cleaner and simpler. +* The SMAPI console is now much simpler and easier-to-read. For mod developers: -* SMAPI mods can now edit XNB images and data loaded by the game (see [API reference](http://stardewvalleywiki.com/Modding:SMAPI_APIs#Content)). -* The manifest.json version can now be specified as a string. ---> +* SMAPI mods can now edit XNB images & data loaded by the game (see [API reference](http://stardewvalleywiki.com/Modding:SMAPI_APIs#Content)). +* SMAPI mods can now inject new XNB images & data (see [API reference](http://stardewvalleywiki.com/Modding:SMAPI_APIs#Content)). +* The `manifest.json` version can now be specified as a string. ## 1.15 See [log](https://github.com/Pathoschild/SMAPI/compare/1.14...1.15). -- cgit From 8d301162d87558826ed8fc8f2352800bf674ddf0 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Wed, 5 Jul 2017 15:41:58 -0400 Subject: add InputEvents which unify keyboard, mouse, and controller input with more metadata (#316) --- release-notes.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'release-notes.md') diff --git a/release-notes.md b/release-notes.md index 2283d6d1..5d906f6c 100644 --- a/release-notes.md +++ b/release-notes.md @@ -6,8 +6,10 @@ For players: * The SMAPI console is now much simpler and easier-to-read. For mod developers: -* SMAPI mods can now edit XNB images & data loaded by the game (see [API reference](http://stardewvalleywiki.com/Modding:SMAPI_APIs#Content)). -* SMAPI mods can now inject new XNB images & data (see [API reference](http://stardewvalleywiki.com/Modding:SMAPI_APIs#Content)). +* Added API to edit XNB images & data loaded by the game (see [API reference](http://stardewvalleywiki.com/Modding:SMAPI_APIs#Content)). +* Added API to inject new XNB images & data (see [API reference](http://stardewvalleywiki.com/Modding:SMAPI_APIs#Content)). +* 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)). +* Added useful `InputEvents` metadata like the cursor position, grab tile, etc. * The `manifest.json` version can now be specified as a string. ## 1.15 -- cgit From f14b3399a42336000f32a72f7674791896f03cb7 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Wed, 5 Jul 2017 16:06:57 -0400 Subject: update 2.0 release notes --- release-notes.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'release-notes.md') diff --git a/release-notes.md b/release-notes.md index 5d906f6c..dcc21aaf 100644 --- a/release-notes.md +++ b/release-notes.md @@ -10,7 +10,9 @@ For mod developers: * Added API to inject new XNB images & data (see [API reference](http://stardewvalleywiki.com/Modding:SMAPI_APIs#Content)). * 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)). * Added useful `InputEvents` metadata like the cursor position, grab tile, etc. +* Added ability to prevent the game from handling a button press via `InputEvents`. * The `manifest.json` version can now be specified as a string. +* Removed all deprecated code. ## 1.15 See [log](https://github.com/Pathoschild/SMAPI/compare/1.14...1.15). -- cgit From d928bf188e9ab171223bc07d7209d2887d954642 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Thu, 6 Jul 2017 17:46:04 -0400 Subject: add optional mod dependencies in SMAPI 2.0 (#287) --- release-notes.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'release-notes.md') diff --git a/release-notes.md b/release-notes.md index dcc21aaf..ca0e00f7 100644 --- a/release-notes.md +++ b/release-notes.md @@ -11,7 +11,9 @@ For mod developers: * 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)). * Added useful `InputEvents` metadata like the cursor position, grab tile, etc. * Added ability to prevent the game from handling a button press via `InputEvents`. -* The `manifest.json` version can now be specified as a string. +* In `manifest.json`: + * Dependencies can now be optional. + * The version can now be a string like `"1.0-alpha"` instead of a structure. * Removed all deprecated code. ## 1.15 -- cgit From 464a18de787b6861c4020945154b4f2b695c911f Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Fri, 7 Jul 2017 14:22:28 -0400 Subject: update release notes (#318) --- release-notes.md | 1 + 1 file changed, 1 insertion(+) (limited to 'release-notes.md') diff --git a/release-notes.md b/release-notes.md index ca0e00f7..5513d36a 100644 --- a/release-notes.md +++ b/release-notes.md @@ -35,6 +35,7 @@ For modders: * Added `SDate` utility for in-game date calculations (see [API reference](http://stardewvalleywiki.com/Modding:SMAPI_APIs#Dates)). * Added support for minimum dependency versions in `manifest.json` (see [API reference](http://stardewvalleywiki.com/Modding:SMAPI_APIs#Manifest)). * Added more useful logging when loading mods. +* Added a `ModID` property to all mod helpers for extension methods. * Changed `manifest.MinimumApiVersion` from string to `ISemanticVersion`. This shouldn't affect mods unless they referenced that field in code. * 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. -- cgit From e61f060b965150a0dccfd032871fe905097881fd Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Fri, 7 Jul 2017 16:58:55 -0400 Subject: simplify stardewvalley.targets support, add to release notes (#319) --- release-notes.md | 1 + 1 file changed, 1 insertion(+) (limited to 'release-notes.md') diff --git a/release-notes.md b/release-notes.md index 5513d36a..6fac3b73 100644 --- a/release-notes.md +++ b/release-notes.md @@ -47,6 +47,7 @@ For SMAPI developers: * Added SMAPI 2.0 compile mode, for testing how mods will work with SMAPI 2.0. * 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). +* Compiling SMAPI now uses your `~/stardewvalley.targets` file if present. ## 1.14 See [log](https://github.com/Pathoschild/SMAPI/compare/1.13...1.14). -- cgit From d426d724984704ec43bb3a264bf15fd81fb28d77 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Fri, 7 Jul 2017 17:20:09 -0400 Subject: update for 1.15 release --- release-notes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'release-notes.md') diff --git a/release-notes.md b/release-notes.md index 6fac3b73..6b860f4f 100644 --- a/release-notes.md +++ b/release-notes.md @@ -20,12 +20,12 @@ For mod developers: See [log](https://github.com/Pathoschild/SMAPI/compare/1.14...1.15). For players: +* Cleaned up SMAPI console a bit. * Revamped TrainerMod's item commands: * `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`. * `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. -* Cleaned up SMAPI console a bit. * Fixed unhelpful error when a `config.json` is invalid. * Fixed rare crash when window loses focus for a few players (further to fix in 1.14). * Fixed invalid `ObjectInformation.xnb` causing a flood of warnings; SMAPI now shows one error instead. -- cgit