0.20.0
This commit is contained in:
parent
eb3e83d590
commit
2720ab6e25
2 changed files with 11 additions and 2 deletions
11
CHANGELOG.md
11
CHANGELOG.md
|
@ -1,4 +1,4 @@
|
|||
# Next
|
||||
# 0.20.0 (01-07-2017)
|
||||
|
||||
- Make `Route` a `Struct`.
|
||||
- Handlers are now completely customizable and you can specify your own handlers.
|
||||
|
@ -7,6 +7,15 @@
|
|||
Kemal.config.handlers = [Kemal::InitHandler.new, YourHandler.new, Kemal::RouteHandler::INSTANCE]
|
||||
```
|
||||
|
||||
- Updated [Kilt](https://github.com/jeromegn/kilt) to v0.4.0.
|
||||
|
||||
You can also insert a handler into a specific position in the default / existing handlers.
|
||||
|
||||
```ruby
|
||||
# This adds MyCustomHandler instance to 1 position. Be aware that the index starts from 0.
|
||||
add_handler MyCustomHandler.new, 1
|
||||
```
|
||||
|
||||
# 0.19.0 (09-05-2017)
|
||||
|
||||
- Return no body for head route fixes #323. (thanks @crisward)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
name: kemal
|
||||
version: 0.19.0
|
||||
version: 0.20.0
|
||||
|
||||
dependencies:
|
||||
radix:
|
||||
|
|
Loading…
Reference in a new issue