From d3c3563ca459e51dd96f15798372bed9c2817f04 Mon Sep 17 00:00:00 2001 From: Noah Bogart Date: Thu, 3 Oct 2024 12:15:05 -0400 Subject: [PATCH] Bump version for release --- CHANGELOG.md | 2 ++ README.md | 4 ++-- docs/installation.md | 6 +++--- docs/rules/lint.md | 2 +- docs/rules/style.md | 2 +- docs/usage.md | 2 +- resources/SPLINT_VERSION | 2 +- resources/config/default.edn | 6 +++--- 8 files changed, 14 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 16bb3da..102c3bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/README.md b/README.md index cdb2a18..6720dee 100644 --- a/README.md +++ b/README.md @@ -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"]}} ``` @@ -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"]}) ``` diff --git a/docs/installation.md b/docs/installation.md index c44169d..43a5e35 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -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"]}} ``` @@ -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"]} ``` @@ -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} ``` diff --git a/docs/rules/lint.md b/docs/rules/lint.md index 38cb3a2..5b4776c 100644 --- a/docs/rules/lint.md +++ b/docs/rules/lint.md @@ -53,7 +53,7 @@ a `do` to force it into 'expression position'. | Enabled by default | Safe | Autocorrect | Version Added | Version Updated | | ------------------ | ---- | ----------- | ------------- | --------------- | -| false | true | false | <> | <> | +| 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. diff --git a/docs/rules/style.md b/docs/rules/style.md index fc76f64..ddff604 100644 --- a/docs/rules/style.md +++ b/docs/rules/style.md @@ -334,7 +334,7 @@ ffirst is succinct and meaningful. | Enabled by default | Safe | Autocorrect | Version Added | Version Updated | | ------------------ | ---- | ----------- | ------------- | --------------- | -| true | true | true | 1.15.0 | <> | +| true | true | true | 1.15.0 | 1.18.0 | `clojure.test/is` expects `=`-based assertions to put the expected value first. diff --git a/docs/usage.md b/docs/usage.md index 70a1c76..99cd0f9 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -2,7 +2,7 @@ ```text $ clojure -M:splint --help -splint v1.17.1 +splint v1.18.0 Usage: splint [options] diff --git a/resources/SPLINT_VERSION b/resources/SPLINT_VERSION index 511a76e..84cc529 100644 --- a/resources/SPLINT_VERSION +++ b/resources/SPLINT_VERSION @@ -1 +1 @@ -1.17.1 +1.18.0 diff --git a/resources/config/default.edn b/resources/config/default.edn index 16dfb76..b377b63 100644 --- a/resources/config/default.edn +++ b/resources/config/default.edn @@ -22,8 +22,8 @@ lint/defmethod-names {:description "Specify a function name for defmethod bodies." :enabled false - :added "<>" - :updated "<>"} + :added "1.18.0" + :updated "1.18.0"} lint/divide-by-one {:description "Dividing by 1 is a no-op." @@ -460,7 +460,7 @@ {:description "With `clojure.test/is`, expected value should be first." :enabled true :added "1.15.0" - :updated "<>"} + :updated "1.18.0"} style/let-do {:description "`let` has an implicit `do`."