Releases: kartikk221/hyper-express
Releases · kartikk221/hyper-express
5.9.1
- Implemented "disconnect" hook type to the Response component.
- Implemented Response.sse property which returns an SSEventStream to facilitate Server-Sent Events based streaming.
- Fixed types and updated Docs.
5.8.6
- Implemented Server.options.auto_close boolean parameter to control automatic closure of the Server instance before program/process exit.
5.8.5
- Fixed internal chunk streaming function to utilize the same uWS.HttpResponse.tryEnd() method for retrying failed chunks when a total_size is provided by user.
5.8.4
- Improved types and various definitions.
- Re-structured Response streaming for more efficient backpressure handling.
5.8.2
- Implemented ternary operators for a more concise codebase in the Websocket component.
- Fixed some methods in Websocket component not returning their specified type data from calls.
5.8.1
- Fixed Types bug where EventEmitter was being imported improperly which led to an incompatible type check error with TypeScript.
5.8.0
- Fixed bug where the Server.options property used to expose a Server instance's constructor options would override the Router.options() method which is used to create HTTP OPTIONS routes on the extended Server instance.
5.7.0
- Implemented Server.publish() method to allow publishing using MQTT syntax to all Websocket connections active on a Server instance.
5.6.1
- Removed unneccessary safe Promise wrap call from request flow for increased efficiency.
5.6.0
- Implemented Server.locals property which is an object that can be used to store references local to a HyperExpress application.
- Implemented Request.app and Response.app to allow for referencing back to the parent Server instance.