- Removed upper bounds on some of the .NET Framework dependencies versions
- Dropped support for ASP.NET Core 2.1.0 (the lowest supported version is now ASP.NET Core 3.1.0)
- Added support for ASP.NET Core 6
- Added support for disconnecting clients. You can read more here: Server-Sent Events and ASP.NET Core - Disconnecting a Client
- Fixed race condition in groups management. This has caused method signature change (
IServerSentEventsService.AddToGroupAsync
toIServerSentEventsService.AddToGroup
)
- Changed support for ASP.NET Core 3.0.0 to ASP.NET Core 3.1.0
- Added support for ASP.NET Core 5
- Exposed way to provide ReconnectInterval through ServerSentEventsServiceOptions.
- Changed the collection of key/value pairs to store additional information for clients to thread safe methods (thank you @sebastiano1972)
- Fixed Accept request header validation so request without it are processed.
- Fixed ClientConnected and ClientDisconnected events not firing for custom ServerSentEventsService implementations.
- Added a collection of key/value pairs to store additional information for clients (thank you @sebastiano1972)
- Dropped support for obsolete APIs
- Dropped support for ASP.NET Core 2.0.0 (the lowest supported version is now ASP.NET Core 2.1.0)
- Added support for ASP.NET Core 3.0.0
- Added support for Endpoint Routing
- Added method for getting clients in a specified group.
- Added SendEventAsync overload which takes a predicate against IServerSentEventsClient as a parameter.
- Exposed way to provide actions for ClientConnected and ClientDisconnected events through ServerSentEventsServiceOptions.
- Added method for adding to group.
- Added methods for sending to group.
- Added support for authorization.
- Added support for setting HTTP response headers for accept response.
- Added support for client connected and disconnected events.
- Improved support for CancellationToken in asynchronous operations.
- Hot synchronous path performance improvements.
- Upgraded to .NET Standard 2.0 and ASP.NET Core 2.0.
- Added generic versions of UseServerSentEvents and MapServerSentEvents.
- Marked obsolete versions of UseServerSentEvents and MapServerSentEvents which take instance of ServerSentEventsService as parameter.
- Added support for keepalives
- General performance improvements.
- SendEventAsync performance improvements.
- ChangeReconnectIntervalAsync performance improvements.
- Fix for IIS (and potentially other reverse proxies) adding uncontrolled response compression.
- Generic performance improvements.
- Fix for events not reaching clients when response compression is enabled (.NET Framework).
- Added capability of sending events to specific clients.