Skip to content

Releases: honojs/node-server

v2.0.10

Choose a tag to compare

@yusukebe yusukebe released this 15 Jul 23:20

Security fixes

This release includes a fix for the following security issue:

Unauthenticated memory-leak DoS via aborted WebSocket handshake

Affects: upgradeWebSocket. A WebSocket upgrade request with a missing or malformed Sec-WebSocket-Key header leaked the request's IncomingMessage and left a promise pending, even though no connection was established. Since the route is reachable pre-handshake without authentication, an attacker could flood it to gradually exhaust memory. GHSA-9mqv-5hh9-4cgg


Users of upgradeWebSocket are encouraged to upgrade to this version.

v2.0.9

Choose a tag to compare

@yusukebe yusukebe released this 14 Jul 23:05

What's Changed

  • fix(websocket): polyfill missing ErrorEvent global by @otnc in #371
  • fix(serve-static): correct Range header parsing edge cases by @otnc in #372
  • fix: recover complete request bodies after client disconnect by @usualoma in #375

New Contributors

  • @otnc made their first contribution in #371

Full Changelog: v2.0.8...v2.0.9

v2.0.8

Choose a tag to compare

@yusukebe yusukebe released this 02 Jul 12:57

What's Changed

  • ci(release): add --no-git-checks option for pnpm stage publish by @yusukebe in #369

Full Changelog: v2.0.7...v2.0.8

v2.0.7

Choose a tag to compare

@yusukebe yusukebe released this 02 Jul 12:52

What's Changed

Full Changelog: v2.0.6...v2.0.7

v2.0.6

Choose a tag to compare

@yusukebe yusukebe released this 22 Jun 12:00

What's Changed

  • ci: publish to npm from CI with OIDC trusted publishing and bump np by @yusukebe in #361
  • ci: use npm Staged publishing by @yusukebe in #364
  • fix: preserve status and statusText when cloning a Response with liveheaders by @usualoma in #363

Full Changelog: v2.0.5...v2.0.6

v2.0.5

Choose a tag to compare

@yusukebe yusukebe released this 15 Jun 12:57

Security Fix

Fixed a security issue in Serve Static Middleware where prefix-mounted middleware could be bypassed on Windows. This only affects applications running on Windows that use Serve Static Middleware. Affected users are encouraged to upgrade to this version.

See GHSA-frvp-7c67-39w9 for details.

v2.0.4

Choose a tag to compare

@yusukebe yusukebe released this 24 May 08:20

What's Changed

Full Changelog: v2.0.3...v2.0.4

v2.0.3

Choose a tag to compare

@yusukebe yusukebe released this 18 May 10:26

What's Changed

New Contributors

Full Changelog: v2.0.2...v2.0.3

v2.0.2

Choose a tag to compare

@yusukebe yusukebe released this 08 May 08:31

What's Changed

  • fix(serve-static): stop using file birthtime for Date header by @usualoma in #350
  • fix: handle serveStatic stream fallback backpressure by @usualoma in #351

Full Changelog: v2.0.1...v2.0.2

v2.0.1

Choose a tag to compare

@yusukebe yusukebe released this 30 Apr 08:51

What's Changed

  • fix: forward Hono response headers during WebSocket upgrade by @gentamura in #346

New Contributors

Full Changelog: v2.0.0...v2.0.1