# Changelog

All notable changes to this project will be documented in this file.

## [1.3.1] - 2025-01-30
### 📦 Updated
- Updated `string-segmenter` dependency to `1.3.0` (don't crash on null segments)

## [1.3.0] - 2025-01-24
### ✨ Added
- Added `excludeNonLetterSentences` option ⇢ default: `false`
    > if enabled, segments that contain no letters (only numbers, symbols, etc) are excluded

## [1.2.0] - 2025-01-13
### ✨ Added
- Added `preserveHTMLBreaks` option ⇢ default: `true`
    > if enabled, HTML `<br>` and `<p>` tags are preserved as line breaks in the text
- Added `preserveListItems` option ⇢ default: `true`
    > if enabled, HTML `<li>` elements are preserved as list items
- Added `listItemPrefix` option ⇢ default: `'- '`
    > if enabled, the specified prefix is added to each `<li>` element

## [1.1.0] - 2025-01-11
### ✨ Added
- Added `observeMultipleLineBreaks` option ⇢ default: `false`
    > if enabled, two or more consecutive line breaks are treated as separate sentences
- Added `removeStartLineSequences` option ⇢ default: `[ ]`
    > if enabled, specified sequences at the start of each line are removed
    > e.g. `['>', '--']`

## [1.0.0] - 2024-12-18
### ✨ Added
- Initial release
- Sentence parsing functionality
- Text is normalized
- Extra whitespace is removed
