π 0.3.1 - 2022-01-11
Exceptions
2a8c648 β¨ Feature: Auto-detect user exceptions handler
When user defined `project-ns.handler/exceptions` or `project.ns.handler.exceptions/main` it should auto-detected and set it
6535c96 β¨ Feature: Append pretty message to coercion by default.
When coercer is defined this should be appended by default. Although, support is needed for schema and malli errors.
Logging
a7f3d6b β¨ Feature: Support request logging
Example Output:Pretty Mode:
Starting Request ------------------------ Request Time: 10:53:27 Request Method: "GET" Request URI: "/divide" Request Params: {:body {:y 2, :x 2}} ----------------------------------------- Finishing Request ------------------------ Request Method: "GET" Request URI: "/divide" Request Duration: 0 ms ------------------------------------------
Compact Mode:
[:starting {:method GET, :uri /divide, :params {:body {:y 2, :x 2}}}] [:completed {:method GET, :uri /divide, :completed-in 0}]
- dda7378 β¨ Feature: Malli compact and pretty format
Middleware
- 80f65a7 β¨ Feature: Cross-origin support
Module
- 528820c π Fix: Implicit require of duct.reitit