Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
Release 0.53.0
Elijah Potterf79548fd2ed3
diff --git a/Cargo.lock b/Cargo.lockindex 8ac85c74b..f52d039dc 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -814,7 +814,7 @@ dependencies = [[[package]]name = "harper-brill"-version = "0.52.0"+version = "0.53.0"dependencies = ["harper-pos-utils","lazy_static",@@ -846,7 +846,7 @@ dependencies = [[[package]]name = "harper-comments"-version = "0.52.0"+version = "0.53.0"dependencies = ["harper-core","harper-html",@@ -881,7 +881,7 @@ dependencies = [[[package]]name = "harper-core"-version = "0.52.0"+version = "0.53.0"dependencies = ["ammonia","bitflags 2.9.1",@@ -918,7 +918,7 @@ dependencies = [[[package]]name = "harper-html"-version = "0.52.0"+version = "0.53.0"dependencies = ["harper-core","harper-tree-sitter",@@ -929,7 +929,7 @@ dependencies = [[[package]]name = "harper-literate-haskell"-version = "0.52.0"+version = "0.53.0"dependencies = ["harper-comments","harper-core",@@ -940,7 +940,7 @@ dependencies = [[[package]]name = "harper-ls"-version = "0.52.0"+version = "0.53.0"dependencies = ["anyhow","clap",@@ -968,7 +968,7 @@ dependencies = [[[package]]name = "harper-pos-utils"-version = "0.52.0"+version = "0.53.0"dependencies = ["hashbrown 0.15.4","is-macro",@@ -982,7 +982,7 @@ dependencies = [[[package]]name = "harper-stats"-version = "0.52.0"+version = "0.53.0"dependencies = ["chrono","harper-core",@@ -993,7 +993,7 @@ dependencies = [[[package]]name = "harper-tree-sitter"-version = "0.52.0"+version = "0.53.0"dependencies = ["harper-core","tree-sitter",@@ -1012,7 +1012,7 @@ dependencies = [[[package]]name = "harper-typst"-version = "0.52.0"+version = "0.53.0"dependencies = ["harper-core","itertools 0.14.0",diff --git a/harper-brill/Cargo.toml b/harper-brill/Cargo.tomlindex 25ad325c6..80b26e4de 100644--- a/harper-brill/Cargo.toml+++ b/harper-brill/Cargo.toml@@ -1,13 +1,13 @@[package]name = "harper-brill"-version = "0.52.0"+version = "0.53.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.52.0" }+harper-pos-utils = { path = "../harper-pos-utils/", version = "0.53.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 6a8d8bc06..abea36a00 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.41", features = ["derive", "string"] }-harper-stats = { path = "../harper-stats", version = "0.52.0" }+harper-stats = { path = "../harper-stats", version = "0.53.0" }dirs = "6.0.0"-harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.52.0" }-harper-core = { path = "../harper-core", version = "0.52.0" }-harper-pos-utils = { path = "../harper-pos-utils", version = "0.52.0", features = ["training", "threaded"] }-harper-comments = { path = "../harper-comments", version = "0.52.0" }-harper-typst = { path = "../harper-typst", version = "0.52.0" }+harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.53.0" }+harper-core = { path = "../harper-core", version = "0.53.0" }+harper-pos-utils = { path = "../harper-pos-utils", version = "0.53.0", features = ["training", "threaded"] }+harper-comments = { path = "../harper-comments", version = "0.53.0" }+harper-typst = { path = "../harper-typst", version = "0.53.0" }hashbrown = "0.15.4"serde = { version = "1.0.219", features = ["derive"] }serde_json = "1.0.141"diff --git a/harper-comments/Cargo.toml b/harper-comments/Cargo.tomlindex dc6ef2037..971e09457 100644--- a/harper-comments/Cargo.toml+++ b/harper-comments/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-comments"-version = "0.52.0"+version = "0.53.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.52.0" }-harper-html = { path = "../harper-html", version = "0.52.0" }-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.52.0" }+harper-core = { path = "../harper-core", version = "0.53.0" }+harper-html = { path = "../harper-html", version = "0.53.0" }+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.53.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 3594a2038..30991db06 100644--- a/harper-core/Cargo.toml+++ b/harper-core/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-core"-version = "0.52.0"+version = "0.53.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.52.0" }+harper-brill = { path = "../harper-brill", version = "0.53.0" }bitflags = { version = "2.9.1", features = ["serde"] }[dev-dependencies]diff --git a/harper-html/Cargo.toml b/harper-html/Cargo.tomlindex 03a3e7400..09d3cb027 100644--- a/harper-html/Cargo.toml+++ b/harper-html/Cargo.toml@@ -1,14 +1,14 @@[package]name = "harper-html"-version = "0.52.0"+version = "0.53.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.52.0" }-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.52.0" }+harper-core = { path = "../harper-core", version = "0.53.0" }+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.53.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 b3e402df2..d80b8f264 100644--- a/harper-literate-haskell/Cargo.toml+++ b/harper-literate-haskell/Cargo.toml@@ -1,14 +1,14 @@[package]name = "harper-literate-haskell"-version = "0.52.0"+version = "0.53.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.52.0" }-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.52.0" }-harper-comments = { path = "../harper-comments", version = "0.52.0" }+harper-core = { path = "../harper-core", version = "0.53.0" }+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.53.0" }+harper-comments = { path = "../harper-comments", version = "0.53.0" }itertools = "0.14.0"paste = "1.0.14"diff --git a/harper-ls/Cargo.toml b/harper-ls/Cargo.tomlindex bb381d862..036050ac1 100644--- a/harper-ls/Cargo.toml+++ b/harper-ls/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-ls"-version = "0.52.0"+version = "0.53.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.52.0" }-harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.52.0" }-harper-core = { path = "../harper-core", version = "0.52.0", features = ["concurrent"] }-harper-comments = { path = "../harper-comments", version = "0.52.0" }-harper-typst = { path = "../harper-typst", version = "0.52.0" }-harper-html = { path = "../harper-html", version = "0.52.0" }+harper-stats = { path = "../harper-stats", version = "0.53.0" }+harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.53.0" }+harper-core = { path = "../harper-core", version = "0.53.0", features = ["concurrent"] }+harper-comments = { path = "../harper-comments", version = "0.53.0" }+harper-typst = { path = "../harper-typst", version = "0.53.0" }+harper-html = { path = "../harper-html", version = "0.53.0" }tower-lsp-server = "0.22.0"tokio = { version = "1.46.1", features = ["fs", "rt", "rt-multi-thread", "macros", "io-std", "io-util", "net"] }clap = { version = "4.5.41", features = ["derive"] }diff --git a/harper-pos-utils/Cargo.toml b/harper-pos-utils/Cargo.tomlindex bd8b248f9..ac67b2c46 100644--- a/harper-pos-utils/Cargo.toml+++ b/harper-pos-utils/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-pos-utils"-version = "0.52.0"+version = "0.53.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 c5ce2a921..7843f7be8 100644--- a/harper-stats/Cargo.toml+++ b/harper-stats/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-stats"-version = "0.52.0"+version = "0.53.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.52.0", features = ["concurrent"] }+harper-core = { path = "../harper-core", version = "0.53.0", features = ["concurrent"] }uuid = { version = "1.17.0", features = ["serde", "v4"] }serde_json = "1.0.141"chrono = "0.4.41"diff --git a/harper-tree-sitter/Cargo.toml b/harper-tree-sitter/Cargo.tomlindex be738ead4..c6113e671 100644--- a/harper-tree-sitter/Cargo.toml+++ b/harper-tree-sitter/Cargo.toml@@ -1,11 +1,11 @@[package]name = "harper-tree-sitter"-version = "0.52.0"+version = "0.53.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.52.0" }+harper-core = { path = "../harper-core", version = "0.53.0" }tree-sitter = "0.25.8"diff --git a/harper-typst/Cargo.toml b/harper-typst/Cargo.tomlindex a9ab85217..08f586955 100644--- a/harper-typst/Cargo.toml+++ b/harper-typst/Cargo.toml@@ -1,13 +1,13 @@[package]name = "harper-typst"-version = "0.52.0"+version = "0.53.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.52.0" }+harper-core = { path = "../harper-core", version = "0.53.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 044915112..dbad689fd 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.52.0", features = ["concurrent"] }+harper-core = { path = "../harper-core", version = "0.53.0", features = ["concurrent"] }once_cell = "1.21.3"serde-wasm-bindgen = "0.6.5"serde_json = "1.0.141"serde = { version = "1.0.219", features = ["derive"] }-harper-stats = { path = "../harper-stats", version = "0.52.0", features = ["js"] }+harper-stats = { path = "../harper-stats", version = "0.53.0", features = ["js"] }diff --git a/packages/chrome-plugin/package.json b/packages/chrome-plugin/package.jsonindex 68085fecf..d6ae290bd 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.52.0",+ "version": "0.53.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 b3e9e86ee..b2ed52733 100644--- a/packages/harper.js/package.json+++ b/packages/harper.js/package.json@@ -1,6 +1,6 @@{"name": "harper.js",- "version": "0.52.0",+ "version": "0.53.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 6475f8aef..ef75679b6 100644--- a/packages/obsidian-plugin/package.json+++ b/packages/obsidian-plugin/package.json@@ -1,7 +1,7 @@{"name": "obsidian-plugin","private": true,- "version": "0.52.0",+ "version": "0.53.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 a571b6a3e..7c7a3ce77 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.52.0",+ "version": "0.53.0","private": true,"author": "Elijah Potter","publisher": "elijah-potter",@@ -187,7 +187,7 @@"scope": "resource","type": "boolean","default": true,- "description": "Corrects the missing article after `after while` or `after awhile`, forming `after a while`."+ "description": "Corrects the missing article in `after while`, forming `after a while`."},"harper.linters.AheadAnd": {"scope": "resource",@@ -297,12 +297,6 @@"default": true,"description": "Looks for incorrect spacing inside the closed compound `anyhow`."},- "harper.linters.Anyone": {- "scope": "resource",- "type": "boolean",- "default": true,- "description": "Looks for incorrect spacing inside the closed compound `anyone`."- },"harper.linters.Anywhere": {"scope": "resource","type": "boolean",@@ -585,6 +579,12 @@"default": true,"description": "This linter detects instances where the noun `confidant` is incorrectly used in place of the adjective `confident`. `Confidant` refers to a trusted person, whereas `confident` describes certainty or self-assurance. The rule suggests replacing `confidant` with `confident` when used in an adjectival context."},+ "harper.linters.ConfirmThat": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects `conform` typos to `confirm`."+ },"harper.linters.CorrectNumberSuffix": {"scope": "resource","type": "boolean",@@ -729,6 +729,12 @@"default": true,"description": "Corrects the missing hyphen in `ever present` to the compound adjective `ever-present`."},+ "harper.linters.EveryTime": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects `everytime` to `every time`."+ },"harper.linters.Everybody": {"scope": "resource","type": "boolean",@@ -861,6 +867,12 @@"default": true,"description": "Corrects some expressions using `few` where `a few` is correct."},+ "harper.linters.FillerWords": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Removes filler words."+ },"harper.linters.FirstAidKit": {"scope": "resource","type": "boolean",@@ -877,7 +889,7 @@"scope": "resource","type": "boolean","default": true,- "description": "Corrects the missing article in `for while` or `for awhile`, forming `for a while`."+ "description": "Corrects the missing article in `for while`, forming `for a while`."},"harper.linters.ForAllIntentsAndPurposes": {"scope": "resource",@@ -987,6 +999,12 @@"default": true,"description": "Flags questions that begin with `has` followed by a pronoun that requires `have`, such as `Has we …` or `Has I …`, and suggests the correct auxiliary."},+ "harper.linters.HaveTakeALook": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects either `have a look` or `take a look` to the other, depending on the dialect."+ },"harper.linters.Hedging": {"scope": "resource","type": "boolean",@@ -1087,7 +1105,7 @@"scope": "resource","type": "boolean","default": true,- "description": "Corrects the missing article in `in while` or `in awhile`, forming `in a while`."+ "description": "Corrects the missing article in `in while`, forming `in a while`."},"harper.linters.InAnyWay": {"scope": "resource",@@ -1221,6 +1239,12 @@"default": true,"description": "Detects the possessive `its` before `had`, `been`, or `got` and offers `it's` or `it has`."},+ "harper.linters.ItsPossessive": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "In English, possessive pronouns never take an apostrophe. Use `its` to show ownership (e.g. “its texture”) and avoid confusing it with `it's`, which always means “it is” or “it has.”"+ },"harper.linters.Itself": {"scope": "resource","type": "boolean",@@ -1353,6 +1377,12 @@"default": true,"description": "Corrects `make due` to `make do` when followed by `with`."},+ "harper.linters.MakeItSeem": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects `make it seems` to `make it seem`."+ },"harper.linters.Malaysia": {"scope": "resource","type": "boolean",@@ -1437,6 +1467,12 @@"default": true,"description": "Corrects `mute` to `moot` in the phrase `moot point`."},+ "harper.linters.MorePreferable": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects `more preferable` to `preferable`."+ },"harper.linters.MostNumber": {"scope": "resource","type": "boolean",@@ -1575,12 +1611,6 @@"default": true,"description": "Correct mass nouns that are preceded by the wrong determiners or quantifiers."},- "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",@@ -2079,6 +2109,12 @@"default": true,"description": "Repeating the word \"that\" is often redundant. The phrase `that which` is easier to read."},+ "harper.linters.The": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Fixes especially common misspellings of the word `the`"+ },"harper.linters.TheAnother": {"scope": "resource","type": "boolean",