Skip to content

Releases: honojs/hono

v4.9.12

13 Oct 08:54
Compare
Choose a tag to compare

What's Changed

  • refactor: internal structure of PreparedRegExpRouter for optimization and added tests by @usualoma in #4456
  • refactor: use protected methods instead of computed properties to allow tree shaking by @usualoma in #4458

Full Changelog: v4.9.11...v4.9.12

v4.9.11

11 Oct 11:33
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v4.9.10...v4.9.11

v4.9.10

05 Oct 13:51
Compare
Choose a tag to compare

What's Changed

  • fix(context): Fix #4427 type regression by removing non-public export by @aantthony in #4433
  • fix(aws-lambda): sanitize non-ASCII header values to prevent ByteString errors by @yusukebe in #4437

Full Changelog: v4.9.9...v4.9.10

v4.9.9

26 Sep 23:44
Compare
Choose a tag to compare

What's Changed

  • fix(service-worker): Update service-worker fire() to accept generic variants of Hono app instance by @harmony7 in #4420
  • fix(service-worker): correct generics for handle by @yusukebe in #4421
  • feat(helper/route): enable to get route path at specific index by @usualoma in #4423

New Contributors

Full Changelog: v4.9.8...v4.9.9

v4.9.8

18 Sep 09:03
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v4.9.7...v4.9.8

v4.9.7

12 Sep 06:30
Compare
Choose a tag to compare

Security

  • Fixed an issue in the bodyLimit middleware where the body size limit could be bypassed when both Content-Length and Transfer-Encoding headers were present. If you are using this middleware, please update immediately. Security Advisory

What's Changed

  • fix(client): Fix parseResponse not parsing json in react native by @lr0pb in #4399
  • chore: add .tool-versions file by @3w36zj6 in #4397
  • chore: update bun install commands to use --frozen-lockfile by @3w36zj6 in #4398
  • test(jwk): Add tests of JWK token verification by @buckett in #4402

New Contributors

Full Changelog: v4.9.6...v4.9.7

v4.9.6

03 Sep 04:18
Compare
Choose a tag to compare

Security

Fixed a bug in URL path parsing (getPath) that could cause path confusion under malformed requests.

If you rely on reverse proxies (e.g. Nginx) for ACLs or restrict access to endpoints like /admin, please update immediately.

See advisory for details: GHSA-9hp6-4448-45g2

What's Changed

  • chore: update packages in the router bench by @yusukebe in #4386
  • chore(benchmarks): remove comment-out from router bench by @yusukebe in #4387

Full Changelog: v4.9.5...v4.9.6

v4.9.5

29 Aug 09:42
Compare
Choose a tag to compare

What's Changed

  • chore: replace supertest with undici by @BarryThePenguin in #4365
  • fix(aws-lambda): preserve percent-encoded values in query strings by @yusukebe in #4372
  • feat(cors): Allow async functions for origin and allowMethods by @jobrk in #4373
  • feat(cors): Correct origin function return type asynchronously returning null or undefined for origin by @jobrk in #4375
  • fix(service-worker): correct args for app.fetch in handle by @yusukebe in #4374
  • fix(language-detector): Detect language from path after getPath changed by @iflamed in #4369

New Contributors

Full Changelog: v4.9.4...v4.9.5

v4.9.4

22 Aug 02:51
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.9.3...v4.9.4

v4.9.3

22 Aug 02:30
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.9.2...v4.9.3