From e393b4bc1682492692e6494ae4b3955433220935 Mon Sep 17 00:00:00 2001 From: Georgy Lukyanov Date: Fri, 30 May 2025 13:56:05 +0200 Subject: [PATCH] Release `fs-sim-0.4.0.0` and `fs-api-0.4.0.0` --- fs-api/CHANGELOG.md | 4 +++- fs-api/fs-api.cabal | 8 +++++++- fs-sim/CHANGELOG.md | 4 +++- fs-sim/fs-sim.cabal | 10 ++++++++-- 4 files changed, 21 insertions(+), 5 deletions(-) diff --git a/fs-api/CHANGELOG.md b/fs-api/CHANGELOG.md index c9d27b7..4efcbfb 100644 --- a/fs-api/CHANGELOG.md +++ b/fs-api/CHANGELOG.md @@ -2,6 +2,8 @@ ## ?.?.?.? -- ????-??-?? +## 0.4.0.0 -- 2025-05-30 + ### Breaking * Add a new `MustExist` option to `AllowExisting`. @@ -16,6 +18,7 @@ * Make it build with `ghc-9.12`. * Drop support for `ghc-8.10` and `ghc-9.2`. +* Support `io-classes-1.8`. * Bugfix: opening a file in read mode now expects the file to exist already. This was already the semantics when using `hOpen` from the `ioHasFS` instance, but it was not reflected in the `allowExisting` function. `allowExisting @@ -23,7 +26,6 @@ * Bugfix: `hGetBufExactly` and `hGetBufExactlyAt` would previously try to read too many bytes in the presence of partial reads. These functions now properly count the number of remaining bytes that have to be read. -* Support `io-classes-1.8` ## 0.3.0.1 -- 2024-10-02 diff --git a/fs-api/fs-api.cabal b/fs-api/fs-api.cabal index 4a03e78..9a8929f 100644 --- a/fs-api/fs-api.cabal +++ b/fs-api/fs-api.cabal @@ -1,6 +1,6 @@ cabal-version: 3.0 name: fs-api -version: 0.3.0.1 +version: 0.4.0.0 synopsis: Abstract interface for the file system description: Abstract interface for the file system. license: Apache-2.0 @@ -26,6 +26,12 @@ source-repository head location: https://github.com/input-output-hk/fs-sim subdir: fs-api +source-repository this + type: git + location: https://github.com/input-output-hk/fs-sim + subdir: fs-api + tag: fs-api-0.4.0.0 + library hs-source-dirs: src exposed-modules: diff --git a/fs-sim/CHANGELOG.md b/fs-sim/CHANGELOG.md index b5597b3..ef63396 100644 --- a/fs-sim/CHANGELOG.md +++ b/fs-sim/CHANGELOG.md @@ -2,6 +2,8 @@ ## ?.?.?.? -- ????-??-?? +## 0.4.0.0 -- 2025-05-30 + ### Breaking * Fix a bug where `withErrors` would not put back the previous `Errors` when an @@ -32,8 +34,8 @@ ### Patch * Make it build with `ghc-9.12`. -* Support `io-classes-1.8`. * Drop support for `ghc-8.10` and `ghc-9.2`. +* Support `io-classes-1.8`. * Support the new `MustExist` option for `AllowExisting` that was added in `fs-api`. diff --git a/fs-sim/fs-sim.cabal b/fs-sim/fs-sim.cabal index 6c86311..6a12983 100644 --- a/fs-sim/fs-sim.cabal +++ b/fs-sim/fs-sim.cabal @@ -1,6 +1,6 @@ cabal-version: 3.0 name: fs-sim -version: 0.3.1.0 +version: 0.4.0.0 synopsis: Simulated file systems description: Simulated file systems. license: Apache-2.0 @@ -26,6 +26,12 @@ source-repository head location: https://github.com/input-output-hk/fs-sim subdir: fs-sim +source-repository this + type: git + location: https://github.com/input-output-hk/fs-sim + subdir: fs-sim + tag: fs-sim-0.4.0.0 + library hs-source-dirs: src exposed-modules: @@ -42,7 +48,7 @@ library , base16-bytestring ^>=0.1 || ^>=1.0 , bytestring ^>=0.10 || ^>=0.11 || ^>=0.12 , containers ^>=0.5 || ^>=0.6 || ^>=0.7 - , fs-api ^>=0.3 + , fs-api ^>=0.4 , io-classes ^>=1.6 || ^>=1.7 || ^>=1.8.0.1 , io-classes:strict-stm , mtl ^>=2.2 || ^>=2.3