Skip to content

Releases: kartikk221/hyper-express

6.8.3

22 Aug 18:57
Compare
Choose a tag to compare

What's Changed

  • Improved Response.cookie() method to no longer mutate the passed options object directly to prevent bugs.
  • Improved JSDoc & TypeScript types.

Full Changelog: 6.8.2...6.8.3

6.8.2

31 Jul 16:56
Compare
Choose a tag to compare

What's Changed

  • Fixed bug with Request.pause()/resume() relying on Readable.isPaused() for pausing/resumption which can be out of sync and cause hangs for uploading.

Full Changelog: 6.8.1...6.8.2

6.8.1

27 Jul 04:20
Compare
Choose a tag to compare

What's Changed

  • Fixed bug with invalid uWS.HttpResponse access exception being thrown for aborted requests due to improper completion checking before making a native call to uWS.HttpResponse.

Full Changelog: 6.8.0...6.8.1

6.8.0

16 Jul 21:52
Compare
Choose a tag to compare

What's Changed

  • Implemented the ability to enable the uWebsockets.js version header using the KEEP_UWS_HEADER environment variable.
  • Optimized various forEach loops into for ... loops for faster iteration.

Full Changelog: 6.7.3...6.8.0

6.7.3

15 Jul 19:19
Compare
Choose a tag to compare

What's Changed

  • Upgraded uWebsockets.js to v20.31.0 for better compatibility and newly added default catchall HTTP responses for better debugging with proxies.

Full Changelog: 6.7.2...6.7.3

6.7.2

13 Jul 03:49
Compare
Choose a tag to compare

What's Changed

  • Optimized Response body writing with proper corking practices from uWebsockets.js
  • Updated uWebsockets.js to v20.30.0 for performance improvements.

Full Changelog: 6.7.1...6.7.2

6.7.1

29 May 19:23
Compare
Choose a tag to compare

What's Changed

  • Added the Request.raw property which exposes the unsafe uWS.HttpRequest property from under the hood. Note! You should not rely on this property If possible and always ensure you have no asynchronous logic before accessing this property as it will throw a uWS forbidden access exception.

Full Changelog: 6.7.0...6.7.1

6.7.0

23 May 05:19
Compare
Choose a tag to compare

What's Changed

  • Alien mode from uWebsockets.js is no longer enabled by default due to potential instability and volatile performance depending on system and use case.
  • Optimized callbacks away as binded functions for each constructor invocation of Request/Response components.
  • Optimized property assignments and pre-initializations in Request/Response components.
  • Added additional tests for testing asynchronous upgrades of Websocket connections with authentication.

Full Changelog: 6.6.1...6.7.0

6.6.1

22 May 04:56
Compare
Choose a tag to compare

What's Changed

  • You may disable the ALIEN_UWS mode by setting the ALIEN_UWS_FORBIDDEN to 1 BEFORE importing anything from hyper-express for the first time.
  • Updated docs and benchmarks.

Full Changelog: 6.6.0...6.6.1

6.6.0

20 May 20:21
Compare
Choose a tag to compare

What's Changed

  • Implemented support for ALIEN_UWS implementation on linux and darwin systems for uWebsockets.js which operates uWS on a separate event loop from Node.js allowing for significant performance gains at the cost of having to always copy incoming body buffers into memory, even for native buffer(), text() and json() methods.
  • Upgraded uWebsockets.js to v20.25.0 version.

Full Changelog: 6.5.11...6.6.0