From 5152e1cef7de463d7c7926eaa00eee1a7f8f834c Mon Sep 17 00:00:00 2001 From: Simon Jakobi Date: Thu, 4 Feb 2021 04:31:51 +0100 Subject: [PATCH 1/5] Updates for GHC 9.0 --- vault.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vault.cabal b/vault.cabal index 1788aee..b1f9ea8 100644 --- a/vault.cabal +++ b/vault.cabal @@ -48,7 +48,7 @@ flag UseGHC Library hs-source-dirs: src - build-depends: base >= 4.5 && < 4.15, + build-depends: base >= 4.5 && < 4.16, containers >= 0.4 && < 0.7, unordered-containers >= 0.2.3.0 && < 0.3, hashable >= 1.1.2.5 && < 1.4 From edbcd05b933983de3adc9a9eb54b539daa91125f Mon Sep 17 00:00:00 2001 From: Simon Jakobi Date: Fri, 19 Feb 2021 10:35:31 +0100 Subject: [PATCH 2/5] Adjust cabal-version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit … in response to this warning: Warning: vault.cabal:57:45: version operators used. To use version operators the package needs to specify at least 'cabal-version: >= 1.8'. --- vault.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vault.cabal b/vault.cabal index b1f9ea8..7353b80 100644 --- a/vault.cabal +++ b/vault.cabal @@ -20,7 +20,7 @@ Homepage: https://github.com/HeinrichApfelmus/vault Copyright: (c) Heinrich Apfelmus 2011-2013 build-type: Simple -cabal-version: >= 1.6 +cabal-version: >= 1.8 Tested-With: GHC == 7.6.3 ,GHC == 7.8.4 ,GHC == 7.10.3 From 5ca45aadb135812eb8ffa5254daf1b780ee129fe Mon Sep 17 00:00:00 2001 From: Simon Jakobi Date: Fri, 19 Feb 2021 10:41:06 +0100 Subject: [PATCH 3/5] Bump version and add changelog entry --- CHANGELOG.md | 5 +++++ vault.cabal | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9eebf01..4507757 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ ## Changelog for the `vault` package +**0.3.1.5** + +* Compatibility with GHC-9.0 + * Bump dependencies to allow `base >= 4.5 && < 4.16` + **0.3.1.4** * Compatibility with GHC-8.10 diff --git a/vault.cabal b/vault.cabal index 7353b80..1a4507c 100644 --- a/vault.cabal +++ b/vault.cabal @@ -1,5 +1,5 @@ Name: vault -Version: 0.3.1.4 +Version: 0.3.1.5 Synopsis: a persistent store for values of arbitrary types Description: A /vault/ is a persistent store for values of arbitrary types. From 8ff485412cba8094e3f86a7bcea41e27fbdb36dc Mon Sep 17 00:00:00 2001 From: Simon Jakobi Date: Fri, 19 Feb 2021 10:46:23 +0100 Subject: [PATCH 4/5] Adjust to Hackage requirement for cabal-version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit … `>= 1.10`. --- vault.cabal | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vault.cabal b/vault.cabal index 1a4507c..7bf5454 100644 --- a/vault.cabal +++ b/vault.cabal @@ -20,7 +20,7 @@ Homepage: https://github.com/HeinrichApfelmus/vault Copyright: (c) Heinrich Apfelmus 2011-2013 build-type: Simple -cabal-version: >= 1.8 +cabal-version: >= 1.10 Tested-With: GHC == 7.6.3 ,GHC == 7.8.4 ,GHC == 7.10.3 @@ -56,7 +56,8 @@ Library if impl(ghc < 8.0) build-depends: semigroups >= 0.1 && < 1.0 - extensions: CPP + default-language: Haskell2010 + default-extensions: CPP ghc-options: -Wall -fno-warn-missing-signatures exposed-modules: From 3eb21d8e9cbd7b5181aae62d493541a286868b49 Mon Sep 17 00:00:00 2001 From: Simon Jakobi Date: Fri, 19 Feb 2021 10:52:32 +0100 Subject: [PATCH 5/5] Amend changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4507757..e1221f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ * Compatibility with GHC-9.0 * Bump dependencies to allow `base >= 4.5 && < 4.16` +* Depend on `semigroups` only with `GHC < 8.0` **0.3.1.4**