fix merge, update release notes

This commit is contained in:
Jesse Plamondon-Willard 2020-06-15 22:14:17 -04:00
parent e759332135
commit 6d1cd7d9b8
No known key found for this signature in database
GPG Key ID: CF8B1456B3E29F49
2 changed files with 3 additions and 1 deletions

View File

@ -18,6 +18,7 @@
* For modders: * For modders:
* Migrated to Harmony 2.0 (see [_migrate to Harmony 2.0_](https://stardewvalleywiki.com/Modding:Migrate_to_Harmony_2.0) for more info). * Migrated to Harmony 2.0 (see [_migrate to Harmony 2.0_](https://stardewvalleywiki.com/Modding:Migrate_to_Harmony_2.0) for more info).
* Added [event priorities](https://stardewvalleywiki.com/Modding:Modder_Guide/APIs/Events#Custom_priority) (thanks to spacechase0!).
* Added [update subkeys](https://stardewvalleywiki.com/Modding:Modder_Guide/APIs/Update_checks#Update_subkeys). * Added [update subkeys](https://stardewvalleywiki.com/Modding:Modder_Guide/APIs/Update_checks#Update_subkeys).
* Added `Multiplayer.PeerConnected` event. * Added `Multiplayer.PeerConnected` event.
* Added ability to override update keys from the compatibility list. * Added ability to override update keys from the compatibility list.
@ -29,6 +30,7 @@
* Fixed `helper.Reflection` blocking access to game methods/properties that were extended by SMAPI. * Fixed `helper.Reflection` blocking access to game methods/properties that were extended by SMAPI.
* Fixed asset propagation for Gil's portraits. * Fixed asset propagation for Gil's portraits.
* Fixed `.pdb` files ignored for error stack traces for mods rewritten by SMAPI. * Fixed `.pdb` files ignored for error stack traces for mods rewritten by SMAPI.
* Fixed `ModMessageReceived` event handlers not tracked for performance monitoring.
* For SMAPI developers: * For SMAPI developers:
* Eliminated MongoDB storage in the web services, which complicated the code unnecessarily. The app still uses an abstract interface for storage, so we can wrap a distributed cache in the future if needed. * Eliminated MongoDB storage in the web services, which complicated the code unnecessarily. The app still uses an abstract interface for storage, so we can wrap a distributed cache in the future if needed.

View File

@ -19,7 +19,7 @@ namespace StardewModdingAPI.Framework.Events
/// <summary>Raised after a peer connection is approved by the game.</summary> /// <summary>Raised after a peer connection is approved by the game.</summary>
public event EventHandler<PeerConnectedEventArgs> PeerConnected public event EventHandler<PeerConnectedEventArgs> PeerConnected
{ {
add => this.EventManager.PeerConnected.Add(value); add => this.EventManager.PeerConnected.Add(value, this.Mod);
remove => this.EventManager.PeerConnected.Remove(value); remove => this.EventManager.PeerConnected.Remove(value);
} }