v4.6.11

honojs/honov4.6.11Nov 19, 2024by yusukebe

AI Summary

This is a minor release focusing on internal improvements, code quality enhancements, and performance measurement tooling. The main feature is a type calculation improvement for Context<Env> in the helper/factory createHandlers function.

Key Highlights

  • Added custom performance measurement metrics to CI (PR #3491)
  • Type improvement for Context<Env> in createHandlers factory (PR #3670)
  • Fixed errorHandler visibility to use private keyword instead of # (PR #3692)
  • Added qs library for query-param benchmarking (PR #3674)
  • Enabled formatting and linting for build and perf-measures directories

New Features

  • Calculate Context<Env> Type in createHandlers - improves TypeScript type inference for the helper/factory module
  • Display performance measurement results as custom metrics in CI

Full Release Notes

## What's Changed
* docs: changed as even smaller by @EdamAme-x in https://github.com/honojs/hono/pull/3664
* chore(build): fix progress of log by @EdamAme-x in https://github.com/honojs/hono/pull/3665
* chore(benchmark): add `qs` for query-param by @yusukebe in https://github.com/honojs/hono/pull/3674
* feat(helper/factory): Calculate Context<Env> Type in createHandlers by @sushichan044 in https://github.com/honojs/hono/pull/3670
* ci: compare bundle size by @EdamAme-x in https://github.com/honojs/hono/pull/3661
* chore: enable formatting `perf-measures` by @yusukebe in https://github.com/honojs/hono/pull/3683
* chore: lint `build` and `perf-measures` by @yusukebe in https://github.com/honojs/hono/pull/3686
* ci: Display performance measurement results as custom metrics by @k2tzumi in https://github.com/honojs/hono/pull/3491
* fix(base): define `errorHandler` with `private` not use `#` by @yusukebe in https://github.com/honojs/hono/pull/3692

## New Contributors
* @sushichan044 made their first contribution in https://github.com/honojs/hono/pull/3670
* @k2tzumi made their first contribution in https://github.com/honojs/hono/pull/3491

**Full Changelog**: https://github.com/honojs/hono/compare/v4.6.10...v4.6.11