Skip to content

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

Release 0.30.0

Elijah Potter96e02c33789b
diff --git a/Cargo.lock b/Cargo.lock
index a0f221a9d..4380e1eee 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -749,7 +749,7 @@ dependencies = [
[[package]]
name = "harper-comments"
-version = "0.29.1"
+version = "0.30.0"
dependencies = [
"harper-core",
"harper-html",
@@ -781,7 +781,7 @@ dependencies = [
[[package]]
name = "harper-core"
-version = "0.29.1"
+version = "0.30.0"
dependencies = [
"blanket",
"cached",
@@ -814,7 +814,7 @@ dependencies = [
[[package]]
name = "harper-html"
-version = "0.29.1"
+version = "0.30.0"
dependencies = [
"harper-core",
"harper-tree-sitter",
@@ -825,7 +825,7 @@ dependencies = [
[[package]]
name = "harper-literate-haskell"
-version = "0.29.1"
+version = "0.30.0"
dependencies = [
"harper-comments",
"harper-core",
@@ -836,7 +836,7 @@ dependencies = [
[[package]]
name = "harper-ls"
-version = "0.29.1"
+version = "0.30.0"
dependencies = [
"anyhow",
"clap",
@@ -863,7 +863,7 @@ dependencies = [
[[package]]
name = "harper-stats"
-version = "0.29.1"
+version = "0.30.0"
dependencies = [
"chrono",
"harper-core",
@@ -874,7 +874,7 @@ dependencies = [
[[package]]
name = "harper-tree-sitter"
-version = "0.29.1"
+version = "0.30.0"
dependencies = [
"harper-core",
"tree-sitter",
@@ -882,7 +882,7 @@ dependencies = [
[[package]]
name = "harper-typst"
-version = "0.29.1"
+version = "0.30.0"
dependencies = [
"harper-core",
"itertools 0.14.0",
diff --git a/harper-cli/Cargo.toml b/harper-cli/Cargo.toml
index f8eb0336f..43b868001 100644
--- a/harper-cli/Cargo.toml
+++ b/harper-cli/Cargo.toml
@@ -10,12 +10,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.29.0" }
+harper-stats = { path = "../harper-stats", version = "0.30.0" }
dirs = "6.0.0"
-harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.29.0" }
-harper-core = { path = "../harper-core", version = "0.29.0" }
-harper-comments = { path = "../harper-comments", version = "0.29.0" }
-harper-typst = { path = "../harper-typst", version = "0.29.0" }
+harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.30.0" }
+harper-core = { path = "../harper-core", version = "0.30.0" }
+harper-comments = { path = "../harper-comments", version = "0.30.0" }
+harper-typst = { path = "../harper-typst", version = "0.30.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 90d8b36b0..e658660bb 100644
--- a/harper-comments/Cargo.toml
+++ b/harper-comments/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "harper-comments"
-version = "0.29.1"
+version = "0.30.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.29.0" }
-harper-html = { path = "../harper-html", version = "0.29.0" }
-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.29.0" }
+harper-core = { path = "../harper-core", version = "0.30.0" }
+harper-html = { path = "../harper-html", version = "0.30.0" }
+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.30.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 10eeed28a..e650ae9e5 100644
--- a/harper-core/Cargo.toml
+++ b/harper-core/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "harper-core"
-version = "0.29.1"
+version = "0.30.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 1d7c1ff91..9f4502785 100644
--- a/harper-html/Cargo.toml
+++ b/harper-html/Cargo.toml
@@ -1,14 +1,14 @@
[package]
name = "harper-html"
-version = "0.29.1"
+version = "0.30.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.29.0" }
-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.29.0" }
+harper-core = { path = "../harper-core", version = "0.30.0" }
+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.30.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 fcffdd811..d994ab634 100644
--- a/harper-literate-haskell/Cargo.toml
+++ b/harper-literate-haskell/Cargo.toml
@@ -1,14 +1,14 @@
[package]
name = "harper-literate-haskell"
-version = "0.29.1"
+version = "0.30.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.29.0" }
-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.29.0" }
-harper-comments = { path = "../harper-comments", version = "0.29.0" }
+harper-core = { path = "../harper-core", version = "0.30.0" }
+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.30.0" }
+harper-comments = { path = "../harper-comments", version = "0.30.0" }
itertools = "0.14.0"
paste = "1.0.14"
diff --git a/harper-ls/Cargo.toml b/harper-ls/Cargo.toml
index 6b1bde2db..6444d1642 100644
--- a/harper-ls/Cargo.toml
+++ b/harper-ls/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "harper-ls"
-version = "0.29.1"
+version = "0.30.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.29.0" }
-harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.29.0" }
-harper-core = { path = "../harper-core", version = "0.29.0", features = ["concurrent"] }
-harper-comments = { path = "../harper-comments", version = "0.29.0" }
-harper-typst = { path = "../harper-typst", version = "0.29.0" }
-harper-html = { path = "../harper-html", version = "0.29.0" }
+harper-stats = { path = "../harper-stats", version = "0.30.0" }
+harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.30.0" }
+harper-core = { path = "../harper-core", version = "0.30.0", features = ["concurrent"] }
+harper-comments = { path = "../harper-comments", version = "0.30.0" }
+harper-typst = { path = "../harper-typst", version = "0.30.0" }
+harper-html = { path = "../harper-html", version = "0.30.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 0f1acdcfe..8b412a2ff 100644
--- a/harper-stats/Cargo.toml
+++ b/harper-stats/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "harper-stats"
-version = "0.29.1"
+version = "0.30.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.29.0", features = ["concurrent"] }
+harper-core = { path = "../harper-core", version = "0.30.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 970951829..c22056a67 100644
--- a/harper-tree-sitter/Cargo.toml
+++ b/harper-tree-sitter/Cargo.toml
@@ -1,11 +1,11 @@
[package]
name = "harper-tree-sitter"
-version = "0.29.1"
+version = "0.30.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.29.0" }
+harper-core = { path = "../harper-core", version = "0.30.0" }
tree-sitter = "0.20.10"
diff --git a/harper-typst/Cargo.toml b/harper-typst/Cargo.toml
index 7445ec854..a50935274 100644
--- a/harper-typst/Cargo.toml
+++ b/harper-typst/Cargo.toml
@@ -1,13 +1,13 @@
[package]
name = "harper-typst"
-version = "0.29.1"
+version = "0.30.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.29.0" }
+harper-core = { path = "../harper-core", version = "0.30.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 fa9ae7883..55bc3f6e3 100644
--- a/harper-wasm/Cargo.toml
+++ b/harper-wasm/Cargo.toml
@@ -14,9 +14,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.29.0", features = ["concurrent"] }
+harper-core = { path = "../harper-core", version = "0.30.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.29.0", features = ["js"] }
+harper-stats = { path = "../harper-stats", version = "0.30.0", features = ["js"] }
diff --git a/packages/harper.js/package.json b/packages/harper.js/package.json
index 50fddeb12..0b1393417 100644
--- a/packages/harper.js/package.json
+++ b/packages/harper.js/package.json
@@ -1,6 +1,6 @@
{
"name": "harper.js",
- "version": "0.29.1",
+ "version": "0.30.0",
"license": "Apache-2.0",
"author": "Elijah Potter",
"description": "The grammar checker for developers.",
diff --git a/packages/vscode-plugin/package.json b/packages/vscode-plugin/package.json
index ce0a86460..12f38b1fb 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.29.1",
+ "version": "0.30.0",
"private": true,
"author": "Elijah Potter",
"publisher": "elijah-potter",
@@ -332,6 +332,12 @@
"default": true,
"description": "Corrects the misspelling `bee there` to the proper phrase `been there`."
},
+ "harper.linters.BestRegards": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "In valedictions, `best` expresses your highest regard—avoid the typo `beat regards`."
+ },
"harper.linters.BlanketStatement": {
"scope": "resource",
"type": "boolean",
@@ -434,6 +440,12 @@
"default": true,
"description": "Ensures `chock-full` is correctly hyphenated."
},
+ "harper.linters.ClientSide": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects `client's side` to `client-side`, which is usual in `client-server contexts`."
+ },
"harper.linters.CommaFixes": {
"scope": "resource",
"type": "boolean",
@@ -476,6 +488,12 @@
"default": true,
"description": "When referring to Countries, make sure to treat it as a proper noun."
},
+ "harper.linters.CoursingThroughVeins": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "In English idioms, “to course” means to flow rapidly—so avoid the eggcorn `cursing through veins.`"
+ },
"harper.linters.CurrencyPlacement": {
"scope": "resource",
"type": "boolean",
@@ -548,6 +566,12 @@
"default": true,
"description": "Removes unnecessary `about` after `discussing`."
},
+ "harper.linters.DoNotWant": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "In English, negation still requires the complete verb form (“want”), so avoid truncating it to “wan.”"
+ },
"harper.linters.DotInitialisms": {
"scope": "resource",
"type": "boolean",
@@ -698,6 +722,12 @@
"default": true,
"description": "Ensures the correct use of `fetal position`, avoiding confusion with `feeble position`, which is not a standard phrase."
},
+ "harper.linters.FirstAidKit": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Detects when “kid” after “aid”, “starter”, “travel”, or “tool” should be “kit” (a set of supplies)."
+ },
"harper.linters.ForALongTime": {
"scope": "resource",
"type": "boolean",
@@ -728,6 +758,12 @@
"default": true,
"description": "Ensures the correct use of `free rein`, avoiding confusion with `free reign`, which incorrectly suggests authority rather than freedom of action."
},
+ "harper.linters.Freezing": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Encourages vivid writing by suggesting `freezing` instead of weaker expressions like `very cold.`"
+ },
"harper.linters.Furthermore": {
"scope": "resource",
"type": "boolean",
@@ -794,6 +830,12 @@
"default": true,
"description": "Flags the unnecessary use of `of` after `had` and suggests the correct forms."
},
+ "harper.linters.HadPassed": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Suggests `past` for `passed` in case a verb was intended."
+ },
"harper.linters.HalfAnHour": {
"scope": "resource",
"type": "boolean",
@@ -812,18 +854,36 @@
"default": true,
"description": "Corrects `has went` to `has gone`."
},
+ "harper.linters.HasPassed": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Suggests `past` for `passed` in case a verb was intended."
+ },
"harper.linters.HaveGone": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Corrects `have went` to `have gone`."
},
+ "harper.linters.HavePassed": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Suggests `past` for `passed` in case a verb was intended."
+ },
"harper.linters.HavingGone": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Corrects `having went` to `having gone`."
},
+ "harper.linters.HavingPassed": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Suggests `past` for `passed` in case a verb was intended."
+ },
"harper.linters.Hedging": {
"scope": "resource",
"type": "boolean",
@@ -932,6 +992,12 @@
"default": true,
"description": "Corrects ungrammatical `in anyway` to `in any way`."
},
+ "harper.linters.InCase": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects `incase` to `in case`."
+ },
"harper.linters.InDetail": {
"scope": "resource",
"type": "boolean",
@@ -1442,6 +1508,12 @@
"default": true,
"description": "Choosing when to contract pronouns is a challenging art. This rule looks for faults."
},
+ "harper.linters.PronounKnew": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Detects when “new” following a pronoun (optionally with an adverb) is a typo for the past tense “knew.”"
+ },
"harper.linters.Proofread": {
"scope": "resource",
"type": "boolean",
@@ -1508,6 +1580,12 @@
"default": true,
"description": "The opening word of a sentence should almost always be capitalized."
},
+ "harper.linters.ServerSide": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects `server's side` to `server-side`, which is usual in `client-server contexts`."
+ },
"harper.linters.SimpleGrammatical": {
"scope": "resource",
"type": "boolean",
@@ -1580,6 +1658,12 @@
"default": true,
"description": "Identifies common misuse of the preposition `to` in the phrase `spoke too soon`."
},
+ "harper.linters.Starving": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Encourages vivid writing by suggesting `starving` instead of weaker expressions like `very hungry.`"
+ },
"harper.linters.StateOfTheArt": {
"scope": "resource",
"type": "boolean",
@@ -1850,6 +1934,12 @@
"default": true,
"description": "Corrects `worst and worst` to `worse and worse` for proper comparative usage."
},
+ "harper.linters.WorseCaseScenario": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects `worst-case scenario` when the hyphen is missing or `worse` is used instead of `worst`."
+ },
"harper.linters.WorseThan": {
"scope": "resource",
"type": "boolean",