v4.6.13

honojs/honov4.6.13Dec 6, 2024by yusukebe

AI Summary

This is a minor patch release (v4.6.13) of the Hono web framework focusing on bug fixes and small improvements. The release includes fixes for AWS Lambda query string handling, CORS middleware, IPv6 support, and a refactoring to use modern JavaScript array methods.

Key Highlights

  • Fixed query string handling for AWS Lambda v1
  • Fixed CORS middleware to explicitly return No Content for OPTIONS requests
  • Added Cloudflare Static Assets reference to serveStatic deprecation notice
  • Added support for IPv6-mapped IPv4 addresses in the ipaddr utility
  • Refactored to use `Array.prototype.at()` for cleaner array access

Full Release Notes

## What's Changed
* refactor: use `Array.prototype.at()` to look at the end by @ryuapp in https://github.com/honojs/hono/pull/3703
* fix(aws-lambda): Fix query string handling for v1 by @Holi0317 in https://github.com/honojs/hono/pull/3717
* chore: Add Cloudflare Static Assets reference to serveStatic deprecation notice by @ambergristle in https://github.com/honojs/hono/pull/3705
* fix(middleware/cors): explicitly return No Content for the statusText when handling an OPTIONS request by @shawncarr in https://github.com/honojs/hono/pull/3719
* fix(utils/ipaddr): support IPv6-mapped IPv4 address by @usualoma in https://github.com/honojs/hono/pull/3727

## New Contributors
* @Holi0317 made their first contribution in https://github.com/honojs/hono/pull/3717
* @ambergristle made their first contribution in https://github.com/honojs/hono/pull/3705
* @shawncarr made their first contribution in https://github.com/honojs/hono/pull/3719

**Full Changelog**: https://github.com/honojs/hono/compare/v4.6.12...v4.6.13