From 434408f6909924f524c8027b37422d32bb49622d Mon Sep 17 00:00:00 2001 From: James Reeves Date: Fri, 8 Dec 2023 13:24:41 +0000 Subject: [PATCH] Release 0.12.0 --- CHANGELOG.md | 4 ++++ README.md | 8 ++++---- cljfmt/project.clj | 2 +- cljfmt/src/cljfmt/main.clj | 2 +- install.sh | 2 +- lein-cljfmt/project.clj | 4 ++-- 6 files changed, 13 insertions(+), 9 deletions(-) mode change 100644 => 100755 install.sh diff --git a/CHANGELOG.md b/CHANGELOG.md index c91fbe3..9847bf5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.12.0 (2023-12-08) + +- Added support for Cursive and zprint style list indentation (#324) + ## 0.11.2 (2023-08-01) - Added `:legacy/merge-indents?` for compatibility with 0.10.x (#316) diff --git a/README.md b/README.md index 30feb03..00031eb 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ Use `--help` for a list of all the command-line options. For persistent configuration, you can use a [configuration file][]. -[zipped up binary]: https://github.com/weavejester/cljfmt/releases/download/0.11.2/cljfmt-0.11.2-win-amd64.zip +[zipped up binary]: https://github.com/weavejester/cljfmt/releases/download/0.12.0/cljfmt-0.12.0-win-amd64.zip [configuration file]: #configuration ### Clojure Tools @@ -88,7 +88,7 @@ The official Clojure CLI supports installation of thirdparty [tools][]. To install cljfmt as a tool, run: ```bash -clj -Ttools install io.github.weavejester/cljfmt '{:git/tag "0.11.2"}' :as cljfmt +clj -Ttools install io.github.weavejester/cljfmt '{:git/tag "0.12.0"}' :as cljfmt ``` To use the tool to check for formatting errors in your project, run: @@ -111,7 +111,7 @@ clj -Tcljfmt fix Leiningen, add the following plugin to your `project.clj` file: ```clojure -:plugins [[dev.weavejester/lein-cljfmt "0.11.2"]] +:plugins [[dev.weavejester/lein-cljfmt "0.12.0"]] ``` To use the plugin to check code for formatting errors, run: @@ -138,7 +138,7 @@ cljfmt can be run as a library that formats a string of Clojure code. First, add the dependency: ```edn -{:deps {dev.weavejester/cljfmt {:mvn/version "0.11.2"}}} +{:deps {dev.weavejester/cljfmt {:mvn/version "0.12.0"}}} ``` Then use the library: diff --git a/cljfmt/project.clj b/cljfmt/project.clj index 3cabf35..f9c0be7 100644 --- a/cljfmt/project.clj +++ b/cljfmt/project.clj @@ -1,4 +1,4 @@ -(defproject dev.weavejester/cljfmt "0.11.2" +(defproject dev.weavejester/cljfmt "0.12.0" :description "A library for formatting Clojure code" :url "https://github.com/weavejester/cljfmt" :scm {:dir ".."} diff --git a/cljfmt/src/cljfmt/main.clj b/cljfmt/src/cljfmt/main.clj index 09faf9f..719d3eb 100644 --- a/cljfmt/src/cljfmt/main.clj +++ b/cljfmt/src/cljfmt/main.clj @@ -7,7 +7,7 @@ [clojure.tools.cli :as cli]) (:gen-class)) -(def ^:const VERSION "0.11.2") +(def ^:const VERSION "0.12.0") (defn- cli-options [defaults] [["-h" "--help"] diff --git a/install.sh b/install.sh old mode 100644 new mode 100755 index dc62a84..6de452e --- a/install.sh +++ b/install.sh @@ -2,7 +2,7 @@ set -euo pipefail -VERSION=0.11.2 +VERSION=0.12.0 case $(uname -s) in Linux*) diff --git a/lein-cljfmt/project.clj b/lein-cljfmt/project.clj index 69fa706..3298557 100644 --- a/lein-cljfmt/project.clj +++ b/lein-cljfmt/project.clj @@ -1,8 +1,8 @@ -(defproject dev.weavejester/lein-cljfmt "0.11.2" +(defproject dev.weavejester/lein-cljfmt "0.12.0" :description "A library for formatting Clojure code" :url "https://github.com/weavejester/cljfmt" :scm {:dir ".."} :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :eval-in-leiningen true - :dependencies [[dev.weavejester/cljfmt "0.11.2"]]) + :dependencies [[dev.weavejester/cljfmt "0.12.0"]])