@@ -7,17 +7,22 @@ v 3.0.0 July 18 2024
7
7
* Added `ChatMode`, `UIMode`, and `IsSteamDeck` to `LogOnDetails`.
8
8
* Added `DepotManifest.Serialize`.
9
9
* Added `SteamClient.WaitForCallbackAsync` and `CallbackManager.RunWaitCallbackAsync`.
10
+ * Added `cdnAuthToken` parameter to `CDN.Client` method for country specific servers that still require it.
10
11
* Updated Steam enums and protobufs.
11
12
* Various performance and memory optimizations.
12
13
13
14
BREAKING CHANGES
14
15
* SteamKit now targets .NET 8.
15
16
* `SteamClient` callback queue is now backed by `BufferBlock`:
16
17
* `FreeLastCallback` and `GetAllCallbacks` have been removed.
17
- * Calling `GetCallback` and `WaitForCallback` now always dequeues a callback, there is no more peek and "freeLast".
18
+ * Calling `GetCallback` and `WaitForCallback` now always dequeues a callback, there is no more peek and "freeLast".
19
+ * `CallbackManager.RunCallbacks` now returns bool indicating whether a callback was handled.
18
20
* `DepotManifest.ChunkData.Checksum` is now a `uint` instead of `byte[4]`.
19
21
* `DepotManifest.SaveToFile` now returns void.
20
- * `CallbackManager.RunCallbacks` now returns bool indicating whether a callback was handled.
22
+ * `CDN.Client.DownloadDepotChunkAsync` now requires a mandatory destination buffer.
23
+ * Returns the number of written bytes to the destination.
24
+ * You can rent a buffer like `ArrayPool<byte>.Shared.Rent((int)chunk.UncompressedLength)`
25
+ * `DepotChunk` is now a static class that only contains a `Process` method.
21
26
* Removed obsolete methods and enum values.
22
27
* Removed Artifact and Underlords generated protobufs.
23
28
* Removed `SteamTrading` handler.
0 commit comments