mirror of
https://github.com/metosin/reitit.git
synced 2026-01-11 09:39:49 +00:00
commit
334a42e03d
5 changed files with 37 additions and 21 deletions
9
.github/workflows/testsuite.yml
vendored
9
.github/workflows/testsuite.yml
vendored
|
|
@ -2,16 +2,19 @@ name: testsuite
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
pull_request:
|
||||
branches: [master]
|
||||
|
||||
jobs:
|
||||
build-clj:
|
||||
strategy:
|
||||
matrix:
|
||||
# Supported Java versions: LTS releases and latest
|
||||
jdk: [11, 17, 21]
|
||||
jdk: [11, 17, 21, 25]
|
||||
clojure: [11, 12]
|
||||
|
||||
name: Clojure (Java ${{ matrix.jdk }})
|
||||
name: Clojure ${{ matrix.clojure }} (Java ${{ matrix.jdk }})
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
|
|
@ -47,7 +50,7 @@ jobs:
|
|||
run: ./lint.sh
|
||||
|
||||
- name: Run tests
|
||||
run: ./scripts/test.sh clj
|
||||
run: ./scripts/test.sh clj${{ matrix.clojure }}
|
||||
|
||||
build-cljs:
|
||||
name: ClojureScript
|
||||
|
|
|
|||
|
|
@ -18,6 +18,14 @@ We use [Break Versioning][breakver]. The version numbers follow a `<major>.<mino
|
|||
* **BREAKING** Remove unused `reitit.dependency` ns. [#763](https://github.com/metosin/reitit/pull/763)
|
||||
* Support passing options to malli humanize. See [docs](./doc/coercion/malli_coercion.md). [#467](https://github.com/metosin/reitit/issues/467)
|
||||
* **FIX** Handling of ex-type keyword hierarchies in create-exception-middleware. [#768](https://github.com/metosin/reitit/issues/768)
|
||||
* Updated dependencies:
|
||||
|
||||
```
|
||||
[metosin/malli "0.20.0"] is available but we use "0.19.2"
|
||||
[com.fasterxml.jackson.core/jackson-core "2.20.1"] is available but we use "2.20.0"
|
||||
[com.fasterxml.jackson.core/jackson-databind "2.20.1"] is available but we use "2.20.0"
|
||||
[org.clojure/core.rrb-vector "0.2.1"] is available but we use "0.2.0"
|
||||
```
|
||||
|
||||
## 0.9.2 (2025-10-28)
|
||||
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ Optionally, the parts can be required separately.
|
|||
|
||||
Reitit requires Clojure 1.11 and Java 11.
|
||||
|
||||
Reitit is tested with the LTS releases Java 11, 17 and 21.
|
||||
Reitit is tested with the LTS releases Java 11, 17, 21 and 25
|
||||
|
||||
## Quick start
|
||||
|
||||
|
|
|
|||
32
project.clj
32
project.clj
|
|
@ -40,16 +40,16 @@
|
|||
[metosin/muuntaja "0.6.11"]
|
||||
[metosin/jsonista "0.3.13"]
|
||||
[metosin/sieppari "0.0.0-alpha13"]
|
||||
[metosin/malli "0.19.2"]
|
||||
[metosin/malli "0.20.0"]
|
||||
|
||||
;; https://clojureverse.org/t/depending-on-the-right-versions-of-jackson-libraries/5111
|
||||
[com.fasterxml.jackson.core/jackson-core "2.20.0"]
|
||||
[com.fasterxml.jackson.core/jackson-databind "2.20.0"]
|
||||
[com.fasterxml.jackson.core/jackson-core "2.20.1"]
|
||||
[com.fasterxml.jackson.core/jackson-databind "2.20.1"]
|
||||
|
||||
[meta-merge "1.0.0"]
|
||||
[fipp "0.6.29" :exclusions [org.clojure/core.rrb-vector]]
|
||||
;; Deep-diff uses this version, override olders versiom from fipp.
|
||||
[org.clojure/core.rrb-vector "0.2.0"]
|
||||
[org.clojure/core.rrb-vector "0.2.1"]
|
||||
[expound "0.9.0"]
|
||||
[lambdaisland/deep-diff "0.0-47"]
|
||||
[com.bhauman/spell-spec "0.1.2"]
|
||||
|
|
@ -67,7 +67,8 @@
|
|||
[lein-codox "0.10.8"]
|
||||
[metosin/bat-test "0.4.4"]]
|
||||
|
||||
:profiles {:dev {:jvm-opts ^:replace ["-server"]
|
||||
:profiles {:clj11 {:dependencies [[org.clojure/clojure "1.11.4"]]}
|
||||
:dev {:jvm-opts ^:replace ["-server"]
|
||||
|
||||
;; all module sources for development
|
||||
:source-paths ["modules/reitit/src"
|
||||
|
|
@ -89,9 +90,9 @@
|
|||
|
||||
:java-source-paths ["modules/reitit-core/java-src"]
|
||||
|
||||
:dependencies [[org.clojure/clojure "1.11.4"]
|
||||
[thheller/shadow-cljs "3.2.1"]
|
||||
[org.clojure/clojurescript "1.12.42"]
|
||||
:dependencies [[org.clojure/clojure "1.12.4"]
|
||||
[thheller/shadow-cljs "3.3.4"]
|
||||
[org.clojure/clojurescript "1.12.134"]
|
||||
|
||||
;; modules dependencies
|
||||
[metosin/schema-tools "0.13.1"]
|
||||
|
|
@ -99,7 +100,7 @@
|
|||
[metosin/muuntaja "0.6.11"]
|
||||
[metosin/sieppari "0.0.0-alpha13"]
|
||||
[metosin/jsonista "0.3.13"]
|
||||
[metosin/malli "0.19.2"]
|
||||
[metosin/malli "0.20.0"]
|
||||
[lambdaisland/deep-diff "0.0-47"]
|
||||
[meta-merge "1.0.0"]
|
||||
[com.bhauman/spell-spec "0.1.2"]
|
||||
|
|
@ -112,11 +113,11 @@
|
|||
[ikitommi/immutant-web "3.0.0-alpha1"]
|
||||
[metosin/ring-http-response "0.9.5"]
|
||||
[metosin/ring-swagger-ui "5.20.0"]
|
||||
[org.clojure/tools.analyzer "1.2.0"]
|
||||
[org.clojure/tools.analyzer "1.2.1"]
|
||||
|
||||
[criterium "0.4.6"]
|
||||
[org.clojure/test.check "1.1.1"]
|
||||
[org.clojure/tools.namespace "1.5.0"]
|
||||
[org.clojure/test.check "1.1.3"]
|
||||
[org.clojure/tools.namespace "1.5.1"]
|
||||
[com.gfredericks/test.chuck "0.2.15"]
|
||||
[nubank/matcher-combinators "3.9.2"]
|
||||
|
||||
|
|
@ -124,10 +125,10 @@
|
|||
[io.pedestal/pedestal.service "0.6.4" :upgrade false]
|
||||
|
||||
[org.clojure/core.async "1.8.741"]
|
||||
[manifold "0.4.3"]
|
||||
[manifold "0.5.0"]
|
||||
[funcool/promesa "11.0.678"]
|
||||
|
||||
[com.clojure-goes-fast/clj-async-profiler "1.6.2"]
|
||||
[com.clojure-goes-fast/clj-async-profiler "1.7.0"]
|
||||
[ring-cors "0.1.13"]
|
||||
|
||||
[com.bhauman/rebel-readline "0.1.5"]]}
|
||||
|
|
@ -143,7 +144,7 @@
|
|||
[io.pedestal/pedestal.jetty "0.6.4" :upgrade false]
|
||||
[calfpath "0.8.1"]
|
||||
[org.clojure/core.async "1.8.741"]
|
||||
[manifold "0.4.3"]
|
||||
[manifold "0.5.0"]
|
||||
[funcool/promesa "11.0.678"]
|
||||
[metosin/sieppari]
|
||||
[yada "1.2.16"]
|
||||
|
|
@ -159,6 +160,7 @@
|
|||
:aliases {"all" ["with-profile" "dev,default"]
|
||||
"perf" ["with-profile" "default,dev,perf"]
|
||||
"test-clj" ["all" "do" ["bat-test"] ["check"]]
|
||||
"test-clj11" ["with-profile" "dev,default,clj11" "do" ["bat-test"] ["check"]]
|
||||
;; NOTE: These are deprecated, kept around for ensuring shadow-cljs works
|
||||
;; the same way.
|
||||
"test-browser" ["doo" "chrome-headless" "test"]
|
||||
|
|
|
|||
|
|
@ -13,11 +13,14 @@ case $1 in
|
|||
npx shadow-cljs release karma
|
||||
npx karma start --single-run
|
||||
;;
|
||||
clj)
|
||||
clj11)
|
||||
lein test-clj11
|
||||
;;
|
||||
clj12)
|
||||
lein test-clj
|
||||
;;
|
||||
*)
|
||||
echo "Please select [clj|cljs]"
|
||||
echo "Please select [clj11|clj12|cljs]"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
|
|
|||
Loading…
Reference in a new issue