Skip to content

Commit

Permalink
maint: bump tools.reader (#310)
Browse files Browse the repository at this point in the history
Bump rewrite-clj tools.reader dep to 1.5.0, the current latest.
Rewrite-clj does not rely on its new 1.12 syntax support,
we added support in before 1.5.0 was released, but:
- We want to ensure rewrite-clj works with tools.reader latest
- As part of the Clojure ecosystem, we'd like to use the latest versions
of libs when possible to help validate their correctness
  • Loading branch information
lread authored Aug 30, 2024
1 parent 4e4ff21 commit 834a9f6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ A release with known breaking changes is marked with:
// (adjust these in publish.clj as you see fit)
=== Unreleased

* bump `org.clojure/tools.reader` to version `1.5.0`
({lread})

=== v1.1.48 - 2024-08-15 [[v1.1.48]]

* bump `org.clojure/tools.reader` to version `1.4.2`
Expand Down
2 changes: 1 addition & 1 deletion 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.8.0"}
org.clojure/tools.reader {:mvn/version "1.4.2"}}
org.clojure/tools.reader {:mvn/version "1.5.0"}}

:aliases {;; we use babashka/neil for project attributes
;; publish workflow references these values (and automatically bumps patch component of version)
Expand Down
6 changes: 3 additions & 3 deletions script/test_libs.clj
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
(patch-deps {:filename (str (fs/file home-dir "project.clj"))
;; we remove and add tools.reader because project.clj has pedantic? :abort enabled
:removals #{'rewrite-clj 'org.clojure/tools.reader}
:additions [['org.clojure/tools.reader "1.4.2"]
:additions [['org.clojure/tools.reader "1.5.0"]
['rewrite-clj rewrite-clj-version]]}))

;;
Expand Down Expand Up @@ -193,7 +193,7 @@
(string/replace #"rewrite-clj \"(\d+\.)+.*\""
(format "rewrite-clj \"%s\"" rewrite-clj-version))
(string/replace #"org.clojure/tools.reader \"(\d+\.)+.*\""
"org.clojure/tools.reader \"1.4.2\"")
"org.clojure/tools.reader \"1.5.0\"")
(->> (spit p)))))

;;
Expand Down Expand Up @@ -227,7 +227,7 @@
(format "rewrite-clj \"%s\"" rewrite-clj-version))
;; pedantic is enabled for CI, so adjust to match rewrite-clj so we don't fail
(string/replace #"org.clojure/tools.reader \"(\d+\.)+.*\""
"org.clojure/tools.reader \"1.4.2\"")
"org.clojure/tools.reader \"1.5.0\"")
(->> (spit p)))))

;;
Expand Down

0 comments on commit 834a9f6

Please sign in to comment.