Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
Release 0.65.0
Elijah Potter4de02447fd7a
diff --git a/Cargo.lock b/Cargo.lockindex 8a2c76148..acdbec0e3 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -2280,7 +2280,7 @@ dependencies = [[[package]]name = "harper-brill"-version = "0.64.0"+version = "0.65.0"dependencies = ["harper-pos-utils","lazy_static",@@ -2312,7 +2312,7 @@ dependencies = [[[package]]name = "harper-comments"-version = "0.64.0"+version = "0.65.0"dependencies = ["harper-core","harper-html",@@ -2347,7 +2347,7 @@ dependencies = [[[package]]name = "harper-core"-version = "0.64.0"+version = "0.65.0"dependencies = ["ammonia","bitflags 2.9.4",@@ -2384,7 +2384,7 @@ dependencies = [[[package]]name = "harper-html"-version = "0.64.0"+version = "0.65.0"dependencies = ["harper-core","harper-tree-sitter",@@ -2395,7 +2395,7 @@ dependencies = [[[package]]name = "harper-literate-haskell"-version = "0.64.0"+version = "0.65.0"dependencies = ["harper-comments","harper-core",@@ -2406,7 +2406,7 @@ dependencies = [[[package]]name = "harper-ls"-version = "0.64.0"+version = "0.65.0"dependencies = ["anyhow","clap",@@ -2434,7 +2434,7 @@ dependencies = [[[package]]name = "harper-pos-utils"-version = "0.64.0"+version = "0.65.0"dependencies = ["burn","burn-ndarray",@@ -2453,7 +2453,7 @@ dependencies = [[[package]]name = "harper-stats"-version = "0.64.0"+version = "0.65.0"dependencies = ["chrono","harper-core",@@ -2464,7 +2464,7 @@ dependencies = [[[package]]name = "harper-tree-sitter"-version = "0.64.0"+version = "0.65.0"dependencies = ["harper-core","tree-sitter",@@ -2483,7 +2483,7 @@ dependencies = [[[package]]name = "harper-typst"-version = "0.64.0"+version = "0.65.0"dependencies = ["harper-core","itertools 0.14.0",diff --git a/harper-brill/Cargo.toml b/harper-brill/Cargo.tomlindex 7e544e48f..517bf536b 100644--- a/harper-brill/Cargo.toml+++ b/harper-brill/Cargo.toml@@ -1,13 +1,13 @@[package]name = "harper-brill"-version = "0.64.0"+version = "0.65.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.64.0" }+harper-pos-utils = { path = "../harper-pos-utils/", version = "0.65.0" }lazy_static = "1.5.0"rs-conllu = "0.3.0"serde = "1.0.226"diff --git a/harper-cli/Cargo.toml b/harper-cli/Cargo.tomlindex 5d3fd6f04..5a5dbf307 100644--- a/harper-cli/Cargo.toml+++ b/harper-cli/Cargo.toml@@ -9,13 +9,13 @@ repository = "https://github.com/automattic/harper"anyhow = "1.0.100"ariadne = "0.4.1"clap = { version = "4.5.48", features = ["derive", "string"] }-harper-stats = { path = "../harper-stats", version = "0.64.0" }+harper-stats = { path = "../harper-stats", version = "0.65.0" }dirs = "6.0.0"-harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.64.0" }-harper-core = { path = "../harper-core", version = "0.64.0" }-harper-pos-utils = { path = "../harper-pos-utils", version = "0.64.0", features = ["threaded"] }-harper-comments = { path = "../harper-comments", version = "0.64.0" }-harper-typst = { path = "../harper-typst", version = "0.64.0" }+harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.65.0" }+harper-core = { path = "../harper-core", version = "0.65.0" }+harper-pos-utils = { path = "../harper-pos-utils", version = "0.65.0", features = ["threaded"] }+harper-comments = { path = "../harper-comments", version = "0.65.0" }+harper-typst = { path = "../harper-typst", version = "0.65.0" }hashbrown = "0.16.0"serde = { version = "1.0.226", features = ["derive"] }serde_json = "1.0.145"diff --git a/harper-comments/Cargo.toml b/harper-comments/Cargo.tomlindex 69a7b30e7..0d20191df 100644--- a/harper-comments/Cargo.toml+++ b/harper-comments/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-comments"-version = "0.64.0"+version = "0.65.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.64.0" }-harper-html = { path = "../harper-html", version = "0.64.0" }-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.64.0" }+harper-core = { path = "../harper-core", version = "0.65.0" }+harper-html = { path = "../harper-html", version = "0.65.0" }+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.65.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 69c79068f..eacc35429 100644--- a/harper-core/Cargo.toml+++ b/harper-core/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-core"-version = "0.64.0"+version = "0.65.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.2"-harper-brill = { path = "../harper-brill", version = "0.64.0" }+harper-brill = { path = "../harper-brill", version = "0.65.0" }bitflags = { version = "2.9.4", features = ["serde"] }[dev-dependencies]diff --git a/harper-html/Cargo.toml b/harper-html/Cargo.tomlindex 351eaebf8..4a855aa79 100644--- a/harper-html/Cargo.toml+++ b/harper-html/Cargo.toml@@ -1,14 +1,14 @@[package]name = "harper-html"-version = "0.64.0"+version = "0.65.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.64.0" }-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.64.0" }+harper-core = { path = "../harper-core", version = "0.65.0" }+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.65.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 59a514abc..07cc90ae4 100644--- a/harper-literate-haskell/Cargo.toml+++ b/harper-literate-haskell/Cargo.toml@@ -1,14 +1,14 @@[package]name = "harper-literate-haskell"-version = "0.64.0"+version = "0.65.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.64.0" }-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.64.0" }-harper-comments = { path = "../harper-comments", version = "0.64.0" }+harper-core = { path = "../harper-core", version = "0.65.0" }+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.65.0" }+harper-comments = { path = "../harper-comments", version = "0.65.0" }itertools = "0.14.0"paste = "1.0.14"diff --git a/harper-ls/Cargo.toml b/harper-ls/Cargo.tomlindex 283883b39..18b1158ca 100644--- a/harper-ls/Cargo.toml+++ b/harper-ls/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-ls"-version = "0.64.0"+version = "0.65.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.64.0" }-harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.64.0" }-harper-core = { path = "../harper-core", version = "0.64.0", features = ["concurrent"] }-harper-comments = { path = "../harper-comments", version = "0.64.0" }-harper-typst = { path = "../harper-typst", version = "0.64.0" }-harper-html = { path = "../harper-html", version = "0.64.0" }+harper-stats = { path = "../harper-stats", version = "0.65.0" }+harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.65.0" }+harper-core = { path = "../harper-core", version = "0.65.0", features = ["concurrent"] }+harper-comments = { path = "../harper-comments", version = "0.65.0" }+harper-typst = { path = "../harper-typst", version = "0.65.0" }+harper-html = { path = "../harper-html", version = "0.65.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.48", features = ["derive"] }diff --git a/harper-pos-utils/Cargo.toml b/harper-pos-utils/Cargo.tomlindex ad23fb9f3..551855d6a 100644--- a/harper-pos-utils/Cargo.toml+++ b/harper-pos-utils/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-pos-utils"-version = "0.64.0"+version = "0.65.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 b81fee78d..d31c093e6 100644--- a/harper-stats/Cargo.toml+++ b/harper-stats/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-stats"-version = "0.64.0"+version = "0.65.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.226", features = ["derive"] }-harper-core = { path = "../harper-core", version = "0.64.0", features = ["concurrent"] }+harper-core = { path = "../harper-core", version = "0.65.0", features = ["concurrent"] }uuid = { version = "1.18.1", features = ["serde", "v4"] }serde_json = "1.0.145"chrono = "0.4.42"diff --git a/harper-tree-sitter/Cargo.toml b/harper-tree-sitter/Cargo.tomlindex 3901ec98b..30fdce561 100644--- a/harper-tree-sitter/Cargo.toml+++ b/harper-tree-sitter/Cargo.toml@@ -1,11 +1,11 @@[package]name = "harper-tree-sitter"-version = "0.64.0"+version = "0.65.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.64.0" }+harper-core = { path = "../harper-core", version = "0.65.0" }tree-sitter = "0.25.9"diff --git a/harper-typst/Cargo.toml b/harper-typst/Cargo.tomlindex 9b6c16df4..d9e3b5832 100644--- a/harper-typst/Cargo.toml+++ b/harper-typst/Cargo.toml@@ -1,13 +1,13 @@[package]name = "harper-typst"-version = "0.64.0"+version = "0.65.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.64.0" }+harper-core = { path = "../harper-core", version = "0.65.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 b26b4e867..6bb4cc799 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.64.0", features = ["concurrent"] }+harper-core = { path = "../harper-core", version = "0.65.0", features = ["concurrent"] }once_cell = "1.21.3"serde-wasm-bindgen = "0.6.5"serde_json = "1.0.145"serde = { version = "1.0.226", features = ["derive"] }getrandom = { version = "0.3.3", default-features = false, features = ["wasm_js"] }-harper-stats = { path = "../harper-stats", version = "0.64.0", features = ["js"] }+harper-stats = { path = "../harper-stats", version = "0.65.0", features = ["js"] }diff --git a/packages/chrome-plugin/package.json b/packages/chrome-plugin/package.jsonindex f426836a5..663abd401 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.64.0",+ "version": "0.65.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 dba74a552..555a294d7 100644--- a/packages/harper.js/package.json+++ b/packages/harper.js/package.json@@ -1,6 +1,6 @@{"name": "harper.js",- "version": "0.64.0",+ "version": "0.65.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 26a30338f..443160d06 100644--- a/packages/obsidian-plugin/package.json+++ b/packages/obsidian-plugin/package.json@@ -1,7 +1,7 @@{"name": "obsidian-plugin","private": true,- "version": "0.64.0",+ "version": "0.65.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 033b20244..df6874bcf 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.64.0",+ "version": "0.65.0","private": true,"author": "Elijah Potter","publisher": "elijah-potter",@@ -211,6 +211,12 @@"default": true,"description": "Corrects `an` to `and` after `ahead`."},+ "harper.linters.AllIntentsAndPurposes": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Finds redundant am/pm indicators used together with time periods such as 'in the morning' or 'at night'."+ },"harper.linters.AllOfASudden": {"scope": "resource","type": "boolean",@@ -349,23 +355,23 @@"default": true,"description": "Corrects `as it so happens` to `as it happens`."},- "harper.linters.AsOfLate": {+ "harper.linters.AsLongAs": {"scope": "resource","type": "boolean","default": true,- "description": "Corrects `as of lately` to `as of late`."+ "description": "Corrects `aslong as` to `as long as`."},- "harper.linters.AsSoonAsPossible": {+ "harper.linters.AsOfLate": {"scope": "resource","type": "boolean","default": true,- "description": "Expands an initialism."+ "description": "Corrects `as of lately` to `as of late`."},- "harper.linters.AsWell": {+ "harper.linters.AsSoonAsPossible": {"scope": "resource","type": "boolean","default": true,- "description": "Corrects `aswell` to `as well`."+ "description": "Expands an initialism."},"harper.linters.AskNoPreposition": {"scope": "resource",@@ -931,6 +937,12 @@"default": true,"description": "Replaces `fatal outcome` with the more direct term `death` for conciseness."},+ "harper.linters.FeelFell": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects some expressions using `fell` where `feel` is correct."+ },"harper.linters.FetalPosition": {"scope": "resource","type": "boolean",@@ -955,23 +967,23 @@"default": true,"description": "Detects when “kid” after “aid”, “starter”, “travel”, or “tool” should be “kit” (a set of supplies)."},- "harper.linters.ForALongTime": {+ "harper.linters.FootTheBill": {"scope": "resource","type": "boolean","default": true,- "description": "Eliminates the incorrect merging in `for along time`."+ "description": "Corrects `flip the bill` to `foot the bill`."},- "harper.linters.ForAWhile": {+ "harper.linters.ForALongTime": {"scope": "resource","type": "boolean","default": true,- "description": "Corrects the missing article in `for while`, forming `for a while`."+ "description": "Eliminates the incorrect merging in `for along time`."},- "harper.linters.ForAllIntentsAndPurposes": {+ "harper.linters.ForAWhile": {"scope": "resource","type": "boolean","default": true,- "description": "Corrects `for all intensive purposes` to `for all intents and purposes`, ensuring the phrase conveys its intended meaning."+ "description": "Corrects the missing article in `for while`, forming `for a while`."},"harper.linters.ForNoun": {"scope": "resource",@@ -1189,12 +1201,6 @@"default": true,"description": "Corrects ungrammatical `in anyway` to `in any way`."},- "harper.linters.InCase": {- "scope": "resource",- "type": "boolean",- "default": true,- "description": "Corrects `incase` to `in case`."- },"harper.linters.InDetail": {"scope": "resource","type": "boolean",@@ -1315,6 +1321,12 @@"default": true,"description": "Corrects the misspelling `It cam` to the proper phrase `It can`."},+ "harper.linters.ItLooksLikeThat": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects `it looks like that` to just `it looks like`."+ },"harper.linters.ItsContraction": {"scope": "resource","type": "boolean",@@ -1435,6 +1447,12 @@"default": true,"description": "Looks for incorrect spacing inside the closed compound `likewise`."},+ "harper.linters.LitotesDirectPositive": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Offers direct-positive alternatives when double negatives might feel heavy."+ },"harper.linters.LongSentences": {"scope": "resource","type": "boolean",@@ -1531,6 +1549,12 @@"default": true,"description": "Looks for incorrect spacing inside the closed compound `misused`."},+ "harper.linters.MixedBag": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects the eggcorn `mixed bad` to `mixed bag`."+ },"harper.linters.ModalOf": {"scope": "resource","type": "boolean",@@ -1699,6 +1723,12 @@"default": true,"description": "Correct mass nouns that are preceded by the wrong determiners or quantifiers."},+ "harper.linters.NounVerbConfusion": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Handles common confusions between related nouns and verbs (e.g., 'advice/advise', 'breath/breathe')"+ },"harper.linters.Nowhere": {"scope": "resource","type": "boolean",@@ -1967,7 +1997,7 @@"scope": "resource","type": "boolean","default": true,- "description": "Corrects when `quiet` is a typo for `quite` or the other way around."+ "description": "Helps distinguish between ‘quiet’ (making ‘little noise’) and ‘quite’ (meaning ‘rather’)."},"harper.linters.RapidFire": {"scope": "resource",@@ -1993,6 +2023,12 @@"default": true,"description": "Flags redundant use of 'if' or 'correctly' with 'IIRC', since 'IIRC' already stands for 'if I recall correctly'."},+ "harper.linters.RedundantSuperlatives": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Simplifies redundant double positives like `most optimal` to the base form."+ },"harper.linters.Regardless": {"scope": "resource","type": "boolean",@@ -2029,6 +2065,12 @@"default": true,"description": "Detects when `roadmap` is used instead of `road map`, prompting the correct spacing."},+ "harper.linters.RulesOfThumb": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects pluralizing the wrong noun in `rule of thumb`."+ },"harper.linters.SameAs": {"scope": "resource","type": "boolean",@@ -2123,7 +2165,7 @@"scope": "resource","type": "boolean","default": true,- "description": "When describing a single instance of a noun, use `something` rather than `somewhat`."+ "description": "Flags the phrase `somewhat of a` in favor of `something of a`, which can be considered more traditional."},"harper.linters.Somewhere": {"scope": "resource",@@ -2213,7 +2255,7 @@"scope": "resource","type": "boolean","default": true,- "description": "`Thanks a lot` is the fixed, widely accepted form, while variants like `thanks lot` or `thanks alot` are non-standard and can jar readers."+ "description": "Corrects the missing article in `thanks lot`, forming `thanks a lot`."},"harper.linters.ThatChallenged": {"scope": "resource",@@ -2287,6 +2329,12 @@"default": true,"description": "Corrects the typo `thing` when it should be `think`."},+ "harper.linters.ThoughThought": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects `though` when it's a typo for `thought`."+ },"harper.linters.ThoughtProcess": {"scope": "resource","type": "boolean",