v4.7.1
honojs/honov4.7.1Feb 13, 2025by yusukebe
AI Summary
This is a minor patch release focusing on bug fixes and performance improvements. The update includes optimizations for URL utilities, a fix to halt middleware evaluation when errors occur in the `next()` function, and improved compatibility for the AWS Lambda adapter with LLRT.
Key Highlights
- Performance optimization for URL utilities - shortened mergePath function and optimized for normal use cases
- Fixed middleware evaluation to halt when error occurs in `next()` function
- Improved AWS Lambda adapter compatibility for LLRT (Low Latency Runtime)
- Bug fix for URL utilities to calculate ends with slash on every iteration
- Fixed etag to check for crypto in the correct location
Full Release Notes
## What's Changed * refactor(helper/streaming): remove unused variables by @EdamAme-x in https://github.com/honojs/hono/pull/3904 * fix(combine): halt middleware evaluation if error in `next()` by @usualoma in https://github.com/honojs/hono/pull/3905 * fix(utils/url): calculate ends with slash on every iteration by @luxass in https://github.com/honojs/hono/pull/3910 * perf(utils/url): shorten mergePath and optimize for normal use cases. by @usualoma in https://github.com/honojs/hono/pull/3911 * fix(adapter/aws-lambda): remove unneeded import and compatibility for LLRT by @EdamAme-x in https://github.com/honojs/hono/pull/3915 * fix(etag): change where to check for `crypto` by @EdamAme-x in https://github.com/honojs/hono/pull/3916 ## New Contributors * @luxass made their first contribution in https://github.com/honojs/hono/pull/3910 **Full Changelog**: https://github.com/honojs/hono/compare/v4.7.0...v4.7.1