Skip to content

Releases: kartikk221/hyper-express

6.5.1

23 Oct 23:53
Compare
Choose a tag to compare

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

20 Oct 22:44
Compare
Choose a tag to compare

What's Changed

  • Fixing parameter types for the get() method by @moufmouf in #127
  • Upgraded uWebsockets.js to v20.14.0.

New Contributors

Full Changelog: 6.4.11...6.5.0

6.4.11

14 Oct 17:45
Compare
Choose a tag to compare

What's Changed

  • Added mutation-safe parsing of middlewares from Route options.
  • Fixed JSDoc & TypeScript types for the Route creation methods such as get, 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

25 Sep 17:02
Compare
Choose a tag to compare

What's Changed

  • feat(types): added type for Websocket.on() method by @armouti in #121
  • Improved documentation for Websocket component and main README.

New Contributors

Full Changelog: 6.4.9...6.4.10

6.4.9

21 Sep 01:59
Compare
Choose a tag to compare

What's Changed

  • Fixed bug with middlewares not executing properly for routes where a custom options object has been specified without a options.middlewares property.

Full Changelog: 6.4.8...6.4.9

6.4.8

17 Sep 03:39
Compare
Choose a tag to compare

What's Changed

  • Added Error exceptions to the Request.ip and Request.proxy_ip properties when consumed after Request/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

14 Sep 03:17
Compare
Choose a tag to compare

What's Changed

  • Removed the node: prefix from the node: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

13 Sep 04:06
Compare
Choose a tag to compare

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 native node: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

04 Aug 15:29
Compare
Choose a tag to compare

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 provided options object to cache middlewares for faster performance.

Full Changelog: 6.4.4...6.4.5

6.4.4

03 Aug 15:21
Compare
Choose a tag to compare

What's Changed

  • Fixed bug with the Response component attempting to modify the prototype of Request 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