Releases: kartikk221/hyper-express
Releases · kartikk221/hyper-express
4.0.0
- Implemented most ExpressJS component properties/methods to allow for potential compatibility with existing ExpressJS middlewares in the community.
- Implemented Route.expect_body option to parse incoming body into Request.body property in order to mimic ExpressJS functionality.
- Moved Request.query to Request.path_query property to allow for ExpressJS-like behavior for the Request.query parameters property.
- Implemented Response.attachment() and Response.download()
- Added callback to Response.file() method in order to expose underlying cache pool for cache manipulation/expiry.
3.3.0
- Implemented Promise iteration based middlewares
- Fixed .file() method encoding problems due to string conversion causing loss of encoding.
3.2.0
- Implemented WebsocketRoute.constructor.messageType parameter allowing specification incoming data format. By default websocket messages were parsed into Strings and then passed to handlers but now this behavior can be changed.
- Migrated WebsocketRoute.handle() -> WebsocketRoute.on() to improve API readability. This change was backwards compatible as WebsocketRoute.handle() is now simply an undocumented alias of WebsocketRoute.on() method for binding websocket events.
3.1.0
- Implemented response hooks to allow for cleanup operations at different points of a request's lifecycle.
- Implemented sign/unsign method for request object to allow for better control of session engine.
- Improved JSDoc types and notations for various methods to significantly improve intellisense.
3.0.0
- Completely re-structured Session API
- Simplified session engine methods usage
- Included direct access to Session object on each handler invocation for more context
- Note! The SessionEngine/Session API has changed thus this version is not backwards compatible with older implementations.
2.5.1
- Implemented flexible http status and header writing system.
- Upgraded uWebsockets.js to 19.4.0 -> uWS 19.6.0
2.4.0
- Implemented efficient request chaining and handling flow.
- Implemented route specific middlewares with global error handler catching support.
- Implemented file serving for supported mime-types with intermediate caching.
2.2.0
- Implemented Body Pre-Buffering
- Increased global error handler range to catch middleware errors
- Implemented Route/Method specific middlewares
2.0.0
- Completely re-factored codebase.
- Implemented getters for most Request information parsing methods.
- Restructured README for more organized method/parameter descriptions.
- Optimized request handling logic.
- Implemented tests for all components to ensure future consistency in functionality.
1.0.7
This release adds various optimizations to the signing/unsigning process for sessions along with various getter/setter methods for session ids in the Session object.