# 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]
## [0.2.0] - 2022-08-17
## Added
- `parser` module, contains parse function, `Item` type and `Error`.
- `Generator` trait for custom generators.
- `Tag` type for standard tag variants.
- `TagConvertor` trait for convert raw tag string into Tag type with custom color and modifier type.
- `generator::helper` module for helper functions to write generator, including `unescape`, `CustomTagParser`, `GeneratorInfallible`, `flatten` etc.
- Add `tui` feature for enable builtin generators for tui crate: `TuiTextGenerator`.
- Add `ansi` feature for enable built in generator for ansi terminal string: `ANSIStringsGenerator`.
- `LocateError` trait for get location of error in source text.
- `compile_with` entry function for use a custom configured generator.
## Changed
- Entry function renamed from `parse` to `compile`, use default instance of a generator type.
- Root `Error` type changed from `(usize, usize)` to a enum type, for better error reporting.
- Bump `tui` version to `0.19`.
## [0.1.1] - 2022-08-14
### Fixed
- backslash(`\`) is missing from the parsed result.
## [0.1.0] - 2022-08-13
- First release.
[Unreleased]: https://github.com/7sDream/tui-markup/compare/v0.2.0..HEAD
[0.2.0]: https://github.com/7sDream/tui-markup/compare/v0.1.1..v0.2.0
[0.1.1]: https://github.com/7sDream/tui-markup/compare/v0.1.0..v0.1.1
[0.1.0]: https://github.com/7sDream/tui-markup/releases/tag/v0.1.0