- Adds built-in support for Server-Sent events.
- Adds a function to detect when the server process is terminating because it received a
SIGINT
or aSIGTERM
command (from blacksheep.server.process import is_stopping
). - Adds support for request handler normalization for methods defined as asynchronous generators. This feature is enabled by default only for ServerSentEvents, but can be configured for user defined types.
- Raises exception when the default router is used to register routes, but not associated to an application object. Fixes #470.
Refer to the BlackSheep documentation and to the examples repository for more information on server-sent events support.