v0.51.0

Automattic/harperv0.51.0Jul 15, 2025by github-actions[bot]

AI Summary

Refactors phrase corrections into groups and introduces new linters for missing prepositions and redundant modal verbs. Includes fixes for 'very unique' and 'extend/extent' confusion.

Key Highlights

  • Phrase corrections are now grouped
  • New linter for missing prepositions
  • New linter for redundant modal verbs
  • Fixes for 'very unique' and 'extend/extent'

New Features

  • Grouped phrase corrections
  • Missing preposition linter
  • Redundant modal verb linter

Full Release Notes

## What's Changed
* feat: phrase set corrections to group phrase corrections by @hippietrail in https://github.com/Automattic/harper/pull/1529
* chore: dictionary curation by @hippietrail in https://github.com/Automattic/harper/pull/1539
* feat: implement #1559 semicolon typos by @hippietrail in https://github.com/Automattic/harper/pull/1560
* build(deps): bump clap from 4.5.40 to 4.5.41 by @dependabot[bot] in https://github.com/Automattic/harper/pull/1557
* build(deps): bump tree-sitter from 0.25.6 to 0.25.8 by @dependabot[bot] in https://github.com/Automattic/harper/pull/1558
* build(deps): bump ammonia from 4.1.0 to 4.1.1 by @dependabot[bot] in https://github.com/Automattic/harper/pull/1556
* feat: `just printaffixes` prints letters free for new flags by @hippietrail in https://github.com/Automattic/harper/pull/1540
* feat: extend→extent when used as noun by @hippietrail in https://github.com/Automattic/harper/pull/1552
* feat: ontop of→on top of by @hippietrail in https://github.com/Automattic/harper/pull/1550
* feat: .is_oov() method on TokenKind by @hippietrail in https://github.com/Automattic/harper/pull/1551
* feat: very unique→unique / very special by @hippietrail in https://github.com/Automattic/harper/pull/1561
* refactor(core): adjust to reduce ambiguity by @86xsk in https://github.com/Automattic/harper/pull/1545
* feat(core): add rule for missing preposition by @elijah-potter in https://github.com/Automattic/harper/pull/1530
* feat(core): add rule for redundant modal verbs by @elijah-potter in https://github.com/Automattic/harper/pull/1536
* feat: support quantifier as type of determiner by @hippietrail in https://github.com/Automattic/harper/pull/1564
* feat: IIRC correctly→IIRC by @hippietrail in https://github.com/Automattic/harper/pull/1566
* feat: mass nouns after countable determiners/quantifiers by @hippietrail in https://github.com/Automattic/harper/pull/1498
* doc(core): document `lint_group` macros by @elijah-potter in https://github.com/Automattic/harper/pull/1568


**Full Changelog**: https://github.com/Automattic/harper/compare/v0.50.0...v0.51.0