Skip to content

Commit a9900ad

Browse files
authored
Merge pull request #101 from geo2a/geo2a/io-classes-1.8
Allow using io-classes 1.8
2 parents 55efd82 + 60c06ce commit a9900ad

File tree

6 files changed

+17
-15
lines changed

6 files changed

+17
-15
lines changed

.github/workflows/haskell.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ jobs:
2222
strategy:
2323
fail-fast: false
2424
matrix:
25-
ghc: ["8.10.7", "9.2.8", "9.4.8", "9.6.6", "9.8.4", "9.10.1", "9.12.1"]
25+
ghc: ["9.4.8", "9.6.7", "9.8.4", "9.10.2", "9.12.2"]
2626
cabal: ["3.14.1.1"]
27-
os: [ubuntu-latest, windows-latest, macOS-13]
27+
os: [ubuntu-latest, windows-latest, macOS-latest]
2828
no-debug: [""]
2929
include:
30-
- ghc: "9.6.6"
30+
- ghc: "9.6.7"
3131
cabal: "3.12.1.0"
3232
os: ubuntu-latest
3333
no-debug: "no-debug"
@@ -116,7 +116,7 @@ jobs:
116116
strategy:
117117
fail-fast: false
118118
matrix:
119-
ghc: ["9.6.6"]
119+
ghc: ["9.6.7"]
120120
cabal: ["3.12.1.0"]
121121
os: [ubuntu-latest]
122122

@@ -128,7 +128,7 @@ jobs:
128128
# an argument to cabal install. This ensures that we never rebuild
129129
# dependencies because of newly uploaded packages unless we want to.
130130
env:
131-
hackage-index-state: "2024-04-10T14:36:07Z"
131+
hackage-index-state: "2025-05-26T13:28:18Z"
132132

133133
steps:
134134
- name: Checkout repository
@@ -183,14 +183,14 @@ jobs:
183183
strategy:
184184
fail-fast: false
185185
matrix:
186-
ghc: ["9.6.6"]
186+
ghc: ["9.6.7"]
187187
cabal: ["3.12.1.0"]
188188
os: [ubuntu-latest]
189189

190190
# See the comment on the hackage-index-state environment variable for the
191191
# stylish-haskell job.
192192
env:
193-
hackage-index-state: "2024-04-10T14:36:07Z"
193+
hackage-index-state: "2025-05-26T13:28:18Z"
194194

195195
steps:
196196
- name: Checkout repository
@@ -245,7 +245,7 @@ jobs:
245245
strategy:
246246
fail-fast: false
247247
matrix:
248-
ghc: ["9.6.6"]
248+
ghc: ["9.6.7"]
249249
cabal: ["3.10.3.0"]
250250
os: [ubuntu-latest]
251251

cabal.project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
index-state:
22
-- Bump this if you need newer packages from Hackage
3-
, hackage.haskell.org 2025-02-11T00:00:00Z
3+
, hackage.haskell.org 2025-05-26T13:28:18Z
44

55
packages:
66
fs-api

fs-api/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,15 @@
1515
### Patch
1616

1717
* Make it build with `ghc-9.12`.
18+
* Drop support for `ghc-8.10` and `ghc-9.2`.
1819
* Bugfix: opening a file in read mode now expects the file to exist already.
1920
This was already the semantics when using `hOpen` from the `ioHasFS` instance,
2021
but it was not reflected in the `allowExisting` function. `allowExisting
2122
Readmode` now returns `MustExist` instead of `AllowExisting`.
2223
* Bugfix: `hGetBufExactly` and `hGetBufExactlyAt` would previously try to read
2324
too many bytes in the presence of partial reads. These functions now properly
2425
count the number of remaining bytes that have to be read.
26+
* Support `io-classes-1.8`
2527

2628
## 0.3.0.1 -- 2024-10-02
2729

fs-api/fs-api.cabal

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ extra-doc-files:
1919
CHANGELOG.md
2020
README.md
2121

22-
tested-with:
23-
GHC ==8.10 || ==9.2 || ==9.4 || ==9.6 || ==9.8 || ==9.10 || ==9.12
22+
tested-with: GHC ==9.4 || ==9.6 || ==9.8 || ==9.10 || ==9.12
2423

2524
source-repository head
2625
type: git
@@ -49,7 +48,7 @@ library
4948
, digest ^>=0.0
5049
, directory ^>=1.3
5150
, filepath ^>=1.4 || ^>=1.5
52-
, io-classes ^>=1.6 || ^>=1.7
51+
, io-classes ^>=1.6 || ^>=1.7 || ^>=1.8
5352
, primitive ^>=0.9
5453
, safe-wild-cards ^>=1.0
5554
, text ^>=1.2 || ^>=2.0 || ^>=2.1

fs-sim/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
### Patch
3333

3434
* Make it build with `ghc-9.12`.
35+
* Support `io-classes-1.8`.
36+
* Drop support for `ghc-8.10` and `ghc-9.2`.
3537
* Support the new `MustExist` option for `AllowExisting` that was added in
3638
`fs-api`.
3739

fs-sim/fs-sim.cabal

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ extra-doc-files:
1919
CHANGELOG.md
2020
README.md
2121

22-
tested-with:
23-
GHC ==8.10 || ==9.2 || ==9.4 || ==9.6 || ==9.8 || ==9.10 || ==9.12
22+
tested-with: GHC ==9.4 || ==9.6 || ==9.8 || ==9.10 || ==9.12
2423

2524
source-repository head
2625
type: git
@@ -44,7 +43,7 @@ library
4443
, bytestring ^>=0.10 || ^>=0.11 || ^>=0.12
4544
, containers ^>=0.5 || ^>=0.6 || ^>=0.7
4645
, fs-api ^>=0.3
47-
, io-classes ^>=1.6 || ^>=1.7
46+
, io-classes ^>=1.6 || ^>=1.7 || ^>=1.8
4847
, io-classes:strict-stm
4948
, mtl ^>=2.2 || ^>=2.3
5049
, primitive ^>=0.9

0 commit comments

Comments
 (0)