Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
Release 0.68.0
Elijah Potter3a3136800fff
diff --git a/Cargo.lock b/Cargo.lockindex 97ac3c41b..ba1b0cbc4 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -2280,7 +2280,7 @@ dependencies = [[[package]]name = "harper-brill"-version = "0.67.0"+version = "0.68.0"dependencies = ["harper-pos-utils","lazy_static",@@ -2314,7 +2314,7 @@ dependencies = [[[package]]name = "harper-comments"-version = "0.67.0"+version = "0.68.0"dependencies = ["harper-core","harper-html",@@ -2348,7 +2348,7 @@ dependencies = [[[package]]name = "harper-core"-version = "0.67.0"+version = "0.68.0"dependencies = ["ammonia","bitflags 2.9.4",@@ -2385,7 +2385,7 @@ dependencies = [[[package]]name = "harper-html"-version = "0.67.0"+version = "0.68.0"dependencies = ["harper-core","harper-tree-sitter",@@ -2396,7 +2396,7 @@ dependencies = [[[package]]name = "harper-ink"-version = "0.67.0"+version = "0.68.0"dependencies = ["harper-core","harper-tree-sitter",@@ -2407,7 +2407,7 @@ dependencies = [[[package]]name = "harper-literate-haskell"-version = "0.67.0"+version = "0.68.0"dependencies = ["harper-comments","harper-core",@@ -2418,7 +2418,7 @@ dependencies = [[[package]]name = "harper-ls"-version = "0.67.0"+version = "0.68.0"dependencies = ["anyhow","clap",@@ -2448,7 +2448,7 @@ dependencies = [[[package]]name = "harper-pos-utils"-version = "0.67.0"+version = "0.68.0"dependencies = ["burn","burn-ndarray",@@ -2467,7 +2467,7 @@ dependencies = [[[package]]name = "harper-python"-version = "0.67.0"+version = "0.68.0"dependencies = ["harper-core","harper-tree-sitter",@@ -2478,7 +2478,7 @@ dependencies = [[[package]]name = "harper-stats"-version = "0.67.0"+version = "0.68.0"dependencies = ["chrono","harper-core",@@ -2489,7 +2489,7 @@ dependencies = [[[package]]name = "harper-tree-sitter"-version = "0.67.0"+version = "0.68.0"dependencies = ["harper-core","tree-sitter",@@ -2508,7 +2508,7 @@ dependencies = [[[package]]name = "harper-typst"-version = "0.67.0"+version = "0.68.0"dependencies = ["harper-core","itertools 0.14.0",diff --git a/harper-brill/Cargo.toml b/harper-brill/Cargo.tomlindex 345a34b18..93061b6b4 100644--- a/harper-brill/Cargo.toml+++ b/harper-brill/Cargo.toml@@ -1,13 +1,13 @@[package]name = "harper-brill"-version = "0.67.0"+version = "0.68.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.67.0" }+harper-pos-utils = { path = "../harper-pos-utils/", version = "0.68.0" }lazy_static = "1.5.0"rs-conllu = "0.3.0"serde = "1.0.228"diff --git a/harper-cli/Cargo.toml b/harper-cli/Cargo.tomlindex 095fa9560..2dcd0571c 100644--- a/harper-cli/Cargo.toml+++ b/harper-cli/Cargo.toml@@ -9,20 +9,20 @@ 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.67.0" }+harper-stats = { path = "../harper-stats", version = "0.68.0" }dirs = "6.0.0"-harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.67.0" }-harper-python = { path = "../harper-python", version = "0.67.0" }-harper-core = { path = "../harper-core", version = "0.67.0" }-harper-pos-utils = { path = "../harper-pos-utils", version = "0.67.0", features = ["threaded"] }-harper-comments = { path = "../harper-comments", version = "0.67.0" }-harper-typst = { path = "../harper-typst", version = "0.67.0" }+harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.68.0" }+harper-python = { path = "../harper-python", version = "0.68.0" }+harper-core = { path = "../harper-core", version = "0.68.0" }+harper-pos-utils = { path = "../harper-pos-utils", version = "0.68.0", features = ["threaded"] }+harper-comments = { path = "../harper-comments", version = "0.68.0" }+harper-typst = { path = "../harper-typst", version = "0.68.0" }hashbrown = "0.16.0"serde = { version = "1.0.228", features = ["derive"] }serde_json = "1.0.145"strum = "0.27.2"strum_macros = "0.27.2"-harper-ink = { version = "0.67.0", path = "../harper-ink" }+harper-ink = { version = "0.68.0", path = "../harper-ink" }[features]default = []diff --git a/harper-comments/Cargo.toml b/harper-comments/Cargo.tomlindex 52fb75d74..dc8b2fd91 100644--- a/harper-comments/Cargo.toml+++ b/harper-comments/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-comments"-version = "0.67.0"+version = "0.68.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.67.0" }-harper-html = { path = "../harper-html", version = "0.67.0" }-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.67.0" }+harper-core = { path = "../harper-core", version = "0.68.0" }+harper-html = { path = "../harper-html", version = "0.68.0" }+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.68.0" }itertools = "0.14.0"tree-sitter = "0.25.10"tree-sitter-bash = "0.25.0"diff --git a/harper-core/Cargo.toml b/harper-core/Cargo.tomlindex 4c05ba9b7..1b7f2bc9d 100644--- a/harper-core/Cargo.toml+++ b/harper-core/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-core"-version = "0.67.0"+version = "0.68.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.67.0" }+harper-brill = { path = "../harper-brill", version = "0.68.0" }bitflags = { version = "2.9.4", features = ["serde"] }[dev-dependencies]diff --git a/harper-html/Cargo.toml b/harper-html/Cargo.tomlindex 4e3487815..312c7d055 100644--- a/harper-html/Cargo.toml+++ b/harper-html/Cargo.toml@@ -1,14 +1,14 @@[package]name = "harper-html"-version = "0.67.0"+version = "0.68.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.67.0" }-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.67.0" }+harper-core = { path = "../harper-core", version = "0.68.0" }+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.68.0" }tree-sitter-html = "0.23.2"tree-sitter = "0.25.10"diff --git a/harper-ink/Cargo.toml b/harper-ink/Cargo.tomlindex 1eed5547a..e29483679 100644--- a/harper-ink/Cargo.toml+++ b/harper-ink/Cargo.toml@@ -1,14 +1,14 @@[package]name = "harper-ink"-version = "0.67.0"+version = "0.68.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.67.0" }-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.67.0" }+harper-core = { path = "../harper-core", version = "0.68.0" }+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.68.0" }tree-sitter-ink-lbz = "0.0.1"tree-sitter = "0.25.10"diff --git a/harper-literate-haskell/Cargo.toml b/harper-literate-haskell/Cargo.tomlindex bad70612e..f2aeaa7cb 100644--- a/harper-literate-haskell/Cargo.toml+++ b/harper-literate-haskell/Cargo.toml@@ -1,14 +1,14 @@[package]name = "harper-literate-haskell"-version = "0.67.0"+version = "0.68.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.67.0" }-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.67.0" }-harper-comments = { path = "../harper-comments", version = "0.67.0" }+harper-core = { path = "../harper-core", version = "0.68.0" }+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.68.0" }+harper-comments = { path = "../harper-comments", version = "0.68.0" }itertools = "0.14.0"paste = "1.0.14"diff --git a/harper-ls/Cargo.toml b/harper-ls/Cargo.tomlindex 1e221251b..509995e4a 100644--- a/harper-ls/Cargo.toml+++ b/harper-ls/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-ls"-version = "0.67.0"+version = "0.68.0"edition = "2024"description = "The language checker for developers."license = "Apache-2.0"@@ -8,13 +8,13 @@ readme = "README.md"repository = "https://github.com/automattic/harper"[dependencies]-harper-stats = { path = "../harper-stats", version = "0.67.0" }-harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.67.0" }-harper-core = { path = "../harper-core", version = "0.67.0", features = ["concurrent"] }-harper-comments = { path = "../harper-comments", version = "0.67.0" }-harper-typst = { path = "../harper-typst", version = "0.67.0" }-harper-html = { path = "../harper-html", version = "0.67.0" }-harper-python = { path = "../harper-python", version = "0.67.0" }+harper-stats = { path = "../harper-stats", version = "0.68.0" }+harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.68.0" }+harper-core = { path = "../harper-core", version = "0.68.0", features = ["concurrent"] }+harper-comments = { path = "../harper-comments", version = "0.68.0" }+harper-typst = { path = "../harper-typst", version = "0.68.0" }+harper-html = { path = "../harper-html", version = "0.68.0" }+harper-python = { path = "../harper-python", version = "0.68.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"] }@@ -31,7 +31,7 @@ futures = "0.3.31"serde = { version = "1.0.228", features = ["derive"] }indexmap = { version = "2.11.4", features = ["serde"] }globset = "0.4.16"-harper-ink = { version = "0.67.0", path = "../harper-ink" }+harper-ink = { version = "0.68.0", path = "../harper-ink" }[features]default = []diff --git a/harper-pos-utils/Cargo.toml b/harper-pos-utils/Cargo.tomlindex c035cec8c..b063535f8 100644--- a/harper-pos-utils/Cargo.toml+++ b/harper-pos-utils/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-pos-utils"-version = "0.67.0"+version = "0.68.0"edition = "2024"description = "The language checker for developers."license = "Apache-2.0"diff --git a/harper-python/Cargo.toml b/harper-python/Cargo.tomlindex 73dd84516..004f3c537 100644--- a/harper-python/Cargo.toml+++ b/harper-python/Cargo.toml@@ -1,14 +1,14 @@[package]name = "harper-python"-version = "0.67.0"+version = "0.68.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.67.0" }-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.67.0" }+harper-core = { path = "../harper-core", version = "0.68.0" }+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.68.0" }tree-sitter-python = "0.25.0"tree-sitter = "0.25.10"diff --git a/harper-stats/Cargo.toml b/harper-stats/Cargo.tomlindex e1e6f4e5b..fa039eb6d 100644--- a/harper-stats/Cargo.toml+++ b/harper-stats/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-stats"-version = "0.67.0"+version = "0.68.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.228", features = ["derive"] }-harper-core = { path = "../harper-core", version = "0.67.0", features = ["concurrent"] }+harper-core = { path = "../harper-core", version = "0.68.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 031685897..e6daab766 100644--- a/harper-tree-sitter/Cargo.toml+++ b/harper-tree-sitter/Cargo.toml@@ -1,11 +1,11 @@[package]name = "harper-tree-sitter"-version = "0.67.0"+version = "0.68.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.67.0" }+harper-core = { path = "../harper-core", version = "0.68.0" }tree-sitter = "0.25.10"diff --git a/harper-typst/Cargo.toml b/harper-typst/Cargo.tomlindex 3453b6e42..c2da14936 100644--- a/harper-typst/Cargo.toml+++ b/harper-typst/Cargo.toml@@ -1,13 +1,13 @@[package]name = "harper-typst"-version = "0.67.0"+version = "0.68.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.67.0" }+harper-core = { path = "../harper-core", version = "0.68.0" }typst-syntax = { version = "0.13.1" }ordered-float = { version = "5.1.0", features = ["serde"] }itertools = "0.14.0"diff --git a/harper-wasm/Cargo.toml b/harper-wasm/Cargo.tomlindex 2a862c7e3..a26bc5a2b 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.67.0", features = ["concurrent"] }+harper-core = { path = "../harper-core", version = "0.68.0", features = ["concurrent"] }once_cell = "1.21.3"serde-wasm-bindgen = "0.6.5"serde_json = "1.0.145"serde = { version = "1.0.228", features = ["derive"] }getrandom = { version = "0.3.3", default-features = false, features = ["wasm_js"] }-harper-stats = { path = "../harper-stats", version = "0.67.0", features = ["js"] }+harper-stats = { path = "../harper-stats", version = "0.68.0", features = ["js"] }diff --git a/packages/chrome-plugin/package.json b/packages/chrome-plugin/package.jsonindex ee8b3edf9..cffe03ed0 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.67.0",+ "version": "0.68.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 89de244d0..9c30cd143 100644--- a/packages/harper.js/package.json+++ b/packages/harper.js/package.json@@ -1,6 +1,6 @@{"name": "harper.js",- "version": "0.67.0",+ "version": "0.68.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 e51ec9b18..0007ee04e 100644--- a/packages/obsidian-plugin/package.json+++ b/packages/obsidian-plugin/package.json@@ -1,7 +1,7 @@{"name": "obsidian-plugin","private": true,- "version": "0.67.0",+ "version": "0.68.0","main": "main.js","devDependencies": {"@playwright/test": "^1.52.0",diff --git a/packages/vscode-plugin/package.json b/packages/vscode-plugin/package.jsonindex 0ced575a9..1d10a4bc0 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.67.0",+ "version": "0.68.0","private": true,"author": "Elijah Potter","publisher": "elijah-potter",@@ -721,6 +721,12 @@"default": true,"description": "Looks for incorrect spacing inside the closed compound `devops`."},+ "harper.linters.Didnt": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects `dint` to `didn't` after subject pronouns."+ },"harper.linters.DigestiveTract": {"scope": "resource","type": "boolean",@@ -1501,6 +1507,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.ManagerialReins": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects the eggcorn `managerial reigns` to the idiomatic `managerial reins`."+ },"harper.linters.MassPlurals": {"scope": "resource","type": "boolean",@@ -1543,6 +1555,12 @@"default": true,"description": "Flags verbs and adjectives like `need`, `want`, or `ready` that are missing `to` before an infinitive."},+ "harper.linters.Misspell": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Ensures `misspell` and its inflected forms are written as a single word."+ },"harper.linters.Misunderstand": {"scope": "resource","type": "boolean",@@ -1819,6 +1837,12 @@"default": true,"description": "Corrects two common malapropisms of `once in a while`."},+ "harper.linters.OnceOrTwice": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Detects the mistaken phrase `once a twice` and suggests `once or twice`."+ },"harper.linters.OneAndTheSame": {"scope": "resource","type": "boolean",@@ -2179,6 +2203,12 @@"default": true,"description": "Looks for incorrect spacing inside the closed compound `someone`."},+ "harper.linters.SomethingIs": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Flags forms like `somethings` before progressive verbs and suggests using `something's` or `something is`."+ },"harper.linters.SomewhatSomething": {"scope": "resource","type": "boolean",@@ -2359,6 +2389,12 @@"default": true,"description": "Changes `though process` to `thought process`."},+ "harper.linters.ThrowAway": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Finds the typo `through away` and suggests `throw away` instead."+ },"harper.linters.ThrowRubbish": {"scope": "resource","type": "boolean",@@ -2371,6 +2407,12 @@"default": true,"description": "Corrects `ticking time clock` to `ticking time bomb` for idiomatic urgency or `ticking clock` otherwise."},+ "harper.linters.ToAdverb": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Flags duplicated `to` around certain adverbs (e.g. `to never to`) and offers fixes that keep only one `to`."+ },"harper.linters.ToBeHonest": {"scope": "resource","type": "boolean",@@ -2503,6 +2545,12 @@"default": true,"description": "Flags phrases like `very unique`, `pretty unique`, etc., and suggests using `unique` alone or a more precise adjective such as `special`, `rare`, or `unusual`."},+ "harper.linters.ViceVersa": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Recommends writing ‘vice versa’ without hyphens."+ },"harper.linters.WantBe": {"scope": "resource","type": "boolean",@@ -2533,6 +2581,12 @@"default": true,"description": "Ensures `well-being` is correctly hyphenated."},+ "harper.linters.WellEducated": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Replaces `good-educated` with the accepted compound `well-educated`."+ },"harper.linters.WellKept": {"scope": "resource","type": "boolean",