Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use latest major versions of dependencies #72

Merged
merged 5 commits into from
Jan 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/src/Tutorial.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 5 additions & 6 deletions pg-entity.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions test/Utils.hs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
module Utils where

import Control.Exception.Safe
import Control.Monad (void)

Check warning on line 7 in test/Utils.hs

View workflow job for this annotation

GitHub Actions / 8.8.4 on ubuntu-latest

The import of ‘Control.Monad’ is redundant

Check warning on line 7 in test/Utils.hs

View workflow job for this annotation

GitHub Actions / 8.10.7 on ubuntu-latest

The import of ‘Control.Monad’ is redundant

Check warning on line 7 in test/Utils.hs

View workflow job for this annotation

GitHub Actions / 9.0.2 on ubuntu-latest

The import of ‘Control.Monad’ is redundant

Check warning on line 7 in test/Utils.hs

View workflow job for this annotation

GitHub Actions / 9.2.8 on ubuntu-latest

The import of ‘Control.Monad’ is redundant

Check warning on line 7 in test/Utils.hs

View workflow job for this annotation

GitHub Actions / 9.4.8 on ubuntu-latest

The import of ‘Control.Monad’ is redundant
import Control.Monad.IO.Class
import Control.Monad.Reader
import Data.ByteString (ByteString)
Expand Down
Loading