Skip to content

Offline, privacy-first grammar checker. Fast, open-source, Rust-powered

Release 0.32.0

Elijah Potter1809f2338ceb
diff --git a/Cargo.lock b/Cargo.lock
index 9172700bc..466a49610 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -763,7 +763,7 @@ dependencies = [
[[package]]
name = "harper-comments"
-version = "0.31.0"
+version = "0.32.0"
dependencies = [
"harper-core",
"harper-html",
@@ -795,7 +795,7 @@ dependencies = [
[[package]]
name = "harper-core"
-version = "0.31.0"
+version = "0.32.0"
dependencies = [
"blanket",
"cached",
@@ -828,7 +828,7 @@ dependencies = [
[[package]]
name = "harper-html"
-version = "0.31.0"
+version = "0.32.0"
dependencies = [
"harper-core",
"harper-tree-sitter",
@@ -839,7 +839,7 @@ dependencies = [
[[package]]
name = "harper-literate-haskell"
-version = "0.31.0"
+version = "0.32.0"
dependencies = [
"harper-comments",
"harper-core",
@@ -850,7 +850,7 @@ dependencies = [
[[package]]
name = "harper-ls"
-version = "0.31.0"
+version = "0.32.0"
dependencies = [
"anyhow",
"clap",
@@ -878,7 +878,7 @@ dependencies = [
[[package]]
name = "harper-stats"
-version = "0.31.0"
+version = "0.32.0"
dependencies = [
"chrono",
"harper-core",
@@ -889,7 +889,7 @@ dependencies = [
[[package]]
name = "harper-tree-sitter"
-version = "0.31.0"
+version = "0.32.0"
dependencies = [
"harper-core",
"tree-sitter",
@@ -897,7 +897,7 @@ dependencies = [
[[package]]
name = "harper-typst"
-version = "0.31.0"
+version = "0.32.0"
dependencies = [
"harper-core",
"itertools 0.14.0",
diff --git a/harper-cli/Cargo.toml b/harper-cli/Cargo.toml
index 964e16bc2..dec807d09 100644
--- a/harper-cli/Cargo.toml
+++ b/harper-cli/Cargo.toml
@@ -9,12 +9,12 @@ repository = "https://github.com/automattic/harper"
anyhow = "1.0.98"
ariadne = "0.4.1"
clap = { version = "4.5.37", features = ["derive", "string"] }
-harper-stats = { path = "../harper-stats", version = "0.31.0" }
+harper-stats = { path = "../harper-stats", version = "0.32.0" }
dirs = "6.0.0"
-harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.31.0" }
-harper-core = { path = "../harper-core", version = "0.31.0" }
-harper-comments = { path = "../harper-comments", version = "0.31.0" }
-harper-typst = { path = "../harper-typst", version = "0.31.0" }
+harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.32.0" }
+harper-core = { path = "../harper-core", version = "0.32.0" }
+harper-comments = { path = "../harper-comments", version = "0.32.0" }
+harper-typst = { path = "../harper-typst", version = "0.32.0" }
hashbrown = "0.15.2"
serde = { version = "1.0.219", features = ["derive"] }
serde_json = "1.0.140"
diff --git a/harper-comments/Cargo.toml b/harper-comments/Cargo.toml
index b490e3567..b4f2c5e31 100644
--- a/harper-comments/Cargo.toml
+++ b/harper-comments/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "harper-comments"
-version = "0.31.0"
+version = "0.32.0"
edition = "2024"
description = "The language checker for developers."
license = "Apache-2.0"
@@ -8,9 +8,9 @@ readme = "README.md"
repository = "https://github.com/automattic/harper"
[dependencies]
-harper-core = { path = "../harper-core", version = "0.31.0" }
-harper-html = { path = "../harper-html", version = "0.31.0" }
-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.31.0" }
+harper-core = { path = "../harper-core", version = "0.32.0" }
+harper-html = { path = "../harper-html", version = "0.32.0" }
+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.32.0" }
tree-sitter = "0.20.10"
tree-sitter-rust = "0.20.4"
tree-sitter-typescript = "0.20.3"
diff --git a/harper-core/Cargo.toml b/harper-core/Cargo.toml
index 54c8ac280..8c27375b0 100644
--- a/harper-core/Cargo.toml
+++ b/harper-core/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "harper-core"
-version = "0.31.0"
+version = "0.32.0"
edition = "2024"
description = "The language checker for developers."
license = "Apache-2.0"
diff --git a/harper-html/Cargo.toml b/harper-html/Cargo.toml
index 6d627836a..0241defca 100644
--- a/harper-html/Cargo.toml
+++ b/harper-html/Cargo.toml
@@ -1,14 +1,14 @@
[package]
name = "harper-html"
-version = "0.31.0"
+version = "0.32.0"
edition = "2024"
description = "The language checker for developers."
license = "Apache-2.0"
repository = "https://github.com/automattic/harper"
[dependencies]
-harper-core = { path = "../harper-core", version = "0.31.0" }
-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.31.0" }
+harper-core = { path = "../harper-core", version = "0.32.0" }
+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.32.0" }
tree-sitter-html = "0.19.0"
tree-sitter = "0.20.10"
diff --git a/harper-literate-haskell/Cargo.toml b/harper-literate-haskell/Cargo.toml
index a7c0365e2..35ed82e2f 100644
--- a/harper-literate-haskell/Cargo.toml
+++ b/harper-literate-haskell/Cargo.toml
@@ -1,14 +1,14 @@
[package]
name = "harper-literate-haskell"
-version = "0.31.0"
+version = "0.32.0"
edition = "2024"
description = "The language checker for developers."
license = "Apache-2.0"
repository = "https://github.com/automattic/harper"
[dependencies]
-harper-core = { path = "../harper-core", version = "0.31.0" }
-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.31.0" }
-harper-comments = { path = "../harper-comments", version = "0.31.0" }
+harper-core = { path = "../harper-core", version = "0.32.0" }
+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.32.0" }
+harper-comments = { path = "../harper-comments", version = "0.32.0" }
itertools = "0.14.0"
paste = "1.0.14"
diff --git a/harper-ls/Cargo.toml b/harper-ls/Cargo.toml
index 10e8fc7b4..a73409453 100644
--- a/harper-ls/Cargo.toml
+++ b/harper-ls/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "harper-ls"
-version = "0.31.0"
+version = "0.32.0"
edition = "2024"
description = "The language checker for developers."
license = "Apache-2.0"
@@ -8,12 +8,12 @@ readme = "README.md"
repository = "https://github.com/automattic/harper"
[dependencies]
-harper-stats = { path = "../harper-stats", version = "0.31.0" }
-harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.31.0" }
-harper-core = { path = "../harper-core", version = "0.31.0", features = ["concurrent"] }
-harper-comments = { path = "../harper-comments", version = "0.31.0" }
-harper-typst = { path = "../harper-typst", version = "0.31.0" }
-harper-html = { path = "../harper-html", version = "0.31.0" }
+harper-stats = { path = "../harper-stats", version = "0.32.0" }
+harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.32.0" }
+harper-core = { path = "../harper-core", version = "0.32.0", features = ["concurrent"] }
+harper-comments = { path = "../harper-comments", version = "0.32.0" }
+harper-typst = { path = "../harper-typst", version = "0.32.0" }
+harper-html = { path = "../harper-html", version = "0.32.0" }
tower-lsp = "0.20.0"
tokio = { version = "1.44.2", features = ["fs", "rt", "rt-multi-thread", "macros", "io-std", "io-util", "net"] }
clap = { version = "4.5.37", features = ["derive"] }
diff --git a/harper-stats/Cargo.toml b/harper-stats/Cargo.toml
index 64be38d68..8b7950bf2 100644
--- a/harper-stats/Cargo.toml
+++ b/harper-stats/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "harper-stats"
-version = "0.31.0"
+version = "0.32.0"
edition = "2021"
description = "The language checker for developers."
license = "Apache-2.0"
@@ -9,7 +9,7 @@ repository = "https://github.com/automattic/harper"
[dependencies]
serde = { version = "1.0.217", features = ["derive"] }
-harper-core = { path = "../harper-core", version = "0.31.0", features = ["concurrent"] }
+harper-core = { path = "../harper-core", version = "0.32.0", features = ["concurrent"] }
uuid = { version = "1.16.0", features = ["serde", "v4"] }
serde_json = "1.0.140"
chrono = "0.4.40"
diff --git a/harper-tree-sitter/Cargo.toml b/harper-tree-sitter/Cargo.toml
index 00c6bdee4..2c3e7655c 100644
--- a/harper-tree-sitter/Cargo.toml
+++ b/harper-tree-sitter/Cargo.toml
@@ -1,11 +1,11 @@
[package]
name = "harper-tree-sitter"
-version = "0.31.0"
+version = "0.32.0"
edition = "2024"
description = "The language checker for developers."
license = "Apache-2.0"
repository = "https://github.com/automattic/harper"
[dependencies]
-harper-core = { path = "../harper-core", version = "0.31.0" }
+harper-core = { path = "../harper-core", version = "0.32.0" }
tree-sitter = "0.20.10"
diff --git a/harper-typst/Cargo.toml b/harper-typst/Cargo.toml
index 404a5278c..38bf1a157 100644
--- a/harper-typst/Cargo.toml
+++ b/harper-typst/Cargo.toml
@@ -1,13 +1,13 @@
[package]
name = "harper-typst"
-version = "0.31.0"
+version = "0.32.0"
edition = "2024"
description = "The language checker for developers."
license = "Apache-2.0"
repository = "https://github.com/automattic/harper"
[dependencies]
-harper-core = { path = "../harper-core", version = "0.31.0" }
+harper-core = { path = "../harper-core", version = "0.32.0" }
typst-syntax = { version = "0.13.1" }
ordered-float = { version = "5.0.0", features = ["serde"] }
itertools = "0.14.0"
diff --git a/harper-wasm/Cargo.toml b/harper-wasm/Cargo.toml
index 9e67cdf4f..d7a24bc7b 100644
--- a/harper-wasm/Cargo.toml
+++ b/harper-wasm/Cargo.toml
@@ -13,9 +13,9 @@ console_error_panic_hook = "0.1.7"
tracing = "0.1.41"
tracing-wasm = "0.2.1"
wasm-bindgen = "0.2.97"
-harper-core = { path = "../harper-core", version = "0.31.0", features = ["concurrent"] }
+harper-core = { path = "../harper-core", version = "0.32.0", features = ["concurrent"] }
once_cell = "1.21.3"
serde-wasm-bindgen = "0.6.5"
serde_json = "1.0.140"
serde = { version = "1.0.219", features = ["derive"] }
-harper-stats = { path = "../harper-stats", version = "0.31.0", features = ["js"] }
+harper-stats = { path = "../harper-stats", version = "0.32.0", features = ["js"] }
diff --git a/packages/harper.js/package.json b/packages/harper.js/package.json
index 82466ea6a..3a599764d 100644
--- a/packages/harper.js/package.json
+++ b/packages/harper.js/package.json
@@ -1,6 +1,6 @@
{
"name": "harper.js",
- "version": "0.31.0",
+ "version": "0.32.0",
"license": "Apache-2.0",
"author": "Elijah Potter",
"description": "The grammar checker for developers.",
diff --git a/packages/obsidian-plugin/package.json b/packages/obsidian-plugin/package.json
index 27636aeb8..3fa847d89 100644
--- a/packages/obsidian-plugin/package.json
+++ b/packages/obsidian-plugin/package.json
@@ -1,7 +1,7 @@
{
"name": "obsidian-plugin",
"private": true,
- "version": "0.31.0",
+ "version": "0.32.0",
"main": "main.js",
"devDependencies": {
"@rollup/plugin-json": "^6.1.0",
diff --git a/packages/vscode-plugin/package.json b/packages/vscode-plugin/package.json
index 448847880..2ee8814d8 100644
--- a/packages/vscode-plugin/package.json
+++ b/packages/vscode-plugin/package.json
@@ -2,7 +2,7 @@
"name": "harper",
"displayName": "Harper - Grammar / Spell Checking",
"description": "The grammar checker for developers",
- "version": "0.31.0",
+ "version": "0.32.0",
"private": true,
"author": "Elijah Potter",
"publisher": "elijah-potter",
@@ -510,7 +510,7 @@
"scope": "resource",
"type": "boolean",
"default": true,
- "description": "Rather than outright using an em dash or en dash, authors often use a sequence of hyphens, expecting them to be condensed.\nThis rule does so."
+ "description": "Rather than outright using an em dash or en dash, authors often use a sequence of hyphens, expecting them to be condensed. Use two hyphens to denote an en dash and three to denote an em dash."
},
"harper.linters.DayAndAge": {
"scope": "resource",
@@ -788,6 +788,12 @@
"default": true,
"description": "Ensures `getting rid of` is used instead of `getting rid off`."
},
+ "harper.linters.GildedAge": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "If referring to the period of economic prosperity, the correct term is `Gilded Age`."
+ },
"harper.linters.GoingTo": {
"scope": "resource",
"type": "boolean",
@@ -938,6 +944,12 @@
"default": true,
"description": "Handles common errors involving `hop` and `hope`. Ensures `hop` is used correctly in phrases like `hop on a bus` while correcting mistaken uses of `hope` in contexts where `hop` is expected."
},
+ "harper.linters.HowTo": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Detects the omission of `to` in constructions like `how clone / how install` and suggests `how to …`."
+ },
"harper.linters.However": {
"scope": "resource",
"type": "boolean",
@@ -1148,6 +1160,12 @@
"default": true,
"description": "Corrects common errors in the phrase `last but not least`."
},
+ "harper.linters.LastDitch": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects wrong variations of the idiomatic adjective `last-ditch`."
+ },
"harper.linters.LeftRightHand": {
"scope": "resource",
"type": "boolean",
@@ -1340,6 +1358,12 @@
"default": true,
"description": "Looks for incorrect spacing inside the closed compound `nonetheless`."
},
+ "harper.linters.NotIn": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Replaces `no in` with `not in`."
+ },
"harper.linters.NotTo": {
"scope": "resource",
"type": "boolean",
@@ -1406,6 +1430,12 @@
"default": true,
"description": "Ensures the correct use of `on the spur of the moment`, avoiding confusion with the incorrect `spurt` variation."
},
+ "harper.linters.OnceInAWhile": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects two common malapropisms of `once in a while`."
+ },
"harper.linters.OperativeSystem": {
"scope": "resource",
"type": "boolean",
@@ -1460,6 +1490,12 @@
"default": true,
"description": "Flags oxymoronic phrases (e.g. `amateur expert`, `increasingly less`, etc.)."
},
+ "harper.linters.PhrasalVerbAsCompoundNoun": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "This rule looks for phrasal verbs written as compound nouns."
+ },
"harper.linters.PiggyBag": {
"scope": "resource",
"type": "boolean",
@@ -1512,7 +1548,7 @@
"scope": "resource",
"type": "boolean",
"default": true,
- "description": "The possessive version of `you` is more common before nouns."
+ "description": "The possessive form of `you` is more likely before nouns."
},
"harper.linters.Postpone": {
"scope": "resource",
@@ -1754,6 +1790,12 @@
"default": true,
"description": "Corrects the misuse of `then` to `than`."
},
+ "harper.linters.ThereIsAny": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Replaces `there any` with `there is any`."
+ },
"harper.linters.Therefore": {
"scope": "resource",
"type": "boolean",
@@ -1898,6 +1940,30 @@
"default": true,
"description": "Flags `highly-kept` and recommends `well-kept` as an alternative."
},
+ "harper.linters.WhatHeLooksLike": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects `how ... looks like` to `how ... looks` or `what ... looks like`."
+ },
+ "harper.linters.WhatItLooksLike": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects `how ... looks like` to `how ... looks` or `what ... looks like`."
+ },
+ "harper.linters.WhatSheLooksLike": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects `how ... looks like` to `how ... looks` or `what ... looks like`."
+ },
+ "harper.linters.WhatTheyLookLike": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects `how ... look like` to `how ... look` or `what ... look like`."
+ },
"harper.linters.Whereas": {
"scope": "resource",
"type": "boolean",