Releases: honojs/hono
Releases · honojs/hono
v0.5.4
What's Changed
- fix(types): add
Handler<string>
by @yusukebe in https://github.com/yusukebe/hono/pull/134
Full Changelog: yusukebe/hono@v0.5.3...v0.5.4
v0.5.3
What's Changed
- chore: update example for fastly compute@edge by @yusukebe in https://github.com/yusukebe/hono/pull/130
- docs: create Japanese readme by @yusukebe in https://github.com/yusukebe/hono/pull/131
- feat: add
request
method by @yusukebe in https://github.com/yusukebe/hono/pull/132
Full Changelog: yusukebe/hono@v0.5.2...v0.5.3
v0.5.2
What's Changed
- chore: update examples by @yusukebe in https://github.com/yusukebe/hono/pull/123
- docs: write instructions by @yusukebe in https://github.com/yusukebe/hono/pull/125
- English grammar changes by @charl-kruger in https://github.com/yusukebe/hono/pull/127
- feat: basic auth middleware supports overriding
hashFunction
by @yusukebe in https://github.com/yusukebe/hono/pull/128
New Contributors
- @charl-kruger made their first contribution in https://github.com/yusukebe/hono/pull/127
Full Changelog: yusukebe/hono@v0.5.1...v0.5.2
v0.5.1
What's Changed
- refactor: create
utils/crypto.ts
by @yusukebe in https://github.com/yusukebe/hono/pull/118 - feat: etag middleware by @yusukebe in https://github.com/yusukebe/hono/pull/119
- chore: update benchmark script by @yusukebe in https://github.com/yusukebe/hono/pull/120
- refactor: compose by @yusukebe in https://github.com/yusukebe/hono/pull/121
- fix: mime-type bug by @yusukebe in https://github.com/yusukebe/hono/pull/122
Full Changelog: yusukebe/hono@v0.5.0...v0.5.1
v0.5.0
BREAKING CHANGES!!
app.notFound
and app.onError
are changed:
// Custom Not Found Response
app.notFound((c) => c.text('404', 404))
// Handle Error and return custom Error Response
app.onError((err, c) => {
console.error(`${err}`)
return c.text('500', 500)
})
What's Changed
- refactor: compose by @yusukebe in https://github.com/yusukebe/hono/pull/116
- feat:
app.notFound()
andapp.onError()
by @yusukebe in https://github.com/yusukebe/hono/pull/117
Full Changelog: yusukebe/hono@v0.4.2...v0.5.0
v0.4.2
What's Changed
- feat: basic auth middleware supports multiple users by @yusukebe in https://github.com/yusukebe/hono/pull/112
- Make ParamMap Array<[key, value]>. by @usualoma in https://github.com/yusukebe/hono/pull/113
- refactor: directory structure by @yusukebe in https://github.com/yusukebe/hono/pull/114
- feat: exports
RegExpRouter
by @yusukebe in https://github.com/yusukebe/hono/pull/115
Full Changelog: yusukebe/hono@v0.4.1...v0.4.2
v0.4.1
What's Changed
- chore: set up prettier by @yusukebe in https://github.com/yusukebe/hono/pull/106
- refactor: router must have only one hander by @yusukebe in https://github.com/yusukebe/hono/pull/107
- perf: Optimize router by @usualoma in https://github.com/yusukebe/hono/pull/108
- feat: RegExpRouter by @usualoma in https://github.com/yusukebe/hono/pull/109
- feat:
app.notFound
for setting default 404 not found by @yusukebe in https://github.com/yusukebe/hono/pull/110 - feat:
app.onError
for handling error by @yusukebe in https://github.com/yusukebe/hono/pull/111
Full Changelog: yusukebe/hono@v0.4.0...v0.4.1
v0.4.0
BREAKING CHANGES!!!
app.route
is changed:
Chained route is obsolete:
app.route('/')
.get((c) => c.text('get /'))
// ^^^ Not working now!!
Now, app.route
enables nested route:
const book = app.route('/book')
book.get('/', (c) => c.text('List books')) // => GET /book
book.get('/:id', (c) => {
return c.text('Get Book: ' + c.req.param('id'))) // => GET /book/:id
})
What's Changed
- feat: add option for
no
strict routing by @yusukebe in https://github.com/yusukebe/hono/pull/103 - refactor: do some refactoring by @yusukebe in https://github.com/yusukebe/hono/pull/104
- feat: nested route by @yusukebe in https://github.com/yusukebe/hono/pull/105
Full Changelog: yusukebe/hono@v0.3.8...v0.4.0
v0.3.8
What's Changed
- chore: update nano-jsx example by @yusukebe in https://github.com/yusukebe/hono/pull/97
- refactor: remove not used files by @yusukebe in https://github.com/yusukebe/hono/pull/98
- docs: update readme by @yusukebe in https://github.com/yusukebe/hono/pull/99
- chore: fix hono-example-blog by @yusukebe in https://github.com/yusukebe/hono/pull/100
- chore: update examples by @yusukebe in https://github.com/yusukebe/hono/pull/101
- Added type to c.req.param key. by @usualoma in https://github.com/yusukebe/hono/pull/102
New Contributors
- @usualoma made their first contribution in https://github.com/yusukebe/hono/pull/102
Full Changelog: yusukebe/hono@v0.3.7...v0.3.8
v0.3.7
What's Changed
- feat: Add new shortcuts for request/response by @yusukebe in https://github.com/yusukebe/hono/pull/62
- Flamework to Framework by @metrue in https://github.com/yusukebe/hono/pull/95
- feat: exports buffer util by @yusukebe in https://github.com/yusukebe/hono/pull/96
Full Changelog: yusukebe/hono@v0.3.6...v0.3.7