Skip to content

Commit e038325

Browse files
committed
Add microlens upper bound in cardano-prelude
`microlens-0.5` removes functionality from `Lens.Micro.Internal` that was being used in `cardano-prelude` so for now add upper bound. This breaking change affected more than one version of `prelude`.
1 parent 28c1861 commit e038325

File tree

10 files changed

+387
-0
lines changed

10 files changed

+387
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
timestamp = 2022-10-17T00:00:00Z
22
github = { repo = "input-output-hk/cardano-prelude", rev = "f3c145a7f67fe1c1e04828c68fc15608e0debd43" }
33
subdir = 'cardano-prelude'
4+
5+
[[revisions]]
6+
number = 1
7+
timestamp = 2025-09-30T00:01:00Z
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
cabal-version: 2.2
2+
3+
name: cardano-prelude
4+
version: 0.1.0.1
5+
synopsis: A Prelude replacement for the Cardano project
6+
description: A Prelude replacement for the Cardano project
7+
license: MIT
8+
license-file: LICENSE
9+
author: IOHK
10+
maintainer: [email protected]
11+
copyright: 2018-2022 IOHK
12+
category: Currency
13+
build-type: Simple
14+
extra-source-files: ChangeLog.md, README.md cbits/hashset.h cbits/worklist.h
15+
16+
flag development
17+
description: Disable `-Werror`
18+
default: False
19+
manual: True
20+
21+
library
22+
hs-source-dirs: src
23+
exposed-modules: Cardano.Prelude
24+
Data.Semigroup.Action
25+
other-modules: Cardano.Prelude.Base
26+
Cardano.Prelude.Compat
27+
Cardano.Prelude.Compat.ByteString.Short
28+
Cardano.Prelude.Error
29+
Cardano.Prelude.Formatting
30+
Cardano.Prelude.GHC.Heap
31+
Cardano.Prelude.GHC.Heap.NormalForm
32+
Cardano.Prelude.GHC.Heap.Size
33+
Cardano.Prelude.GHC.Heap.Tree
34+
Cardano.Prelude.Json.Canonical
35+
Cardano.Prelude.Json.Parse
36+
Cardano.Prelude.Microlens
37+
Cardano.Prelude.Orphans
38+
Cardano.Prelude.Strict
39+
40+
build-depends: base >= 4.14 && < 4.18
41+
, aeson
42+
, base16-bytestring >= 1
43+
, bytestring
44+
, canonical-json
45+
, cborg
46+
, containers
47+
, formatting
48+
, ghc-heap
49+
, ghc-prim
50+
, integer-gmp
51+
, microlens < 0.5
52+
, mtl
53+
, protolude
54+
, tagged
55+
, text
56+
, time
57+
default-language: Haskell2010
58+
default-extensions: NoImplicitPrelude
59+
c-sources: cbits/hashset.c
60+
cbits/worklist.c
61+
cbits/closure_size.c
62+
ghc-options: -Wall
63+
64+
cc-options: -Wall
65+
66+
if (!flag(development))
67+
ghc-options: -Werror
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
timestamp = 2023-04-24T15:32:00Z
22
github = { repo = "input-output-hk/cardano-prelude", rev = "ef87bb9db808d08641bb11c1a36d038aff421f58" }
33
subdir = 'cardano-prelude'
4+
5+
[[revisions]]
6+
number = 1
7+
timestamp = 2025-09-29T23:59:47Z
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
cabal-version: 2.2
2+
3+
name: cardano-prelude
4+
version: 0.1.0.2
5+
synopsis: A Prelude replacement for the Cardano project
6+
description: A Prelude replacement for the Cardano project
7+
author: IOHK
8+
maintainer: [email protected]
9+
copyright: 2018-2022 IOHK
10+
license: Apache-2.0
11+
license-files:
12+
LICENSE
13+
NOTICE
14+
category: Currency
15+
build-type: Simple
16+
extra-source-files: ChangeLog.md, README.md cbits/hashset.h cbits/worklist.h
17+
tested-with: GHC == 9.2.5, GHC == 8.10.7
18+
19+
flag development
20+
description: Disable `-Werror`
21+
default: False
22+
manual: True
23+
24+
library
25+
hs-source-dirs: src
26+
exposed-modules: Cardano.Prelude
27+
Data.Semigroup.Action
28+
other-modules: Cardano.Prelude.Base
29+
Cardano.Prelude.Compat
30+
Cardano.Prelude.Compat.ByteString.Short
31+
Cardano.Prelude.Error
32+
Cardano.Prelude.Formatting
33+
Cardano.Prelude.GHC.Heap
34+
Cardano.Prelude.GHC.Heap.NormalForm
35+
Cardano.Prelude.GHC.Heap.Size
36+
Cardano.Prelude.GHC.Heap.Tree
37+
Cardano.Prelude.Json.Canonical
38+
Cardano.Prelude.Json.Parse
39+
Cardano.Prelude.Microlens
40+
Cardano.Prelude.Orphans
41+
Cardano.Prelude.Strict
42+
43+
build-depends: base >= 4.14 && < 4.19
44+
, aeson
45+
, base16-bytestring >= 1
46+
, bytestring
47+
, canonical-json >= 0.6.0.1
48+
, cborg
49+
, containers
50+
, formatting
51+
, ghc-heap
52+
, ghc-prim
53+
, integer-gmp
54+
, microlens < 0.5
55+
, mtl
56+
, protolude
57+
, tagged
58+
, text
59+
, time
60+
default-language: Haskell2010
61+
default-extensions: NoImplicitPrelude
62+
c-sources: cbits/hashset.c
63+
cbits/worklist.c
64+
cbits/closure_size.c
65+
ghc-options: -Wall
66+
67+
cc-options: -Wall
68+
69+
if (!flag(development))
70+
ghc-options: -Werror
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
timestamp = 2023-11-16T05:01:28Z
22
github = { repo = "input-output-hk/cardano-prelude", rev = "a6f18f78f325c0c5d33877ecb99d7fe6b282f35c" }
33
subdir = 'cardano-prelude'
4+
5+
[[revisions]]
6+
number = 1
7+
timestamp = 2025-09-29T23:58:05Z
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
cabal-version: 2.2
2+
3+
name: cardano-prelude
4+
version: 0.1.0.4
5+
synopsis: A Prelude replacement for the Cardano project
6+
description: A Prelude replacement for the Cardano project
7+
author: IOHK
8+
maintainer: [email protected]
9+
copyright: 2018-2023 Input Output Global Inc (IOG)
10+
license: Apache-2.0
11+
license-files:
12+
LICENSE
13+
NOTICE
14+
category: Currency
15+
build-type: Simple
16+
extra-source-files: ChangeLog.md, README.md cbits/hashset.h cbits/worklist.h
17+
tested-with: GHC == 9.2.5, GHC == 8.10.7
18+
19+
flag development
20+
description: Disable `-Werror`
21+
default: False
22+
manual: True
23+
24+
library
25+
hs-source-dirs: src
26+
exposed-modules: Cardano.Prelude
27+
Data.Semigroup.Action
28+
other-modules: Cardano.Prelude.Base
29+
Cardano.Prelude.Compat
30+
Cardano.Prelude.Compat.ByteString.Short
31+
Cardano.Prelude.Error
32+
Cardano.Prelude.Formatting
33+
Cardano.Prelude.GHC.Heap
34+
Cardano.Prelude.GHC.Heap.NormalForm
35+
Cardano.Prelude.GHC.Heap.Size
36+
Cardano.Prelude.GHC.Heap.Tree
37+
Cardano.Prelude.Json.Canonical
38+
Cardano.Prelude.Json.Parse
39+
Cardano.Prelude.Microlens
40+
Cardano.Prelude.Orphans
41+
Cardano.Prelude.Strict
42+
43+
build-depends: base >= 4.14 && < 5
44+
, aeson >= 2.0
45+
, base16-bytestring >= 1
46+
, bytestring
47+
, canonical-json >= 0.6.0.1
48+
, cborg
49+
, containers
50+
, formatting
51+
, ghc-heap
52+
, ghc-prim
53+
, integer-gmp
54+
, microlens < 0.5
55+
, mtl
56+
, protolude
57+
, tagged
58+
, text
59+
, time
60+
default-language: Haskell2010
61+
default-extensions: NoImplicitPrelude
62+
c-sources: cbits/hashset.c
63+
cbits/worklist.c
64+
cbits/closure_size.c
65+
ghc-options: -Wall
66+
67+
cc-options: -Wall
68+
69+
if (!flag(development))
70+
ghc-options: -Werror
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
timestamp = 2024-06-12T07:10:17Z
22
github = { repo = "IntersectMBO/cardano-prelude", rev = "273167c18b7b03c654765c023fc5b52b41a7df6e" }
33
subdir = 'cardano-prelude'
4+
5+
[[revisions]]
6+
number = 1
7+
timestamp = 2025-09-29T23:56:59Z
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
cabal-version: 2.2
2+
3+
name: cardano-prelude
4+
version: 0.2.0.0
5+
synopsis: A Prelude replacement for the Cardano project
6+
description: A Prelude replacement for the Cardano project
7+
author: IOHK
8+
maintainer: [email protected]
9+
copyright: 2018-2023 Input Output Global Inc (IOG)
10+
license: Apache-2.0
11+
license-files:
12+
LICENSE
13+
NOTICE
14+
category: Currency
15+
build-type: Simple
16+
extra-source-files: ChangeLog.md, README.md cbits/hashset.h cbits/worklist.h
17+
tested-with: GHC == 9.2.5, GHC == 8.10.7
18+
19+
flag development
20+
description: Disable `-Werror`
21+
default: False
22+
manual: True
23+
24+
library
25+
hs-source-dirs: src
26+
exposed-modules: Cardano.Prelude
27+
Data.Semigroup.Action
28+
other-modules: Cardano.Prelude.Base
29+
Cardano.Prelude.Bool
30+
Cardano.Prelude.ConvertText
31+
Cardano.Prelude.Compat.ByteString.Short
32+
Cardano.Prelude.Either
33+
Cardano.Prelude.Error
34+
Cardano.Prelude.Formatting
35+
Cardano.Prelude.Functor
36+
Cardano.Prelude.GHC.Heap
37+
Cardano.Prelude.GHC.Heap.NormalForm
38+
Cardano.Prelude.GHC.Heap.Size
39+
Cardano.Prelude.GHC.Heap.Tree
40+
Cardano.Prelude.Json.Canonical
41+
Cardano.Prelude.Json.Parse
42+
Cardano.Prelude.Microlens
43+
Cardano.Prelude.Orphans
44+
Cardano.Prelude.Panic
45+
Cardano.Prelude.Read
46+
Cardano.Prelude.Safe
47+
Cardano.Prelude.Show
48+
Cardano.Prelude.Strict
49+
50+
build-depends: base >= 4.14 && < 5
51+
, aeson >= 2.0
52+
, async
53+
, base16-bytestring >= 1
54+
, bytestring
55+
, canonical-json >= 0.6.0.1
56+
, cborg
57+
, containers
58+
, deepseq
59+
, extra
60+
, formatting
61+
, ghc-heap
62+
, ghc-prim
63+
, integer-gmp
64+
, microlens < 0.5
65+
, mtl
66+
, stm
67+
, tagged
68+
, text
69+
, time
70+
, transformers
71+
default-language: Haskell2010
72+
c-sources: cbits/hashset.c
73+
cbits/worklist.c
74+
cbits/closure_size.c
75+
ghc-options: -Wall
76+
77+
cc-options: -Wall
78+
79+
if (!flag(development))
80+
ghc-options: -Werror
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
timestamp = 2025-01-13T22:30:16Z
22
github = { repo = "IntersectMBO/cardano-prelude/", rev = "68e015f6e7f17e67d8dbf16bc1590b926d064962" }
33
subdir = 'cardano-prelude'
4+
5+
[[revisions]]
6+
number = 1
7+
timestamp = 2025-09-29T23:47:47Z

0 commit comments

Comments
 (0)