From 2720ab6e253f57e18874e40356432a245750b46d Mon Sep 17 00:00:00 2001 From: sdogruyol Date: Sat, 1 Jul 2017 22:02:09 +0300 Subject: [PATCH] 0.20.0 --- CHANGELOG.md | 11 ++++++++++- shard.yml | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4818234..6dbb2e1 100644 --- a/CHANGELOG.md +++ b/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) diff --git a/shard.yml b/shard.yml index 6bb84e3..815d94a 100644 --- a/shard.yml +++ b/shard.yml @@ -1,5 +1,5 @@ name: kemal -version: 0.19.0 +version: 0.20.0 dependencies: radix: