Skip to content

Commit

Permalink
template: update library dependency versions
Browse files Browse the repository at this point in the history
Update versions of clojure, reitit, http-kit, tools.build libraries

Use Maven release for tools.build library (easier to update with antq)
  • Loading branch information
practicalli-johnny committed Jun 1, 2024
1 parent 0f2885b commit 4ee10d0
Show file tree
Hide file tree
Showing 11 changed files with 27 additions and 31 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ All notable changes to this project will be documented in this file. This change
## Added
- dev: outdated Makefile task to identify newer library versions using antq
- dev: updated library versions for `quality-checks.yaml` GitHub workflows
- templates: update library dependency versions, clojure, reitit, http-kit, tools.build

# 2024-04-20
## Changed
Expand Down
6 changes: 3 additions & 3 deletions deps.edn
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{:paths ["src" "resources"]

:deps
{org.clojure/clojure {:mvn/version "1.11.1"}}
{org.clojure/clojure {:mvn/version "1.11.3"}}

:aliases
{;; Add libraries and paths to support additional test tools
Expand All @@ -10,13 +10,13 @@
:extra-deps {org.clojure/test.check {:mvn/version "1.1.1"}
;; https://github.com/seancorfield/deps-new/
io.github.seancorfield/deps-new
{:git/tag "v0.6.0" :git/sha "64e79d1"}}}
{:git/tag "v0.7.1" :git/sha "c1e42aa"}}}

