Skip to content

Commit

Permalink
Release 0.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
weavejester committed Sep 28, 2024
1 parent f9bffc5 commit d5a58f2
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 9 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## 0.13.0 (2024-09-28)

- Added `:report` option to `check` and `fix` functions (#342)
- Added `:default` custom indentation rule (#347)
- Updated dependencies
- Fixed error on Clojure 1.12 syntax (#355)
- Fixed nested `:inner` indentation (#350)
- Fixed indentation for symbols preceded by metadata (#346)
- Fixed indentation for symbols in reader conditionals (#348)
- Fixed `~ @foo` being rewritten as `~@foo` (#345)
- Fixed install script not cleaning up after itself (#331)

## 0.12.0 (2023-12-08)

- Added support for Cursive and zprint style list indentation (#324)
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.12.0/cljfmt-0.12.0-win-amd64.zip
[zipped up binary]: https://github.com/weavejester/cljfmt/releases/download/0.13.0/cljfmt-0.13.0-win-amd64.zip
[configuration file]: #configuration

### Clojure Tools
Expand All @@ -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.12.0"}' :as cljfmt
clj -Ttools install io.github.weavejester/cljfmt '{:git/tag "0.13.0"}' :as cljfmt
```

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

```clojure
:plugins [[dev.weavejester/lein-cljfmt "0.12.0"]]
:plugins [[dev.weavejester/lein-cljfmt "0.13.0"]]
```

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

```edn
{:deps {dev.weavejester/cljfmt {:mvn/version "0.12.0"}}}
{:deps {dev.weavejester/cljfmt {:mvn/version "0.13.0"}}}
```

Then use the library:
Expand Down
2 changes: 1 addition & 1 deletion cljfmt/project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject dev.weavejester/cljfmt "0.12.0"
(defproject dev.weavejester/cljfmt "0.13.0"
:description "A library for formatting Clojure code"
:url "https://github.com/weavejester/cljfmt"
:scm {:dir ".."}
Expand Down
2 changes: 1 addition & 1 deletion cljfmt/src/cljfmt/main.clj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
[clojure.tools.cli :as cli])
(:gen-class))

(def ^:const VERSION "0.12.0")
(def ^:const VERSION "0.13.0")

(defn- cli-options [defaults]
[["-h" "--help"]
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -euo pipefail

VERSION=0.12.0
VERSION=0.13.0

case $(uname -s) in
Linux*)
Expand Down
4 changes: 2 additions & 2 deletions lein-cljfmt/project.clj
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
(defproject dev.weavejester/lein-cljfmt "0.12.0"
(defproject dev.weavejester/lein-cljfmt "0.13.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.12.0"]])
:dependencies [[dev.weavejester/cljfmt "0.13.0"]])

0 comments on commit d5a58f2

Please sign in to comment.