Skip to content

Releases: kartikk221/hyper-express

5.9.1

19 Mar 00:20
Compare
Choose a tag to compare
  • 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

12 Mar 19:33
Compare
Choose a tag to compare
  • Implemented Server.options.auto_close boolean parameter to control automatic closure of the Server instance before program/process exit.

5.8.5

05 Mar 23:37
Compare
Choose a tag to compare
  • 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

05 Mar 20:07
Compare
Choose a tag to compare
  • Improved types and various definitions.
  • Re-structured Response streaming for more efficient backpressure handling.

5.8.2

22 Feb 16:52
Compare
Choose a tag to compare
  • 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

18 Feb 16:55
Compare
Choose a tag to compare
  • Fixed Types bug where EventEmitter was being imported improperly which led to an incompatible type check error with TypeScript.

5.8.0

15 Feb 18:24
Compare
Choose a tag to compare
  • 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

21 Jan 18:35
Compare
Choose a tag to compare
  • Implemented Server.publish() method to allow publishing using MQTT syntax to all Websocket connections active on a Server instance.

5.6.1

20 Jan 18:02
Compare
Choose a tag to compare
  • Removed unneccessary safe Promise wrap call from request flow for increased efficiency.

5.6.0

29 Dec 20:09
Compare
Choose a tag to compare
  • 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.