Skip to content

Commit e596b4c

Browse files
authored
Use latest major versions of dependencies (#72)
Use latest major versions of dependencies * bytestring 0.12 * postgresql-simpe 0.7 * text 2.1
1 parent 0a427a6 commit e596b4c

File tree

5 files changed

+16
-12
lines changed

5 files changed

+16
-12
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@ jobs:
1414
steps:
1515
- name: Extract the tested GHC versions
1616
id: set-matrix
17-
uses: kleidukos/get-tested@0.1.6.0
17+
uses: kleidukos/get-tested@v0.1.6.0
1818
with:
19-
cabal-file: get-tested.cabal
19+
cabal-file: pg-entity.cabal
2020
ubuntu: true
2121
version: 0.1.6.0
2222
tests:
2323
name: ${{ matrix.ghc }} on ${{ matrix.os }}
24-
needs: generateMatrix
24+
needs: generate-matrix
2525
runs-on: ${{ matrix.os }}
2626
strategy:
27-
matrix: ${{ fromJSON(needs.generateMatrix.outputs.matrix) }}
27+
matrix: ${{ fromJSON(needs.generate-matrix.outputs.matrix) }}
2828
# Service containers to run with `container-job`
2929
services:
3030
# Label used to access the service container

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Revision history for Entity
22

3-
## 0.0.4.4 -- 2024-12-23
3+
## 0.0.5.0 -- 2024-01-19
4+
5+
* 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))
6+
7+
## 0.0.4.4 -- 2023-12-23
48
* Remove extraneous quoting of table name in _selectWithFields
59

610
## 0.0.4.3 -- 2023-06-26

docs/src/Tutorial.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import Database.PostgreSQL.Simple.ToField
2828
import Database.PostgreSQL.Transact (DBT)
2929
import GHC.Generics
3030

31-
import Control.Monad.Error
31+
import Control.Monad.IO.Class (MonadIO (..))
3232
import qualified Data.Time as Time
3333
import qualified Data.UUID.V4 as UUID
3434
import Database.PostgreSQL.Entity

pg-entity.cabal

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description:
55
A PostgreSQL layer to safely expand your SQL queries with a lightweight eDSL.
66
Read the tutorial at https://hackage.haskell.org/package/pg-entity/src/docs/book/index.html
77

8-
version: 0.0.4.4
8+
version: 0.0.5.0
99
homepage:
1010
https://hackage.haskell.org/package/pg-entity/src/docs/book/index.html
1111

@@ -16,7 +16,7 @@ category: Database
1616
license: MIT
1717
build-type: Simple
1818
tested-with:
19-
GHC ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.8
19+
GHC ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.8 || ==9.6.4
2020

2121
extra-source-files:
2222
CHANGELOG.md
@@ -105,18 +105,17 @@ library
105105
hs-source-dirs: src
106106
build-depends:
107107
, base >=4.12 && <5.0
108-
, bytestring ^>=0.11
108+
, bytestring ^>=0.12
109109
, colourista ^>=0.1
110110
, parsec ^>=3.1
111111
, pg-transact ^>=0.3
112-
, postgresql-simple ^>=0.6
112+
, postgresql-simple ^>=0.7
113113
, resource-pool ^>=0.4
114114
, template-haskell >=2.15.0.0 && <2.22.0.0.0
115-
, text ^>=2.0
115+
, text ^>=2.1
116116
, text-display ^>=0.0
117117
, text-manipulate ^>=0.3
118118
, time ^>=1.12
119-
, uuid ^>=1.3
120119
, vector ^>=0.13
121120

122121
if flag(prod)

test/Utils.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
module Utils where
55

66
import Control.Exception.Safe
7+
import Control.Monad (void)
78
import Control.Monad.IO.Class
89
import Control.Monad.Reader
910
import Data.ByteString (ByteString)

0 commit comments

Comments
 (0)