diff --git a/CHANGELOG.md b/CHANGELOG.md index e00a3410..6317fd7c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -69,6 +69,11 @@ (swagger-ui/create-swagger-ui-handler {:path "/"})) ``` +## `reitit-middleware` + +* A new module with common data-driven middleware: exception handling, content negotiation & multipart requests. See [the docs](https://metosin.github.io/reitit/ring/default_middleware.html). + + ## `reitit-swagger-ui` * **BREAKING**: pass swagger-ui `:config` as-is (instead of mixed-casing keys) to swagger-ui, fixes [#109](https://github.com/metosin/reitit/issues/109): diff --git a/README.md b/README.md index bf836881..f6ed27c5 100644 --- a/README.md +++ b/README.md @@ -20,11 +20,12 @@ See the [full documentation](https://metosin.github.io/reitit/) for details. ## Modules * `reitit-core` - the routing core -* [`reitit-ring`](https://metosin.github.io/reitit/ring/ring.html) with [data-driven middleware](https://metosin.github.io/reitit/ring/data_driven_middleware.html) +* `reitit-ring` - a [ring router](https://metosin.github.io/reitit/ring/ring.html) +* `reitit-middleware` - [common data-driven middleware](https://metosin.github.io/reitit/ring/default_middleware.html) for `reitit-ring` * `reitit-spec` [clojure.spec](https://clojure.org/about/spec) coercion * `reitit-schema` [Schema](https://github.com/plumatic/schema) coercion * `reitit-swagger` [Swagger2](https://swagger.io/) apidocs -* `reitit-swagger-ui` Integrated [Swagger UI](https://github.com/swagger-api/swagger-ui). +* `reitit-swagger-ui` Integrated [Swagger UI](https://github.com/swagger-api/swagger-ui) Bubblin' under: