Releases: kartikk221/hyper-express
Releases · kartikk221/hyper-express
6.4.3
What's Changed
- Improved performance by utilizing lazy stream initialization for both
Request
andResponse
component. - Added
'use strict'
prefix to source for better enforced practices. - Reduced package size by utilizing native
http
module status code constants. - Improved JSDoc & TypeScript types.
Full Changelog: 6.4.2...6.4.3
6.4.2
What's Changed
- Implemented
Server.port
property to allow for access of local listening server port. - Implemented
Server.socket
property to allow for access of local listening socket. - fix: unused import by @ImLunaHey in #98
- Removed unused imports for JSDoc types.
New Contributors
- @ImLunaHey made their first contribution in #98
Full Changelog: 6.4.1...6.4.2
6.4.1
What's Changed
- Improved performance by converting various internally accessed properties from getters to class properties leading to faster access performance.
- Fixed JSDoc & TypeScript Types.
Full Changelog: 6.4.0...6.4.1
6.4.0
What's Changed
- Implemented
HostManager
component accessible throughServer.hosts
property to support multiple hostname SSL configurations in a singleServer
instance. - Optimized various internal request lifecycle flows and properties for higher performance with a decreased overhead from uWS.
- Improved JSDoc & TypeScript types.
Full Changelog: 6.3.0...6.4.0
6.3.0
What's Changed
- Implemented
Server.num_of_subscribers()
method to theServer
component to allow for retrieval of global topic subscribers. - Implemented safeguards against Invalid discarded access errors from uWS triggered by pausing/resuming of
Request
after response has been sent. - Improved
Request.multipart()
handler to properly catch and emit caught errors through its returnedPromise
. - Fixed
Request.multipart()
internal error handling to properly cleanup and supress various errors from theBusBoy
parser for scenarios such as abrupt disconnections from client during the upload process.
Full Changelog: 6.2.6...6.3.0
6.2.6
What's Changed
- Fixed bug with
Request.multipart()
method throwing invalid discarded access errors in very specific scenarios where the response is sent before the whole body has been accepted. - Improved
Request.ip
method to now respect thetrust_proxy
option specified withServer
creation to reflect the true client IP using theX-Forwarded-For
header when possible. - Improved JSDoc & TypeScript types for various components.
Full Changelog: 6.2.5...6.2.6
6.2.5
What's Changed
- Fixed internal
Response
backpressuring when streaming large amounts of content. - Improved
Response.header()
to now follow Express-like behavior for overwriting previous header values for a given header by default. - Streams fix by @piliugin-anton in #85
New Contributors
- @piliugin-anton made their first contribution in #85
Full Changelog: 6.2.4...6.2.5
6.2.4
What's Changed
- Fixed bug with non
Error
types not being caught when rejected in the route handler. - Going forward, any unhandled rejections which reject with a non
Error
type will be wrapped in anError
instance with the message prefixERR_CAUGHT_NON_ERROR_TYPE: ...
to enforce internal error handling types.
Full Changelog: 6.2.3...6.2.4
6.2.3
What's Changed
- Fixed various internal references of
Server._options
being consumed incorrectly withServer.options
leading to incorrect behavior under certain conditions.
Full Changelog: 6.2.2...6.2.3
6.2.2
What's Changed
- Fix
trust_proxy
read bug by @SteveMcFarlin in #79
New Contributors
- @SteveMcFarlin made their first contribution in #79
Full Changelog: 6.2.1...6.2.2