Skip to content

Releases: kartikk221/hyper-express

6.4.3

03 Aug 00:20
Compare
Choose a tag to compare

What's Changed

  • Improved performance by utilizing lazy stream initialization for both Request and Response 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

24 Jul 20:21
Compare
Choose a tag to compare

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

Full Changelog: 6.4.1...6.4.2

6.4.1

19 Jul 03:52
Compare
Choose a tag to compare

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

16 Jul 22:19
Compare
Choose a tag to compare

What's Changed

  • Implemented HostManager component accessible through Server.hosts property to support multiple hostname SSL configurations in a single Server 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

14 Jul 16:43
Compare
Choose a tag to compare

What's Changed

  • Implemented Server.num_of_subscribers() method to the Server 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 returned Promise.
  • Fixed Request.multipart() internal error handling to properly cleanup and supress various errors from the BusBoy parser for scenarios such as abrupt disconnections from client during the upload process.

Full Changelog: 6.2.6...6.3.0

6.2.6

14 Jul 01:55
Compare
Choose a tag to compare

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 the trust_proxy option specified with Server creation to reflect the true client IP using the X-Forwarded-For header when possible.
  • Improved JSDoc & TypeScript types for various components.

Full Changelog: 6.2.5...6.2.6

6.2.5

12 Jul 01:37
Compare
Choose a tag to compare

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

Full Changelog: 6.2.4...6.2.5

6.2.4

21 Jun 13:42
Compare
Choose a tag to compare

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 an Error instance with the message prefix ERR_CAUGHT_NON_ERROR_TYPE: ... to enforce internal error handling types.

Full Changelog: 6.2.3...6.2.4

6.2.3

16 Jun 18:12
Compare
Choose a tag to compare

What's Changed

  • Fixed various internal references of Server._options being consumed incorrectly with Server.options leading to incorrect behavior under certain conditions.

Full Changelog: 6.2.2...6.2.3

6.2.2

16 Jun 00:00
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 6.2.1...6.2.2