Skip to content

Releases: purescript-contrib/purescript-string-parsers

v8.0.0

27 Apr 21:54
518038c
Compare
Choose a tag to compare

Breaking changes:

v7.0.0

10 Mar 12:49
Compare
Choose a tag to compare

Breaking changes:

  • Issue #77: Fix CodePoint parser quadratic performance (#83 by @chtenb). The parser now tracks the remaining unparsed substring. This change is breaking, but will trigger compile errors in all places where this definition is used.
  • Fix semantics of endBy and sepEndBy parser combinators (#84 by @chtenb)
  • Issue #78: Remove the Text.Parsing prefix from the modules (#89 by @chtenb)

New features:

  • Introduce code point parsers anyCodePoint, codePoint' and satisfyCodePoint (#88 by @chtenb)

Bugfixes:

  • Do not export chainl' and chainr' helper functions (#84 by @chtenb)
  • Issue #69: Fix regex parser to always wrap pattern inside ^(..) (#80 by @chtenb)
  • Issue #75: Make many and cousins terminate when the inner parser does not consume, instead of hang indefinitely (#87 by @chtenb)
  • Issue #73: lookAhead consumes input on failure. Introduce tryAhead and correct documentation for lookAhead (#86 by @chtenb)

Other improvements:

  • Added purs-tidy formatter (#76 by @thomashoneyman)
  • Add a benchmark module (#79 by @chtenb)
  • Run slowest tests last and print status updates (#72)
  • Re-export the main API from a single module (StringParser) (#89 by @chtenb)

v6.0.1

11 May 21:12
7c3cad8
Compare
Choose a tag to compare

Other improvements:

  • Fix transitive dependencies errors found by Spago 0.20 (#71 by @milesfrain)

v6.0.0

26 Feb 22:08
2183214
Compare
Choose a tag to compare

Breaking changes:

  • Added support for PureScript 0.14 and dropped support for all previous versions (#63)
  • Improved default error type and added printParserError (#57)

New features:

  • Added a Monoid instance for Parser (#58)

Bugfixes:

Other improvements:

  • Changed ParseError from data to a newtype (#60)
  • Added usage examples to test/Examples.purs (#52)
  • 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 (#53, #61)

v5.0.1

16 Oct 15:28
Compare
Choose a tag to compare
  • Fix CodePoint.anyChar parser, so that it fails rather than splitting up surrogate pairs (#46, @rintcius)

v5.0.0

27 Jul 15:41
ff023be
Compare
Choose a tag to compare

Splits CodePoint and CodeUnit functions into separate namespaces #44

v4.0.1

23 Jun 00:41
Compare
Choose a tag to compare
  • Adds metadata including contributor guidelines
  • Pushes latest release to Pursuit

v4.0.0

31 May 11:21
7f75409
Compare
Choose a tag to compare

Updates for 0.12

Breaking Changes:

Changed many1, sepBy1, sepEndBy1, endBy1, and many1Till to return NonEmptyList

v3.1.0

17 Nov 19:20
Compare
Choose a tag to compare

Add Semigroup instance (@dwhitney)

v3.0.1

24 Apr 15:50
Compare
Choose a tag to compare

Fix overflow caused by manyTill implementation (@justinwoo)