Skip to content

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

Release 1.10.0

Elijah Pottere873b9de04aa
diff --git a/Cargo.lock b/Cargo.lock
index 64492a786..07cc4bf44 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2599,7 +2599,7 @@ dependencies = [
[[package]]
name = "harper-asciidoc"
-version = "1.9.0"
+version = "1.10.0"
dependencies = [
"harper-core",
"harper-tree-sitter",
@@ -2610,7 +2610,7 @@ dependencies = [
[[package]]
name = "harper-brill"
-version = "1.9.0"
+version = "1.10.0"
dependencies = [
"harper-pos-utils",
"serde_json",
@@ -2647,7 +2647,7 @@ dependencies = [
[[package]]
name = "harper-comments"
-version = "1.9.0"
+version = "1.10.0"
dependencies = [
"harper-core",
"harper-html",
@@ -2684,7 +2684,7 @@ dependencies = [
[[package]]
name = "harper-core"
-version = "1.9.0"
+version = "1.10.0"
dependencies = [
"ammonia",
"bitflags 2.11.0",
@@ -2724,7 +2724,7 @@ dependencies = [
[[package]]
name = "harper-html"
-version = "1.9.0"
+version = "1.10.0"
dependencies = [
"harper-core",
"harper-tree-sitter",
@@ -2735,7 +2735,7 @@ dependencies = [
[[package]]
name = "harper-ink"
-version = "1.9.0"
+version = "1.10.0"
dependencies = [
"harper-core",
"harper-tree-sitter",
@@ -2746,7 +2746,7 @@ dependencies = [
[[package]]
name = "harper-jjdescription"
-version = "1.9.0"
+version = "1.10.0"
dependencies = [
"harper-core",
"harper-tree-sitter",
@@ -2757,7 +2757,7 @@ dependencies = [
[[package]]
name = "harper-literate-haskell"
-version = "1.9.0"
+version = "1.10.0"
dependencies = [
"harper-comments",
"harper-core",
@@ -2768,7 +2768,7 @@ dependencies = [
[[package]]
name = "harper-ls"
-version = "1.9.0"
+version = "1.10.0"
dependencies = [
"anyhow",
"clap",
@@ -2799,7 +2799,7 @@ dependencies = [
[[package]]
name = "harper-pos-utils"
-version = "1.9.0"
+version = "1.10.0"
dependencies = [
"burn",
"burn-ndarray",
@@ -2817,7 +2817,7 @@ dependencies = [
[[package]]
name = "harper-python"
-version = "1.9.0"
+version = "1.10.0"
dependencies = [
"harper-core",
"harper-tree-sitter",
@@ -2828,7 +2828,7 @@ dependencies = [
[[package]]
name = "harper-stats"
-version = "1.9.0"
+version = "1.10.0"
dependencies = [
"chrono",
"harper-core",
@@ -2839,7 +2839,7 @@ dependencies = [
[[package]]
name = "harper-tex"
-version = "1.9.0"
+version = "1.10.0"
dependencies = [
"harper-core",
"paste",
@@ -2847,7 +2847,7 @@ dependencies = [
[[package]]
name = "harper-thesaurus"
-version = "1.9.0"
+version = "1.10.0"
dependencies = [
"hashbrown 0.16.1",
"indexmap",
@@ -2858,7 +2858,7 @@ dependencies = [
[[package]]
name = "harper-tree-sitter"
-version = "1.9.0"
+version = "1.10.0"
dependencies = [
"harper-core",
"tree-sitter",
@@ -2877,7 +2877,7 @@ dependencies = [
[[package]]
name = "harper-typst"
-version = "1.9.0"
+version = "1.10.0"
dependencies = [
"harper-core",
"itertools 0.14.0",
diff --git a/harper-asciidoc/Cargo.toml b/harper-asciidoc/Cargo.toml
index c5f9594e6..50a809317 100644
--- a/harper-asciidoc/Cargo.toml
+++ b/harper-asciidoc/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "harper-asciidoc"
-version = "1.9.0"
+version = "1.10.0"
edition = "2024"
description = "The language checker for developers."
license = "Apache-2.0"
diff --git a/harper-brill/Cargo.toml b/harper-brill/Cargo.toml
index 1171cb64a..bfb6add56 100644
--- a/harper-brill/Cargo.toml
+++ b/harper-brill/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "harper-brill"
-version = "1.9.0"
+version = "1.10.0"
edition = "2024"
description = "The language checker for developers."
license = "Apache-2.0"
diff --git a/harper-comments/Cargo.toml b/harper-comments/Cargo.toml
index 0a92f0a1c..48a9af7ff 100644
--- a/harper-comments/Cargo.toml
+++ b/harper-comments/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "harper-comments"
-version = "1.9.0"
+version = "1.10.0"
edition = "2024"
description = "The language checker for developers."
license = "Apache-2.0"
diff --git a/harper-core/Cargo.toml b/harper-core/Cargo.toml
index c648cdab1..0490802f2 100644
--- a/harper-core/Cargo.toml
+++ b/harper-core/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "harper-core"
-version = "1.9.0"
+version = "1.10.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 e0cf0bc55..79c9aef9c 100644
--- a/harper-html/Cargo.toml
+++ b/harper-html/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "harper-html"
-version = "1.9.0"
+version = "1.10.0"
edition = "2024"
description = "The language checker for developers."
license = "Apache-2.0"
diff --git a/harper-ink/Cargo.toml b/harper-ink/Cargo.toml
index 022001d87..977f98c3f 100644
--- a/harper-ink/Cargo.toml
+++ b/harper-ink/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "harper-ink"
-version = "1.9.0"
+version = "1.10.0"
edition = "2024"
description = "The language checker for developers."
license = "Apache-2.0"
diff --git a/harper-jjdescription/Cargo.toml b/harper-jjdescription/Cargo.toml
index d5840bd65..fda7438c1 100644
--- a/harper-jjdescription/Cargo.toml
+++ b/harper-jjdescription/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "harper-jjdescription"
-version = "1.9.0"
+version = "1.10.0"
edition = "2024"
description = "The language checker for developers."
license = "Apache-2.0"
diff --git a/harper-literate-haskell/Cargo.toml b/harper-literate-haskell/Cargo.toml
index e648f70b5..4177c2fbb 100644
--- a/harper-literate-haskell/Cargo.toml
+++ b/harper-literate-haskell/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "harper-literate-haskell"
-version = "1.9.0"
+version = "1.10.0"
edition = "2024"
description = "The language checker for developers."
license = "Apache-2.0"
diff --git a/harper-ls/Cargo.toml b/harper-ls/Cargo.toml
index fe412cf72..93a4a3aa4 100644
--- a/harper-ls/Cargo.toml
+++ b/harper-ls/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "harper-ls"
-version = "1.9.0"
+version = "1.10.0"
edition = "2024"
description = "The language checker for developers."
license = "Apache-2.0"
diff --git a/harper-pos-utils/Cargo.toml b/harper-pos-utils/Cargo.toml
index 8c67ba966..98e67411e 100644
--- a/harper-pos-utils/Cargo.toml
+++ b/harper-pos-utils/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "harper-pos-utils"
-version = "1.9.0"
+version = "1.10.0"
edition = "2024"
description = "The language checker for developers."
license = "Apache-2.0"
diff --git a/harper-python/Cargo.toml b/harper-python/Cargo.toml
index d80182fbc..6e668c52c 100644
--- a/harper-python/Cargo.toml
+++ b/harper-python/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "harper-python"
-version = "1.9.0"
+version = "1.10.0"
edition = "2024"
description = "The language checker for developers."
license = "Apache-2.0"
diff --git a/harper-stats/Cargo.toml b/harper-stats/Cargo.toml
index feb75a1de..c6d74da82 100644
--- a/harper-stats/Cargo.toml
+++ b/harper-stats/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "harper-stats"
-version = "1.9.0"
+version = "1.10.0"
edition = "2021"
description = "The language checker for developers."
license = "Apache-2.0"
diff --git a/harper-tex/Cargo.toml b/harper-tex/Cargo.toml
index b0ea3257d..7846ae50e 100644
--- a/harper-tex/Cargo.toml
+++ b/harper-tex/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "harper-tex"
-version = "1.9.0"
+version = "1.10.0"
edition = "2024"
description = "The language checker for developers."
license = "Apache-2.0"
diff --git a/harper-thesaurus/Cargo.toml b/harper-thesaurus/Cargo.toml
index 267ab6085..9fbfe2312 100644
--- a/harper-thesaurus/Cargo.toml
+++ b/harper-thesaurus/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "harper-thesaurus"
-version = "1.9.0"
+version = "1.10.0"
edition = "2024"
description = "The language checker for developers."
license = "Apache-2.0"
diff --git a/harper-tree-sitter/Cargo.toml b/harper-tree-sitter/Cargo.toml
index 4474e5f6a..15ebdcf40 100644
--- a/harper-tree-sitter/Cargo.toml
+++ b/harper-tree-sitter/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "harper-tree-sitter"
-version = "1.9.0"
+version = "1.10.0"
edition = "2024"
description = "The language checker for developers."
license = "Apache-2.0"
diff --git a/harper-typst/Cargo.toml b/harper-typst/Cargo.toml
index c1c58eeda..0a0b6e231 100644
--- a/harper-typst/Cargo.toml
+++ b/harper-typst/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "harper-typst"
-version = "1.9.0"
+version = "1.10.0"
edition = "2024"
description = "The language checker for developers."
license = "Apache-2.0"
diff --git a/justfile b/justfile
index 9ad19dba1..9a01f78e6 100644
--- a/justfile
+++ b/justfile
@@ -271,32 +271,31 @@ update-vscode-linters:
#!/usr/bin/env bash
set -eo pipefail
- linters=$(
- cargo run --bin harper-cli -- config |
- jq 'with_entries(.key |= "harper.linters." + . |
- .value |= {
- "scope": "resource",
- "type": "boolean",
- "default": .default_value,
- "description": .description
- }
- )'
- )
+ linters_file="$(mktemp)"
+ output_file="$(mktemp)"
+ trap 'rm -f "$linters_file" "$output_file"' EXIT
+
+ cargo run --bin harper-cli -- config |
+ jq 'with_entries(.key |= "harper.linters." + . |
+ .value |= {
+ "scope": "resource",
+ "type": "boolean",
+ "default": .default_value,
+ "description": .description
+ }
+ )' > "$linters_file"
cd "{{justfile_directory()}}/packages/vscode-plugin"
- manifest_without_linters=$(
- jq 'walk(
- if type == "object" then
- with_entries(select(.key | startswith("harper.linters") | not))
- end
- )' package.json
- )
-
- jq --argjson linters "$linters" \
- '.contributes.configuration.properties += $linters' <<< \
- "$manifest_without_linters" > \
- package.json
+ jq 'walk(
+ if type == "object" then
+ with_entries(select(.key | startswith("harper.linters") | not))
+ end
+ )' package.json |
+ jq --slurpfile linters "$linters_file" \
+ '.contributes.configuration.properties += $linters[0]' > \
+ "$output_file"
+ mv "$output_file" package.json
just format
# Run Rust formatting and linting.
diff --git a/packages/chrome-plugin/package.json b/packages/chrome-plugin/package.json
index ed75d10b3..ba395302c 100644
--- a/packages/chrome-plugin/package.json
+++ b/packages/chrome-plugin/package.json
@@ -1,7 +1,7 @@
{
"name": "chrome-plugin",
"displayName": "chrome-plugin",
- "version": "1.9.0",
+ "version": "1.10.0",
"author": "no one",
"description": "The private grammar checker for 21st Century English",
"type": "module",
diff --git a/packages/harper.js/package.json b/packages/harper.js/package.json
index 6acf613ba..f0b7e917d 100644
--- a/packages/harper.js/package.json
+++ b/packages/harper.js/package.json
@@ -1,6 +1,6 @@
{
"name": "harper.js",
- "version": "1.9.0",
+ "version": "1.10.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 79165bf6d..924306dce 100644
--- a/packages/obsidian-plugin/package.json
+++ b/packages/obsidian-plugin/package.json
@@ -1,7 +1,7 @@
{
"name": "obsidian-plugin",
"private": true,
- "version": "1.9.0",
+ "version": "1.10.0",
"main": "main.js",
"devDependencies": {
"@playwright/test": "^1.58.0",
diff --git a/packages/vscode-plugin/package.json b/packages/vscode-plugin/package.json
index afa1c151e..6d3130ede 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": "1.9.0",
+ "version": "1.10.0",
"private": true,
"author": "Elijah Potter",
"publisher": "elijah-potter",
@@ -521,6 +521,12 @@
"default": true,
"description": "Suggests using either `await` or `wait for` but not both, as they express the same meaning."
},
+ "harper.linters.AwareOf": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects `aware about` to the standard `aware of`."
+ },
"harper.linters.AzureNames": {
"scope": "resource",
"type": "boolean",
@@ -731,6 +737,12 @@
"default": true,
"description": "Corrects confusion between `tale` (story) and `tail` (appendage) in common phrases."
},
+ "harper.linters.Chalkboard": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `chalkboard`."
+ },
"harper.linters.ChampAtTheBit": {
"scope": "resource",
"type": "boolean",
@@ -797,6 +809,12 @@
"default": true,
"description": "`Comprises` already contains the notion of `of`, so following it with another `of` is redundant."
},
+ "harper.linters.CompulseToCompel": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Suggests replacing the obsolete or archaic verb `compulse` with the standard `compel`."
+ },
"harper.linters.CondenseAllThe": {
"scope": "resource",
"type": "boolean",
@@ -1337,6 +1355,12 @@
"default": true,
"description": "Replaces `fatal outcome` with the more direct term `death` for conciseness."
},
+ "harper.linters.FedUpWith": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects `fed up of` to `fed up with` in dialects other than British English."
+ },
"harper.linters.FeelFell": {
"scope": "resource",
"type": "boolean",
@@ -1475,6 +1499,12 @@
"default": true,
"description": "Corrects common misspellings of the idiom `get rid of`."
},
+ "harper.linters.GetUsedTo": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects `used of` to `used to`."
+ },
"harper.linters.GildedAge": {
"scope": "resource",
"type": "boolean",
@@ -1601,6 +1631,12 @@
"default": true,
"description": "`Here by` in some contexts should be `hereby`"
},
+ "harper.linters.HiddenIn": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects `hidden into` to `hidden in`."
+ },
"harper.linters.Holidays": {
"scope": "resource",
"type": "boolean",
@@ -1703,6 +1739,12 @@
"default": true,
"description": "Expands an initialism."
},
+ "harper.linters.IfIUnderstandCorrectly": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Expands an initialism."
+ },
"harper.linters.IfWouldve": {
"scope": "resource",
"type": "boolean",
@@ -2315,6 +2357,12 @@
"default": true,
"description": "Looks for incorrect spacing inside the closed compound `multimedia`."
},
+ "harper.linters.MultipleFrequencyAdverbs": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for adjacent adverbs of frequency, which will be either redundant or contradictory."
+ },
"harper.linters.MultipleSequentialPronouns": {
"scope": "resource",
"type": "boolean",
@@ -2453,6 +2501,12 @@
"default": true,
"description": "Corrects `no only` to `not only` before forms of `to be`."
},
+ "harper.linters.NotOnlyInversion": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects `not only it is` to `not only is it`"
+ },
"harper.linters.NotTo": {
"scope": "resource",
"type": "boolean",
@@ -2517,7 +2571,7 @@
"scope": "resource",
"type": "boolean",
"default": true,
- "description": "Detects the common mistake `off course` and suggests the correct form `of course`."
+ "description": "Detects common mistaken forms of `of course`."
},
"harper.linters.OffTheCuff": {
"scope": "resource",
@@ -2571,7 +2625,7 @@
"scope": "resource",
"type": "boolean",
"default": true,
- "description": "Corrects `ontop of` to `on top of`."
+ "description": "Corrects `ontop of` and `in top of` to `on top of`."
},
"harper.linters.OnceInAWhile": {
"scope": "resource",
@@ -2753,6 +2807,12 @@
"default": true,
"description": "Expands an initialism."
},
+ "harper.linters.PluralDecades": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Flags plural decades erroneously using an apostrophe before the `s`"
+ },
"harper.linters.PluralWrongWordOfPhrase": {
"scope": "resource",
"type": "boolean",
@@ -2975,6 +3035,12 @@
"default": true,
"description": "Flags uses of the noun `response` where the verb `respond` is needed after an auxiliary."
},
+ "harper.linters.ResponsibilityFor": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects `take/assume/claim responsibility of` to `take/assume/claim responsibility for`."
+ },
"harper.linters.RifeWith": {
"scope": "resource",
"type": "boolean",
@@ -2993,6 +3059,12 @@
"default": true,
"description": "Corrects `rise the question` to `raise the question`."
},
+ "harper.linters.RiseTheRanks": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects the nonstandard phrase `rise the ranks` to the standard `rise through the ranks` or `rise from the ranks`"
+ },
"harper.linters.RoadMap": {
"scope": "resource",
"type": "boolean",
@@ -3047,12 +3119,6 @@
"default": true,
"description": "Corrects `seam` to `seem` when used as a verb meaning `to appear` or `to give the impression`."
},
- "harper.linters.SemicolonApostrophe": {
- "scope": "resource",
- "type": "boolean",
- "default": true,
- "description": "Corrects semicolons accidentally typed instead of apostrophes."
- },
"harper.linters.SendAnEmailTo": {
"scope": "resource",
"type": "boolean",
@@ -3359,6 +3425,12 @@
"default": true,
"description": "Flags the definite article used together with a possessive."
},
+ "harper.linters.ThePointFor": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects `the point for` to `the point of`"
+ },
"harper.linters.TheProperNounPossessive": {
"scope": "resource",
"type": "boolean",
@@ -3521,6 +3593,12 @@
"default": true,
"description": "Corrects mixing up `to` with `too` and `lose` with `loose`."
},
+ "harper.linters.ToSomeDegree": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects `in some degree` to `to some degree`, meaning to a certain extent."
+ },
"harper.linters.ToTheMannerBorn": {
"scope": "resource",
"type": "boolean",
@@ -3669,7 +3747,7 @@
"scope": "resource",
"type": "boolean",
"default": true,
- "description": "Looks for situations where a verb was written where an adjective is often intended."
+ "description": "Looks for article-led gerund noun phrases like `a fully accounting of`, where an adjective is more likely than an adverb."
},
"harper.linters.VeryKnown": {
"scope": "resource",
@@ -3869,6 +3947,12 @@
"default": true,
"description": "Corrects the eggcorn `wreck havoc` to `wreak havoc`, which is the proper term for causing chaos or destruction."
},
+ "harper.linters.WrongApostrophe": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects semicolons or acute accents typed instead of apostrophes."
+ },
"harper.linters.WroteToRote": {
"scope": "resource",
"type": "boolean",