Skip to content

Commit

Permalink
Bump version for release
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahTheDuke committed Oct 3, 2024
1 parent f05ebd9 commit d3c3563
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 12 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ This changelog is loose. Versions are not semantic, they are incremental. Splint

## Unreleased

## 1.18.0 - 2024-10-03

### New Rules

- `lint/defmethod-names`: Require that `defmethod` calls define a name for the function body. This helps improve stack traces. Suggested names are built from the dispatch value and cannot be trusted to be unique or usable, so while the rule is safe, it does not support autocorrect. Disabled by default.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ More explicit instructions can be found in the [installation][installation], [us
### Clojure CLI

```clojure
:aliases {:splint {:extra-deps {io.github.noahtheduke/splint {:mvn/version "1.17.1"}
:aliases {:splint {:extra-deps {io.github.noahtheduke/splint {:mvn/version "1.18.0"}
org.clojure/clojure {:mvn/version "1.11.1"}}
:main-opts ["-m" "noahtheduke.splint"]}}
```
Expand All @@ -33,7 +33,7 @@ Run with `clojure -M:splint [args...]`.
Add this to `project.clj`:

```clojure
:profiles {:dev {:dependencies [[io.github.noahtheduke/splint "1.17.1"]
:profiles {:dev {:dependencies [[io.github.noahtheduke/splint "1.18.0"]
[org.clojure/clojure "1.11.1"]]}}
:aliases {"splint" ["run" "-m" "noahtheduke.splint"]})
```
Expand Down
6 changes: 3 additions & 3 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ When used in a project as a library, put it in an alias to make it easier to inv
## Clojure CLI

```clojure
:aliases {:splint {:extra-deps {io.github.noahtheduke/splint {:mvn/version "1.17.1"}
:aliases {:splint {:extra-deps {io.github.noahtheduke/splint {:mvn/version "1.18.0"}
org.clojure/clojure {:mvn/version "1.11.1"}}
:main-opts ["-m" "noahtheduke.splint"]}}
```
Expand All @@ -17,7 +17,7 @@ Run with `clojure -M:splint [args...]`.
Add this to `project.clj`:

```clojure
:profiles {:dev {:dependencies [[io.github.noahtheduke/splint "1.17.1"]
:profiles {:dev {:dependencies [[io.github.noahtheduke/splint "1.18.0"]
[org.clojure/clojure "1.11.1"]]}}
:aliases {"splint" ["run" "-m" "noahtheduke.splint"]}
```
Expand All @@ -34,7 +34,7 @@ In the meantime, it runs fast on babashka and can be installed using `bbin`:
$ bbin install io.github.noahtheduke/splint
{:coords
#:git{:url "https://github.com/noahtheduke/splint",
:tag "v1.17.1",
:tag "v1.18.0",
:sha "..."},
:lib io.github.noahtheduke/splint}
```
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/lint.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ a `do` to force it into 'expression position'.

| Enabled by default | Safe | Autocorrect | Version Added | Version Updated |
| ------------------ | ---- | ----------- | ------------- | --------------- |
| false | true | false | <<next>> | <<next>> |
| false | true | false | 1.18.0 | 1.18.0 |

When defining methods for a multimethod, everything after the dispatch-val is given directly to `fn`. This allows for providing a name to the defmethod function, which will make stack traces easier to read.

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/style.md
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ ffirst is succinct and meaningful.

| Enabled by default | Safe | Autocorrect | Version Added | Version Updated |
| ------------------ | ---- | ----------- | ------------- | --------------- |
| true | true | true | 1.15.0 | <<next>> |
| true | true | true | 1.15.0 | 1.18.0 |

`clojure.test/is` expects `=`-based assertions to put the expected value first.

Expand Down
2 changes: 1 addition & 1 deletion docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

```text
$ clojure -M:splint --help
splint v1.17.1
splint v1.18.0
Usage:
splint [options]
Expand Down
2 changes: 1 addition & 1 deletion resources/SPLINT_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.17.1
1.18.0
6 changes: 3 additions & 3 deletions resources/config/default.edn
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
lint/defmethod-names
{:description "Specify a function name for defmethod bodies."
:enabled false
:added "<<next>>"
:updated "<<next>>"}
:added "1.18.0"
:updated "1.18.0"}

lint/divide-by-one
{:description "Dividing by 1 is a no-op."
Expand Down Expand Up @@ -460,7 +460,7 @@
{:description "With `clojure.test/is`, expected value should be first."
:enabled true
:added "1.15.0"
:updated "<<next>>"}
:updated "1.18.0"}

style/let-do
{:description "`let` has an implicit `do`."
Expand Down

0 comments on commit d3c3563

Please sign in to comment.