🔖 release 0.1.0
🎉 0.1.0 - 2022-01-02
General
b48a45b ♻️ Refactor: Move files and change configuration keys
BREAKING: rename `:duct.module.reitit/key` => `:duct.reitit/key`
- dbbb99e ✅ Test: General update
Handler
c610a77 ✨ Feature: Add ring-handler
Following module https://github.com/duct-framework/module.web.Everything will come done to duct.handler/root
Middleware
10f44a3 ♻️ Refactor: Create macro for defining middlewares
a macro to abstract the complexity of creating reitit middleware.
9e8a221 ♻️ Refactor: Move exception handling
Create a new file under reitit.middleware to process and create exception middleware.
-
d80f2b4 ✅ Test: Coercion
-
f46c883 ✅ Test: Parameters validation
-
f2406d0 ✨ Feature: Access environment key within handlers
-
eb7eaa0 ✨ Feature: Pretty print coercion errors.
Module
2bbc180 ♻️ Refactor: Change require configuration schema.
It's a bit weird how duct works, I don't like the fact that modules are outside the base profile. Here I took the same approach as existing duct modules and kept module initialization with empty map.