Skip to content

v4.0.0

Choose a tag to compare

@azu azu released this 10 Feb 08:59
· 27 commits to master since this release
94e6e6b

What's Changed

Breaking Changes

  • refactor: update types and cleanup dependencies by @azu in #29
  • Dual Package
    • You can import this library as CJS and ESM
  • Update @textlint/ast-node-types
    • Export SentenceTxtNode that extends TxtNode
  • Require Node.js 16+
    • Now, output ES2020+ codes
  • Remove CLI
  • Rename Syntax to SentenceSplitterSyntax
- import { Syntax } from " sentence-splitter"
+ import { SentenceSplitterSyntax } from "sentence-splitter"

Full Changelog: v3.2.3...v4.0.0