SteamKit 2.4.0-Beta.1
Pre-release
Pre-release
- Added
CallProtobufAsync<T>
method to WebAPI to deserialize response as Protobuf instead of KeyValues. (#1021) - Added
SteamChinaOnly
flag to CDN server objects. (#1021) - Added new APIs to allow consumers to provide their own machine info. (#1028)
- Added
SteamUser.VanityUrlChangedCallback
. (#1035) - Added
SteamApps.PurchaseResponseCallback
. (#1033) - Added
SteamApps.RedeemGuestPassResponseCallback
. (#1033) - Added new
SteamContent
handler. (#1022, #1060) - Added the ability to set
ClientMsgProtoBuf<T>.Body
. (#1036) - SteamKit2 now ships a net6.0 assembly as well as a netstandard2.0 assembly. (#1049)
- Changed thread names to not get truncated on Linux. (#1015)
- Changed message handler exception handling to log the full
Exception
object rather than just the message. (#1052) - Changed the implementation of
SteamUnifiedMessages
to use the newer message protocol under the hood. (#1036) - Fixed
IDebugNetworkListener
not being given encryption handshake messages. (#1038) - Fixed a possible unhandled exception when opening a TCP connection. (#1047)
- Fixed the
UnobservedTaskException
event being triggered on .NET 6 if a TCP connection times out. (#1050) - Fixed WebSocket connections constructing an incorrect IPv6 URI. (#1055)
- Fixed
DisconnectedCallback.UserInitiated
being true when a connection was terminated due to an internal error. (#1053) - Removed some DebugLog spam from WebSocket connections. (#1040)
- Updated Protobufs. (#1008, #1020, #1025, #1059)
BREAKING CHANGES
- Changed
SteamApps.GetPICSProductInfo
signature to now usePICSRequest
objects. (#1009) - Removed some old non-Protobuf messages. (#1037)
- Updated nullability to match latest BCL annotations and to fix .NET 6 SDK analysis warnings. (#1049)
SteamClient.AddHandler
will now throw anArgumentNullException
if the handler is null, rather than crashing on aNullReferenceException
. (#1049)- WebAPI will now throw an
ArgumentException
if themethod
parameter isnull
, rather than crashing on aNullReferenceException
. (#1049) - CDN timeouts options are now properties instead of fields. (#1049)
CDNClient
has been heavily refactored and is nowSteamKit2.CDN.Client
. (#1022)ClientMsgProtobuf
can now only be constructed from aPacketClientMsgProtobuf
. (#1036)- Removed
IClientMsg.Deserialize(...)
and implementations. (#1036) - Removed
ServiceMethodResponse.ResponseRaw
. (#1036) CDN.Server.AllowedAppIds
is now not-nullable. Check for empty instead. (#1021)