0.2.10-alpha1

This commit is contained in:
Tommi Reiman 2018-12-27 16:45:33 +02:00
parent d8d27a49fa
commit 8081fe1a49
5 changed files with 20 additions and 11 deletions

View file

@ -3,16 +3,16 @@
[Reitit](https://github.com/metosin/reitit) is a fast data-driven router for Clojure(Script). [Reitit](https://github.com/metosin/reitit) is a fast data-driven router for Clojure(Script).
* Simple data-driven [route syntax](./basics/route_syntax.md) * 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) * First-class [route data](./basics/route_data.md)
* Bi-directional routing * Bi-directional routing
* [Pluggable coercion](./coercion/coercion.md) ([schema](https://github.com/plumatic/schema) & [clojure.spec](https://clojure.org/about/spec)) * [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 * Extendable
* Modular * Modular
* [Fast](performance.md) * [Fast](performance.md)
Modules: ## Main Modules
* `reitit` - all bundled * `reitit` - all bundled
* `reitit-core` - the routing core * `reitit-core` - the routing core
@ -27,6 +27,10 @@ Modules:
* `reitit-interceptors` - [common interceptors](./http/default_interceptors.md) for `reitit-http` * `reitit-interceptors` - [common interceptors](./http/default_interceptors.md) for `reitit-http`
* `reitit-sieppari` support for [Sieppari](https://github.com/metosin/sieppari) Interceptors * `reitit-sieppari` support for [Sieppari](https://github.com/metosin/sieppari) Interceptors
## Extra modules
* `reitit-pedestal` support for [Pedestal](http://pedestal.io)
## Latest version ## Latest version
All bundled: All bundled:
@ -61,6 +65,11 @@ Optionally, the parts can be required separately:
[metosin/reitit-sieppari "0.2.9"] [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. There is [#reitit](https://clojurians.slack.com/messages/reitit/) in [Clojurians Slack](http://clojurians.net/) for discussion & help.
# Examples # Examples

View file

@ -3,7 +3,7 @@
[Pedestal](http://pedestal.io/) is a backend web framework for Clojure. `reitit-pedestal` provides an alternative routing engine for Pedestal. [Pedestal](http://pedestal.io/) is a backend web framework for Clojure. `reitit-pedestal` provides an alternative routing engine for Pedestal.
```clj ```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)? 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 ```clj
; [io.pedestal/pedestal.service "0.5.5"] ; [io.pedestal/pedestal.service "0.5.5"]
; [io.pedestal/pedestal.jetty "0.5.5"] ; [io.pedestal/pedestal.jetty "0.5.5"]
; [metosin/reitit-pedestal "0.2.9"] ; [metosin/reitit-pedestal "0.2.10-alpha1"]
; [metosin/reitit "0.2.9"] ; [metosin/reitit "0.2.10-alpha1"]
(ns example.server (ns example.server
(:require [io.pedestal.http :as server] (:require [io.pedestal.http :as server]

View file

@ -3,6 +3,6 @@
:dependencies [[org.clojure/clojure "1.10.0"] :dependencies [[org.clojure/clojure "1.10.0"]
[io.pedestal/pedestal.service "0.5.5"] [io.pedestal/pedestal.service "0.5.5"]
[io.pedestal/pedestal.jetty "0.5.5"] [io.pedestal/pedestal.jetty "0.5.5"]
[metosin/reitit-pedestal "0.2.9"] [metosin/reitit-pedestal "0.2.10-alpha1"]
[metosin/reitit "0.2.9"]] [metosin/reitit "0.2.10-alpha1"]]
:repl-options {:init-ns example.server}) :repl-options {:init-ns example.server})

View file

@ -3,6 +3,6 @@
:dependencies [[org.clojure/clojure "1.10.0"] :dependencies [[org.clojure/clojure "1.10.0"]
[io.pedestal/pedestal.service "0.5.5"] [io.pedestal/pedestal.service "0.5.5"]
[io.pedestal/pedestal.jetty "0.5.5"] [io.pedestal/pedestal.jetty "0.5.5"]
[metosin/reitit-pedestal "0.2.9"] [metosin/reitit-pedestal "0.2.10-alpha1"]
[metosin/reitit "0.2.9"]] [metosin/reitit "0.2.10-alpha1"]]
:repl-options {:init-ns example.server}) :repl-options {:init-ns example.server})

View file

@ -1,4 +1,4 @@
(defproject metosin/reitit-pedestal "0.2.9" (defproject metosin/reitit-pedestal "0.2.10-alpha1"
:description "Reitit + Pedestal Integration" :description "Reitit + Pedestal Integration"
:url "https://github.com/metosin/reitit" :url "https://github.com/metosin/reitit"
:license {:name "Eclipse Public License" :license {:name "Eclipse Public License"