SuperSocket.Connection 2.0.1

Release Note: SuperSocket 2.0.1

Overview

SuperSocket 2.0.1 is a maintenance release that addresses several stability issues, improves performance, enhances dependency injection support, and adds more comprehensive documentation through XML comments.

Key Improvements

Stability and Bug Fixes

  • Fixed the middleware session handling for proper session rejection (#796)
  • Resolved several issues with SocketSender that were causing ArgumentOutOfRangeException (#794, #65af03d)
  • Used pipe scheduler to run continuation actions in SocketSender for better reliability (#798)
  • Fixed order-dependent issue with UseInProcSessionContainer() which now correctly works when not placed last in the fluent configuration chain (#788)
  • Default to IPv4 for unsigned address family to ensure consistent behavior (193e8365)

Performance Improvements

  • Added ConfigureAwait for SendAsync to avoid context switching and improve performance (#792)
  • Various socket handling optimizations (1f701b1b)

Enhanced Dependency Injection

  • Modified pipeline filter constructor to allow dependency injection, improving flexibility when creating custom filters (#797)
  • Fixed issue where application builder (not web application builder) could not be used as SuperSocket application builder (c5d66c45)

Developer Experience

  • Added .editorconfig for consistent coding style across the project (#791)
  • Added comprehensive XML comments to improve API documentation (0ba13d2a, 63c67115, 6290d9ee)
  • Exposed StartReceive method as protected to allow more customization in derived classes (4e18f714)
  • Added release notes in NuGet packages for better visibility of changes (2daa4415)

Project Structure

  • Removed ProtoBuf from the main repository and moved it to a separate repository (351a4a46)
  • Added new components to the README (d7b7d6d1)
  • Updated project description for clarity (b7e0b1c0)

Testing

  • Added new unit tests to improve code coverage (709bfc10, 14bb328b)

Contributors

  • Kerry Jiang
  • hyabean

Upgrading

This release maintains compatibility with SuperSocket 2.0.0. Users are encouraged to update to this version to benefit from the stability improvements and bug fixes.

Showing the top 20 packages that depend on SuperSocket.Connection.

Packages Downloads
SuperSocket.Server.Abstractions
Package Description
40
SuperSocket.Client
SuperSocket client library
39
SuperSocket.Server.Abstractions
Package Description
38
SuperSocket.Client
SuperSocket client library
36
SuperSocket.Server.Abstractions
Package Description
36
SuperSocket.Server.Abstractions
Package Description
35
SuperSocket.Client
SuperSocket client library
34
SuperSocket.Client
SuperSocket client library
33
SuperSocket.Server.Abstractions
SuperSocket library for server abstractions. It includes many interfaces and base implementation of SuperSocket server components. Users can extend server side base on this project.
33
SuperSocket.Client
SuperSocket client library
32
SuperSocket.Server.Abstractions
Package Description
32
SuperSocket.Server.Abstractions
SuperSocket library for server abstractions. It includes many interfaces and base implementation of SuperSocket server components. Users can extend server side base on this project.
30
SuperSocket.Client
SuperSocket client library
29
SuperSocket.Server.Abstractions
SuperSocket library for server abstractions. It includes many interfaces and base implementation of SuperSocket server components. Users can extend server side base on this project.
28
SuperSocket.Client
SuperSocket client library
28
SuperSocket.Client
SuperSocket client library
27
SuperSocket.Client
SuperSocket client library
24
SuperSocket.Server.Abstractions
SuperSocket library for server abstractions. It includes many interfaces and base implementation of SuperSocket server components. Users can extend server side base on this project.
22
SuperSocket.Client
SuperSocket client library
21

.NET 6.0

.NET 8.0

.NET 9.0

.NET 9.0

.NET 9.0

.NET 9.0

.NET 9.0

.NET 8.0

.NET 7.0

.NET 8.0

.NET 8.0

.NET 8.0

Version Downloads Last updated
2.0.2-beta.1 7 05/29/2025
2.0.1 7 05/29/2025
2.0.0 9 04/24/2025
2.0.0-beta.31 8 04/14/2025
2.0.0-beta.30 16 01/27/2025
2.0.0-beta.29 15 01/21/2025
2.0.0-beta.28 24 11/03/2024
2.0.0-beta.27 30 10/12/2024
2.0.0-beta.26 28 09/03/2024
2.0.0-beta.25 22 09/06/2024
2.0.0-beta.24 36 07/07/2024
2.0.0-beta.23 30 06/08/2024
2.0.0-beta.22 39 06/10/2024
2.0.0-beta.21 36 06/10/2024
2.0.0-beta.20.448 32 06/10/2024