Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
Release 0.27.0
Elijah Potter0789b8f5d1cf
diff --git a/Cargo.lock b/Cargo.lockindex debcbcb9c..0c573f345 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -700,7 +700,7 @@ dependencies = [[[package]]name = "harper-comments"-version = "0.26.0"+version = "0.27.0"dependencies = ["harper-core","harper-html",@@ -731,7 +731,7 @@ dependencies = [[[package]]name = "harper-core"-version = "0.26.0"+version = "0.27.0"dependencies = ["blanket","cached",@@ -764,7 +764,7 @@ dependencies = [[[package]]name = "harper-html"-version = "0.26.0"+version = "0.27.0"dependencies = ["harper-core","harper-tree-sitter",@@ -775,7 +775,7 @@ dependencies = [[[package]]name = "harper-literate-haskell"-version = "0.26.0"+version = "0.27.0"dependencies = ["harper-comments","harper-core",@@ -786,7 +786,7 @@ dependencies = [[[package]]name = "harper-ls"-version = "0.26.0"+version = "0.27.0"dependencies = ["anyhow","clap",@@ -812,7 +812,7 @@ dependencies = [[[package]]name = "harper-tree-sitter"-version = "0.26.0"+version = "0.27.0"dependencies = ["harper-core","tree-sitter",@@ -820,7 +820,7 @@ dependencies = [[[package]]name = "harper-typst"-version = "0.26.0"+version = "0.27.0"dependencies = ["harper-core","itertools 0.14.0",diff --git a/harper-cli/Cargo.toml b/harper-cli/Cargo.tomlindex 89b4c507d..fd3c45697 100644--- a/harper-cli/Cargo.toml+++ b/harper-cli/Cargo.toml@@ -10,10 +10,10 @@ repository = "https://github.com/automattic/harper"anyhow = "1.0.97"ariadne = "0.4.1"clap = { version = "4.5.34", features = ["derive", "string"] }-harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.26.0" }-harper-core = { path = "../harper-core", version = "0.26.0" }-harper-comments = { path = "../harper-comments", version = "0.26.0" }-harper-typst = { path = "../harper-typst", version = "0.26.0" }+harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.27.0" }+harper-core = { path = "../harper-core", version = "0.27.0" }+harper-comments = { path = "../harper-comments", version = "0.27.0" }+harper-typst = { path = "../harper-typst", version = "0.27.0" }hashbrown = "0.15.2"serde = { version = "1.0.219", features = ["derive"] }serde_json = "1.0.140"diff --git a/harper-comments/Cargo.toml b/harper-comments/Cargo.tomlindex 85dc139b9..c20708294 100644--- a/harper-comments/Cargo.toml+++ b/harper-comments/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-comments"-version = "0.26.0"+version = "0.27.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.26.0" }-harper-html = { path = "../harper-html", version = "0.26.0" }-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.26.0" }+harper-core = { path = "../harper-core", version = "0.27.0" }+harper-html = { path = "../harper-html", version = "0.27.0" }+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.27.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 dcfcca535..dd060c6c8 100644--- a/harper-core/Cargo.toml+++ b/harper-core/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-core"-version = "0.26.0"+version = "0.27.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 98526946a..2de64d43d 100644--- a/harper-html/Cargo.toml+++ b/harper-html/Cargo.toml@@ -1,14 +1,14 @@[package]name = "harper-html"-version = "0.26.0"+version = "0.27.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.26.0" }-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.26.0" }+harper-core = { path = "../harper-core", version = "0.27.0" }+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.27.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 b78a33f3a..9f9a74d05 100644--- a/harper-literate-haskell/Cargo.toml+++ b/harper-literate-haskell/Cargo.toml@@ -1,14 +1,14 @@[package]name = "harper-literate-haskell"-version = "0.26.0"+version = "0.27.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.26.0" }-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.26.0" }-harper-comments = { path = "../harper-comments", version = "0.26.0" }+harper-core = { path = "../harper-core", version = "0.27.0" }+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.27.0" }+harper-comments = { path = "../harper-comments", version = "0.27.0" }itertools = "0.14.0"paste = "1.0.14"diff --git a/harper-ls/Cargo.toml b/harper-ls/Cargo.tomlindex 2f8d3af3d..a8e117082 100644--- a/harper-ls/Cargo.toml+++ b/harper-ls/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-ls"-version = "0.26.0"+version = "0.27.0"edition = "2024"description = "The language checker for developers."license = "Apache-2.0"@@ -8,11 +8,11 @@ readme = "README.md"repository = "https://github.com/automattic/harper"[dependencies]-harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.26.0" }-harper-core = { path = "../harper-core", version = "0.26.0", features = ["concurrent"] }-harper-comments = { path = "../harper-comments", version = "0.26.0" }-harper-typst = { path = "../harper-typst", version = "0.26.0" }-harper-html = { path = "../harper-html", version = "0.26.0" }+harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.27.0" }+harper-core = { path = "../harper-core", version = "0.27.0", features = ["concurrent"] }+harper-comments = { path = "../harper-comments", version = "0.27.0" }+harper-typst = { path = "../harper-typst", version = "0.27.0" }+harper-html = { path = "../harper-html", version = "0.27.0" }tower-lsp = "0.20.0"tokio = { version = "1.44.1", features = ["fs", "rt", "rt-multi-thread", "macros", "io-std", "io-util", "net"] }clap = { version = "4.5.34", features = ["derive"] }diff --git a/harper-tree-sitter/Cargo.toml b/harper-tree-sitter/Cargo.tomlindex 6fefadfdb..c088d2db2 100644--- a/harper-tree-sitter/Cargo.toml+++ b/harper-tree-sitter/Cargo.toml@@ -1,11 +1,11 @@[package]name = "harper-tree-sitter"-version = "0.26.0"+version = "0.27.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.26.0" }+harper-core = { path = "../harper-core", version = "0.27.0" }tree-sitter = "0.20.10"diff --git a/harper-typst/Cargo.toml b/harper-typst/Cargo.tomlindex 22020da17..04952cb07 100644--- a/harper-typst/Cargo.toml+++ b/harper-typst/Cargo.toml@@ -1,13 +1,13 @@[package]name = "harper-typst"-version = "0.26.0"+version = "0.27.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.26.0" }+harper-core = { path = "../harper-core", version = "0.27.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 7e16ec776..9fab4a690 100644--- a/harper-wasm/Cargo.toml+++ b/harper-wasm/Cargo.toml@@ -14,7 +14,7 @@ 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.26.0", features = ["concurrent"] }+harper-core = { path = "../harper-core", version = "0.27.0", features = ["concurrent"] }once_cell = "1.21.3"serde-wasm-bindgen = "0.6.5"serde_json = "1.0.140"diff --git a/packages/harper.js/package.json b/packages/harper.js/package.jsonindex 3255ca130..6ae8bc814 100644--- a/packages/harper.js/package.json+++ b/packages/harper.js/package.json@@ -1,6 +1,6 @@{"name": "harper.js",- "version": "0.26.0",+ "version": "0.27.0","license": "Apache-2.0","author": "Elijah Potter","description": "The grammar checker for developers.",diff --git a/packages/vscode-plugin/package.json b/packages/vscode-plugin/package.jsonindex 112a2e03e..b94ab65a0 100644--- a/packages/vscode-plugin/package.json+++ b/packages/vscode-plugin/package.json@@ -2,7 +2,7 @@"name": "harper","displayName": "Harper","description": "The grammar checker for developers",- "version": "0.26.0",+ "version": "0.27.0","private": true,"author": "Elijah Potter","publisher": "elijah-potter",@@ -125,6 +125,18 @@"default": true,"description": "Corrects `a lot worst` to `a lot worse` for proper comparative usage."},+ "harper.linters.AWholeEntire": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects the redundancy in `whole entire` to `whole` or `entire`."+ },+ "harper.linters.AdjectiveOfA": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "This rule looks for sequences of words of the form `adjective of a`."+ },"harper.linters.AlzheimersDisease": {"scope": "resource","type": "boolean",@@ -149,6 +161,12 @@"default": true,"description": "A rule that looks for incorrect indefinite articles. For example, `this is an mule` would be flagged as incorrect."},+ "harper.linters.AnAnother": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects `an another` and `a another`."+ },"harper.linters.AndIn": {"scope": "resource","type": "boolean",@@ -161,6 +179,24 @@"default": true,"description": "Fixes the typo in `and the like`."},+ "harper.linters.AnotherAn": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects `another an` to `another`."+ },+ "harper.linters.AnotherOnes": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects `another ones`."+ },+ "harper.linters.AnotherThings": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects `another things`."+ },"harper.linters.Anybody": {"scope": "resource","type": "boolean",@@ -617,6 +653,12 @@"default": true,"description": "Ensures `gotten rid of` is used instead of `gotten rid off`."},+ "harper.linters.GuineaBissau": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Checks for the correct official name of the African country."+ },"harper.linters.HadOf": {"scope": "resource","type": "boolean",@@ -725,6 +767,12 @@"default": true,"description": "Detects and corrects a spacing error where `in the` is mistakenly written as `int he`. Proper spacing is essential for readability and grammatical correctness in common phrases."},+ "harper.linters.InflectedVerbAfterTo": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "This rule looks for `to verb` where `verb` is not in the infinitive form."+ },"harper.linters.Insofar": {"scope": "resource","type": "boolean",@@ -1109,12 +1157,6 @@"default": true,"description": "Flags oxymoronic phrases (e.g. `amateur expert`, `increasingly less`, etc.)."},- "harper.linters.PerformThis": {- "scope": "resource",- "type": "boolean",- "default": true,- "description": "Corrects `performing this` to `perform this` for proper verb usage."- },"harper.linters.PiggyBag": {"scope": "resource","type": "boolean",@@ -1157,6 +1199,18 @@"default": true,"description": "Typo: `moot` (meaning debatable) is correct rather than `mute`."},+ "harper.linters.PortAuPrince": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Checks for the correct official name of the capital of Haiti."+ },+ "harper.linters.PortoNovo": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Checks for the correct official name of the capital of Benin."+ },"harper.linters.PossessiveYour": {"scope": "resource","type": "boolean",@@ -1349,6 +1403,12 @@"default": true,"description": "Repeating the word \"that\" is often redundant. The phrase `that which` is easier to read."},+ "harper.linters.TheAnother": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects `the another`."+ },"harper.linters.ThenThan": {"scope": "resource","type": "boolean",@@ -1499,6 +1559,12 @@"default": true,"description": "Ensures `whet your appetite` is used correctly, distinguishing it from the incorrect `wet` variation."},+ "harper.linters.WholeEntire": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects the redundancy in `whole entire` to `whole` or `entire`."+ },"harper.linters.Widespread": {"scope": "resource","type": "boolean",