Releases: honojs/hono
Releases · honojs/hono
v0.3.3
What's Changed
- feat: Basic-auth with polyfill by @yusukebe in https://github.com/yusukebe/hono/pull/86
Basic auth support Fastly Compute@Edge with polyfills.
Webpack example:
const path = require('path')
module.exports = {
entry: './index.js',
target: ['webworker'],
output: {
filename: 'index.js',
path: path.resolve(__dirname, 'bin'),
libraryTarget: 'this',
},
resolve: {
fallback: {
buffer: require.resolve('buffer/'),
crypto: require.resolve('crypto-browserify'),
stream: require.resolve('stream-browserify'),
process: require.resolve('process/browser'),
},
}
}
Full Changelog: yusukebe/hono@v0.3.2...v0.3.3
v0.3.2
What's Changed
- fix: Unicode problem about atob/btoa by @yusukebe in https://github.com/yusukebe/hono/pull/85
Full Changelog: yusukebe/hono@v0.3.1...v0.3.2
v0.3.1
What's Changed
- fix: basic auth by @yusukebe in https://github.com/yusukebe/hono/pull/83
- fix: use
atob
for basic auth by @yusukebe in https://github.com/yusukebe/hono/pull/84
Full Changelog: yusukebe/hono@v0.3.0...v0.3.1
v0.3.0
BREAKING CHANGES!!
Now, builtin middleware are not in main package. You can't use Middleware.logger()
method. Call sub modules if needed:
import { Hono } from 'hono'
import { poweredBy } from 'hono/powered-by'
import { logger } from 'hono/logger'
const app = new Hono()
app.use('*', poweredBy())
app.use('*', logger())
What's Changed
- fix: about parsedBody on Request by @yusukebe in https://github.com/yusukebe/hono/pull/78
- example: fix blog example by @yusukebe in https://github.com/yusukebe/hono/pull/79
- feat: builtin middleware as sub module by @yusukebe in https://github.com/yusukebe/hono/pull/81
Full Changelog: yusukebe/hono@v0.2.4...v0.3.0
v0.2.4
What's Changed
- chore: tweak by @yusukebe in https://github.com/yusukebe/hono/pull/75
- feat: serve static middleware (Cloudflare only) by @yusukebe in https://github.com/yusukebe/hono/pull/76
- fix: mustache template encoding by @yusukebe in https://github.com/yusukebe/hono/pull/77
Full Changelog: yusukebe/hono@v0.2.3...v0.2.4
v0.2.3
What's Changed
- fix: mustache middleware by @yusukebe in https://github.com/yusukebe/hono/pull/74
Full Changelog: yusukebe/hono@v0.2.2...v0.2.3
v0.2.2
What's Changed
- fix: diable mustache middleware by @yusukebe in https://github.com/yusukebe/hono/pull/73
Full Changelog: yusukebe/hono@v0.2.1...v0.2.2
v0.2.1
What's Changed
- feat: Cookie middleware by @yusukebe in https://github.com/yusukebe/hono/pull/64
- refactor: refactor something by @yusukebe in https://github.com/yusukebe/hono/pull/65
- perf: content length by @yusukebe in https://github.com/yusukebe/hono/pull/67
- fix: Fixed context headers by @yusukebe in https://github.com/yusukebe/hono/pull/69
- feat: Mustache Middleware by @yusukebe in https://github.com/yusukebe/hono/pull/72
Full Changelog: yusukebe/hono@v0.2.0...v0.2.1
v0.2.0
BREAKING CHANGES
c.req.params
is obsoleted! Use c.req.param
.
What's Changed
- refactor(equal): user Expect.toStrictEqual to simplify value comparison by @metrue in https://github.com/yusukebe/hono/pull/63
- feat: Add new shortcuts for request/response by @yusukebe in https://github.com/yusukebe/hono/pull/62
Full Changelog: yusukebe/hono@v0.1.0...v0.2.0
v0.1.0
🎉🎉🎉
What's Changed
- feat: add content-length header by @yusukebe in https://github.com/yusukebe/hono/pull/57
- refactor(utils): better management for utils modules to avoid kitchen sink issue by @metrue in https://github.com/yusukebe/hono/pull/59
- feat(content-length): add Content-Length in log output by @metrue in https://github.com/yusukebe/hono/pull/58
- feat: Use KV for blog example by @yusukebe in https://github.com/yusukebe/hono/pull/60
- chore: Add serve static example by @yusukebe in https://github.com/yusukebe/hono/pull/61
Full Changelog: yusukebe/hono@v0.0.16...v0.1.0