;; Test runner - local and CI
;; call with `:watch? true` argument to start file watcher and re-run tests on saved changes
:test/run
{:extra-paths ["test"]
:extra-deps {lambdaisland/kaocha {:mvn/version "1.87.1366"}}
:extra-deps {lambdaisland/kaocha {:mvn/version "1.91.1392"}}
:main-opts ["-m" "kaocha.runner"]
:exec-fn kaocha.runner/exec-fn
:exec-args {:randomize? false
Expand Down
5 changes: 2 additions & 3 deletions resources/practicalli/application/build/deps.edn.template
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
;; call with :watch? true to start file watcher and re-run tests on saved changes
:test/run
{:extra-paths ["test"]
:extra-deps {lambdaisland/kaocha {:mvn/version "1.87.1366"}}
:extra-deps {lambdaisland/kaocha {:mvn/version "1.91.1392"}}
:main-opts ["-m" "kaocha.runner"]
:exec-fn kaocha.runner/exec-fn
:exec-args {:randomize? false
Expand All @@ -38,6 +38,5 @@
;; tools.build `build.clj` built script
:build
{:replace-paths ["."]
:replace-deps {io.github.clojure/tools.build
{:git/tag "v0.9.4" :git/sha "76b78fe"}}
:replace-deps {io.github.clojure/tools.build {:mvn/version "0.10.3"}}
:ns-default build}}}
2 changes: 1 addition & 1 deletion resources/practicalli/application/template.edn
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
;; ---------------------------------------------------------
;; Version substitutions

:clojure-version "1.11.2"
:clojure-version "1.11.3"
;; ---------------------------------------------------------

;; ---------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion resources/practicalli/landing_page/template.edn
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
;; ---------------------------------------------------------
;; Version substitutions

:clojure-version "1.11.1"
:clojure-version "1.11.3"
;; ---------------------------------------------------------

;; ---------------------------------------------------------
Expand Down
5 changes: 2 additions & 3 deletions resources/practicalli/minimal/build/deps.edn.template
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
;; call with :watch? true to start file watcher and re-run tests on saved changes
:test/run
{:extra-paths ["test"]
:extra-deps {lambdaisland/kaocha {:mvn/version "1.87.1366"}}
:extra-deps {lambdaisland/kaocha {:mvn/version "1.91.1392"}}
:main-opts ["-m" "kaocha.runner"]
:exec-fn kaocha.runner/exec-fn
:exec-args {:randomize? false
Expand All @@ -43,8 +43,7 @@
;; tools.build `build.clj` built script
:build/task
{:replace-paths ["."]
:replace-deps {io.github.clojure/tools.build
{:git/tag "v0.10.0" :git/sha "3a2c484"}}
:replace-deps {io.github.clojure/tools.build {:mvn/version "0.10.3"}}
:ns-default build}}}
;; ------------
;; ---------------------------------------------------------
2 changes: 1 addition & 1 deletion resources/practicalli/minimal/template.edn
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
;; ---------------------------------------------------------
;; Version substitutions

:clojure-version "1.11.2"
:clojure-version "1.11.3"
;; ---------------------------------------------------------

;; ---------------------------------------------------------
Expand Down
11 changes: 5 additions & 6 deletions resources/practicalli/service/build/deps.edn.template
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
;; ---------------------------------------------------------
:deps
{;; Service
http-kit/http-kit {:mvn/version "2.6.0"} ; latest "2.7.0-alpha1"
metosin/reitit {:mvn/version "0.5.13"}
metosin/reitit-dev {:mvn/version "0.5.18"} ; human readable exceptions
http-kit/http-kit {:mvn/version "2.8.0"}
metosin/reitit {:mvn/version "0.7.0"}
metosin/reitit-dev {:mvn/version "0.7.0"} ; human readable exceptions

;; Logging
;; create events and send to publisher
Expand Down Expand Up @@ -44,7 +44,7 @@
;; call with :watch? true to start file watcher and re-run tests on saved changes
:test/run
{:extra-paths ["test"]
:extra-deps {lambdaisland/kaocha {:mvn/version "1.87.1366"}}
:extra-deps {lambdaisland/kaocha {:mvn/version "1.91.1392"}}
:main-opts ["-m" "kaocha.runner"]
:exec-fn kaocha.runner/exec-fn
:exec-args {:randomize? false
Expand All @@ -55,8 +55,7 @@
;; tools.build `build.clj` built script
:build/task
{:replace-paths ["."]
:replace-deps {io.github.clojure/tools.build
{:git/tag "v0.10.0" :git/sha "3a2c484"}}
:replace-deps {io.github.clojure/tools.build {:mvn/version "0.10.3"}}
:ns-default build}}}
;; ------------
;; ---------------------------------------------------------
11 changes: 5 additions & 6 deletions resources/practicalli/service/build/deps_donut.edn.template
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
;; ---------------------------------------------------------
:deps
{;; Service
http-kit/http-kit {:mvn/version "2.6.0"} ; latest "2.7.0-alpha1"
metosin/reitit {:mvn/version "0.5.13"}
metosin/reitit-dev {:mvn/version "0.5.18"} ; human readable exceptions
http-kit/http-kit {:mvn/version "2.8.0"} ; latest "2.7.0-alpha1"
metosin/reitit {:mvn/version "0.7.0"}
metosin/reitit-dev {:mvn/version "0.7.0"} ; human readable exceptions

;; Logging
;; create events and send to publisher
Expand Down Expand Up @@ -46,7 +46,7 @@
;; call with :watch? true to start file watcher and re-run tests on saved changes
:test/run
{:extra-paths ["test"]
:extra-deps {lambdaisland/kaocha {:mvn/version "1.87.1366"}}
:extra-deps {lambdaisland/kaocha {:mvn/version "1.91.1392"}}
:main-opts ["-m" "kaocha.runner"]
:exec-fn kaocha.runner/exec-fn
:exec-args {:randomize? false
Expand All @@ -57,8 +57,7 @@
;; tools.build `build.clj` built script
:build/task
{:replace-paths ["."]
:replace-deps {io.github.clojure/tools.build
{:git/tag "v0.10.0" :git/sha "3a2c484"}}
:replace-deps {io.github.clojure/tools.build {:mvn/version "0.10.3"}}
:ns-default build}}}
;; ------------
;; ---------------------------------------------------------
11 changes: 5 additions & 6 deletions resources/practicalli/service/build/deps_integrant.edn.template
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
;; ---------------------------------------------------------
:deps
{;; Service
http-kit/http-kit {:mvn/version "2.6.0"} ; latest "2.7.0-alpha1"
metosin/reitit {:mvn/version "0.5.13"}
metosin/reitit-dev {:mvn/version "0.5.18"} ; human readable exceptions
http-kit/http-kit {:mvn/version "2.8.0"} ; latest "2.7.0-alpha1"
metosin/reitit {:mvn/version "0.7.0"}
metosin/reitit-dev {:mvn/version "0.7.0"} ; human readable exceptions

;; Logging
;; create events and send to publisher
Expand Down Expand Up @@ -47,7 +47,7 @@
;; call with :watch? true to start file watcher and re-run tests on saved changes
:test/run
{:extra-paths ["test"]
:extra-deps {lambdaisland/kaocha {:mvn/version "1.87.1366"}}
:extra-deps {lambdaisland/kaocha {:mvn/version "1.91.1392"}}
:main-opts ["-m" "kaocha.runner"]
:exec-fn kaocha.runner/exec-fn
:exec-args {:randomize? false
Expand All @@ -58,8 +58,7 @@
;; tools.build `build.clj` built script
:build/task
{:replace-paths ["."]
:replace-deps {io.github.clojure/tools.build
{:git/tag "v0.10.0" :git/sha "3a2c484"}}
:replace-deps {io.github.clojure/tools.build {:mvn/version "0.10.3"}}
:ns-default build}}}
;; ------------
;; ---------------------------------------------------------
2 changes: 1 addition & 1 deletion resources/practicalli/service/template.edn
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
;; ---------------------------------------------------------
;; Version substitutions

:clojure-version "1.11.2"
:clojure-version "1.11.3"

;; ---------------------------------------------------------

Expand Down

0 comments on commit 4ee10d0

Please sign in to comment.