v0.31.0

Automattic/harperv0.31.0Apr 26, 2025by github-actions[bot]

AI Summary

Release focused on code quality, dictionary updates, and new utility functions for the document structure.

Key Highlights

  • Added 'Schengen' to the dictionary.
  • New `Document` utility functions for tokens and words.
  • Refactoring to remove unused patterns and options.

New Features

  • Dictionary curation updates.
  • Text correction for 'invest into'.
  • Fixed invalid `private` fields in Cargo.toml.

Full Release Notes

## What's Changed
* No invalid `private = true` fields in `Cargo.toml` by @RunDevelopment in https://github.com/Automattic/harper/pull/1120
* Dictionary curation 2025 04 22 by @hippietrail in https://github.com/Automattic/harper/pull/1122
* Flags the definite article used together with a possessive by @hippietrail in https://github.com/Automattic/harper/pull/1112
* dictionary: Added Schengen by @jpds in https://github.com/Automattic/harper/pull/1083
* Removed the useless `SequencePattern` in `IndefiniteArticle` by @RunDevelopment in https://github.com/Automattic/harper/pull/1125
* Use `Option<NonZeroUsize>` as the return type of `Pattern::matches` by @RunDevelopment in https://github.com/Automattic/harper/pull/1124
* fix: Make code compile without `concurrent` feature by @RunDevelopment in https://github.com/Automattic/harper/pull/1140
* refactor: removed unused patterns by @RunDevelopment in https://github.com/Automattic/harper/pull/1141
* Dictionary curation 2025 04 25 by @hippietrail in https://github.com/Automattic/harper/pull/1136
* feat: `Document` QoL functions for tokens & words by @hippietrail in https://github.com/Automattic/harper/pull/1117
* feat: invest into→invest in by @hippietrail in https://github.com/Automattic/harper/pull/1139

## New Contributors
* @jpds made their first contribution in https://github.com/Automattic/harper/pull/1083

**Full Changelog**: https://github.com/Automattic/harper/compare/v0.30.0...v0.31.0