Changelog for versions-3.4.0.1
Changelog
3.4.0.1
- Enhanced the whitespace handling in
semver',version', andmess'.
3.4.0
- Removed
ParseVand surrounding machinery. Useversioningnow instead of theparseVfunction.
3.3.2
- GHC 8.4.1 compatibility.
3.3.0
- New
Semantictypeclass that provides Traversals for SemVer-like data out of all the version types.Textwas also given an instance, so its much easier to manipulate directly:
λ "1.2.3" & minor %~ (+ 1)
"1.3.3"
Some Lenses and Traversals had their names changed or were removed entirely to accomodate this new typeclass.
SemVerandVersionshould never contain negative values, so their numeric components were changed fromInttoWord.
3.2.0
- Updated for
megaparsec-6and GHC 8.2.
3.1.1
- Added instances for common typeclasses:
Generic,NFData, andHashable. This is to avoid having users define these instances themselves as orphans. If there are more instances you want added, please let me know.Datawas left out on purpose.
3.1.0
- Added support for epoch numbers in the
Versiontype. These are numbers like the1:in1: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. TheVersiontype 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-5andghc-8
2.0.0
- Switched to
megaparsecto perform all parsing asText - Support for legacy
Stringremoved - Added more Traversals and INLINE'd all Lenses/Traversals
1.1.0
- Added Lenses and Traversals (no
lensdependency)