Releases: honojs/hono
Releases · honojs/hono
v0.3.6
BREAKING CHANGES!!!
c.statusText()
is obsoleted!! Status text is set automatically.
What's Changed
- test: add default middleware test by @yusukebe in https://github.com/yusukebe/hono/pull/90
- refactor: remove default middleware by @yusukebe in https://github.com/yusukebe/hono/pull/91
- feat: auto set
statusText
by @yusukebe in https://github.com/yusukebe/hono/pull/93 - feat: check response type by @yusukebe in https://github.com/yusukebe/hono/pull/94
Full Changelog: yusukebe/hono@v0.3.5...v0.3.6
v0.3.5
What's Changed
- fix: default content-type by @yusukebe in https://github.com/yusukebe/hono/pull/88
- feat: add root option on mustache middleware by @yusukebe in https://github.com/yusukebe/hono/pull/89
Full Changelog: yusukebe/hono@v0.3.4...v0.3.5
v0.3.4
What's Changed
- fix: use require by @yusukebe in https://github.com/yusukebe/hono/pull/87
Full Changelog: yusukebe/hono@v0.3.3...v0.3.4
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