Skip to content

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

Release 0.28.0

Elijah Potter8d07ef71ad2f
diff --git a/Cargo.lock b/Cargo.lock
index 1720e1a87..d68b6c5b8 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -739,7 +739,7 @@ dependencies = [
[[package]]
name = "harper-comments"
-version = "0.27.0"
+version = "0.28.0"
dependencies = [
"harper-core",
"harper-html",
@@ -771,7 +771,7 @@ dependencies = [
[[package]]
name = "harper-core"
-version = "0.27.0"
+version = "0.28.0"
dependencies = [
"blanket",
"cached",
@@ -804,7 +804,7 @@ dependencies = [
[[package]]
name = "harper-html"
-version = "0.27.0"
+version = "0.28.0"
dependencies = [
"harper-core",
"harper-tree-sitter",
@@ -815,7 +815,7 @@ dependencies = [
[[package]]
name = "harper-literate-haskell"
-version = "0.27.0"
+version = "0.28.0"
dependencies = [
"harper-comments",
"harper-core",
@@ -826,7 +826,7 @@ dependencies = [
[[package]]
name = "harper-ls"
-version = "0.27.0"
+version = "0.28.0"
dependencies = [
"anyhow",
"clap",
@@ -853,7 +853,7 @@ dependencies = [
[[package]]
name = "harper-stats"
-version = "0.27.0"
+version = "0.28.0"
dependencies = [
"chrono",
"harper-core",
@@ -864,7 +864,7 @@ dependencies = [
[[package]]
name = "harper-tree-sitter"
-version = "0.27.0"
+version = "0.28.0"
dependencies = [
"harper-core",
"tree-sitter",
@@ -872,7 +872,7 @@ dependencies = [
[[package]]
name = "harper-typst"
-version = "0.27.0"
+version = "0.28.0"
dependencies = [
"harper-core",
"itertools 0.14.0",
diff --git a/harper-cli/Cargo.toml b/harper-cli/Cargo.toml
index e5b9c15d9..f3401e46f 100644
--- a/harper-cli/Cargo.toml
+++ b/harper-cli/Cargo.toml
@@ -10,12 +10,12 @@ repository = "https://github.com/automattic/harper"
anyhow = "1.0.97"
ariadne = "0.4.1"
clap = { version = "4.5.34", features = ["derive", "string"] }
-harper-stats = { path = "../harper-stats", version = "0.27.0" }
+harper-stats = { path = "../harper-stats", version = "0.28.0" }
dirs = "6.0.0"
-harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.27.0" }
-harper-core = { path = "../harper-core", version = "0.27.0" }
-harper-comments = { path = "../harper-comments", version = "0.27.0" }
-harper-typst = { path = "../harper-typst", version = "0.27.0" }
+harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.28.0" }
+harper-core = { path = "../harper-core", version = "0.28.0" }
+harper-comments = { path = "../harper-comments", version = "0.28.0" }
+harper-typst = { path = "../harper-typst", version = "0.28.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 970065691..56b7e6e00 100644
--- a/harper-comments/Cargo.toml
+++ b/harper-comments/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "harper-comments"
-version = "0.27.0"
+version = "0.28.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.27.0" }
-harper-html = { path = "../harper-html", version = "0.27.0" }
-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.27.0" }
+harper-core = { path = "../harper-core", version = "0.28.0" }
+harper-html = { path = "../harper-html", version = "0.28.0" }
+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.28.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 dd060c6c8..500eb2cc8 100644
--- a/harper-core/Cargo.toml
+++ b/harper-core/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "harper-core"
-version = "0.27.0"
+version = "0.28.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 2de64d43d..c1904cf17 100644
--- a/harper-html/Cargo.toml
+++ b/harper-html/Cargo.toml
@@ -1,14 +1,14 @@
[package]
name = "harper-html"
-version = "0.27.0"
+version = "0.28.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.27.0" }
-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.27.0" }
+harper-core = { path = "../harper-core", version = "0.28.0" }
+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.28.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 9f9a74d05..5d0a33858 100644
--- a/harper-literate-haskell/Cargo.toml
+++ b/harper-literate-haskell/Cargo.toml
@@ -1,14 +1,14 @@
[package]
name = "harper-literate-haskell"
-version = "0.27.0"
+version = "0.28.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.27.0" }
-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.27.0" }
-harper-comments = { path = "../harper-comments", version = "0.27.0" }
+harper-core = { path = "../harper-core", version = "0.28.0" }
+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.28.0" }
+harper-comments = { path = "../harper-comments", version = "0.28.0" }
itertools = "0.14.0"
paste = "1.0.14"
diff --git a/harper-ls/Cargo.toml b/harper-ls/Cargo.toml
index 8972a35c8..8ced139c0 100644
--- a/harper-ls/Cargo.toml
+++ b/harper-ls/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "harper-ls"
-version = "0.27.0"
+version = "0.28.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.27.0" }
-harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.27.0" }
-harper-core = { path = "../harper-core", version = "0.27.0", features = ["concurrent"] }
-harper-comments = { path = "../harper-comments", version = "0.27.0" }
-harper-typst = { path = "../harper-typst", version = "0.27.0" }
-harper-html = { path = "../harper-html", version = "0.27.0" }
+harper-stats = { path = "../harper-stats", version = "0.28.0" }
+harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.28.0" }
+harper-core = { path = "../harper-core", version = "0.28.0", features = ["concurrent"] }
+harper-comments = { path = "../harper-comments", version = "0.28.0" }
+harper-typst = { path = "../harper-typst", version = "0.28.0" }
+harper-html = { path = "../harper-html", version = "0.28.0" }
tower-lsp = "0.20.0"
tokio = { version = "1.44.1", features = ["fs", "rt", "rt-multi-thread", "macros", "io-std", "io-util", "net"] }
clap = { version = "4.5.34", features = ["derive"] }
diff --git a/harper-stats/Cargo.toml b/harper-stats/Cargo.toml
index 325c615d5..1eb30fa14 100644
--- a/harper-stats/Cargo.toml
+++ b/harper-stats/Cargo.toml
@@ -1,11 +1,11 @@
[package]
name = "harper-stats"
-version = "0.27.0"
+version = "0.28.0"
edition = "2021"
[dependencies]
serde = { version = "1.0.217", features = ["derive"] }
-harper-core = { path = "../harper-core", version = "0.27.0", features = ["concurrent"] }
+harper-core = { path = "../harper-core", version = "0.28.0", features = ["concurrent"] }
uuid = { version = "1.12.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 c088d2db2..d19483cab 100644
--- a/harper-tree-sitter/Cargo.toml
+++ b/harper-tree-sitter/Cargo.toml
@@ -1,11 +1,11 @@
[package]
name = "harper-tree-sitter"
-version = "0.27.0"
+version = "0.28.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.27.0" }
+harper-core = { path = "../harper-core", version = "0.28.0" }
tree-sitter = "0.20.10"
diff --git a/harper-typst/Cargo.toml b/harper-typst/Cargo.toml
index 04952cb07..d10891cc2 100644
--- a/harper-typst/Cargo.toml
+++ b/harper-typst/Cargo.toml
@@ -1,13 +1,13 @@
[package]
name = "harper-typst"
-version = "0.27.0"
+version = "0.28.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.27.0" }
+harper-core = { path = "../harper-core", version = "0.28.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 62db8cdaa..5ee60fdad 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.27.0", features = ["concurrent"] }
+harper-core = { path = "../harper-core", version = "0.28.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.27.0", features = ["js"] }
+harper-stats = { path = "../harper-stats", version = "0.28.0", features = ["js"] }
diff --git a/packages/harper.js/package.json b/packages/harper.js/package.json
index 6ae8bc814..d97808960 100644
--- a/packages/harper.js/package.json
+++ b/packages/harper.js/package.json
@@ -1,6 +1,6 @@
{
"name": "harper.js",
- "version": "0.27.0",
+ "version": "0.28.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 695847c27..51129bc5d 100644
--- a/packages/vscode-plugin/package.json
+++ b/packages/vscode-plugin/package.json
@@ -2,7 +2,7 @@
"name": "harper",
"displayName": "Harper",
"description": "The grammar checker for developers",
- "version": "0.27.0",
+ "version": "0.28.0",
"private": true,
"author": "Elijah Potter",
"publisher": "elijah-potter",
@@ -401,6 +401,12 @@
"default": true,
"description": "Ensures `chock-full` is correctly hyphenated."
},
+ "harper.linters.CommaFixes": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Fix common comma errors such as no space after, erroneous space before, etc., Asian commas instead of English commas, etc."
+ },
"harper.linters.CompoundNouns": {
"scope": "resource",
"type": "boolean",
@@ -593,12 +599,24 @@
"default": true,
"description": "Ensures the correct use of `fetal position`, avoiding confusion with `feeble position`, which is not a standard phrase."
},
+ "harper.linters.ForALongTime": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Eliminates the incorrect merging in `for along time`."
+ },
"harper.linters.ForAllIntentsAndPurposes": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Corrects `for all intensive purposes` to `for all intents and purposes`, ensuring the phrase conveys its intended meaning."
},
+ "harper.linters.ForNoun": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects the archaic or mistaken `fro` to `for` when followed by a noun."
+ },
"harper.linters.FreeRein": {
"scope": "resource",
"type": "boolean",
@@ -665,6 +683,12 @@
"default": true,
"description": "Flags the unnecessary use of `of` after `had` and suggests the correct forms."
},
+ "harper.linters.HalfAnHour": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Fixes the eggcorn `half an our` to the accepted `half an hour`."
+ },
"harper.linters.Haphazard": {
"scope": "resource",
"type": "boolean",
@@ -707,6 +731,12 @@
"default": true,
"description": "Looks for incorrect spacing inside the closed compound `however`."
},
+ "harper.linters.HumanBeings": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Eliminates the incorrect possessive/plural usage like `human's beings` or `humans beings`."
+ },
"harper.linters.HumanLife": {
"scope": "resource",
"type": "boolean",
@@ -731,6 +761,12 @@
"default": true,
"description": "Fixes the incorrect spacing in `I a m` to properly form `I am`."
},
+ "harper.linters.InAWhile": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects the missing article in `in while` or `in awhile`, forming `in a while`."
+ },
"harper.linters.InAndOfItself": {
"scope": "resource",
"type": "boolean",
@@ -761,6 +797,12 @@
"default": true,
"description": "Corrects `in one foul swoop` to `in one fell swoop`, preserving the phrase’s original meaning of sudden and complete action."
},
+ "harper.linters.InQuiteAWhile": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects `in quite awhile` => `in quite a while` by inserting the missing article."
+ },
"harper.linters.InThe": {
"scope": "resource",
"type": "boolean",
@@ -785,11 +827,17 @@
"default": true,
"description": "Looks for incorrect spacing inside the closed compound `instead`."
},
+ "harper.linters.InsteadOf": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects the archaic or mistaken separation `in stead of` to `instead of` in everyday usage."
+ },
"harper.linters.Intact": {
"scope": "resource",
"type": "boolean",
"default": true,
- "description": "Looks for incorrect spacing inside the closed compound `intact`."
+ "description": "Prevents the erroneous spacing in `in tact`; `intact` is the single correct word."
},
"harper.linters.Into": {
"scope": "resource",
@@ -815,6 +863,12 @@
"default": true,
"description": "Looks for incorrect spacing inside the closed compound `itself`."
},
+ "harper.linters.IveGotTo": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects the slip `I've go to` to the idiomatic `I've got to`."
+ },
"harper.linters.JawDropping": {
"scope": "resource",
"type": "boolean",
@@ -1055,6 +1109,12 @@
"default": true,
"description": "Corrects `no to` to `not to`, ensuring proper negation."
},
+ "harper.linters.NotablePlaces": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Ensure proper capitalization of notable places that are significant regional centers, travel destinations, or have international importance."
+ },
"harper.linters.Nothing": {
"scope": "resource",
"type": "boolean",
@@ -1241,6 +1301,12 @@
"default": true,
"description": "Looks for incorrect spacing inside the closed compound `proofread`."
},
+ "harper.linters.ProperNouns": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Ensure proper capitalization of proper nouns."
+ },
"harper.linters.RealTrouper": {
"scope": "resource",
"type": "boolean",