From 0882f99bbb7677ff6e2c8942f1efc2217942f432 Mon Sep 17 00:00:00 2001 From: James Reeves Date: Thu, 27 Jul 2023 20:10:06 +0100 Subject: [PATCH] Release 0.11.1 --- CHANGELOG.md | 4 ++++ README.md | 10 +++++----- cljfmt/project.clj | 2 +- cljfmt/src/cljfmt/main.clj | 2 +- install.sh | 2 +- lein-cljfmt/project.clj | 4 ++-- 6 files changed, 14 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 079f4bd..826d099 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.11.1 (2023-07-27) + +- Fixed error when cljfmt has no configuration (#313) + ## 0.11.0 (2023-07-27) - Breaking change: split `:indents` into `:indents` and `:extra-indents` diff --git a/README.md b/README.md index 8706a52..a1f5e37 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ project may be more suitable. [clojure style guide]: https://github.com/bbatsov/clojure-style-guide [zprint]: https://github.com/kkinnear/zprint -## Breaking Changes in 0.11.0 +## Breaking Changes in 0.11.x The `:indents` key has been split into `:indents` and `:extra-indents`. The `:indents` key **replaces** all default indents, while the @@ -63,7 +63,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.0/cljfmt-0.11.0-win-amd64.zip +[zipped up binary]: https://github.com/weavejester/cljfmt/releases/download/0.11.1/cljfmt-0.11.1-win-amd64.zip [configuration file]: #configuration ### Clojure Tools @@ -72,7 +72,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.0"}' :as cljfmt +clj -Ttools install io.github.weavejester/cljfmt '{:git/tag "0.11.1"}' :as cljfmt ``` To use the tool to check for formatting errors in your project, run: @@ -95,7 +95,7 @@ clj -Tcljfmt fix Leiningen, add the following plugin to your `project.clj` file: ```clojure -:plugins [[dev.weavejester/lein-cljfmt "0.11.0"]] +:plugins [[dev.weavejester/lein-cljfmt "0.11.1"]] ``` To use the plugin to check code for formatting errors, run: @@ -122,7 +122,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.0"}}} +{:deps {dev.weavejester/cljfmt {:mvn/version "0.11.1"}}} ``` Then use the library: diff --git a/cljfmt/project.clj b/cljfmt/project.clj index eacf9f9..75e17ce 100644 --- a/cljfmt/project.clj +++ b/cljfmt/project.clj @@ -1,4 +1,4 @@ -(defproject dev.weavejester/cljfmt "0.11.0" +(defproject dev.weavejester/cljfmt "0.11.1" :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 58235d0..d85f97b 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.0") +(def ^:const VERSION "0.11.1") (defn- cli-options [defaults] [["-h" "--help"] diff --git a/install.sh b/install.sh index 583182e..428087a 100644 --- a/install.sh +++ b/install.sh @@ -2,7 +2,7 @@ set -euo pipefail -VERSION=0.11.0 +VERSION=0.11.1 case $(uname -s) in Linux*) diff --git a/lein-cljfmt/project.clj b/lein-cljfmt/project.clj index 02d0730..897fffb 100644 --- a/lein-cljfmt/project.clj +++ b/lein-cljfmt/project.clj @@ -1,8 +1,8 @@ -(defproject dev.weavejester/lein-cljfmt "0.11.0" +(defproject dev.weavejester/lein-cljfmt "0.11.1" :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.0"]]) + :dependencies [[dev.weavejester/cljfmt "0.11.1"]])