diff --git a/doc/README.md b/doc/README.md index e01c1732..08f076df 100644 --- a/doc/README.md +++ b/doc/README.md @@ -3,16 +3,16 @@ [Reitit](https://github.com/metosin/reitit) is a fast data-driven router for Clojure(Script). * Simple data-driven [route syntax](./basics/route_syntax.md) -* [Route conflict resolution](./basics/route_conflicts.md) +* Route [conflict resolution](./basics/route_conflicts.md) * First-class [route data](./basics/route_data.md) * Bi-directional routing * [Pluggable coercion](./coercion/coercion.md) ([schema](https://github.com/plumatic/schema) & [clojure.spec](https://clojure.org/about/spec)) -* Helpers for [ring](./ring/ring.html), [http](./http/interceptors.md) & [the browser](./frontend/basics.html) +* Helpers for [ring](./ring/ring.md), [http](./http/interceptors.md), [pedestal](./http/pedestal.md) & [frontend](./frontend/basics.md) * Extendable * Modular * [Fast](performance.md) -Modules: +## Main Modules * `reitit` - all bundled * `reitit-core` - the routing core @@ -27,6 +27,10 @@ Modules: * `reitit-interceptors` - [common interceptors](./http/default_interceptors.md) for `reitit-http` * `reitit-sieppari` support for [Sieppari](https://github.com/metosin/sieppari) Interceptors +## Extra modules + +* `reitit-pedestal` support for [Pedestal](http://pedestal.io) + ## Latest version All bundled: @@ -61,6 +65,11 @@ Optionally, the parts can be required separately: [metosin/reitit-sieppari "0.2.9"] ``` +```clj +;; pedestal +[metosin/reitit-pedestal "0.2.10-alpha1"] +``` + There is [#reitit](https://clojurians.slack.com/messages/reitit/) in [Clojurians Slack](http://clojurians.net/) for discussion & help. # Examples diff --git a/doc/http/pedestal.md b/doc/http/pedestal.md index 713a0103..e0b441ce 100644 --- a/doc/http/pedestal.md +++ b/doc/http/pedestal.md @@ -3,7 +3,7 @@ [Pedestal](http://pedestal.io/) is a backend web framework for Clojure. `reitit-pedestal` provides an alternative routing engine for Pedestal. ```clj -[metosin/reitit-pedestal "0.2.9"] +[metosin/reitit-pedestal "0.2.10-alpha1"] ``` Why should one use reitit instead of the Pedestal [default routing](http://pedestal.io/reference/routing-quick-reference)? @@ -26,8 +26,8 @@ A minimalistic example on how to to swap the default-router with a reitit router ```clj ; [io.pedestal/pedestal.service "0.5.5"] ; [io.pedestal/pedestal.jetty "0.5.5"] -; [metosin/reitit-pedestal "0.2.9"] -; [metosin/reitit "0.2.9"] +; [metosin/reitit-pedestal "0.2.10-alpha1"] +; [metosin/reitit "0.2.10-alpha1"] (ns example.server (:require [io.pedestal.http :as server] diff --git a/examples/pedestal-swagger/project.clj b/examples/pedestal-swagger/project.clj index 53ba7fcb..ed1481ec 100644 --- a/examples/pedestal-swagger/project.clj +++ b/examples/pedestal-swagger/project.clj @@ -3,6 +3,6 @@ :dependencies [[org.clojure/clojure "1.10.0"] [io.pedestal/pedestal.service "0.5.5"] [io.pedestal/pedestal.jetty "0.5.5"] - [metosin/reitit-pedestal "0.2.9"] - [metosin/reitit "0.2.9"]] + [metosin/reitit-pedestal "0.2.10-alpha1"] + [metosin/reitit "0.2.10-alpha1"]] :repl-options {:init-ns example.server}) diff --git a/examples/pedestal/project.clj b/examples/pedestal/project.clj index 53ba7fcb..ed1481ec 100644 --- a/examples/pedestal/project.clj +++ b/examples/pedestal/project.clj @@ -3,6 +3,6 @@ :dependencies [[org.clojure/clojure "1.10.0"] [io.pedestal/pedestal.service "0.5.5"] [io.pedestal/pedestal.jetty "0.5.5"] - [metosin/reitit-pedestal "0.2.9"] - [metosin/reitit "0.2.9"]] + [metosin/reitit-pedestal "0.2.10-alpha1"] + [metosin/reitit "0.2.10-alpha1"]] :repl-options {:init-ns example.server}) diff --git a/modules/reitit-pedestal/project.clj b/modules/reitit-pedestal/project.clj index d57d57c1..139bfaf8 100644 --- a/modules/reitit-pedestal/project.clj +++ b/modules/reitit-pedestal/project.clj @@ -1,4 +1,4 @@ -(defproject metosin/reitit-pedestal "0.2.9" +(defproject metosin/reitit-pedestal "0.2.10-alpha1" :description "Reitit + Pedestal Integration" :url "https://github.com/metosin/reitit" :license {:name "Eclipse Public License"