File tree 9 files changed +56
-16
lines changed
9 files changed +56
-16
lines changed Original file line number Diff line number Diff line change @@ -13,14 +13,16 @@ jobs:
13
13
stack_yaml :
14
14
- stack-ghc-8.10.yaml
15
15
- stack-ghc-9.0.yaml
16
+ # - stack-ghc-9.2.yaml
17
+ - stack-ghc-9.4.yaml
16
18
- stack-persistent-2.13.yaml
17
19
- stack-persistent-2.14.yaml
18
20
include :
19
21
- stack_yaml : stack.yaml
20
22
latest : true
21
23
22
24
name : build_and_test (${{ matrix.stack_yaml }})
23
- runs-on : ubuntu-latest
25
+ runs-on : ubuntu-22.04
24
26
services :
25
27
postgres :
26
28
image : postgres:13.1
Original file line number Diff line number Diff line change 1
1
# Unreleased
2
2
3
+ # v0.5.0.1
4
+
5
+ * Add GHC 9.4 support
6
+
3
7
# v0.5.0.0
4
8
5
9
* Export ` SqlQueryT ` constructor ([ #46 ] ( https://github.com/brandonchinn178/persistent-mtl/pull/46 ) )
Original file line number Diff line number Diff line change 1
1
name : persistent-mtl
2
- version : 0.5.0.0
2
+ version : 0.5.0.1
3
3
maintainer :
Brandon Chinn <[email protected] >
4
4
synopsis : Monad transformer for the persistent API
5
5
description : |
@@ -19,21 +19,28 @@ github: brandonchinn178/persistent-mtl
19
19
library :
20
20
source-dirs : src
21
21
dependencies :
22
- - base >= 4.14 && < 4.16
22
+ - base >= 4.14 && < 5
23
23
- conduit >= 1.3.4 && < 1.4
24
24
- containers >= 0.6 && < 0.7
25
25
- exceptions >= 0.10 && < 0.11
26
26
- monad-logger >= 0.3 && < 0.4
27
27
- mtl >= 2.2.2 && < 2.3
28
28
- persistent >= 2.13 && < 2.15
29
- - resource-pool >= 0.2.3.2 && < 0.3
29
+ - resource-pool >= 0.2.3.2 && < 0.4
30
30
- resourcet >= 1.2.4 && < 1.3
31
- - text >= 1.2.4 && < 1.3
31
+ - text >= 1.2.4 && < 2.1
32
32
- transformers >= 0.5.6 && < 0.6
33
33
- unliftio >= 0.2 && < 0.3
34
34
- unliftio-core >= 0.2 && < 0.3
35
35
- unliftio-pool >= 0.2 && < 0.3
36
36
37
+ when :
38
+ # https://gitlab.haskell.org/ghc/ghc/-/issues/20836
39
+ - condition : >
40
+ impl(ghc >= 9.2.0) && impl(ghc < 9.3) ||
41
+ impl(ghc >= 9.4.0) && impl(ghc < 9.4.3)
42
+ buildable: false
43
+
37
44
tests :
38
45
persistent-mtl-test :
39
46
source-dirs : test
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ cabal-version: 1.12
5
5
-- see: https://github.com/sol/hpack
6
6
7
7
name : persistent-mtl
8
- version : 0.5.0.0
8
+ version : 0.5.0.1
9
9
synopsis : Monad transformer for the persistent API
10
10
description : A monad transformer and mtl-style type class for using the
11
11
persistent API directly in your monad transformer stack.
@@ -44,21 +44,24 @@ library
44
44
src
45
45
ghc-options : -Wall
46
46
build-depends :
47
- base >= 4.14 && < 4.16
47
+ base >= 4.14 && < 5
48
48
, conduit >= 1.3.4 && < 1.4
49
49
, containers == 0.6. *
50
50
, exceptions == 0.10. *
51
51
, monad-logger == 0.3. *
52
52
, mtl >= 2.2.2 && < 2.3
53
53
, persistent >= 2.13 && < 2.15
54
- , resource-pool >= 0.2.3.2 && < 0.3
54
+ , resource-pool >= 0.2.3.2 && < 0.4
55
55
, resourcet >= 1.2.4 && < 1.3
56
- , text >= 1.2.4 && < 1.3
56
+ , text >= 1.2.4 && < 2.1
57
57
, transformers >= 0.5.6 && < 0.6
58
58
, unliftio == 0.2. *
59
59
, unliftio-core == 0.2. *
60
60
, unliftio-pool == 0.2. *
61
61
default-language : Haskell2010
62
+ if impl(ghc >= 9.2.0 ) && impl(ghc < 9.3 ) || impl(ghc >= 9.4.0 ) && impl(ghc < 9.4.3 )
63
+
64
+ buildable : False
62
65
63
66
test-suite persistent-mtl-test
64
67
type : exitcode-stdio-1.0
Original file line number Diff line number Diff line change 1
- resolver : lts-19.20
1
+ resolver : lts-19.33
2
2
3
3
extra-deps :
4
4
- tasty-autocollect-0.3.0.0
Original file line number Diff line number Diff line change
1
+ resolver : lts-20.0
2
+
3
+ extra-deps :
4
+ # https://github.com/yesodweb/persistent/issues/1406#issuecomment-1226741099
5
+ - persistent-2.13.3.3
6
+
7
+ flags :
8
+ explainable-predicates :
9
+ regex : false
10
+
11
+ ghc-options :
12
+ " $locals " : -Werror
Original file line number Diff line number Diff line change
1
+ resolver : nightly-2022-11-19
2
+
3
+ extra-deps :
4
+ - tasty-autocollect-0.3.2.0
5
+
6
+ flags :
7
+ explainable-predicates :
8
+ regex : false
9
+
10
+ ghc-options :
11
+ " $locals " : -Werror
Original file line number Diff line number Diff line change @@ -7,20 +7,20 @@ packages:
7
7
- completed:
8
8
hackage: tasty-autocollect-0.3.0.0@sha256:9026c5a96bb871513a4213ae3c9105538f12bb5ad6400fe05a56c69e6fc85424,4734
9
9
pantry-tree:
10
- size: 3903
11
10
sha256: e796c1754a91aec1953da308cf5d9751a6b2bd219666fb2fe89672a244d7ba13
11
+ size: 3903
12
12
original:
13
13
hackage: tasty-autocollect-0.3.0.0
14
14
- completed:
15
15
hackage: persistent-2.13.3.3@sha256:4161988646638cfeb9e5fbd6020c25bc32718d3916b200b3b7861bb236e674d4,6839
16
16
pantry-tree:
17
- size: 6052
18
17
sha256: dedf843319b92d1f00b61ecdf1d99c550860fe01360a00dbd5c90313267b43c7
18
+ size: 6052
19
19
original:
20
20
hackage: persistent-2.13.3.3
21
21
snapshots:
22
22
- completed:
23
- size: 619173
24
- url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/19/20.yaml
25
- sha256: be747117bed6d462806c883352c3206325b23480825103f5c87884e97e52819a
26
- original: lts-19.20
23
+ sha256: 6d1532d40621957a25bad5195bfca7938e8a06d923c91bc52aa0f3c41181f2d4
24
+ size: 619204
25
+ url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/19/33.yaml
26
+ original: lts-19.33
Original file line number Diff line number Diff line change 9
9
{-# LANGUAGE StandaloneDeriving #-}
10
10
{-# LANGUAGE TemplateHaskell #-}
11
11
{-# LANGUAGE TypeFamilies #-}
12
+ {-# LANGUAGE TypeOperators #-}
12
13
{-# LANGUAGE UndecidableInstances #-}
13
14
{-# OPTIONS_GHC -Wno-missing-methods #-}
14
15
{-# OPTIONS_GHC -Wno-unused-top-binds #-}
You can’t perform that action at this time.
0 commit comments