Skip to content

Releases: honojs/hono

v2.0.7

06 Aug 21:53
Compare
Choose a tag to compare

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 as Body by @yusukebe in #448
  • refactor(utils/html): rename Buffer to StringBuffer by @yusukebe in #449
  • fix(utils/crypto): stringify the parameter which is object in createHash 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

31 Jul 13:23
Compare
Choose a tag to compare

What's Changed

Added

  • feat(context): Introduce ContextVariableMap. by @usualoma in #429

Changed

Fixed

  • fix(parseBody): return blank object when JSON body is nothing by @yusukebe in #433

Others

New Contributors

Full Changelog: v2.0.5...v2.0.6

v2.0.5

24 Jul 11:47
Compare
Choose a tag to compare

Sorry for the repeated releases.

What's Changed

Fixed

Full Changelog: v2.0.4...v2.0.5

v2.0.4

24 Jul 09:14
Compare
Choose a tag to compare

What's Changed

Fixed

  • fix(package.json): fix path for exporting jsx/jsx-runtime types by @yusukebe in #421

Full Changelog: v2.0.3...v2.0.4

v2.0.3

24 Jul 08:49
Compare
Choose a tag to compare

What's Changed

Added

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

18 Jul 03:31
Compare
Choose a tag to compare

What's Changed

Changed

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 to main and remove README from middlewre directories by @yusukebe in #405

New Contributors

Full Changelog: v2.0.1...v2.0.2

v2.0.1

17 Jul 09:46
Compare
Choose a tag to compare

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

16 Jul 09:19
Compare
Choose a tag to compare

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, and mustache middleware are obsolete.
  • Cookie parsing and setting became default functions with c.req.cookie() and c.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

  • @tani made their first contribution in #378

Full Changelog: v1.6.4...v2.0.0

v1.6.4

10 Jul 10:00
Compare
Choose a tag to compare

What's Changed

  • refactor(context): do not use exported Env by @yusukebe in #352

Full Changelog: v1.6.3...v1.6.4

v1.6.3

08 Jul 01:05
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.6.2...v1.6.3