Clojure
Tools Releases

Tools Releases

The Clojure command line tools can be used to start a Clojure repl, use Clojure and Java libraries, and start Clojure programs.

Installation and Docs

For more information see the following docs:

Releases

Recent official releases are described here. Prereleases and older versions can be found in the repo changelog.

1.10.1.739 (Nov 23, 2020)

  • Fix use of jdk profile activation in local deps with pom files

  • Fix error handling for -X to avoid double throw

  • Add error handling for -A used without an alias

  • Use tools.deps.alpha 0.9.840

1.10.1.727 (Oct 21, 2020)

  • Fix clj -X:deps tree adding tools.deps.alpha to tree

  • Fix clj -X:deps mvn-pom adding tools.deps.alpha to pom deps

  • Fix clj -X:deps git-resolve-tags not working

  • TDEPS-169 - Fix clj -X:deps mvn-install on jar to also install embedded pom

  • Fix clj -Spom not respecting dep modifications from -A (regression)

  • Use tools.deps.alpha 0.9.833

1.10.1.716 (Oct 10, 2020)

  • Make edn reading tolerant of unknown tagged literals

  • Update to latest dependencies for maven-resolver and aws-api

  • Use tools.deps.alpha 0.9.821

1.10.1.708 (Oct 7, 2020)

  • Fixes to handling transitive deps when newer versions of a dep are found in the dep expansion

  • TDEPS-168 - Improvements to -X error message handling

  • Use tools.deps.alpha 0.9.816

1.10.1.697 (Sept 25, 2020)

  • Added execution mode (-X)

  • Added prepare mode (-P)

  • Expanded main execution (-M) to support all argmap arguments

  • Added new argmap attributes for namespace resolution:

    • :ns-aliases and :ns-default

  • Added new clojure.tools.cli.api available via -X:deps alias:

    • clj -X:deps git-resolve-tags

    • clj -X:deps mvn-install

    • clj -X:deps mvn-pom

    • clj -X:deps tree

  • Deprecated -R, -C (use -X, -M, or -A instead)

  • Deprecated unqualified lib names in deps.edn (use fully qualified lib names)

  • Deprecated alias tool args :deps and :paths (use :replace-deps and :replace-paths)

  • Removed -O (use -X, -M, or -A)

  • Removed -Sresolve-tags (use -X:deps git-resolve-tags)

  • TDEPS-152 - Fixes to -Spom generation with srcDirectory

  • TDEPS-155 - Better error handling for bad coordinates

  • TDEPS-167 - Handle absolute resource paths in pom deps

  • Use tools.deps.alpha 0.9.810

1.10.1.561 (July 17, 2020)

  • Rework exclusion handling when exclusion sets differ for same lib/version

  • Use tools.deps.alpha 0.8.709

1.10.1.547 (June 11, 2020)

  • (Windows) Write -Spath to output, not to host

  • TDEPS-152 - Fix bad addition of srcDirectory in pom gen

  • TDEPS-155 - Add error checking for missing :mvn/version

  • Use tools.deps.alpha 0.8.695

1.10.1.536 (Feb 28, 2020)

  • Release automation work, no tool changes

1.10.1.510 (Feb 14, 2020)

  • TDEPS-150 - Fix regression in supporting -Scp flag (avoid resolving deps)

  • TDEPS-148 - Fix incorrect path resolution for git/local dep without deps.edn

  • Use tools.deps.alpha 0.8.677