Releases: honojs/hono
Releases Β· honojs/hono
v2.0.7
Summary
- JSX Middleware performance tuning.
- A token in the cookie is enabled for JWT Middleware.
- Fixed the bug for ETag Middleware.
What's Changed
- feat(jwt): enable token in cookie by @metrue in #441
- perf(jsx): JSX performance improvement by @usualoma in #444
- refactor(jsx): Support all the boolean attributes. by @usualoma in #446
- refactor: make
parsedBody
type asBody
by @yusukebe in #448 - refactor(
utils/html
): renameBuffer
toStringBuffer
by @yusukebe in #449 - fix(
utils/crypto
): stringify the parameter which is object increateHash
by @yusukebe in #452 - refactor: add
Json
type for JSON object by @yusukebe in #453 - fix(utils/crypto): make Binary and JSON object crypto correct by @yusukebe in #454
Full Changelog: v2.0.6...v2.0.7
v2.0.6
What's Changed
Added
Changed
- fix(jsx): Fix for JSX checked and selected props by @digitalmio in #430
Fixed
Others
New Contributors
- @digitalmio made their first contribution in #430
Full Changelog: v2.0.5...v2.0.6
v2.0.5
v2.0.4
v2.0.3
What's Changed
Added
- feat(middleware): implement Cache Middleware by @yusukebe in #417
- feat(jsx): support
jsxImportSource
by @yusukebe in #420
Fixed
- fix(package.json): export compress middleware by @yusukebe in #409
- fix(trie-router): fix the rule for capturing named parameters by @yusukebe in #419
Others
Full Changelog: v2.0.2...v2.0.3
v2.0.2
What's Changed
Changed
- Update context.ts by @bkniffler in #402
Fixed
- Pass path to serve-static middleware when using cloudflare module workers by @raytracer in #400
- fix(logger): specify
console.log
for default print fn by @yusukebe in #401
Others
- chore: add conf file to categorize the PRs on release note by @yusukebe in #404
- docs: rename
master
tomain
and remove README from middlewre directories by @yusukebe in #405
New Contributors
- @raytracer made their first contribution in #400
- @bkniffler made their first contribution in #402
Full Changelog: v2.0.1...v2.0.2
v2.0.1
Summary
Mostly about refactoring.
What's Changed
- Add compress middleware by @tani in #392
- chore: fix typo in error class name by @RomanHotsiy in #393
- refactor: the log middleware and its tests by @migueloliveiraz in #394
- fix(compress): add type for enconding name by @yusukebe in #396
- refactor: remove useless
async
for a better performance on Bun by @yusukebe in #397 - test(bun): use
bun:test
by @yusukebe in #398 - refactor(context): executionCtx always returns ExecutionContext. by @usualoma in #399
New Contributors
- @RomanHotsiy made their first contribution in #393
- @migueloliveiraz made their first contribution in #394
Full Changelog: v2.0.0...v2.0.1
v2.0.0
v2.0.0 ππππππππππ
v2.0.0 has been released, with support for Deno, Bun, API cleanup, some new features, and BREAKING CHANGES.
And the website https://honojs.dev/ has been opened!
Summary
- Support Deno.
- Support Bun.
- Basic auth middleware for Bun.
- Serve static middleware for Bun.
- Compress middleware for Deno.
hono/mod.ts
will not export middleware,hono/middleware.ts
export them instead.cookie
,body-parse
,graphql-server
, andmustache
middleware are obsolete.- Cookie parsing and setting became default functions with
c.req.cookie()
andc.cookie()
. - Body parsing became a default function with
c.req.parseBody()
. - Webstie for Hono https://honojs.dev.
- Clean up the API.
- Prepare to create third-party middleware.
BREAKING CHANGES
There are many BREAKING CHANGES.
- The way to import Middleware on Deno has been changed.
- Cookie middleware is obsolete.
- Body parse middleware is obsolete.
- GraphQL Server middleware is obsolete.
- Mustache middleware is obsolete.
Follow the migration guide:
https://github.com/honojs/hono/blob/master/docs/MIGRATION.md
What's Changed
- docs(deno): update README 87db4fc
- Merge pull request #390 from honojs/next 6fa5d4c
- docs: update readme and create migration guide (#389) 508b3fa
- chore(deno): denoify 230d265
- chore(prettier): remove
markdown-nocjsp
parser 53658c2 - refactor(bun): throw error when use
jwt
middleware (#388) adc9cf8 - feat: Add compress middleware (#386) fc26f1a
- feat(bun): support
basic-auth
middleware (#387) 4dc5edc - ci: add CI for Bun (#376) 9ff8310
- chore: denoify ignore 2b775a0
- test(deno): add test for jwt middleware (#375) 89383ef
- feat(bun): add "serve-static" middleware (#370) cf30277
- ci: setup CI for Deno (#367) 50450f2
- [BREAKING] feat: remove "graphql-server" middleware, will be obsolete (#366) af9f6a7
- test: add tests for Deno (#365) dea9484
- refactor: denoify 16adde7
- feat(request): add
parseBody()
method. body-parse middleware is obsolete (#363) e452b76 - docs: update readme b8687e6
- chore: denoify 9a41cde
- fix: exclude
src/middleware.ts
1a24803 - refactor: make
cookie
into Context/Request 7b505b0 - feat: [WIP] new structure for support Deno and third-party middleware 0d48c9f
- chore(deno): denoify b07486b
- Skip closing tag if it is an empty element (#378) 39731af
- chore: add keywords to
package.json
8e9282e
New Contributors
Full Changelog: v1.6.4...v2.0.0