Releases: kartikk221/hyper-express
Releases · kartikk221/hyper-express
6.5.1
What's Changed
- Improved prototype inheritance for lazy initialized classes in
Request
/Response
components. - Improved JSDoc & TypeScript types.
Full Changelog: 6.5.0...6.5.1
6.5.0
6.4.11
What's Changed
- Added mutation-safe parsing of middlewares from
Route
options. - Fixed JSDoc & TypeScript types for the
Route
creation methods such asget, post, head, etc etc
to properly support both middlewares and route handler for proper types.
Full Changelog: 6.4.10...6.4.11
6.4.10
6.4.9
What's Changed
- Fixed bug with middlewares not executing properly for routes where a custom
options
object has been specified without aoptions.middlewares
property.
Full Changelog: 6.4.8...6.4.9
6.4.8
What's Changed
- Added
Error
exceptions to theRequest.ip
andRequest.proxy_ip
properties when consumed afterRequest
/Response
has ended. - Fixed bug with some middlewares not properly path matching for wildcard routes.
Full Changelog: 6.4.7...6.4.8
6.4.7
What's Changed
- Removed the
node:
prefix from thenode:querystring
import used internally for the query string parser to expand the support across various Node v14 versions. - Fixed bug with multipart upload streaming occasionally hanging due to incorrect handling of backpressure.
Full Changelog: 6.4.6...6.4.7
6.4.6
What's Changed
- Implemented support for dynamic middlewares where certain requests under wildcard routes or the
not_found
handler would not go through the eligible middlewares. - Improved internal prototype inheritance for lazy initializing of underlying components such as streams and emitters.
- Removed the
qs
dependency for the nativenode:querystring
package. - Enforced leading slash for routes that are simply
*
as uWebsockets.js does not treat as*
as/*
routes in its internal router. - Improved JS Docs & Types
Full Changelog: 6.4.5...6.4.6
6.4.5
What's Changed
- Fixed bug where providing a shared
Object
to multiple routes with use of multiple middlewares would lead to error due to HyperExpress mutating the providedoptions
object to cache middlewares for faster performance.
Full Changelog: 6.4.4...6.4.5
6.4.4
What's Changed
- Fixed bug with the
Response
component attempting to modify the prototype ofRequest
component when inheriting methods/properties. - Improved codebase organization by separating compatibility methods/properties into their own separate classes.
Full Changelog: 6.4.3...6.4.4