Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
Release 0.63.0
Elijah Potterb3cd7945091a
diff --git a/Cargo.lock b/Cargo.lockindex 8029408e4..16f9383de 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -2287,7 +2287,7 @@ dependencies = [[[package]]name = "harper-brill"-version = "0.62.0"+version = "0.63.0"dependencies = ["harper-pos-utils","lazy_static",@@ -2319,7 +2319,7 @@ dependencies = [[[package]]name = "harper-comments"-version = "0.62.0"+version = "0.63.0"dependencies = ["harper-core","harper-html",@@ -2354,7 +2354,7 @@ dependencies = [[[package]]name = "harper-core"-version = "0.62.0"+version = "0.63.0"dependencies = ["ammonia","bitflags 2.9.3",@@ -2391,7 +2391,7 @@ dependencies = [[[package]]name = "harper-html"-version = "0.62.0"+version = "0.63.0"dependencies = ["harper-core","harper-tree-sitter",@@ -2402,7 +2402,7 @@ dependencies = [[[package]]name = "harper-literate-haskell"-version = "0.62.0"+version = "0.63.0"dependencies = ["harper-comments","harper-core",@@ -2413,7 +2413,7 @@ dependencies = [[[package]]name = "harper-ls"-version = "0.62.0"+version = "0.63.0"dependencies = ["anyhow","clap",@@ -2441,7 +2441,7 @@ dependencies = [[[package]]name = "harper-pos-utils"-version = "0.62.0"+version = "0.63.0"dependencies = ["burn","burn-ndarray",@@ -2460,7 +2460,7 @@ dependencies = [[[package]]name = "harper-stats"-version = "0.62.0"+version = "0.63.0"dependencies = ["chrono","harper-core",@@ -2471,7 +2471,7 @@ dependencies = [[[package]]name = "harper-tree-sitter"-version = "0.62.0"+version = "0.63.0"dependencies = ["harper-core","tree-sitter",@@ -2490,7 +2490,7 @@ dependencies = [[[package]]name = "harper-typst"-version = "0.62.0"+version = "0.63.0"dependencies = ["harper-core","itertools 0.14.0",diff --git a/harper-brill/Cargo.toml b/harper-brill/Cargo.tomlindex 8b6cc03c3..79414b200 100644--- a/harper-brill/Cargo.toml+++ b/harper-brill/Cargo.toml@@ -1,13 +1,13 @@[package]name = "harper-brill"-version = "0.62.0"+version = "0.63.0"edition = "2024"description = "The language checker for developers."license = "Apache-2.0"repository = "https://github.com/automattic/harper"[dependencies]-harper-pos-utils = { path = "../harper-pos-utils/", version = "0.62.0" }+harper-pos-utils = { path = "../harper-pos-utils/", version = "0.63.0" }lazy_static = "1.5.0"rs-conllu = "0.3.0"serde = "1.0.219"diff --git a/harper-cli/Cargo.toml b/harper-cli/Cargo.tomlindex 17745b0e3..c017d289c 100644--- a/harper-cli/Cargo.toml+++ b/harper-cli/Cargo.toml@@ -9,13 +9,13 @@ repository = "https://github.com/automattic/harper"anyhow = "1.0.99"ariadne = "0.4.1"clap = { version = "4.5.47", features = ["derive", "string"] }-harper-stats = { path = "../harper-stats", version = "0.62.0" }+harper-stats = { path = "../harper-stats", version = "0.63.0" }dirs = "6.0.0"-harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.62.0" }-harper-core = { path = "../harper-core", version = "0.62.0" }-harper-pos-utils = { path = "../harper-pos-utils", version = "0.62.0", features = ["threaded"] }-harper-comments = { path = "../harper-comments", version = "0.62.0" }-harper-typst = { path = "../harper-typst", version = "0.62.0" }+harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.63.0" }+harper-core = { path = "../harper-core", version = "0.63.0" }+harper-pos-utils = { path = "../harper-pos-utils", version = "0.63.0", features = ["threaded"] }+harper-comments = { path = "../harper-comments", version = "0.63.0" }+harper-typst = { path = "../harper-typst", version = "0.63.0" }hashbrown = "0.16.0"serde = { version = "1.0.219", features = ["derive"] }serde_json = "1.0.143"diff --git a/harper-comments/Cargo.toml b/harper-comments/Cargo.tomlindex 7582a9573..0ce3f37b6 100644--- a/harper-comments/Cargo.toml+++ b/harper-comments/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-comments"-version = "0.62.0"+version = "0.63.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.62.0" }-harper-html = { path = "../harper-html", version = "0.62.0" }-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.62.0" }+harper-core = { path = "../harper-core", version = "0.63.0" }+harper-html = { path = "../harper-html", version = "0.63.0" }+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.63.0" }itertools = "0.14.0"tree-sitter = "0.25.9"tree-sitter-bash = "0.25.0"diff --git a/harper-core/Cargo.toml b/harper-core/Cargo.tomlindex 262251043..aebd27d8e 100644--- a/harper-core/Cargo.toml+++ b/harper-core/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-core"-version = "0.62.0"+version = "0.63.0"edition = "2024"description = "The language checker for developers."license = "Apache-2.0"@@ -31,7 +31,7 @@ foldhash = "0.2.0"strum_macros = "0.27.2"strum = "0.27.2"ammonia = "4.1.1"-harper-brill = { path = "../harper-brill", version = "0.62.0" }+harper-brill = { path = "../harper-brill", version = "0.63.0" }bitflags = { version = "2.9.3", features = ["serde"] }[dev-dependencies]diff --git a/harper-html/Cargo.toml b/harper-html/Cargo.tomlindex cd4fdd6cb..825d03a92 100644--- a/harper-html/Cargo.toml+++ b/harper-html/Cargo.toml@@ -1,14 +1,14 @@[package]name = "harper-html"-version = "0.62.0"+version = "0.63.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.62.0" }-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.62.0" }+harper-core = { path = "../harper-core", version = "0.63.0" }+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.63.0" }tree-sitter-html = "0.23.2"tree-sitter = "0.25.9"diff --git a/harper-literate-haskell/Cargo.toml b/harper-literate-haskell/Cargo.tomlindex 86610d840..37b13f2c8 100644--- a/harper-literate-haskell/Cargo.toml+++ b/harper-literate-haskell/Cargo.toml@@ -1,14 +1,14 @@[package]name = "harper-literate-haskell"-version = "0.62.0"+version = "0.63.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.62.0" }-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.62.0" }-harper-comments = { path = "../harper-comments", version = "0.62.0" }+harper-core = { path = "../harper-core", version = "0.63.0" }+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.63.0" }+harper-comments = { path = "../harper-comments", version = "0.63.0" }itertools = "0.14.0"paste = "1.0.14"diff --git a/harper-ls/Cargo.toml b/harper-ls/Cargo.tomlindex 2c14d336d..a42977efb 100644--- a/harper-ls/Cargo.toml+++ b/harper-ls/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-ls"-version = "0.62.0"+version = "0.63.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.62.0" }-harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.62.0" }-harper-core = { path = "../harper-core", version = "0.62.0", features = ["concurrent"] }-harper-comments = { path = "../harper-comments", version = "0.62.0" }-harper-typst = { path = "../harper-typst", version = "0.62.0" }-harper-html = { path = "../harper-html", version = "0.62.0" }+harper-stats = { path = "../harper-stats", version = "0.63.0" }+harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.63.0" }+harper-core = { path = "../harper-core", version = "0.63.0", features = ["concurrent"] }+harper-comments = { path = "../harper-comments", version = "0.63.0" }+harper-typst = { path = "../harper-typst", version = "0.63.0" }+harper-html = { path = "../harper-html", version = "0.63.0" }tower-lsp-server = "0.22.1"tokio = { version = "1.47.1", features = ["fs", "rt", "rt-multi-thread", "macros", "io-std", "io-util", "net"] }clap = { version = "4.5.47", features = ["derive"] }diff --git a/harper-pos-utils/Cargo.toml b/harper-pos-utils/Cargo.tomlindex ae971a631..73d7dda8b 100644--- a/harper-pos-utils/Cargo.toml+++ b/harper-pos-utils/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-pos-utils"-version = "0.62.0"+version = "0.63.0"edition = "2024"description = "The language checker for developers."license = "Apache-2.0"diff --git a/harper-stats/Cargo.toml b/harper-stats/Cargo.tomlindex cd45f6ab6..3c505670b 100644--- a/harper-stats/Cargo.toml+++ b/harper-stats/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-stats"-version = "0.62.0"+version = "0.63.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.62.0", features = ["concurrent"] }+harper-core = { path = "../harper-core", version = "0.63.0", features = ["concurrent"] }uuid = { version = "1.18.1", features = ["serde", "v4"] }serde_json = "1.0.143"chrono = "0.4.41"diff --git a/harper-tree-sitter/Cargo.toml b/harper-tree-sitter/Cargo.tomlindex 57187a2b5..40a3a3a99 100644--- a/harper-tree-sitter/Cargo.toml+++ b/harper-tree-sitter/Cargo.toml@@ -1,11 +1,11 @@[package]name = "harper-tree-sitter"-version = "0.62.0"+version = "0.63.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.62.0" }+harper-core = { path = "../harper-core", version = "0.63.0" }tree-sitter = "0.25.9"diff --git a/harper-typst/Cargo.toml b/harper-typst/Cargo.tomlindex 761a2256d..33e69ff5f 100644--- a/harper-typst/Cargo.toml+++ b/harper-typst/Cargo.toml@@ -1,13 +1,13 @@[package]name = "harper-typst"-version = "0.62.0"+version = "0.63.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.62.0" }+harper-core = { path = "../harper-core", version = "0.63.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.tomlindex 7c94945f2..4afc4b350 100644--- a/harper-wasm/Cargo.toml+++ b/harper-wasm/Cargo.toml@@ -13,10 +13,10 @@ 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.62.0", features = ["concurrent"] }+harper-core = { path = "../harper-core", version = "0.63.0", features = ["concurrent"] }once_cell = "1.21.3"serde-wasm-bindgen = "0.6.5"serde_json = "1.0.143"serde = { version = "1.0.219", features = ["derive"] }getrandom = { version = "0.3.3", default-features = false, features = ["wasm_js"] }-harper-stats = { path = "../harper-stats", version = "0.62.0", features = ["js"] }+harper-stats = { path = "../harper-stats", version = "0.63.0", features = ["js"] }diff --git a/packages/chrome-plugin/package.json b/packages/chrome-plugin/package.jsonindex 2949c3524..190bf858e 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.62.0",+ "version": "0.63.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.jsonindex 8e5f2a1fb..4c5c533f1 100644--- a/packages/harper.js/package.json+++ b/packages/harper.js/package.json@@ -1,6 +1,6 @@{"name": "harper.js",- "version": "0.62.0",+ "version": "0.63.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.jsonindex ac65d71b9..4924eee3b 100644--- a/packages/obsidian-plugin/package.json+++ b/packages/obsidian-plugin/package.json@@ -1,7 +1,7 @@{"name": "obsidian-plugin","private": true,- "version": "0.62.0",+ "version": "0.63.0","main": "main.js","devDependencies": {"@rollup/plugin-node-resolve": "^16.0.0",diff --git a/packages/vscode-plugin/package.json b/packages/vscode-plugin/package.jsonindex f140145c8..a49207737 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.62.0",+ "version": "0.63.0","private": true,"author": "Elijah Potter","publisher": "elijah-potter",@@ -337,6 +337,12 @@"default": true,"description": "Corrects nonstandard `as early back as` to `as far back as`."},+ "harper.linters.AsIfThough": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects redundant `as if though`."+ },"harper.linters.AsItHappens": {"scope": "resource","type": "boolean",@@ -647,7 +653,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. Use two hyphens to denote an en dash and three to denote an em dash."+ "description": "Writers often type `--` or `---` expecting their editor to convert them into proper dashes. Replace these sequences with the correct characters: use an en dash (–) for ranges or connections and an em dash (—) for a break in thought."},"harper.linters.DayAndAge": {"scope": "resource",@@ -907,6 +913,12 @@"default": true,"description": "Corrects malapropisms of `a fair bit`."},+ "harper.linters.FarAndFewBetween": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects `far and few between` to the standard idiom `few and far between`."+ },"harper.linters.FastPaste": {"scope": "resource","type": "boolean",@@ -1051,12 +1063,6 @@"default": true,"description": "Corrects the eggcorn `half hazard` to `haphazard`, which properly means lacking organization or being random."},- "harper.linters.HaveGone": {- "scope": "resource",- "type": "boolean",- "default": true,- "description": "Corrects `have went` to `have gone`."- },"harper.linters.HavePassed": {"scope": "resource","type": "boolean",@@ -1909,6 +1915,12 @@"default": true,"description": "Corrects `preying mantis` to `praying mantis`, ensuring accurate reference to the insect’s characteristic pose."},+ "harper.linters.ProgressiveNeedsBe": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Detects the ungrammatical patterns `<pronoun> have …ing` (e.g., `I have …ing`) and `<pronoun>'ve …ing` (e.g., `I've …ing`) and suggests either the present progressive (e.g., `I'm/We're/You're/They're …`) or the present perfect progressive (e.g., `I/We/You/They have been …` or `I've/We've/You've/They've been …`)."+ },"harper.linters.PronounContraction": {"scope": "resource","type": "boolean",@@ -2059,6 +2071,12 @@"default": true,"description": "Corrects `simply grammatical` to `simple grammatical` for proper adjective usage."},+ "harper.linters.SimplePastToPastParticiple": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects simple past tense verbs to past participle after auxiliary verbs like \"have\" or \"be\"."+ },"harper.linters.SinceDuration": {"scope": "resource","type": "boolean",@@ -2149,12 +2167,6 @@"default": false,"description": "Most style guides recommend that you spell out numbers less than ten."},- "harper.linters.SpokeTooSoon": {- "scope": "resource",- "type": "boolean",- "default": true,- "description": "Identifies common misuse of the preposition `to` in the phrase `spoke too soon`."- },"harper.linters.Starving": {"scope": "resource","type": "boolean",@@ -2317,6 +2329,24 @@"default": true,"description": "Corrects `to the manor born` to `to the manner born`, ensuring the intended meaning of being naturally suited to a way of life."},+ "harper.linters.ToTooIdioms": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects `to` used instead of `too`."+ },+ "harper.linters.ToTwoToo": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects homophone confusion between `to` and `too`."+ },+ "harper.linters.TooTo": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects `too` used instead of `to`."+ },"harper.linters.Touristic": {"scope": "resource","type": "boolean",