Skip to content

Releases: SteamRE/SteamKit

SteamKit 2.2.0

27 Jun 01:54
Compare
Choose a tag to compare
  • Added an overload of SteamDirectory.LoadAsync that accepts a maximum number of servers to return. (#577)
  • Added ServerRecord.TryCreateSocketServer to try parse a record from a string. (#578)
  • Added support for initializing a GameID for mods and shortcuts. (#602)
  • Added response details for some failed WebAPI responses. WebAPI can now throw a WebAPIRequestException with further details. (#603)
  • Added customization options to SteamKit's underlying HTTP stack. (#605)
  • Added WalletInfoCallback.Balance64 for large Steam Wallet balances. (#607)
  • Added more details to DepotManifest. (#615)
  • Added SteamKit version to default HTTP user agent. (#620)
  • Added overloads for CDNClient.DownloadManifestAsync and CDNClient.DownloadDepotChunkAsync for advanced consumers that perform their own server and key management. (#678)
  • Added ContentServerDirectoryService for the discovery of ContentServers. (#699)
  • The dynamic interface for WebAPI can now take a single un-named argument of IDictionary<string, object> instead of having to pass each argument as a named parameter. (#675)
  • Fixed concurrency issues with UDP connections.
  • Fixed final fallback connection to Steam when server list is unavailable. (#597)
  • Fixed thread safety issues in message deserialization. (#601)
  • Fixed a crash on logon when network adapter information is not available from the underlying runtime. (#630)
  • Fixed downloaded content silently ignoring a length mismatch. An exception will now be thrown in this case. (#632)
  • Fixed WebSocket CM servers not being marked as bad by the server list, and thus not being ignored on subsequent connection attempts. (#634)
  • Updated Steam protocol version. (#568)
  • Updated Steam enums and protobufs. (#565, #569, #576, #660, #698)

BREAKING CHANGES

  • WebAPI now takes a arguments dictionary as Dictionary<string, object>, rather than Dictionary<string, string>. (#668)
    • Arguments of type byte[] are encoded to a URL safe representation.
    • Arguments of value null are treated as empty strings.
    • All other arguments are converted to string by calling object.ToString() and encoded to a URL safe representation.

SteamKit 2.2.0-Beta.3

20 May 08:10
Compare
Choose a tag to compare
SteamKit 2.2.0-Beta.3 Pre-release
Pre-release

Same as Beta 2 but fixed a bug with encoding byte[] parameters in WebAPI.

SteamKit 2.2.0-Beta.2

15 May 09:23
Compare
Choose a tag to compare
SteamKit 2.2.0-Beta.2 Pre-release
Pre-release
  • Added overloads for CDNClient.DownloadManifestAsync and CDNClient.DownloadDepotChunkAsync for advanced consumers that perform their own server and key management. (#678)
  • The dynamic interface for WebAPI can now take a single un-named argument of IDictionary<string, object> instead of having to pass each argument as a named parameter. (#675)
  • Updated Steam enums. (#660)

BREAKING CHANGES

  • WebAPI now takes a arguments dictionary as Dictionary<string, object>, rather than Dictionary<string, string>. (#668)
    • Arguments of type byte[] are encoded to a URL safe representation.
    • Arguments of value null are treated as empty strings.
    • All other arguments are converted to string by calling object.ToString() and encoded to a URL safe representation.

SteamKit 2.2.0-Beta.1

09 Feb 23:50
Compare
Choose a tag to compare
SteamKit 2.2.0-Beta.1 Pre-release
Pre-release
  • Added an overload of SteamDirectory.LoadAsync that accepts a maximum number of servers to return. (#577)
  • Added ServerRecord.TryCreateSocketServer to try parse a record from a string. (#578)
  • Added support for initializing a GameID for mods and shortcuts. (#602)
  • Added response details for some failed WebAPI responses. WebAPI can now throw a WebAPIRequestException with further details. (#603)
  • Added customization options to SteamKit's underlying HTTP stack. (#605)
  • Added WalletInfoCallback.Balance64 for large Steam Wallet balances. (#607)
  • Added more details to DepotManifest. (#615)
  • Added SteamKit version to default HTTP user agent. (#620)
  • Fixed concurrency issues with UDP connections.
  • Fixed final fallback connection to Steam when server list is unavailable. (#597)
  • Fixed thread safety issues in message deserialization. (#601)
  • Fixed a crash on logon when network adapter information is not available from the underlying runtime. (#630)
  • Fixed downloaded content silently ignoring a length mismatch. An exception will now be thrown in this case. (#632)
  • Fixed WebSocket CM servers not being marked as bad by the server list, and thus not being ignored on subsequent connection attempts. (#634)
  • Updated Steam protocol version; (#568)
  • Updated Steam enums and protobufs. (#565, #569, #576)

SteamKit 2.1.0

13 Jun 09:59
Compare
Choose a tag to compare
  • Added SimpleConsoleDebugListener. (#219)
  • Added helper methods to convert between Clan (Group) SteamIDs and their corresponding Chat SteamIDs. (#451)
  • Added SourceLink to enable consumers to step through SteamKit's source code when debugging. (#542)
    • This requires Visual Studio v15.3 or higher.
  • Fixed several possible crashes. (#260, #294, #506)
  • Fixed NuGet package description. (#508)
  • Fixed UFSClient sending an extra DisconnectedCallback when connecting. (#509)
  • Updated Steam enums and protobufs.

BREAKING CHANGES

  • SteamFriends.SetPersonaName() and SteamFriends.SetPersonaState() are no longer Job-based. (#491)

SteamKit 2.1.0-Beta.1

27 May 07:02
Compare
Choose a tag to compare
SteamKit 2.1.0-Beta.1 Pre-release
Pre-release
  • Added SimpleConsoleDebugListener. (#219)
  • Added helper methods to convert between Clan (Group) SteamIDs and their corresponding Chat SteamIDs. (#451)
  • Added SourceLink to enable consumers to step through SteamKit's source code when debugging. (#542)
    • This requires Visual Studio v15.3 or higher.
  • Fixed several possible crashes. (#260, #294, #506)
  • Fixed NuGet package description. (#508)
  • Fixed UFSClient sending an extra DisconnectedCallback when connecting. (#509)

BREAKING CHANGES

  • SteamFriends.SetPersonaName() and SteamFriends.SetPersonaState() are no longer Job-based. (#491)

SteamKit 2.0.0

17 Dec 01:50
Compare
Choose a tag to compare
  • SteamKit 2.0 now targets .NET Standard 2.0. This means it now requires .NET Framework 4.6.1 or higher, .NET Core 2.0 or higher, or any other .NET Standard 2.0-compatible runtime.
  • Added support for WebSocket client connections.
    • Server List treats WebSocket, TCP and UDP independently, even for the same server.
    • If a server is not reachable on TCP, SteamKit will still attempt UDP and vice-versa.
  • Added SteamConfiguration, which replaces the previous assortment of individual configuration properties and parameters.
    • If the SteamConfiguration permits both TCP and UDP, both can now be used (depending on server ranking). (#417)
    • See the Breaking Changes section below for further details.
  • Added ArgumentNullException to the public API surface when passing null into methods that would have previously triggered a NullReferenceException.
  • Added HTTPS support to CDNClient.
  • Updated Protobuf message classes to expose a property indicating if any wire value was specified or not, and a method to clear the value.
  • Updated game-related GC messages and protobufs. (#459, #460)
  • Updated Steam enums and protobufs. (#456, #457, #458, #463)
  • Fixed no callback being fired when calling SteamUserStats.GetLeaderboardEntries. (#421)
  • Fixed a crash if we encountered a message that's too small to actually contain a message.
  • Fixed user's name being changed to [unassigned] if SteamFriends.SetPersonaState() is called too early. (#442)
  • Fixed order of handlers being non-deterministic. (#442)
  • Fixed exception when using SteamUnifiedMessages.UnifiedService<>.SendMessage. (#469)
  • Fixed a potential deadlock when awaiting an AsyncJob. (#481)
  • Fixed TCP connections not being correctly flagged in the server list. (#488)
  • Fixed TCP disconnections not being correctly flagged as user-initiated. (#488)

BREAKING CHANGES

  • Removed all methods and properties that were marked as [Obsolete].
  • The SteamClient constructor now accepts a SteamConfiguration object, which is a container for various configuration settings.
    • If you were using the SteamClient constructor to specify a specific protocol type (TCP or UDP), use SteamConfiguration instead.
    • If you were using various properties to modify timeouts etc., use SteamConfiguration instead.
    • If you do not provide a SteamConfiguration when constructing a SteamClient, the server list will be private to that SteamClient instance.
    • If you create multiple clients from a single configuration, the server list will be shared among those clients.
    • SteamClient.ConnectedUniverse is now SteamClient.Universe. This is now set from the configuration, and is no longer EUniverse.Invalid when not connected.
    • SteamClient.ConnectionTimeout is now read-only. Setting this property is now performed on SteamConfiguration.
  • Removed SteamClient.ConnectedCallback.EResult, as it could only ever be EResult.OK.
  • Servers are now represented by ServerRecord objects, not IP addresses.
    • CMListCallback now returns a collection of ServerRecord objects, not IP addresses. (#434)
    • CMListCallback now also includes WebSocket servers. (#434)
    • SteamClient.Connect now optionally accepts a ServerRecord instead of optionally accepting an IPEndPoint. You can create a ServerRecord for a particular protocol type or set of protocol types.
    • IServerListProvider now deals with ServerRecords instead of IPEndPoints.
  • Disabling server list fetching from the directory is now done via SteamConfiguration instead of SmartCMServerList.
  • SteamDirectory helper methods now accept a SteamConfiguration rather than just a cellid.
  • SteamFriends.GetPersonaName(), SteamFriends.GetFriendPersonaName and SteamFriends.GetClanName can all now return null if the value is unknown. (#443)
  • WebAPI used to throw a WebException on non-success status code, or other failure. It now throws HttpRequestException. (#446)
  • CDNClient and WebAPI now expose Task-based asynchronous methods. This replaces the previous synchronous methods.
  • SteamID.ToString() now prints a Steam3 string by default. For the older Steam2 STEAM_X:Y:Z format, use SteamID.Render(). (#471)
  • The default argument of SteamID.Render(bool) has been changed to render Steam3 by default instead of Steam2. (#471)
  • Async job continuations are no longer invoked on the CallbackMgr thread. (#481)

SteamKit 2.0.0-Beta.2

03 Dec 03:10
Compare
Choose a tag to compare
SteamKit 2.0.0-Beta.2 Pre-release
Pre-release
  • Fixed a potential deadlock when awaiting an AsyncJob. (#481)
  • Fixed TCP connections not being correctly flagged in the server list. (#488)
  • Fixed TCP disconnections not being correctly flagged as user-initiated. (#488)
  • Added hashing and equality support to ServerRecord. (#476)
  • Added HTTPS support to CDNClient.
  • Updated package dependency Microsoft.Win32.Registry. (#470)
  • Updated Steam enums (#463)

BREAKING CHANGES

  • SteamID.ToString() now prints a Steam3 string by default. For the older Steam2 STEAM_X:Y:Z format, use SteamID.Render(). (#471)
  • The default argument of SteamID.Render(bool) has been changed to render Steam3 by default instead of Steam2. (#471)
  • Async job continuations are no longer invoked on the CallbackMgr thread. (#481)

SteamKit 2.0.0-Beta.1

14 Oct 11:50
Compare
Choose a tag to compare
SteamKit 2.0.0-Beta.1 Pre-release
Pre-release
  • SteamKit 2.0 now targets .NET Standard 2.0. This means it now requires .NET Framework 4.6.1 or higher, .NET Core 2.0 or higher, or any other .NET Standard 2.0-compatible runtime.
  • Added support for WebSocket client connections.
    • Server List treats WebSocket, TCP and UDP independently, even for the same server.
    • If a server is not reachable on TCP, SteamKit will still attempt UDP and vice-versa.
  • Added SteamConfiguration, which replaces the previous assortment of individual configuration properties and parameters.
    • If the SteamConfiguration permits both TCP and UDP, both can now be used (depending on server ranking). (#417)
    • See the Breaking Changes section below for further details.
  • Added ArgumentNullException to the public API surface when passing null into methods that would have previously triggered a NullReferenceException.
  • Updated Protobuf message classes to expose a property indicating if any wire value was specified or not, and a method to clear the value.
  • Updated game-related GC messages and protobufs. (#459, #460)
  • Updated Steam enums and protobufs. (#456, #457, #458)
  • Fixed no callback being fired when calling SteamUserStats.GetLeaderboardEntries. (#421)
  • Fixed a crash if we encountered a message that's too small to actually contain a message.
  • Fixed user's name being changed to [unassigned] if SteamFriends.SetPersonaState() is called too early. (#442)
  • Fixed order of handlers being non-deterministic. (#442)
  • Fixed exception when using SteamUnifiedMessages.UnifiedService<>.SendMessage. (#469)

BREAKING CHANGES

  • Removed all methods and properties that were marked as [Obsolete].
  • The SteamClient constructor now accepts a SteamConfiguration object, which is a container for various configuration settings.
    • If you were using the SteamClient constructor to specify a specific protocol type (TCP or UDP), use SteamConfiguration instead.
    • If you were using various properties to modify timeouts etc., use SteamConfiguration instead.
    • If you do not provide a SteamConfiguration when constructing a SteamClient, the server list will be private to that SteamClient instance.
    • If you create multiple clients from a single configuration, the server list will be shared among those clients.
    • SteamClient.ConnectedUniverse is now SteamClient.Universe. This is now set from the configuration, and is no longer EUniverse.Invalid when not connected.
    • SteamClient.ConnectionTimeout is now read-only. Setting this property is now performed on SteamConfiguration.
  • Removed SteamClient.ConnectedCallback.EResult, as it could only ever be EResult.OK.
  • Servers are now represented by ServerRecord objects, not IP addresses.
    • CMListCallback now returns a collection of ServerRecord objects, not IP addresses. (#434)
    • CMListCallback now also includes WebSocket servers. (#434)
    • SteamClient.Connect now optionally accepts a ServerRecord instead of optionally accepting an IPEndPoint. You can create a ServerRecord for a particular protocol type or set of protocol types.
    • IServerListProvider now deals with ServerRecords instead of IPEndPoints.
  • Disabling server list fetching from the directory is now done via SteamConfiguration instead of SmartCMServerList.
  • SteamDirectory helper methods now accept a SteamConfiguration rather than just a cellid.
  • SteamFriends.GetPersonaName(), SteamFriends.GetFriendPersonaName and SteamFriends.GetClanName can all now return null if the value is unknown. (#443)
  • WebAPI used to throw a WebException on non-success status code, or other failure. It now throws HttpRequestException. (#446)
  • CDNClient and WebAPI now expose Task-based asynchronous methods. This replaces the previous synchronous methods.

SteamKit 2.0.0-Alpha10

07 Oct 12:33
Compare
Choose a tag to compare
Pre-release
  • Fixed crash when reconnecting an existing SteamClient instance. (#464)