diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d83616..735679d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,181 +5,208 @@ Notable changes to this project are documented in this file. The format is based ## [Unreleased] Breaking changes (😱!!!): -- Non-empty combinators return `NonEmptyList` ([#102](https://github.com/purescript-contrib/purescript-parsing/pull/102)) +- Improved performance of `string` and update `StringLike` to have `stripPrefix` as a class member instead of `indexOf` (#93) +- Non-empty combinators now return `NonEmptyList` (#102) +- Added support for PureScript 0.14 and dropped support for all previous versions (#101) New features: +- Derived `Generic` instance of Position (#87) Bugfixes: Other improvements: +- Updated code to use `Data.Char.Unicode.hexDigitToInt` and `Data.Char.Unicode.isDecDigit` instead of`Data.Char.Unicode.digitToInt` and `Data.Char.Unicode.isDigit`, as those two functions have been deprecated in the `unicode` library (#103) +- Changed default branch to `main` from `master` +- Updated to comply with Contributors library guidelines by adding new issue and pull request templates, updating documentation, and migrating to Spago for local development and CI (#98) ## [v5.1.0](https://github.com/purescript-contrib/purescript-parsing/releases/tag/v5.1.0) - 2020-10-08 New features: - - Adds a `region` function similar to the [function of the same name in megaparsec](https://hackage.haskell.org/package/megaparsec-9.0.0/docs/Text-Megaparsec.html#v:region) which specifies how to process `ParseError`s which occur inside the indicated region (@jamesdbrock in #97 and #96). + +- Added a `region` function similar to the [function of the same name in megaparsec](https://hackage.haskell.org/package/megaparsec-9.0.0/docs/Text-Megaparsec.html#v:region) which specifies how to process `ParseError`s which occur inside the indicated region (@jamesdbrock in #97 and #96). Bugfixes: - - Fixes the token definitions for the Java language parser (@matoruru in #86) + +- Fixed the token definitions for the Java language parser (@matoruru in #86) ## [v5.0.3](https://github.com/purescript-contrib/purescript-parsing/releases/tag/v5.0.3) - 2019-05-06 Other improvements: - - Update escape sequences to match parsing in the latest version of the PureScript compiler (@natefaubion) - - Docs: Add a documentation comment about stack safety (@Dretch) + +- Updated escape sequences to match parsing in the latest version of the PureScript compiler (@natefaubion) +- Added a documentation comment about stack safety (@Dretch) ## [v5.0.2](https://github.com/purescript-contrib/purescript-parsing/releases/tag/v5.0.2) - 2018-11-15 Bugixes: - - Docs: Update typos in readme and documentation (@justinwoo, @rndnoise) + +- Docs: Updated typos in readme and documentation (@justinwoo, @rndnoise) ## [v5.0.1](https://github.com/purescript-contrib/purescript-parsing/releases/tag/v5.0.1) - 2018-06-23 Other improvements: - - Adds metadata including contributor guidelines - - Pushes latest release to Pursuit + +- Added metadata including contributor guidelines and pushed latest release to Pursuit ## [v5.0.0](https://github.com/purescript-contrib/purescript-parsing/releases/tag/v5.0.0) - 2018-06-19 Breaking changes: - - Updated for PureScript 0.12 + +- Updated for PureScript 0.12 ## [v4.3.1](https://github.com/purescript-contrib/purescript-parsing/releases/tag/v4.3.1) - 2017-08-08 Bugfixes: - - Fixed shadowed name warnings + +- Fixed shadowed name warnings ## [v4.3.0](https://github.com/purescript-contrib/purescript-parsing/releases/tag/v4.3.0) - 2017-07-26 New features: - - Added `tryRethrow` and improved error messages for `satisfy` and `when` (@natefaubion) + +- Added `tryRethrow` and improved error messages for `satisfy` and `when` (@natefaubion) ## [v4.2.2](https://github.com/purescript-contrib/purescript-parsing/releases/tag/v4.2.2) - 2017-06-03 Bufixes: - - Fix some issues with error messages (@safareli) + +- Fixed some issues with error messages (@safareli) ## [v4.2.1](https://github.com/purescript-contrib/purescript-parsing/releases/tag/v4.2.1) - 2017-04-25 Bufixes: - - `mapParserT` is now exported (@safareli) + +- `mapParserT` is now exported (@safareli) ## [v4.2.0](https://github.com/purescript-contrib/purescript-parsing/releases/tag/v4.2.0) - 2017-04-24 New features: - - Add `mapParserT` (@safareli) + +- Add `mapParserT` (@safareli) ## [v4.1.0](https://github.com/purescript-contrib/purescript-parsing/releases/tag/v4.1.0) - 2017-04-16 Other improvements: - - Add `Semigroup` and `Monoid` instances (@i-am-tom) + +- Add `Semigroup` and `Monoid` instances (@i-am-tom) ## [v4.0.0](https://github.com/purescript-contrib/purescript-parsing/releases/tag/v4.0.0) - 2017-04-05 Breaking changes: - - Updates for 0.11 compiler + +- Updates for 0.11 compiler ## [v3.2.1](https://github.com/purescript-contrib/purescript-parsing/releases/tag/v3.2.1) - 2017-02-15 Other improvements: - - Avoid Discard constraints (@mlang) + +- Avoid Discard constraints (@mlang) ## [v3.2.0](https://github.com/purescript-contrib/purescript-parsing/releases/tag/v3.2.0) - 2017-01-16 Bugfixes: - - Fix some `Show` instances (@mlang) + +- Fix some `Show` instances (@mlang) ## [v3.1.0](https://github.com/purescript-contrib/purescript-parsing/releases/tag/v3.1.0) - 2016-12-19 New features: - - Added `hoistParserT` - - Un-applied the `Parser` synonym + +- Added `hoistParserT` +- Un-applied the `Parser` synonym ## [v3.0.1](https://github.com/purescript-contrib/purescript-parsing/releases/tag/v3.0.1) - 2016-11-17 Bugfixes: - - Fixed shadowed name warning (@tmcgilchrist) + +- Fixed shadowed name warning (@tmcgilchrist) ## [v2.0.0](https://github.com/purescript-contrib/purescript-parsing/releases/tag/v2.0.0) - 2016-10-27 Breaking changes: - - Updates for 0.10 compiler - - Switch to `transformers`-based API, add new instances - - Use some more efficient data types - - Add port of `indents` Haskell package (@starkstark) - - Switch to BSD 3-clause license to be compatible with ported Haskell code + +- Updated for PureScript 0.10 +- Switch to `transformers`-based API, add new instances +- Use some more efficient data types +- Add port of `indents` Haskell package (@starkstark) +- Switched to BSD 3-clause license to be compatible with ported Haskell code ## [v1.0.0](https://github.com/purescript-contrib/purescript-parsing/releases/tag/v1.0.0) - 2016-06-10 Breaking changes: - - Updates for the 1.0 core libraries. + +- Updated for the 1.0 core libraries. ## [v0.8.1](https://github.com/purescript-contrib/purescript-parsing/releases/tag/v0.8.1) - 2016-05-18 Other improvements: - - Added `Eq` instance for `ParseError` (@triggerNZ) + +- Added `Eq` instance for `ParseError` (@triggerNZ) ## [v0.8.0](https://github.com/purescript-contrib/purescript-parsing/releases/tag/v0.8.0) - 2016-02-21 New features: - - Added `Language` and `Token` modules, ported from Parsec (@cdepillabout) + +- Added `Language` and `Token` modules, ported from Parsec (@cdepillabout) ## [v0.7.2](https://github.com/purescript-contrib/purescript-parsing/releases/tag/v0.7.2) - 2016-01-21 Bugfixes: - - Fixed warnings raised by psc 0.7.6.1 (@hdgarrood) + +- Fixed warnings raised by psc 0.7.6.1 (@hdgarrood) ## [v0.7.1](https://github.com/purescript-contrib/purescript-parsing/releases/tag/v0.7.1) - 2015-10-28 Other improvements: - - improve error message (@epost) + +- Improved error message (@epost) ## [v0.7.0](https://github.com/purescript-contrib/purescript-parsing/releases/tag/v0.7.0) - 2015-09-18 Other improvements: - - Bump `transformers` dependency. + +- Bumped `transformers` dependency. ## [v0.6.1](https://github.com/purescript-contrib/purescript-parsing/releases/tag/v0.6.1) - 2015-08-26 This release requires the upcoming 0.7.4.0 release of the PureScript compiler. Previous versions of this library will _not_ work with `psc` versions <= 0.7.3.0. Breaking changes: - - Updated to `transformers-0.7`. + +- Updated to `transformers-0.7`. ## [v0.5.1](https://github.com/purescript-contrib/purescript-parsing/releases/tag/v0.5.1) - 2015-08-18 Other improvements: - - Updated documentation (@kRITZCREEK) + +- Updated documentation (@kRITZCREEK) ## [v0.5.0](https://github.com/purescript-contrib/purescript-parsing/releases/tag/v0.5.0) - 2015-08-13 Other improvements: - - Bump dependencies -## [v0.4.0](https://github.com/purescript-contrib/purescript-parsing/releases/tag/v0.4.0) - 2015-06-30 - -This release works with versions 0.7.\* of the PureScript compiler. It will not work with older versions. If you are using an older version, you should require an older, compatible version of this library. +- Bump dependencies -## [v0.4.0-rc.1](https://github.com/purescript-contrib/purescript-parsing/releases/tag/v0.4.0-rc.1) - 2015-06-12 +## [v0.4.0](https://github.com/purescript-contrib/purescript-parsing/releases/tag/v0.4.0) - 2015-06-30 -Initial release for the 0.7 compiler version. +- Updated for PureScript 0.7. This release works with versions 0.7.\* of the PureScript compiler. It will not work with older versions. If you are using an older version, you should require an older, compatible version of this library. ## [v0.3.1](https://github.com/purescript-contrib/purescript-parsing/releases/tag/v0.3.1) - 2015-03-04 -Add `token`, `match` and `when` (@cryogenian) +- Added `token`, `match` and `when` (@cryogenian) ## [v0.3.0](https://github.com/purescript-contrib/purescript-parsing/releases/tag/v0.3.0) - 2015-02-21 -**This release requires PureScript v0.6.8 or later** -- Updated dependencies +- Updated dependencies. **Note: This release requires PureScript v0.6.8 or later** ## [v0.2.0](https://github.com/purescript-contrib/purescript-parsing/releases/tag/v0.2.0) - 2015-01-10 -- Update dependencies (@garyb) +- Updated dependencies (@garyb) ## [v0.1.4](https://github.com/purescript-contrib/purescript-parsing/releases/tag/v0.1.4) - 2014-11-18 -Bump for `Identity` changes. +- Bumped for `Identity` changes. ## [v0.1.0](https://github.com/purescript-contrib/purescript-parsing/releases/tag/v0.1.0) - 2014-08-11 -Initial semver release. +- Initial semver release.