Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
Release 0.25.0
Elijah Potter758f4c70ffdd
diff --git a/Cargo.lock b/Cargo.lockindex ca3472ac5..91a68bc4d 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -700,7 +700,7 @@ dependencies = [[[package]]name = "harper-comments"-version = "0.24.0"+version = "0.25.0"dependencies = ["harper-core","harper-html",@@ -731,7 +731,7 @@ dependencies = [[[package]]name = "harper-core"-version = "0.24.0"+version = "0.25.0"dependencies = ["blanket","cached",@@ -761,7 +761,7 @@ dependencies = [[[package]]name = "harper-html"-version = "0.24.0"+version = "0.25.0"dependencies = ["harper-core","harper-tree-sitter",@@ -772,7 +772,7 @@ dependencies = [[[package]]name = "harper-literate-haskell"-version = "0.24.0"+version = "0.25.0"dependencies = ["harper-comments","harper-core",@@ -783,7 +783,7 @@ dependencies = [[[package]]name = "harper-ls"-version = "0.24.0"+version = "0.25.0"dependencies = ["anyhow","clap",@@ -809,7 +809,7 @@ dependencies = [[[package]]name = "harper-tree-sitter"-version = "0.24.0"+version = "0.25.0"dependencies = ["harper-core","tree-sitter",@@ -817,7 +817,7 @@ dependencies = [[[package]]name = "harper-typst"-version = "0.24.0"+version = "0.25.0"dependencies = ["harper-core","itertools 0.14.0",diff --git a/harper-cli/Cargo.toml b/harper-cli/Cargo.tomlindex 8d6f52ffd..88c42a2f8 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.31", features = ["derive"] }-harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.24.0" }-harper-core = { path = "../harper-core", version = "0.24.0" }-harper-comments = { path = "../harper-comments", version = "0.24.0" }-harper-typst = { path = "../harper-typst", version = "0.24.0" }+harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.25.0" }+harper-core = { path = "../harper-core", version = "0.25.0" }+harper-comments = { path = "../harper-comments", version = "0.25.0" }+harper-typst = { path = "../harper-typst", version = "0.25.0" }hashbrown = "0.15.2"serde = { version = "1.0.218", features = ["derive"] }serde_json = "1.0.140"diff --git a/harper-comments/Cargo.toml b/harper-comments/Cargo.tomlindex 3a0974840..f9ac75874 100644--- a/harper-comments/Cargo.toml+++ b/harper-comments/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-comments"-version = "0.24.0"+version = "0.25.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.24.0" }-harper-html = { path = "../harper-html", version = "0.24.0" }-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.24.0" }+harper-core = { path = "../harper-core", version = "0.25.0" }+harper-html = { path = "../harper-html", version = "0.25.0" }+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.25.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 19b4bf753..f0d31dc0d 100644--- a/harper-core/Cargo.toml+++ b/harper-core/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-core"-version = "0.24.0"+version = "0.25.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 ca5880006..83eada253 100644--- a/harper-html/Cargo.toml+++ b/harper-html/Cargo.toml@@ -1,14 +1,14 @@[package]name = "harper-html"-version = "0.24.0"+version = "0.25.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.24.0" }-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.24.0" }+harper-core = { path = "../harper-core", version = "0.25.0" }+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.25.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 85205bc30..6b90673cd 100644--- a/harper-literate-haskell/Cargo.toml+++ b/harper-literate-haskell/Cargo.toml@@ -1,14 +1,14 @@[package]name = "harper-literate-haskell"-version = "0.24.0"+version = "0.25.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.24.0" }-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.24.0" }-harper-comments = { path = "../harper-comments", version = "0.24.0" }+harper-core = { path = "../harper-core", version = "0.25.0" }+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.25.0" }+harper-comments = { path = "../harper-comments", version = "0.25.0" }itertools = "0.14.0"paste = "1.0.14"diff --git a/harper-ls/Cargo.toml b/harper-ls/Cargo.tomlindex 9074cbd6d..e157ca80f 100644--- a/harper-ls/Cargo.toml+++ b/harper-ls/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-ls"-version = "0.24.0"+version = "0.25.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.24.0" }-harper-core = { path = "../harper-core", version = "0.24.0", features = ["concurrent"] }-harper-comments = { path = "../harper-comments", version = "0.24.0" }-harper-typst = { path = "../harper-typst", version = "0.24.0" }-harper-html = { path = "../harper-html", version = "0.24.0" }+harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.25.0" }+harper-core = { path = "../harper-core", version = "0.25.0", features = ["concurrent"] }+harper-comments = { path = "../harper-comments", version = "0.25.0" }+harper-typst = { path = "../harper-typst", version = "0.25.0" }+harper-html = { path = "../harper-html", version = "0.25.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.31", features = ["derive"] }diff --git a/harper-tree-sitter/Cargo.toml b/harper-tree-sitter/Cargo.tomlindex a575e9879..8677c2893 100644--- a/harper-tree-sitter/Cargo.toml+++ b/harper-tree-sitter/Cargo.toml@@ -1,11 +1,11 @@[package]name = "harper-tree-sitter"-version = "0.24.0"+version = "0.25.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.24.0" }+harper-core = { path = "../harper-core", version = "0.25.0" }tree-sitter = "0.20.10"diff --git a/harper-typst/Cargo.toml b/harper-typst/Cargo.tomlindex 09714a5e6..8ad6de0c4 100644--- a/harper-typst/Cargo.toml+++ b/harper-typst/Cargo.toml@@ -1,13 +1,13 @@[package]name = "harper-typst"-version = "0.24.0"+version = "0.25.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.24.0" }+harper-core = { path = "../harper-core", version = "0.25.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 480a34dac..bd9db7135 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.24.0", features = ["concurrent"] }+harper-core = { path = "../harper-core", version = "0.25.0", features = ["concurrent"] }once_cell = "1.20.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 c4015b267..eca2301f4 100644--- a/packages/harper.js/package.json+++ b/packages/harper.js/package.json@@ -1,6 +1,6 @@{"name": "harper.js",- "version": "0.24.0",+ "version": "0.25.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 b3d5ed204..f349a7675 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.24.0",+ "version": "0.25.0","private": true,"author": "Elijah Potter","publisher": "elijah-potter",@@ -117,6 +117,12 @@"type": "string","description": "Optional path to a global dictionary file to use."},+ "harper.linters.ALotWorst": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects `a lot worst` to `a lot worse` for proper comparative usage."+ },"harper.linters.AlzheimersDisease": {"scope": "resource","type": "boolean",@@ -297,11 +303,47 @@"default": true,"description": "Ensures `case-sensitive` is correctly hyphenated."},+ "harper.linters.ChangeOfTack": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Locates errors in the idiom `change of tack` to convey the correct meaning of an alternative course or strategy."+ },"harper.linters.ChangeTack": {"scope": "resource","type": "boolean","default": true,- "description": "Locates minor errors in the sailing idiom `change tack`."+ "description": "Locates errors in the idiom `to change tack` to convey the correct meaning of altering one's course or strategy."+ },+ "harper.linters.ChangedTack": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Locates errors in the idiom `to change tack` to convey the correct meaning of altering one's course or strategy."+ },+ "harper.linters.ChangesOfTack": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Locates errors in the idiom `change of tack` to convey the correct meaning of an alternative course or strategy."+ },+ "harper.linters.ChangesTack": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Locates errors in the idiom `to change tack` to convey the correct meaning of altering one's course or strategy."+ },+ "harper.linters.ChangingOfTack": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Locates errors in the idiom `to change of tack` to convey the correct meaning of altering one's course or strategy."+ },+ "harper.linters.ChangingTack": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Locates errors in the idiom `to change tack` to convey the correct meaning of altering one's course or strategy."},"harper.linters.ChineseCommunistParty": {"scope": "resource",@@ -459,6 +501,12 @@"default": true,"description": "Ensures `face first` is correctly hyphenated as `face-first` when used before `into`."},+ "harper.linters.FarWorse": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects `far worst` to `far worse` for proper comparative usage."+ },"harper.linters.FastPaste": {"scope": "resource","type": "boolean",@@ -531,6 +579,12 @@"default": true,"description": "Ensures `got rid of` is used instead of `got rid off`."},+ "harper.linters.GottenRidOff": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Ensures `gotten rid of` is used instead of `gotten rid off`."+ },"harper.linters.HadOf": {"scope": "resource","type": "boolean",@@ -603,6 +657,24 @@"default": true,"description": "Fixes the incorrect spacing in `I a m` to properly form `I am`."},+ "harper.linters.InAndOfItself": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects nonstandard `in of itself` to standard `in and of itself`."+ },+ "harper.linters.InDetail": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Correct unidiomatic plural `in details` to `in detail`."+ },+ "harper.linters.InMoreDetail": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Correct unidiomatic plural `in more details` to `in more detail`."+ },"harper.linters.InOneFellSwoop": {"scope": "resource","type": "boolean",@@ -801,6 +873,18 @@"default": true,"description": "Detects `of` mistakenly used with `would`, `could`, `should`, etc."},+ "harper.linters.Monumentous": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Advises using `momentous` or `monumental` instead of `monumentous` for serious usage."+ },+ "harper.linters.MuchWorse": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects `much worst` to `much worse` for proper comparative usage."+ },"harper.linters.Multicore": {"scope": "resource","type": "boolean",@@ -855,6 +939,12 @@"default": true,"description": "Changes `ned help` to the correct `need help`."},+ "harper.linters.NerveRacking": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects common misspellings and missing hyphen in `nerve-racking`."+ },"harper.linters.NoOxfordComma": {"scope": "resource","type": "boolean",@@ -1245,6 +1335,12 @@"default": true,"description": "Changes `though process` to `thought process`."},+ "harper.linters.TickingTimeClock": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects `ticking time clock` to `ticking time bomb` for idiomatic urgency or `ticking clock` otherwise."+ },"harper.linters.ToDoHyphen": {"scope": "resource","type": "boolean",@@ -1269,6 +1365,12 @@"default": true,"description": "Ensure proper capitalization of Tumblr-related terms."},+ "harper.linters.TurnForTheWorse": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects the nonstandard `turn for the worst` to the idiomatic `turn for the worse`, used to describe a situation that has deteriorated."+ },"harper.linters.TurnItOff": {"scope": "resource","type": "boolean",@@ -1389,6 +1491,24 @@"default": true,"description": "Looks for incorrect spacing inside the closed compound `worldwide`."},+ "harper.linters.WorseAndWorse": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects `worst and worst` to `worse and worse` for proper comparative usage."+ },+ "harper.linters.WorseThan": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects `worst than` to `worse than` for proper comparative usage."+ },+ "harper.linters.WorstEver": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects `worse ever` to `worst ever` for proper comparative usage."+ },"harper.linters.WrongQuotes": {"scope": "resource","type": "boolean",