diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c1f8756..68aef5c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,17 +14,17 @@ jobs: steps: - name: Extract the tested GHC versions id: set-matrix - uses: kleidukos/get-tested@0.1.6.0 + uses: kleidukos/get-tested@v0.1.6.0 with: - cabal-file: get-tested.cabal + cabal-file: pg-entity.cabal ubuntu: true version: 0.1.6.0 tests: name: ${{ matrix.ghc }} on ${{ matrix.os }} - needs: generateMatrix + needs: generate-matrix runs-on: ${{ matrix.os }} strategy: - matrix: ${{ fromJSON(needs.generateMatrix.outputs.matrix) }} + matrix: ${{ fromJSON(needs.generate-matrix.outputs.matrix) }} # Service containers to run with `container-job` services: # Label used to access the service container diff --git a/CHANGELOG.md b/CHANGELOG.md index e0b90f6..cac6ce1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # Revision history for Entity -## 0.0.4.4 -- 2024-12-23 +## 0.0.5.0 -- 2024-01-19 + +* Update version of `bytestring` to 0.12, `text` to 2.1 and `postgresql-simple` to 0.7 ([#72](https://github.com/tchoutri/pg-entity/pull/72)) + +## 0.0.4.4 -- 2023-12-23 * Remove extraneous quoting of table name in _selectWithFields ## 0.0.4.3 -- 2023-06-26 diff --git a/docs/src/Tutorial.hs b/docs/src/Tutorial.hs index c3d43ce..d46afe2 100644 --- a/docs/src/Tutorial.hs +++ b/docs/src/Tutorial.hs @@ -28,7 +28,7 @@ import Database.PostgreSQL.Simple.ToField import Database.PostgreSQL.Transact (DBT) import GHC.Generics -import Control.Monad.Error +import Control.Monad.IO.Class (MonadIO (..)) import qualified Data.Time as Time import qualified Data.UUID.V4 as UUID import Database.PostgreSQL.Entity diff --git a/pg-entity.cabal b/pg-entity.cabal index dc7c0f4..da8ed6a 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://hackage.haskell.org/package/pg-entity/src/docs/book/index.html -version: 0.0.4.4 +version: 0.0.5.0 homepage: https://hackage.haskell.org/package/pg-entity/src/docs/book/index.html @@ -16,7 +16,7 @@ category: Database license: MIT build-type: Simple tested-with: - GHC ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.8 + GHC ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.8 || ==9.6.4 extra-source-files: CHANGELOG.md @@ -105,18 +105,17 @@ library hs-source-dirs: src build-depends: , base >=4.12 && <5.0 - , bytestring ^>=0.11 + , bytestring ^>=0.12 , colourista ^>=0.1 , parsec ^>=3.1 , pg-transact ^>=0.3 - , postgresql-simple ^>=0.6 + , postgresql-simple ^>=0.7 , resource-pool ^>=0.4 , template-haskell >=2.15.0.0 && <2.22.0.0.0 - , text ^>=2.0 + , text ^>=2.1 , text-display ^>=0.0 , text-manipulate ^>=0.3 , time ^>=1.12 - , uuid ^>=1.3 , vector ^>=0.13 if flag(prod) diff --git a/test/Utils.hs b/test/Utils.hs index 865c340..4aae2bd 100644 --- a/test/Utils.hs +++ b/test/Utils.hs @@ -4,6 +4,7 @@ module Utils where import Control.Exception.Safe +import Control.Monad (void) import Control.Monad.IO.Class import Control.Monad.Reader import Data.ByteString (ByteString)