Skip to content

Bump clojure/tools.reader to v1.5.2 #369

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ A release with known breaking changes is marked with:

* `rewrite-clj.zip/insert-right` and `rewrite-clj.zip/append-child` no longer insert a space when inserting/appending after a comment node.
{issue}346[#346] ({lread})
* `:end-col` metadata now correct for keywords at end of content
* bump `clojure/tools.reader` to correct `:end-col` metadata for keywords at end of content
{issue}367[#367] ({lread})
* `rewrite.clj.paredit`
** now supports paredit ops on new/changed nodes in a zipper
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.5.1"}}
org.clojure/tools.reader {:mvn/version "1.5.2"}}

: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 @@ -158,7 +158,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.5.1"]
:additions [['org.clojure/tools.reader "1.5.2"]
['rewrite-clj rewrite-clj-version]]}))

;;
Expand Down Expand Up @@ -194,7 +194,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.5.1\"")
"org.clojure/tools.reader \"1.5.2\"")
(->> (spit p)))))

;;
Expand Down Expand Up @@ -228,7 +228,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.5.1\"")
"org.clojure/tools.reader \"1.5.2\"")
(->> (spit p)))))

;;
Expand Down
Loading