kemal v0.20.0 Release Notes
Release Date: 2017-07-01 // almost 7 years ago-
- 🚀 Crystal 0.23.0 support! As always, Kemal is compatible with the latest major release of Crystal 💎
Great news everyone 🎉 All handlers are now completely _ customizable _!. Use the default
Kemal
handlers or go wild, it's all up to you ⛏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.
# This adds MyCustomHandler instance to 1 position. Be aware that the index starts from 0.add\_handler MyCustomHandler.new, 1
- ⚡️ Updated Kilt to v0.4.0.
- 🐎 Make
Route
aStruct
. This improves the performance of route declarations.