Releases: kartikk221/hyper-express
Releases · kartikk221/hyper-express
5.1.0
- 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
- Added missing PUT HTTP route creation method to Router.
- Fixed bug with DELETE HTTP route creation method being broken.
5.0.8
- Updates uWebsockets.js to 20.4.0
5.0.7
- 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
- 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
- Fixed documentation errors.
- Fixed middleware chaining bug that would cause an error when no global middleware was used.
5.0.0
- 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
- Implemented middleware double iteration violation warning
- Implemented middleware iteration thrown error handling similar to Express 4
4.1.6
- Updated uWebsockets.js to 20.0.0
- Optimized ExpressJS compatibility methods/properties
4.1.1
- Added more undocumented/legacy ExpressJS compatibility methods.
- Fixed unitialized headers object for some ExpressJS compatibility header methods.