v0.26.0
Automattic/harperv0.26.0Mar 21, 2025by github-actions[bot]
AI Summary
This release focuses on dictionary curation, introduces new grammar linters, and migrates the build system to pnpm workspace and biome.
Key Highlights
- Migrated build system to pnpm workspace & biome
- Added linters for 'as far back as', 'each and everyone', and 'get rid off'
- Improved core assertions for overlapping suggestions
- Fixed VS Code plugin to support untitled/unsaved files
New Features
- Export both binary and inlinedBinary for different runtimes
- Allow blank lines and comments in dictionary.dict
- Insert newline automatically in just addnoun
Full Release Notes
## What's Changed * docs: fix user dictionary by @kit494way in https://github.com/Automattic/harper/pull/893 * feat: mask out comments beginning with spellchecker:ignore by @grantlemons in https://github.com/Automattic/harper/pull/861 * feat(harper.js): export both binary and inlinedBinary for different runtimes by @Asuka109 in https://github.com/Automattic/harper/pull/607 * feat: linter for "as far back as" to replace "as early back as" by @hippietrail in https://github.com/Automattic/harper/pull/889 * feat: flag "explanation mark/point" instead of "exclamation" by @hippietrail in https://github.com/Automattic/harper/pull/895 * feat: correct "in anyway" to "in any way" by @hippietrail in https://github.com/Automattic/harper/pull/894 * build(deps): bump @babel/helpers from 7.26.9 to 7.26.10 in /packages by @dependabot in https://github.com/Automattic/harper/pull/899 * fix: two spelling mistakes based on homophones by @hippietrail in https://github.com/Automattic/harper/pull/886 * feat: allow blank lines and comments in `dictionary.dict` by @hippietrail in https://github.com/Automattic/harper/pull/756 * docs: fix typo #906 by @hippietrail in https://github.com/Automattic/harper/pull/912 * hotfix(core): properly store spans in `PatternLinter` cache by @elijah-potter in https://github.com/Automattic/harper/pull/926 * Dictionary curation 2025 03 12 by @hippietrail in https://github.com/Automattic/harper/pull/902 * Dialect prototyping by @elijah-potter in https://github.com/Automattic/harper/pull/925 * feat: insert newline automatically in `just addnoun` by @elijah-potter in https://github.com/Automattic/harper/pull/931 * docs: fix 3 grammar mistakes by @hippietrail in https://github.com/Automattic/harper/pull/933 * feat: linter for "each and everyone" by @hippietrail in https://github.com/Automattic/harper/pull/923 * feat: expand the "get rid off" lint to cover "get ride of" by @hippietrail in https://github.com/Automattic/harper/pull/900 * fix(vscode-plugin): ignore non-existent ".git" files, support untitled/unsaved files on VS Code by @kiding in https://github.com/Automattic/harper/pull/927 * feat(core): improve assertion to allow overlapping suggestions by @elijah-potter in https://github.com/Automattic/harper/pull/935 * build(deps): bump @wordpress/editor from 14.19.0 to 14.20.0 in /packages by @dependabot in https://github.com/Automattic/harper/pull/915 * build(deps): bump indexmap from 2.7.1 to 2.8.0 by @dependabot in https://github.com/Automattic/harper/pull/921 * build(deps): bump tokio from 1.43.0 to 1.44.1 by @dependabot in https://github.com/Automattic/harper/pull/919 * build(deps-dev): bump @types/node from 22.13.9 to 22.13.10 in /packages by @dependabot in https://github.com/Automattic/harper/pull/913 * build(deps): bump foldhash from 0.1.4 to 0.1.5 by @dependabot in https://github.com/Automattic/harper/pull/917 * feat: correct "along time" to "a long time" by @hippietrail in https://github.com/Automattic/harper/pull/910 * Add -able affix to open (openable) by @claydugo in https://github.com/Automattic/harper/pull/930 * docs: mention hidden library dependencies by @elijah-potter in https://github.com/Automattic/harper/pull/943 * feat(core): create new test assertion for `nth` suggestion results by @elijah-potter in https://github.com/Automattic/harper/pull/942 * build: migrate to pnpm workspace & biome by @Asuka109 in https://github.com/Automattic/harper/pull/924 * build(deps): bump serde from 1.0.218 to 1.0.219 by @dependabot in https://github.com/Automattic/harper/pull/920 * build(deps): bump clap from 4.5.31 to 4.5.32 by @dependabot in https://github.com/Automattic/harper/pull/946 * Web improvements by @elijah-potter in https://github.com/Automattic/harper/pull/944 * feat: ignore shebang lines by @holmanb in https://github.com/Automattic/harper/pull/947 * feat(web): add mask-image to header by @Asuka109 in https://github.com/Automattic/harper/pull/951 * fix(core): reduce ambiguity for `AvoidContraction` by @elijah-potter in https://github.com/Automattic/harper/pull/941 * chore: add comments describing major sections by @hippietrail in https://github.com/Automattic/harper/pull/952 ## New Contributors * @kit494way made their first contribution in https://github.com/Automattic/harper/pull/893 * @holmanb made their first contribution in https://github.com/Automattic/harper/pull/947 **Full Changelog**: https://github.com/Automattic/harper/compare/v0.25.1...v0.26.0