Skip to content

Release fs-sim-0.4.0.0 and fs-api-0.4.0.0 #102

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions fs-api/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## ?.?.?.? -- ????-??-??

## 0.4.0.0 -- 2025-05-30

### Breaking

* Add a new `MustExist` option to `AllowExisting`.
Expand All @@ -15,15 +17,15 @@
### Patch

* Make it build with `ghc-9.12`.
* Drop support for `ghc-8.10` and `ghc-9.2`.
* Support `io-classes-1.8.0.1`.
* Drop support for `ghc-8.10`.
* 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
Readmode` now returns `MustExist` instead of `AllowExisting`.
* 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

Expand Down
8 changes: 7 additions & 1 deletion fs-api/fs-api.cabal
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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:
Expand Down
6 changes: 4 additions & 2 deletions fs-sim/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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`.
* Drop support for `ghc-8.10`.
* Support `io-classes-1.8.0.1`.
* Support the new `MustExist` option for `AllowExisting` that was added in
`fs-api`.

Expand Down
10 changes: 8 additions & 2 deletions fs-sim/fs-sim.cabal
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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:
Expand All @@ -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
Expand Down