Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
Release 0.55.0
Elijah Potter37760820e5e8
diff --git a/Cargo.lock b/Cargo.lockindex 690f27c25..434546539 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -2266,7 +2266,7 @@ dependencies = [[[package]]name = "harper-brill"-version = "0.54.0"+version = "0.55.0"dependencies = ["harper-pos-utils","lazy_static",@@ -2298,7 +2298,7 @@ dependencies = [[[package]]name = "harper-comments"-version = "0.54.0"+version = "0.55.0"dependencies = ["harper-core","harper-html",@@ -2333,7 +2333,7 @@ dependencies = [[[package]]name = "harper-core"-version = "0.54.0"+version = "0.55.0"dependencies = ["ammonia","bitflags 2.9.1",@@ -2370,7 +2370,7 @@ dependencies = [[[package]]name = "harper-html"-version = "0.54.0"+version = "0.55.0"dependencies = ["harper-core","harper-tree-sitter",@@ -2381,7 +2381,7 @@ dependencies = [[[package]]name = "harper-literate-haskell"-version = "0.54.0"+version = "0.55.0"dependencies = ["harper-comments","harper-core",@@ -2392,7 +2392,7 @@ dependencies = [[[package]]name = "harper-ls"-version = "0.54.0"+version = "0.55.0"dependencies = ["anyhow","clap",@@ -2420,7 +2420,7 @@ dependencies = [[[package]]name = "harper-pos-utils"-version = "0.54.0"+version = "0.55.0"dependencies = ["burn","burn-ndarray",@@ -2439,7 +2439,7 @@ dependencies = [[[package]]name = "harper-stats"-version = "0.54.0"+version = "0.55.0"dependencies = ["chrono","harper-core",@@ -2450,7 +2450,7 @@ dependencies = [[[package]]name = "harper-tree-sitter"-version = "0.54.0"+version = "0.55.0"dependencies = ["harper-core","tree-sitter",@@ -2469,7 +2469,7 @@ dependencies = [[[package]]name = "harper-typst"-version = "0.54.0"+version = "0.55.0"dependencies = ["harper-core","itertools 0.14.0",diff --git a/Cargo.toml b/Cargo.tomlindex d76f5b5a8..c5207e55e 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -18,4 +18,4 @@ opt-level = 3# Useful for debugging and profiling.[profile.release-debug]inherits = "release"-debug = 2\ No newline at end of file+debug = 2diff --git a/harper-brill/Cargo.toml b/harper-brill/Cargo.tomlindex 7b5ebcb2e..e7cbb9b58 100644--- a/harper-brill/Cargo.toml+++ b/harper-brill/Cargo.toml@@ -1,13 +1,13 @@[package]name = "harper-brill"-version = "0.54.0"+version = "0.55.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.54.0" }+harper-pos-utils = { path = "../harper-pos-utils/", version = "0.55.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 6fd1dfdbc..afe48dc07 100644--- a/harper-cli/Cargo.toml+++ b/harper-cli/Cargo.toml@@ -9,13 +9,13 @@ repository = "https://github.com/automattic/harper"anyhow = "1.0.98"ariadne = "0.4.1"clap = { version = "4.5.42", features = ["derive", "string"] }-harper-stats = { path = "../harper-stats", version = "0.54.0" }+harper-stats = { path = "../harper-stats", version = "0.55.0" }dirs = "6.0.0"-harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.54.0" }-harper-core = { path = "../harper-core", version = "0.54.0" }-harper-pos-utils = { path = "../harper-pos-utils", version = "0.54.0", features = ["training", "threaded"] }-harper-comments = { path = "../harper-comments", version = "0.54.0" }-harper-typst = { path = "../harper-typst", version = "0.54.0" }+harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.55.0" }+harper-core = { path = "../harper-core", version = "0.55.0" }+harper-pos-utils = { path = "../harper-pos-utils", version = "0.55.0", features = ["training", "threaded"] }+harper-comments = { path = "../harper-comments", version = "0.55.0" }+harper-typst = { path = "../harper-typst", version = "0.55.0" }hashbrown = "0.15.4"serde = { version = "1.0.219", features = ["derive"] }serde_json = "1.0.142"diff --git a/harper-comments/Cargo.toml b/harper-comments/Cargo.tomlindex 84ad33aef..084746481 100644--- a/harper-comments/Cargo.toml+++ b/harper-comments/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-comments"-version = "0.54.0"+version = "0.55.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.54.0" }-harper-html = { path = "../harper-html", version = "0.54.0" }-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.54.0" }+harper-core = { path = "../harper-core", version = "0.55.0" }+harper-html = { path = "../harper-html", version = "0.55.0" }+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.55.0" }itertools = "0.14.0"tree-sitter = "0.25.8"tree-sitter-bash = "0.25.0"diff --git a/harper-core/Cargo.toml b/harper-core/Cargo.tomlindex b3b365f4b..634147cf6 100644--- a/harper-core/Cargo.toml+++ b/harper-core/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-core"-version = "0.54.0"+version = "0.55.0"edition = "2024"description = "The language checker for developers."license = "Apache-2.0"@@ -31,7 +31,7 @@ foldhash = "0.1.5"strum_macros = "0.27.2"strum = "0.27.2"ammonia = "4.1.1"-harper-brill = { path = "../harper-brill", version = "0.54.0" }+harper-brill = { path = "../harper-brill", version = "0.55.0" }bitflags = { version = "2.9.1", features = ["serde"] }[dev-dependencies]diff --git a/harper-html/Cargo.toml b/harper-html/Cargo.tomlindex aedfe9507..69c84b689 100644--- a/harper-html/Cargo.toml+++ b/harper-html/Cargo.toml@@ -1,14 +1,14 @@[package]name = "harper-html"-version = "0.54.0"+version = "0.55.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.54.0" }-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.54.0" }+harper-core = { path = "../harper-core", version = "0.55.0" }+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.55.0" }tree-sitter-html = "0.23.2"tree-sitter = "0.25.8"diff --git a/harper-literate-haskell/Cargo.toml b/harper-literate-haskell/Cargo.tomlindex b7ba00a93..638ce366c 100644--- a/harper-literate-haskell/Cargo.toml+++ b/harper-literate-haskell/Cargo.toml@@ -1,14 +1,14 @@[package]name = "harper-literate-haskell"-version = "0.54.0"+version = "0.55.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.54.0" }-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.54.0" }-harper-comments = { path = "../harper-comments", version = "0.54.0" }+harper-core = { path = "../harper-core", version = "0.55.0" }+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.55.0" }+harper-comments = { path = "../harper-comments", version = "0.55.0" }itertools = "0.14.0"paste = "1.0.14"diff --git a/harper-ls/Cargo.toml b/harper-ls/Cargo.tomlindex a291b04ab..a1cd80d6a 100644--- a/harper-ls/Cargo.toml+++ b/harper-ls/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-ls"-version = "0.54.0"+version = "0.55.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.54.0" }-harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.54.0" }-harper-core = { path = "../harper-core", version = "0.54.0", features = ["concurrent"] }-harper-comments = { path = "../harper-comments", version = "0.54.0" }-harper-typst = { path = "../harper-typst", version = "0.54.0" }-harper-html = { path = "../harper-html", version = "0.54.0" }+harper-stats = { path = "../harper-stats", version = "0.55.0" }+harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.55.0" }+harper-core = { path = "../harper-core", version = "0.55.0", features = ["concurrent"] }+harper-comments = { path = "../harper-comments", version = "0.55.0" }+harper-typst = { path = "../harper-typst", version = "0.55.0" }+harper-html = { path = "../harper-html", version = "0.55.0" }tower-lsp-server = "0.22.0"tokio = { version = "1.47.1", features = ["fs", "rt", "rt-multi-thread", "macros", "io-std", "io-util", "net"] }clap = { version = "4.5.42", features = ["derive"] }diff --git a/harper-pos-utils/Cargo.toml b/harper-pos-utils/Cargo.tomlindex 9383b0b0b..16b3950d7 100644--- a/harper-pos-utils/Cargo.toml+++ b/harper-pos-utils/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-pos-utils"-version = "0.54.0"+version = "0.55.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 3425ec354..4adb37b82 100644--- a/harper-stats/Cargo.toml+++ b/harper-stats/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-stats"-version = "0.54.0"+version = "0.55.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.54.0", features = ["concurrent"] }+harper-core = { path = "../harper-core", version = "0.55.0", features = ["concurrent"] }uuid = { version = "1.17.0", features = ["serde", "v4"] }serde_json = "1.0.142"chrono = "0.4.41"diff --git a/harper-tree-sitter/Cargo.toml b/harper-tree-sitter/Cargo.tomlindex 9db63e243..a9f9250ad 100644--- a/harper-tree-sitter/Cargo.toml+++ b/harper-tree-sitter/Cargo.toml@@ -1,11 +1,11 @@[package]name = "harper-tree-sitter"-version = "0.54.0"+version = "0.55.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.54.0" }+harper-core = { path = "../harper-core", version = "0.55.0" }tree-sitter = "0.25.8"diff --git a/harper-typst/Cargo.toml b/harper-typst/Cargo.tomlindex 1f10873e9..2270ffd5b 100644--- a/harper-typst/Cargo.toml+++ b/harper-typst/Cargo.toml@@ -1,13 +1,13 @@[package]name = "harper-typst"-version = "0.54.0"+version = "0.55.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.54.0" }+harper-core = { path = "../harper-core", version = "0.55.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 1dce038e5..963203d86 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.54.0", features = ["concurrent"] }+harper-core = { path = "../harper-core", version = "0.55.0", features = ["concurrent"] }once_cell = "1.21.3"serde-wasm-bindgen = "0.6.5"serde_json = "1.0.142"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.54.0", features = ["js"] }+harper-stats = { path = "../harper-stats", version = "0.55.0", features = ["js"] }diff --git a/packages/chrome-plugin/package.json b/packages/chrome-plugin/package.jsonindex a06472374..a27a3b6fd 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.54.0",+ "version": "0.55.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 53658a6a0..28659b1cb 100644--- a/packages/harper.js/package.json+++ b/packages/harper.js/package.json@@ -1,6 +1,6 @@{"name": "harper.js",- "version": "0.54.0",+ "version": "0.55.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 6972fc6fb..46ef795bc 100644--- a/packages/obsidian-plugin/package.json+++ b/packages/obsidian-plugin/package.json@@ -1,7 +1,7 @@{"name": "obsidian-plugin","private": true,- "version": "0.54.0",+ "version": "0.55.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 8ab906db3..0749a478d 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.54.0",+ "version": "0.55.0","private": true,"author": "Elijah Potter","publisher": "elijah-potter",@@ -680,6 +680,12 @@"default": true,"description": "In English, negation still requires the complete verb form (“want”), so avoid truncating it to “wan.”"},+ "harper.linters.DoesOrDose": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Tries to correct typos of `dose` to `does`."+ },"harper.linters.DotInitialisms": {"scope": "resource","type": "boolean",@@ -926,6 +932,12 @@"default": true,"description": "Encourages vivid writing by suggesting `freezing` instead of weaker expressions like `very cold.`"},+ "harper.linters.FriendOfMe": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects wrong pronoun usage in constructions like `a friend of me`."+ },"harper.linters.FromTheGetGo": {"scope": "resource","type": "boolean",@@ -1394,6 +1406,12 @@"default": true,"description": "When referring to the states of Malaysia and their capitals, make sure to treat them as a proper noun."},+ "harper.linters.MassPlurals": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Looks for plural forms of mass nouns that have no plural."+ },"harper.linters.MergeWords": {"scope": "resource","type": "boolean",@@ -2102,6 +2120,12 @@"default": true,"description": "Corrects `the challenged` to `that challenged` for proper relative clause usage."},+ "harper.linters.ThatThan": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects the typo `that` to `than` in comparisons."+ },"harper.linters.ThatThis": {"scope": "resource","type": "boolean",