v0.20.0
- 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.