From 1578603b0040742e8bdadc364f8b18028027ed98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Choutri?= Date: Sun, 28 Aug 2022 21:34:49 +0200 Subject: [PATCH] Prepare 0.0.2.0 release (#50) * Bump version to 0.0.2.0 * Update Changelog * Fix 'time' bound * Restrict cabal-install versions --- .github/workflows/ci.yml | 2 +- CHANGELOG.md | 4 +++- README.md | 6 +----- pg-entity.cabal | 12 ++++++------ 4 files changed, 11 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 128771a..769b3a1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - cabal: ["3.4.0.0", "3.6.2.0", "3.8.1.0"] + cabal: ["3.8.1.0"] ghc: ["8.8.4", "8.10.7", "9.0.2", "9.2.4"] steps: - uses: actions/checkout@v3 diff --git a/CHANGELOG.md b/CHANGELOG.md index 85d853d..cb8abe9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ # Revision history for Entity -## 0.0.2.0 -- YYYY-mm-dd +## 0.0.2.0 -- 2022-08-27 + +This is an experimental release * Add `queryOne_`, which takes no params and returns 0 or 1 results. * Add `FieldModifiers` deriving option, which takes multiple modifiers: diff --git a/README.md b/README.md index 81680c3..2c7aa19 100644 --- a/README.md +++ b/README.md @@ -57,11 +57,7 @@ extra-deps: - pg-entity-0.0.1.0 ``` -The following GHC versions are supported: - -* 8.8 -* 8.10 -* 9.0 +* [List of supported GHC versions](https://github.com/tchoutri/pg-entity/blob/main/pg-entity.cabal#L16) ## Documentation diff --git a/pg-entity.cabal b/pg-entity.cabal index 340879e..507f1a6 100644 --- a/pg-entity.cabal +++ b/pg-entity.cabal @@ -5,7 +5,7 @@ description: A PostgreSQL layer to safely expand your SQL queries with a lightweight eDSL. Read the tutorial at https://tchoutri.github.io/pg-entity/Tutorial -version: 0.0.1.0 +version: 0.0.2.0 homepage: https://tchoutri.github.io/pg-entity bug-reports: https://github.com/tchoutri/pg-entity/issues author: Théophile Choutri @@ -85,22 +85,22 @@ library hs-source-dirs: src build-depends: , base >=4.12 && <=4.18 - , bytestring ^>=0.10 + , bytestring ^>=0.11 , colourista ^>=0.1 , exceptions ^>=0.10 , monad-control ^>=1.0 - , parsec ^>=3.1.14.0 + , parsec ^>=3.1 , pg-transact ^>=0.3 , postgresql-simple ^>=0.6 , resource-pool ^>=0.3 , safe-exceptions ^>=0.1 , template-haskell >=2.15.0.0 && <=2.18.0.0 - , text ^>=1.2 + , text ^>=2.0 , text-display ^>=0.0 , text-manipulate ^>=0.3 - , time ^>=1.9 + , time ^>=1.12 , uuid ^>=1.3 - , vector ^>=0.12 + , vector ^>=0.13 if !flag(prod) cpp-options: -DPROD