Skip to content

Releases: kartikk221/hyper-express

5.1.0

03 Nov 21:40
Compare
Choose a tag to compare
  • Fixed bug with Response.write() method leading to delayed status code & header writing.
  • Implemented "Response.initiated" property to signify whether HTTP status code & headers have been sent yet for the current response.
  • Implemented "Response.stream()" method to pipe readable streams to the current response.

5.0.9

02 Nov 23:56
Compare
Choose a tag to compare
  • Added missing PUT HTTP route creation method to Router.
  • Fixed bug with DELETE HTTP route creation method being broken.

5.0.8

31 Oct 18:20
Compare
Choose a tag to compare
  • Updates uWebsockets.js to 20.4.0

5.0.7

27 Oct 22:29
Compare
Choose a tag to compare
  • Upgrades uWebsockets.js to 20.1.0
  • Adds support for Node.js v17 but removes support for Node.js v12
  • Adds BoringSSL to allow for recent Node.js changes.

5.0.6

23 Oct 23:15
Compare
Choose a tag to compare
  • Implemented proper de-referencing of attached websocket polyfills for improved garbage cleanup.
  • Implemented safe method and property invocations for destroyed polyfills.
  • Added Object.middleware[Function] structured object/class based middlewares to be directly passed into .use() method.

5.0.2

14 Oct 21:46
Compare
Choose a tag to compare
  • Fixed documentation errors.
  • Fixed middleware chaining bug that would cause an error when no global middleware was used.

5.0.0

14 Oct 21:17
Compare
Choose a tag to compare
  • Implemented modular Router component.
  • Restructured documentation for ease of use.
  • Improved codebase efficiency by cutting down on functional calls.
  • Simplified request flow from uWS -> HyperExpress route handlers.
  • Decreased package size by separating SessionEngine into its own middleware.
  • BREAKING: SessionEngine no longer ships with HyperExpress and has now been turned into its own middleware. The syntax/API for Request.session object remains mostly same except for some methods.
  • BREAKING: WebsocketRoute has been removed. The websocket flow has been simplified and restructured to allow for modular compatibility with Routers. Websocket connections are now polyfilled extended EventEmitters allowing for the consumption of events per connection.

4.2.0

07 Oct 18:39
Compare
Choose a tag to compare
  • Implemented middleware double iteration violation warning
  • Implemented middleware iteration thrown error handling similar to Express 4

4.1.6

04 Oct 03:04
Compare
Choose a tag to compare
  • Updated uWebsockets.js to 20.0.0
  • Optimized ExpressJS compatibility methods/properties

4.1.1

29 Sep 15:40
Compare
Choose a tag to compare
  • Added more undocumented/legacy ExpressJS compatibility methods.
  • Fixed unitialized headers object for some ExpressJS compatibility header methods.