- Drop support for GHCs prior 8.6.5
- Move
many1 :: ParsecT s u m a -> ParsecT s u m [a]
toText.Parsec.Prim
. DropStream
constraint requirement. - Change the position comparison in
mergeError
to not compare source names. This doesn't alter reported error positions when only a single source is parsed. This fixes performance issue caused by long source names. - Add
Exception ParseError
instance
- Add
tokens'
andstring'
combinators which don't consume the prefix.
- Add
INLINABLE
pragmas to most overloaded combinators - Support recent versions of dependencies
- Fix memory leak in
>>=
#127
-
Add
parseFromFile
toText.Parsec.Text.Lazy
andText.Parsec.Text
(#103, #104). -
Clarify Haddock documentation in various places (#105,#101,#102).
-
Add support for
base-4.13
.
-
Add official support for
SafeHaskell
NOTE: This is the first version whose
SafeHaskell
properties have become an intentional part of the API contract; previous versions were merely accidentally safe-inferred (or not depending on various factors; in other words, this was a fragile property). If you rely onSafeHaskell
to consider module imports fromparsec
safe, this is the first version ofparsec
which actually guarantees a well-defined state; you can declare this requirement by either specifyingbuild-depends: parsec >= 3.1.13.0 && < 3.2
or, starting with
cabal-version:2.0
, viabuild-depends: parsec ^>= 3.1.13.0
-
Drop support for GHC 7.0, GHC 7.2, and GHC 7.4.1; support window starts with GHC 7.4.2.
-
Support limited to GHC 7.0 & GHC 7.2 only
-
Add
MonadFail
instance forParsecT
-
Add
Semigroup
/Monoid
instances forParsecT
(#80,#82) -
Fix space leak in Applicative/Monad interface (#37)
-
Add
parserTrace
andparserTraced
combinators for debugging.
- Include
README.md
in package.
- Most types now have a
Typeable
instance. Some instances are dropped from older versions of GHC (sorry about that!). - The token-parser now rejects Unicode numeric escape sequences for characters outside the Unicode range.
- The token-parser now loses less precision when parsing literal doubles.
- Documentation fixes and corrections.
- We no longer test parsec builds on GHC 7.4.
- Many and various updates to documentation and package description (including the homepage links).
- Add an
Eq
instance forParseError
- Fixed a regression from 3.1.6:
runP
is again exported from module Text.Parsec.
- Fix a regression from 3.1.6 related to exports from the main module.
- Fix a regression from 3.1.6 related to the reported position of error messages. See bug #9 for details.
- Reset the current error position on success of
lookAhead
.
- Export
Text
instances from Text.Parsec - Make Text.Parsec exports more visible
- Re-arrange Text.Parsec exports
- Add functions
crlf
andendOfLine
to Text.Parsec.Char for handling input streams that do not have normalized line terminators. - Fix off-by-one error in Token.charControl
- Relax dependency on
text
- Relax dependency on
text
- Fix a regression introduced in 3.1.2 related to positions reported by error messages.