Skip to content

Commit f0230c3

Browse files
committed
Release 0.13.0
1 parent 449b966 commit f0230c3

File tree

6 files changed

+21
-9
lines changed

6 files changed

+21
-9
lines changed

CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
## 0.13.0 (2024-09-28)
2+
3+
- Added `:report` option to `check` and `fix` functions (#342)
4+
- Added `:default` custom indentation rule (#347)
5+
- Updated dependencies
6+
- Fixed error on Clojure 1.12 syntax (#355)
7+
- Fixed nested `:inner` indentation (#350)
8+
- Fixed indentation for symbols preceded by metadata (#346)
9+
- Fixed indentation for symbols in reader conditionals (#348)
10+
- Fixed `~ @foo` being rewritten as `~@foo` (#345)
11+
- Fixed install script not cleaning up after itself (#331)
12+
113
## 0.12.0 (2023-12-08)
214

315
- Added support for Cursive and zprint style list indentation (#324)

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Use `--help` for a list of all the command-line options.
7979

8080
For persistent configuration, you can use a [configuration file][].
8181

82-
[zipped up binary]: https://github.com/weavejester/cljfmt/releases/download/0.12.0/cljfmt-0.12.0-win-amd64.zip
82+
[zipped up binary]: https://github.com/weavejester/cljfmt/releases/download/0.13.0/cljfmt-0.13.0-win-amd64.zip
8383
[configuration file]: #configuration
8484

8585
### Clojure Tools
@@ -88,7 +88,7 @@ The official Clojure CLI supports installation of thirdparty [tools][].
8888
To install cljfmt as a tool, run:
8989

9090
```bash
91-
clj -Ttools install io.github.weavejester/cljfmt '{:git/tag "0.12.0"}' :as cljfmt
91+
clj -Ttools install io.github.weavejester/cljfmt '{:git/tag "0.13.0"}' :as cljfmt
9292
```
9393

9494
To use the tool to check for formatting errors in your project, run:
@@ -111,7 +111,7 @@ clj -Tcljfmt fix
111111
Leiningen, add the following plugin to your `project.clj` file:
112112

113113
```clojure
114-
:plugins [[dev.weavejester/lein-cljfmt "0.12.0"]]
114+
:plugins [[dev.weavejester/lein-cljfmt "0.13.0"]]
115115
```
116116

117117
To use the plugin to check code for formatting errors, run:
@@ -139,7 +139,7 @@ recursively checks / fixes paths like the CLI tool.
139139
First, add the dependency:
140140

141141
```edn
142-
{:deps {dev.weavejester/cljfmt {:mvn/version "0.12.0"}}}
142+
{:deps {dev.weavejester/cljfmt {:mvn/version "0.13.0"}}}
143143
```
144144

145145
Then use the library:

cljfmt/project.clj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(defproject dev.weavejester/cljfmt "0.12.0"
1+
(defproject dev.weavejester/cljfmt "0.13.0"
22
:description "A library for formatting Clojure code"
33
:url "https://github.com/weavejester/cljfmt"
44
:scm {:dir ".."}

cljfmt/src/cljfmt/main.clj

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
[clojure.tools.cli :as cli])
99
(:gen-class))
1010

11-
(def ^:const VERSION "0.12.0")
11+
(def ^:const VERSION "0.13.0")
1212

1313
(defn- cli-options [defaults]
1414
[["-h" "--help"]

install.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -euo pipefail
44

5-
VERSION=0.12.0
5+
VERSION=0.13.0
66

77
case $(uname -s) in
88
Linux*)

lein-cljfmt/project.clj

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
(defproject dev.weavejester/lein-cljfmt "0.12.0"
1+
(defproject dev.weavejester/lein-cljfmt "0.13.0"
22
:description "A library for formatting Clojure code"
33
:url "https://github.com/weavejester/cljfmt"
44
:scm {:dir ".."}
55
:license {:name "Eclipse Public License"
66
:url "http://www.eclipse.org/legal/epl-v10.html"}
77
:eval-in-leiningen true
8-
:dependencies [[dev.weavejester/cljfmt "0.12.0"]])
8+
:dependencies [[dev.weavejester/cljfmt "0.13.0"]])

0 commit comments

Comments
 (0)