Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
Release 0.41.0
Elijah Potterf27bd61c260b
diff --git a/Cargo.lock b/Cargo.lockindex b2cce6f1e..c8b510eb0 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -809,7 +809,7 @@ dependencies = [[[package]]name = "harper-comments"-version = "0.40.0"+version = "0.41.0"dependencies = ["harper-core","harper-html",@@ -842,7 +842,7 @@ dependencies = [[[package]]name = "harper-core"-version = "0.40.0"+version = "0.41.0"dependencies = ["ammonia","blanket",@@ -877,7 +877,7 @@ dependencies = [[[package]]name = "harper-html"-version = "0.40.0"+version = "0.41.0"dependencies = ["harper-core","harper-tree-sitter",@@ -888,7 +888,7 @@ dependencies = [[[package]]name = "harper-literate-haskell"-version = "0.40.0"+version = "0.41.0"dependencies = ["harper-comments","harper-core",@@ -899,7 +899,7 @@ dependencies = [[[package]]name = "harper-ls"-version = "0.40.0"+version = "0.41.0"dependencies = ["anyhow","clap",@@ -927,7 +927,7 @@ dependencies = [[[package]]name = "harper-stats"-version = "0.40.0"+version = "0.41.0"dependencies = ["chrono","harper-core",@@ -938,7 +938,7 @@ dependencies = [[[package]]name = "harper-tree-sitter"-version = "0.40.0"+version = "0.41.0"dependencies = ["harper-core","tree-sitter",@@ -946,7 +946,7 @@ dependencies = [[[package]]name = "harper-typst"-version = "0.40.0"+version = "0.41.0"dependencies = ["harper-core","itertools 0.14.0",diff --git a/harper-cli/Cargo.toml b/harper-cli/Cargo.tomlindex e79d208e0..d8acfb4e9 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.39", features = ["derive", "string"] }-harper-stats = { path = "../harper-stats", version = "0.40.0" }+harper-stats = { path = "../harper-stats", version = "0.41.0" }dirs = "6.0.0"-harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.40.0" }-harper-core = { path = "../harper-core", version = "0.40.0" }-harper-comments = { path = "../harper-comments", version = "0.40.0" }-harper-typst = { path = "../harper-typst", version = "0.40.0" }+harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.41.0" }+harper-core = { path = "../harper-core", version = "0.41.0" }+harper-comments = { path = "../harper-comments", version = "0.41.0" }+harper-typst = { path = "../harper-typst", version = "0.41.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.tomlindex b83795f46..341911fd7 100644--- a/harper-comments/Cargo.toml+++ b/harper-comments/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-comments"-version = "0.40.0"+version = "0.41.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.40.0" }-harper-html = { path = "../harper-html", version = "0.40.0" }-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.40.0" }+harper-core = { path = "../harper-core", version = "0.41.0" }+harper-html = { path = "../harper-html", version = "0.41.0" }+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.41.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.tomlindex d39f1d0da..aa63b683a 100644--- a/harper-core/Cargo.toml+++ b/harper-core/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-core"-version = "0.40.0"+version = "0.41.0"edition = "2024"description = "The language checker for developers."license = "Apache-2.0"diff --git a/harper-html/Cargo.toml b/harper-html/Cargo.tomlindex b105a1fcd..7fb9b7382 100644--- a/harper-html/Cargo.toml+++ b/harper-html/Cargo.toml@@ -1,14 +1,14 @@[package]name = "harper-html"-version = "0.40.0"+version = "0.41.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.40.0" }-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.40.0" }+harper-core = { path = "../harper-core", version = "0.41.0" }+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.41.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.tomlindex dbb6c1709..f9b8c5276 100644--- a/harper-literate-haskell/Cargo.toml+++ b/harper-literate-haskell/Cargo.toml@@ -1,14 +1,14 @@[package]name = "harper-literate-haskell"-version = "0.40.0"+version = "0.41.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.40.0" }-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.40.0" }-harper-comments = { path = "../harper-comments", version = "0.40.0" }+harper-core = { path = "../harper-core", version = "0.41.0" }+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.41.0" }+harper-comments = { path = "../harper-comments", version = "0.41.0" }itertools = "0.14.0"paste = "1.0.14"diff --git a/harper-ls/Cargo.toml b/harper-ls/Cargo.tomlindex 4b7e30547..e54cb57b7 100644--- a/harper-ls/Cargo.toml+++ b/harper-ls/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-ls"-version = "0.40.0"+version = "0.41.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.40.0" }-harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.40.0" }-harper-core = { path = "../harper-core", version = "0.40.0", features = ["concurrent"] }-harper-comments = { path = "../harper-comments", version = "0.40.0" }-harper-typst = { path = "../harper-typst", version = "0.40.0" }-harper-html = { path = "../harper-html", version = "0.40.0" }+harper-stats = { path = "../harper-stats", version = "0.41.0" }+harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.41.0" }+harper-core = { path = "../harper-core", version = "0.41.0", features = ["concurrent"] }+harper-comments = { path = "../harper-comments", version = "0.41.0" }+harper-typst = { path = "../harper-typst", version = "0.41.0" }+harper-html = { path = "../harper-html", version = "0.41.0" }tower-lsp-server = "0.21.1"tokio = { version = "1.45.1", features = ["fs", "rt", "rt-multi-thread", "macros", "io-std", "io-util", "net"] }clap = { version = "4.5.39", features = ["derive"] }diff --git a/harper-stats/Cargo.toml b/harper-stats/Cargo.tomlindex b3a89e5e1..cba70f692 100644--- a/harper-stats/Cargo.toml+++ b/harper-stats/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-stats"-version = "0.40.0"+version = "0.41.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.40.0", features = ["concurrent"] }+harper-core = { path = "../harper-core", version = "0.41.0", features = ["concurrent"] }uuid = { version = "1.17.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.tomlindex 600546437..929dd7a80 100644--- a/harper-tree-sitter/Cargo.toml+++ b/harper-tree-sitter/Cargo.toml@@ -1,11 +1,11 @@[package]name = "harper-tree-sitter"-version = "0.40.0"+version = "0.41.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.40.0" }+harper-core = { path = "../harper-core", version = "0.41.0" }tree-sitter = "0.20.10"diff --git a/harper-typst/Cargo.toml b/harper-typst/Cargo.tomlindex 978234bb7..911fe6c4f 100644--- a/harper-typst/Cargo.toml+++ b/harper-typst/Cargo.toml@@ -1,13 +1,13 @@[package]name = "harper-typst"-version = "0.40.0"+version = "0.41.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.40.0" }+harper-core = { path = "../harper-core", version = "0.41.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 d1802f960..c04628ab0 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.40.0", features = ["concurrent"] }+harper-core = { path = "../harper-core", version = "0.41.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.40.0", features = ["js"] }+harper-stats = { path = "../harper-stats", version = "0.41.0", features = ["js"] }diff --git a/packages/chrome-plugin/package.json b/packages/chrome-plugin/package.jsonindex 97680ccc5..96938049c 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.40.0",+ "version": "0.41.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.jsonindex b61e2aacd..4ede04ce9 100644--- a/packages/harper.js/package.json+++ b/packages/harper.js/package.json@@ -1,6 +1,6 @@{"name": "harper.js",- "version": "0.40.0",+ "version": "0.41.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 a23b30fb6..22421c074 100644--- a/packages/obsidian-plugin/package.json+++ b/packages/obsidian-plugin/package.json@@ -1,7 +1,7 @@{"name": "obsidian-plugin","private": true,- "version": "0.40.0",+ "version": "0.41.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 b2b0cdd77..1795b8ca6 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.40.0",+ "version": "0.41.0","private": true,"author": "Elijah Potter","publisher": "elijah-potter",@@ -129,6 +129,12 @@"type": "string","description": "Optional path to a global dictionary file to use."},+ "harper.linters.ACoupleMore": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects `a couple of more` to `a couple more`."+ },"harper.linters.ALongTime": {"scope": "resource","type": "boolean",@@ -1119,6 +1125,12 @@"default": true,"description": "Correct unidiomatic plural `in more details` to `in more detail`."},+ "harper.linters.InNeedOf": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects `in need for` to `in need of`."+ },"harper.linters.InOneFellSwoop": {"scope": "resource","type": "boolean",@@ -1521,6 +1533,12 @@"default": true,"description": "Looks for incorrect spacing inside the closed compound `notwithstanding`."},+ "harper.linters.NounInsteadOfVerb": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects nouns used instead of verbs when the two are related."+ },"harper.linters.Nowhere": {"scope": "resource","type": "boolean",@@ -1587,6 +1605,12 @@"default": true,"description": "Corrects compound words that should be written as two words."},+ "harper.linters.OpenTheLight": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects using `open` instead of `turn on` or `switch on`"+ },"harper.linters.OperativeSystem": {"scope": "resource","type": "boolean",@@ -1641,6 +1665,12 @@"default": true,"description": "Flags oxymoronic phrases (e.g. `amateur expert`, `increasingly less`, etc.)."},+ "harper.linters.PeaceOfMind": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects `piece of mind` to `peace of mind`."+ },"harper.linters.PhrasalVerbAsCompoundNoun": {"scope": "resource","type": "boolean",@@ -1995,6 +2025,12 @@"default": true,"description": "Changes `though process` to `thought process`."},+ "harper.linters.ThrowRubbish": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Checks for throwing rubbish rather than throwing it away."+ },"harper.linters.TickingTimeClock": {"scope": "resource","type": "boolean",@@ -2229,6 +2265,12 @@"default": true,"description": "Corrects `worst than` to `worse than` for proper comparative usage."},+ "harper.linters.WorstCaseScenario": {+ "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.WorstEver": {"scope": "resource","type": "boolean",