diff --git a/CHANGELOG.md b/CHANGELOG.md index 29a6851..67bbe48 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,22 @@ All notable changes to this project will be documented in this file. The format is loosely 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). +## [1.5.0] - 2023-08-20 + +### Added + +- Exports for helper types used to compose token types +- Export for the `RegExpToken` interface +- **Custom tokens API** via `defineToken` +- Support for merging nested character groups +- `charRange` and `notCharRange` tokens + +### Changed + +- `group` no longer wraps expressions with extra layers of non-capture groups if the expression is already grouped +- Fixed incorrect escapes of backslashes and dashes in character groups +- Moved documentation from README to Gitbook for better organization + ## [1.4.0] - 2023-08-19 ### Added @@ -107,3 +123,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [1.3.3]: https://github.com/hlysine/readable-regexp/releases/tag/v1.3.3 [1.3.4]: https://github.com/hlysine/readable-regexp/releases/tag/v1.3.4 [1.4.0]: https://github.com/hlysine/readable-regexp/releases/tag/v1.4.0 +[1.5.0]: https://github.com/hlysine/readable-regexp/releases/tag/v1.5.0 diff --git a/package.json b/package.json index ad92b8c..7cf6479 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "readable-regexp", - "version": "1.4.0", + "version": "1.5.0", "author": "Henry Lin", "license": "MIT", "description": "Regular Expressions - quick and concise, readable and composable.",