Skip to content

Commit

Permalink
release: 6.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
fosskers committed Oct 12, 2023
1 parent eda1f11 commit 2f923fe
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# Changelog

## 6.0.2 (2023-10-12)

#### Added

- `Lift` instances for the various types, which allows parsing version numbers
at compile time within Template Haskell quotes. Currently there is no exported
function that supports this directly, but you could write one like:

```haskell
-- | Parse a `Versioning` at compile time.
thVer :: Text -> Q Exp
thVer nm =
case versioning nm of
Left err -> fail (errorBundlePretty err)
Right v -> lift v
```

#### Changed

- Due to the new dependency on `template-haskell`, GHC 8.8 is now the lowest
supported compiler version.

## 6.0.1 (2023-05-08)

#### Fixed
Expand Down
2 changes: 1 addition & 1 deletion versions.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 2.2
name: versions
version: 6.0.1
version: 6.0.2
synopsis: Types and parsers for software version numbers.
description:
A library for parsing and comparing software version numbers. We like to give
Expand Down

0 comments on commit 2f923fe

Please sign in to comment.