Skip to content

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

Release 0.35.0

Elijah Potter601f16a2a73b
diff --git a/Cargo.lock b/Cargo.lock
index 119471cf1..6326e3432 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -824,7 +824,7 @@ dependencies = [
[[package]]
name = "harper-comments"
-version = "0.34.1"
+version = "0.35.0"
dependencies = [
"harper-core",
"harper-html",
@@ -856,7 +856,7 @@ dependencies = [
[[package]]
name = "harper-core"
-version = "0.34.1"
+version = "0.35.0"
dependencies = [
"ammonia",
"blanket",
@@ -891,7 +891,7 @@ dependencies = [
[[package]]
name = "harper-html"
-version = "0.34.1"
+version = "0.35.0"
dependencies = [
"harper-core",
"harper-tree-sitter",
@@ -902,7 +902,7 @@ dependencies = [
[[package]]
name = "harper-literate-haskell"
-version = "0.34.1"
+version = "0.35.0"
dependencies = [
"harper-comments",
"harper-core",
@@ -913,7 +913,7 @@ dependencies = [
[[package]]
name = "harper-ls"
-version = "0.34.1"
+version = "0.35.0"
dependencies = [
"anyhow",
"clap",
@@ -941,7 +941,7 @@ dependencies = [
[[package]]
name = "harper-stats"
-version = "0.34.1"
+version = "0.35.0"
dependencies = [
"chrono",
"harper-core",
@@ -952,7 +952,7 @@ dependencies = [
[[package]]
name = "harper-tree-sitter"
-version = "0.34.1"
+version = "0.35.0"
dependencies = [
"harper-core",
"tree-sitter",
@@ -960,7 +960,7 @@ dependencies = [
[[package]]
name = "harper-typst"
-version = "0.34.1"
+version = "0.35.0"
dependencies = [
"harper-core",
"itertools 0.14.0",
diff --git a/harper-cli/Cargo.toml b/harper-cli/Cargo.toml
index 032e1b875..9840ffa8f 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.38", features = ["derive", "string"] }
-harper-stats = { path = "../harper-stats", version = "0.34.0" }
+harper-stats = { path = "../harper-stats", version = "0.35.0" }
dirs = "6.0.0"
-harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.34.0" }
-harper-core = { path = "../harper-core", version = "0.34.0" }
-harper-comments = { path = "../harper-comments", version = "0.34.0" }
-harper-typst = { path = "../harper-typst", version = "0.34.0" }
+harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.35.0" }
+harper-core = { path = "../harper-core", version = "0.35.0" }
+harper-comments = { path = "../harper-comments", version = "0.35.0" }
+harper-typst = { path = "../harper-typst", version = "0.35.0" }
hashbrown = "0.15.3"
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 26e462b60..57bf497a3 100644
--- a/harper-comments/Cargo.toml
+++ b/harper-comments/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "harper-comments"
-version = "0.34.1"
+version = "0.35.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.34.0" }
-harper-html = { path = "../harper-html", version = "0.34.0" }
-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.34.0" }
+harper-core = { path = "../harper-core", version = "0.35.0" }
+harper-html = { path = "../harper-html", version = "0.35.0" }
+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.35.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 971f2f896..b9a3a7892 100644
--- a/harper-core/Cargo.toml
+++ b/harper-core/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "harper-core"
-version = "0.34.1"
+version = "0.35.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 d322d001a..96896b835 100644
--- a/harper-html/Cargo.toml
+++ b/harper-html/Cargo.toml
@@ -1,14 +1,14 @@
[package]
name = "harper-html"
-version = "0.34.1"
+version = "0.35.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.34.0" }
-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.34.0" }
+harper-core = { path = "../harper-core", version = "0.35.0" }
+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.35.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 6a018a89a..34750d77d 100644
--- a/harper-literate-haskell/Cargo.toml
+++ b/harper-literate-haskell/Cargo.toml
@@ -1,14 +1,14 @@
[package]
name = "harper-literate-haskell"
-version = "0.34.1"
+version = "0.35.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.34.0" }
-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.34.0" }
-harper-comments = { path = "../harper-comments", version = "0.34.0" }
+harper-core = { path = "../harper-core", version = "0.35.0" }
+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.35.0" }
+harper-comments = { path = "../harper-comments", version = "0.35.0" }
itertools = "0.14.0"
paste = "1.0.14"
diff --git a/harper-ls/Cargo.toml b/harper-ls/Cargo.toml
index 228c013a9..a58e4bad6 100644
--- a/harper-ls/Cargo.toml
+++ b/harper-ls/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "harper-ls"
-version = "0.34.1"
+version = "0.35.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.34.0" }
-harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.34.0" }
-harper-core = { path = "../harper-core", version = "0.34.0", features = ["concurrent"] }
-harper-comments = { path = "../harper-comments", version = "0.34.0" }
-harper-typst = { path = "../harper-typst", version = "0.34.0" }
-harper-html = { path = "../harper-html", version = "0.34.0" }
+harper-stats = { path = "../harper-stats", version = "0.35.0" }
+harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.35.0" }
+harper-core = { path = "../harper-core", version = "0.35.0", features = ["concurrent"] }
+harper-comments = { path = "../harper-comments", version = "0.35.0" }
+harper-typst = { path = "../harper-typst", version = "0.35.0" }
+harper-html = { path = "../harper-html", version = "0.35.0" }
tower-lsp = "0.20.0"
tokio = { version = "1.45.0", features = ["fs", "rt", "rt-multi-thread", "macros", "io-std", "io-util", "net"] }
clap = { version = "4.5.38", features = ["derive"] }
diff --git a/harper-stats/Cargo.toml b/harper-stats/Cargo.toml
index 1d21d8e24..decb46c63 100644
--- a/harper-stats/Cargo.toml
+++ b/harper-stats/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "harper-stats"
-version = "0.34.1"
+version = "0.35.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.34.0", features = ["concurrent"] }
+harper-core = { path = "../harper-core", version = "0.35.0", features = ["concurrent"] }
uuid = { version = "1.16.0", features = ["serde", "v4"] }
serde_json = "1.0.140"
chrono = "0.4.41"
diff --git a/harper-tree-sitter/Cargo.toml b/harper-tree-sitter/Cargo.toml
index d56ba1d13..e4fa4d5be 100644
--- a/harper-tree-sitter/Cargo.toml
+++ b/harper-tree-sitter/Cargo.toml
@@ -1,11 +1,11 @@
[package]
name = "harper-tree-sitter"
-version = "0.34.1"
+version = "0.35.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.34.0" }
+harper-core = { path = "../harper-core", version = "0.35.0" }
tree-sitter = "0.20.10"
diff --git a/harper-typst/Cargo.toml b/harper-typst/Cargo.toml
index 8e775c80c..ad76b196b 100644
--- a/harper-typst/Cargo.toml
+++ b/harper-typst/Cargo.toml
@@ -1,13 +1,13 @@
[package]
name = "harper-typst"
-version = "0.34.1"
+version = "0.35.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.34.0" }
+harper-core = { path = "../harper-core", version = "0.35.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 38e6e66ec..8f2c9181d 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.34.0", features = ["concurrent"] }
+harper-core = { path = "../harper-core", version = "0.35.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.34.0", features = ["js"] }
+harper-stats = { path = "../harper-stats", version = "0.35.0", features = ["js"] }
diff --git a/packages/chrome-plugin/package.json b/packages/chrome-plugin/package.json
index bf21cd6e9..ad3a12a5d 100644
--- a/packages/chrome-plugin/package.json
+++ b/packages/chrome-plugin/package.json
@@ -1,7 +1,7 @@
{
"name": "chrome-plugin",
"displayName": "chrome-plugin",
- "version": "0.34.1",
+ "version": "0.35.0",
"author": "no one",
"description": "A private grammar checker for 21st Century English",
"type": "module",
diff --git a/packages/harper.js/package.json b/packages/harper.js/package.json
index 11066f1a2..58379ce22 100644
--- a/packages/harper.js/package.json
+++ b/packages/harper.js/package.json
@@ -1,6 +1,6 @@
{
"name": "harper.js",
- "version": "0.34.1",
+ "version": "0.35.0",
"license": "Apache-2.0",
"author": "Elijah Potter",
"description": "The grammar checker that respects your privacy.",
diff --git a/packages/obsidian-plugin/package.json b/packages/obsidian-plugin/package.json
index ff5d78cde..480c51874 100644
--- a/packages/obsidian-plugin/package.json
+++ b/packages/obsidian-plugin/package.json
@@ -1,7 +1,7 @@
{
"name": "obsidian-plugin",
"private": true,
- "version": "0.34.1",
+ "version": "0.35.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 53088409e..c4d3ad02e 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.34.1",
+ "version": "0.35.0",
"private": true,
"author": "Elijah Potter",
"publisher": "elijah-potter",
@@ -248,6 +248,12 @@
"default": true,
"description": "Corrects `aswell` to `as well`."
},
+ "harper.linters.AskNoPreposition": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Identifies sequences like `ask to us` or `tell to him` and recommends removing the superfluous “to”."
+ },
"harper.linters.AtFaceValue": {
"scope": "resource",
"type": "boolean",
@@ -602,6 +608,12 @@
"default": true,
"description": "Make sure you have the correct number of dots in your ellipsis."
},
+ "harper.linters.ElsePossessive": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Detects missing apostrophes in phrases like `someone elses book` and suggests the correct possessive form `else’s`."
+ },
"harper.linters.EludedTo": {
"scope": "resource",
"type": "boolean",
@@ -614,6 +626,12 @@
"default": true,
"description": "Detects variants like `on mass` or `in mass` and suggests `en masse`."
},
+ "harper.linters.EverPresent": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects the missing hyphen in `ever present` to the compound adjective `ever-present`."
+ },
"harper.linters.Everywhere": {
"scope": "resource",
"type": "boolean",
@@ -710,6 +728,12 @@
"default": true,
"description": "Ensures `face first` is correctly hyphenated as `face-first` when used before `into`."
},
+ "harper.linters.FairBit": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects malapropisms of `a fair bit`."
+ },
"harper.linters.FarWorse": {
"scope": "resource",
"type": "boolean",
@@ -776,6 +800,12 @@
"default": true,
"description": "Encourages vivid writing by suggesting `freezing` instead of weaker expressions like `very cold.`"
},
+ "harper.linters.FurtherAdo": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects `adieu` to `ado`."
+ },
"harper.linters.Furthermore": {
"scope": "resource",
"type": "boolean",
@@ -1118,6 +1148,12 @@
"default": true,
"description": "Corrects the misspelling `It cam` to the proper phrase `It can`."
},
+ "harper.linters.ItsContraction": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Detects the possessive `its` before `had`, `been`, or `got` and offers `it's` or `it has`."
+ },
"harper.linters.Itself": {
"scope": "resource",
"type": "boolean",
@@ -1286,6 +1322,12 @@
"default": true,
"description": "Advises using `momentous` or `monumental` instead of `monumentous` for serious usage."
},
+ "harper.linters.MuchAdo": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects `adieu` to `ado`."
+ },
"harper.linters.MuchWorse": {
"scope": "resource",
"type": "boolean",
@@ -1334,6 +1376,12 @@
"default": true,
"description": "Looks for incorrect spacing inside the closed compound `myself`."
},
+ "harper.linters.NailOnTheHead": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Replaces hat/had/hit/hid in the idiom `nail on the head` with `head`."
+ },
"harper.linters.NationalCapitals": {
"scope": "resource",
"type": "boolean",
@@ -1364,6 +1412,12 @@
"default": true,
"description": "Looks for incorrect spacing inside the closed compound `nobody`."
},
+ "harper.linters.NominalWants": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Ensures you use the correct `want` / `wants` after a nominal."
+ },
"harper.linters.Nonetheless": {
"scope": "resource",
"type": "boolean",
@@ -1646,6 +1700,12 @@
"default": true,
"description": "Corrects the incorrect phrase `same then` to the standard `same as`."
},
+ "harper.linters.SaveToSafe": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects `save to <verb>` to `safe to <verb>` after a form of `be`."
+ },
"harper.linters.ScantilyClad": {
"scope": "resource",
"type": "boolean",
@@ -2024,6 +2084,12 @@
"default": true,
"description": "Incorrect verb form: `will` should be followed by the base form `contain`."
},
+ "harper.linters.WinPrize": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Catches the mix-up between `price`/`prise` and `prize` after the verb `win`."
+ },
"harper.linters.WordPressDotcom": {
"scope": "resource",
"type": "boolean",