From 33498b50bf6907b0087607bf5545708e8ebd5ae9 Mon Sep 17 00:00:00 2001 From: sdogruyol Date: Sat, 1 Jul 2017 22:12:36 +0300 Subject: [PATCH] Update CHANGELOG --- CHANGELOG.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ecd54be..f3e9a0e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,12 +1,13 @@ # 0.20.0 (01-07-2017) -- Handlers are now completely customizable and you can specify your own handlers. +- Great news everyone 🎉 All handlers are now completely ***customizable***!. Use the default `Kemal` handlers or go wild, it's all up to you ⛏ ```ruby +# Don't forget to add `Kemal::RouteHandler::INSTANCE` or your routes won't work! Kemal.config.handlers = [Kemal::InitHandler.new, YourHandler.new, Kemal::RouteHandler::INSTANCE] ``` -You can also insert a handler into a specific position in the default / existing handlers. +You can also insert a handler into a specific position. ```ruby # This adds MyCustomHandler instance to 1 position. Be aware that the index starts from 0.