SuperSocket.WebSocket 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.WebSocket.

Packages Downloads
WebSocket4Net
A popular .NET websocket client.
2
WebSocket4Net
Package Description
2

.NET 6.0

.NET 7.0

.NET 8.0

.NET 9.0

Version Downloads Last updated
2.0.1 1 06/07/2025
2.0.0 1 05/04/2025
2.0.0-beta.31 1 05/17/2025
2.0.0-beta.30 2 01/31/2025
2.0.0-beta.29 2 01/18/2025
2.0.0-beta.28 2 01/19/2025
2.0.0-beta.27 2 01/19/2025
2.0.0-beta.26 2 01/19/2025
2.0.0-beta.25 2 01/19/2025
2.0.0-beta.24 2 01/19/2025
2.0.0-beta.23 2 01/19/2025
2.0.0-beta.22 2 01/19/2025
2.0.0-beta.21 2 01/19/2025
2.0.0-beta.20.448 2 01/19/2025
2.0.0-beta.18 2 01/19/2025
2.0.0-beta.17 2 01/19/2025
2.0.0-beta.16 2 01/19/2025
2.0.0-beta.15 2 01/19/2025
2.0.0-beta.14 1 03/08/2025
2.0.0-beta.13 2 01/19/2025
2.0.0-beta.12 2 01/19/2025
2.0.0-beta.11 2 01/19/2025
2.0.0-beta.10 2 01/19/2025
2.0.0-beta.9 2 01/31/2025
2.0.0-beta.8 2 01/19/2025
1.6.6.1 2 01/19/2025
1.6.6.1-beta1 2 01/19/2025
1.6.6 2 01/19/2025
1.6.5 2 01/19/2025