# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [1.7.1] - 2023-10-29
### Fixed
- Fixed bad hyphenation of words with apostrophe symbol

## [1.7.0] - 2023-10-11
### Changed
- Prebuild a dictionary tree to improve performance of a hyphenation algorithm

## [1.6.6] - 2023-06-04
### Fixed
- Minor performance fix

## [1.6.5] - 2023-03-11
### Added
- Add async web worker support

## [1.6.4] - 2021-04-04
### Fixed
- Handle the edge case of a word “constructor” being interpreted as a JavaScript keyword. - by [@arseni-mourzenko](https://github.com/arseni-mourzenko)

## [1.6.3] - 2021-04-04
### Fixed
- Change undesired behavior of option `minWordLength`: value now can be set to less than 5 - by [@kamilmielnik](https://github.com/kamilmielnik)

## [1.6.2] - 2020-06-03
### Fixed
- Prevent hyphenation of HTML attributes in hyphenateHTML

## [1.6.0] - 2020-05-08
### Added
- Add option `minWordLength`

## [1.5.0] - 2020-04-03
### Added
- Add ability to configure initialized hyphenator function
- Add exports for nodejs and webpack environments
### Changed
- Skip HTML syntax only when `html` option is set to true
- License changed to ISC
### Fixed
- Fix bad script behavior in async mode

## [1.3.1] - 2020-03-28
### Changed
- Split source code into several files with following bundling
### Fixed
- Replaced template literals for ES3 compatibility

## [1.3.0] - 2020-03-25
### Added
- Add HTML sections exclusion from hyphenation
- Add async mode
- Protect hyphenated text from repeated hyphenation

## [1.2.1] - 2020-03-18
### Changed
- Reduced NPM package size

## [1.2.0] - 2020-03-18
### Fixed
- Fixed badly processed repeated patterns in a word by [@jaumeortola](https://github.com/jaumeortola)
- Fixed a case when a special character is considered a letter

## [1.1.1] - 2019-03-20
### Changed
- Replaced a unicode literal char with a corresponding code by [@oskarkook](https://github.com/oskarkook)
### Fixed
- Bugfix by [@krisztianb](https://github.com/krisztianb)

## [1.1.0] - 2019-02-10
### Changed
- Rebuilt patterns with tex2js translator
### Fixed
- Fixed bad patternData by [@datakurre](https://github.com/datakurre)
- Fixed typos by [@millette](https://github.com/millette)

## [1.0.2] - 2016-08-28
### Fixed
- Fixed bad return value when EOF by [@nicosierra](https://github.com/nicosierra)

## [1.0.1] - 2016-08-18
### Added
- Output stats in debug mode
### Fixed
- Fixed typos by [@jhwohlgemuth](https://github.com/jhwohlgemuth)
- Fixed bad word extraction

## [1.0.0] - 2016-08-07
### Added
- First working version with 75 language patterns

[Unreleased]: https://github.com/ytiurin/hyphen/compare/v1.7.1...HEAD
[v1.7.0]: https://github.com/ytiurin/hyphen/compare/v1.7.0...v1.7.1
[v1.6.6]: https://github.com/ytiurin/hyphen/compare/v1.6.6...v1.7.0
[v1.6.5]: https://github.com/ytiurin/hyphen/compare/v1.6.5...v1.6.6
[v1.6.5]: https://github.com/ytiurin/hyphen/compare/v1.6.4...v1.6.5
[v1.6.4]: https://github.com/ytiurin/hyphen/compare/v1.6.3...v1.6.4
[v1.6.3]: https://github.com/ytiurin/hyphen/compare/v1.6.2...v1.6.3
[v1.6.2]: https://github.com/ytiurin/hyphen/compare/v1.6.1...v1.6.2
[v1.6.1]: https://github.com/ytiurin/hyphen/compare/v1.6.0...v1.6.1
[v1.6.0]: https://github.com/ytiurin/hyphen/compare/v1.5.1...v1.6.0
[v1.5.1]: https://github.com/ytiurin/hyphen/compare/v1.5.0...v1.5.1
[v1.5.0]: https://github.com/ytiurin/hyphen/compare/v1.3.1...v1.5.0
[v1.3.1]: https://github.com/ytiurin/hyphen/compare/v1.3.0...v1.3.1
[v1.3.0]: https://github.com/ytiurin/hyphen/compare/v1.2.1...v1.3.0
[v1.2.1]: https://github.com/ytiurin/hyphen/compare/v1.2.0...v1.2.1
[v1.2.0]: https://github.com/ytiurin/hyphen/compare/v1.1.1...v1.2.0
[v1.1.1]: https://github.com/ytiurin/hyphen/compare/v1.1.0...v1.1.1
[v1.1.0]: https://github.com/ytiurin/hyphen/compare/1.0.2...v1.1.0
[1.0.2]: https://github.com/ytiurin/hyphen/compare/1.0.1...1.0.2
[1.0.1]: https://github.com/ytiurin/hyphen/compare/1.0.0...1.0.1
[1.0.0]: https://github.com/ytiurin/hyphen/releases/tag/1.0.0
