Changelog
3.2.0
- Updated for
megaparsec-6
and GHC 8.2.
3.1.1
- Added instances for common typeclasses:
Generic
, NFData
, and
Hashable
. This is to avoid having users define these instances themselves
as orphans. If there are more instances you want added, please let me know.
Data
was left out on purpose.
3.1.0
- Added support for epoch numbers in the
Version
type. These are numbers
like the 1:
in 1:2.3.4
. These are used in Arch Linux in rare cases where
packages change their versioning scheme, but need a reliable integer prefix
to establish ordering. The Version
type has been given a new field,
_vEpoch :: Maybe Int
, and a corresponding lens, vEpoch
.
3.0.2
- Expose internal parsers so that they could be used in other parser programs
that parse version numbers in larger files.
3.0.0
- Updated for
megaparsec-5
and ghc-8
2.0.0
- Switched to
megaparsec
to perform all parsing as Text
- Support for legacy
String
removed
- Added more Traversals and INLINE'd all Lenses/Traversals
1.1.0
- Added Lenses and Traversals (no
lens
dependency)