Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
Release 0.22.0
Elijah Potterff238384f57a
diff --git a/Cargo.lock b/Cargo.lockindex 589e71b61..57455c758 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -614,7 +614,7 @@ dependencies = [[[package]]name = "harper-comments"-version = "0.21.1"+version = "0.22.0"dependencies = ["harper-core","harper-html",@@ -645,7 +645,7 @@ dependencies = [[[package]]name = "harper-core"-version = "0.21.1"+version = "0.22.0"dependencies = ["blanket","criterion",@@ -672,7 +672,7 @@ dependencies = [[[package]]name = "harper-html"-version = "0.21.1"+version = "0.22.0"dependencies = ["harper-core","harper-tree-sitter",@@ -683,7 +683,7 @@ dependencies = [[[package]]name = "harper-literate-haskell"-version = "0.21.1"+version = "0.22.0"dependencies = ["harper-comments","harper-core",@@ -694,7 +694,7 @@ dependencies = [[[package]]name = "harper-ls"-version = "0.21.1"+version = "0.22.0"dependencies = ["anyhow","clap",@@ -719,7 +719,7 @@ dependencies = [[[package]]name = "harper-tree-sitter"-version = "0.21.1"+version = "0.22.0"dependencies = ["harper-core","tree-sitter",@@ -727,7 +727,7 @@ dependencies = [[[package]]name = "harper-typst"-version = "0.21.1"+version = "0.22.0"dependencies = ["harper-core","itertools 0.14.0",diff --git a/harper-cli/Cargo.toml b/harper-cli/Cargo.tomlindex d6baf2916..3c96d6cd3 100644--- a/harper-cli/Cargo.toml+++ b/harper-cli/Cargo.toml@@ -10,10 +10,10 @@ repository = "https://github.com/automattic/harper"anyhow = "1.0.95"ariadne = "0.4.1"clap = { version = "4.5.29", features = ["derive"] }-harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.21.0" }-harper-core = { path = "../harper-core", version = "0.21.0" }-harper-comments = { path = "../harper-comments", version = "0.21.0" }-harper-typst = { path = "../harper-typst", version = "0.21.0" }+harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.22.0" }+harper-core = { path = "../harper-core", version = "0.22.0" }+harper-comments = { path = "../harper-comments", version = "0.22.0" }+harper-typst = { path = "../harper-typst", version = "0.22.0" }hashbrown = "0.15.2"serde = { version = "1.0.214", features = ["derive"] }serde_json = "1.0.138"diff --git a/harper-comments/Cargo.toml b/harper-comments/Cargo.tomlindex cfb79454d..083f3cb93 100644--- a/harper-comments/Cargo.toml+++ b/harper-comments/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-comments"-version = "0.21.1"+version = "0.22.0"edition = "2021"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.21.0" }-harper-html = { path = "../harper-html", version = "0.21.0" }-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.21.0" }+harper-core = { path = "../harper-core", version = "0.22.0" }+harper-html = { path = "../harper-html", version = "0.22.0" }+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.22.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 5d17b15c0..cb1599de7 100644--- a/harper-core/Cargo.toml+++ b/harper-core/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-core"-version = "0.21.1"+version = "0.22.0"edition = "2021"description = "The language checker for developers."license = "Apache-2.0"diff --git a/harper-html/Cargo.toml b/harper-html/Cargo.tomlindex fb80a6f66..6a2222148 100644--- a/harper-html/Cargo.toml+++ b/harper-html/Cargo.toml@@ -1,14 +1,14 @@[package]name = "harper-html"-version = "0.21.1"+version = "0.22.0"edition = "2021"description = "The language checker for developers."license = "Apache-2.0"repository = "https://github.com/automattic/harper"[dependencies]-harper-core = { path = "../harper-core", version = "0.21.0" }-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.21.0" }+harper-core = { path = "../harper-core", version = "0.22.0" }+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.22.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 30f7eee6e..2ad8827e7 100644--- a/harper-literate-haskell/Cargo.toml+++ b/harper-literate-haskell/Cargo.toml@@ -1,14 +1,14 @@[package]name = "harper-literate-haskell"-version = "0.21.1"+version = "0.22.0"edition = "2021"description = "The language checker for developers."license = "Apache-2.0"repository = "https://github.com/automattic/harper"[dependencies]-harper-core = { path = "../harper-core", version = "0.21.0" }-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.21.0" }-harper-comments = { path = "../harper-comments", version = "0.21.0" }+harper-core = { path = "../harper-core", version = "0.22.0" }+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.22.0" }+harper-comments = { path = "../harper-comments", version = "0.22.0" }itertools = "0.14.0"paste = "1.0.14"diff --git a/harper-ls/Cargo.toml b/harper-ls/Cargo.tomlindex 1fe0d3de0..abd9c4f90 100644--- a/harper-ls/Cargo.toml+++ b/harper-ls/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-ls"-version = "0.21.1"+version = "0.22.0"edition = "2021"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.21.0" }-harper-core = { path = "../harper-core", version = "0.21.0", features = ["concurrent"] }-harper-comments = { path = "../harper-comments", version = "0.21.0" }-harper-typst = { path = "../harper-typst", version = "0.21.0" }-harper-html = { path = "../harper-html", version = "0.21.0" }+harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.22.0" }+harper-core = { path = "../harper-core", version = "0.22.0", features = ["concurrent"] }+harper-comments = { path = "../harper-comments", version = "0.22.0" }+harper-typst = { path = "../harper-typst", version = "0.22.0" }+harper-html = { path = "../harper-html", version = "0.22.0" }tower-lsp = "0.20.0"tokio = { version = "1.43.0", features = ["fs", "rt", "rt-multi-thread", "macros", "io-std", "io-util", "net"] }clap = { version = "4.5.29", features = ["derive"] }diff --git a/harper-tree-sitter/Cargo.toml b/harper-tree-sitter/Cargo.tomlindex 8fd25f415..9070e746f 100644--- a/harper-tree-sitter/Cargo.toml+++ b/harper-tree-sitter/Cargo.toml@@ -1,11 +1,11 @@[package]name = "harper-tree-sitter"-version = "0.21.1"+version = "0.22.0"edition = "2021"description = "The language checker for developers."license = "Apache-2.0"repository = "https://github.com/automattic/harper"[dependencies]-harper-core = { path = "../harper-core", version = "0.21.0" }+harper-core = { path = "../harper-core", version = "0.22.0" }tree-sitter = "0.20.10"diff --git a/harper-typst/Cargo.toml b/harper-typst/Cargo.tomlindex b82c3ef9e..814179607 100644--- a/harper-typst/Cargo.toml+++ b/harper-typst/Cargo.toml@@ -1,13 +1,13 @@[package]name = "harper-typst"-version = "0.21.1"+version = "0.22.0"edition = "2021"description = "The language checker for developers."license = "Apache-2.0"repository = "https://github.com/automattic/harper"[dependencies]-harper-core = { path = "../harper-core", version = "0.21.0" }+harper-core = { path = "../harper-core", version = "0.22.0" }typst-syntax = { version = "0.12.0" }ordered-float = { version = "4.6.0", features = ["serde"] }itertools = "0.14.0"diff --git a/harper-wasm/Cargo.toml b/harper-wasm/Cargo.tomlindex 8bd326d76..e319e448a 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.21.0", features = ["concurrent"] }+harper-core = { path = "../harper-core", version = "0.22.0", features = ["concurrent"] }once_cell = "1.20.3"serde-wasm-bindgen = "0.6.5"serde_json = "1.0.138"diff --git a/packages/harper.js/package.json b/packages/harper.js/package.jsonindex 888f74ded..c87a5a596 100644--- a/packages/harper.js/package.json+++ b/packages/harper.js/package.json@@ -1,6 +1,6 @@{"name": "harper.js",- "version": "0.21.1",+ "version": "0.22.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 c687ad075..de210e7fe 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.21.1",+ "version": "0.22.0","private": true,"author": "Elijah Potter","publisher": "elijah-potter",@@ -135,11 +135,11 @@"default": true,"description": "A rule that looks for incorrect indefinite articles. For example, `this is an mule` would be flagged as incorrect."},- "harper-ls.linters.and_alike": {+ "harper-ls.linters.and_the_like": {"scope": "resource","type": "boolean","default": true,- "description": "Looks for slight improper modifications to the phrase `and alike`."+ "description": "Looks for slight improper modifications to the phrase `and the like`."},"harper-ls.linters.anybody": {"scope": "resource",@@ -241,7 +241,7 @@"scope": "resource","type": "boolean","default": true,- "description": "Looks for slight improper modifications to the phrase `change tack`."+ "description": "Locates minor errors in the sailing idiom `change tack`."},"harper-ls.linters.chinese_communist_party": {"scope": "resource",@@ -273,6 +273,12 @@"default": true,"description": "The location of currency symbols varies by country. The rule looks for and corrects improper positioning."},+ "harper-ls.linters.day_one_names": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Ensure proper capitalization of Day One and Day One Premium as brand names."+ },"harper-ls.linters.desktop": {"scope": "resource","type": "boolean",@@ -423,6 +429,12 @@"default": true,"description": "Looks for incorrect spacing inside the closed compound `itself`."},+ "harper-ls.linters.jetpack_names": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Ensure proper capitalization of Jetpack-related terms."+ },"harper-ls.linters.koreas": {"scope": "resource","type": "boolean",@@ -627,6 +639,12 @@"default": true,"description": "Looks for slight improper modifications to the phrase `of course`."},+ "harper-ls.linters.out_of_date": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Ensures that the phrase `out of date` is written with a hyphen as `out-of-date` when used as a compound adjective."+ },"harper-ls.linters.overall": {"scope": "resource","type": "boolean",@@ -669,6 +687,12 @@"default": false,"description": "Make sure you use the correct conjugation of the verb \"to be\" in plural contexts."},+ "harper-ls.linters.pocket_casts_names": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Ensure proper capitalization of Pocket Casts and Pocket Casts Plus as brand names."+ },"harper-ls.linters.possessive_your": {"scope": "resource","type": "boolean",@@ -819,6 +843,12 @@"default": true,"description": "Looks for incorrect spacing inside the closed compound `thereupon`."},+ "harper-ls.linters.tumblr_names": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Ensure proper capitalization of Tumblr-related terms."+ },"harper-ls.linters.turn_it_off": {"scope": "resource","type": "boolean",@@ -891,6 +921,12 @@"default": true,"description": "Looks for incorrect spacing inside the closed compound `widespread`."},+ "harper-ls.linters.word_press_dotcom": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Ensures correct capitalization of WordPress.com. This rule verifies that the official stylization of WordPress.com is used when referring to the hosting provider."+ },"harper-ls.linters.worldwide": {"scope": "resource","type": "boolean",