Releases: purescript-node/purescript-node-fs
v9.2.0
New features:
- Add
lstat
toNode.FS.Aff
(#85 by @artemisSystem)
Bugfixes:
- Fixed internal reference to
rmdir
that should have beenrm
(#83 by @MonoidMusician)
v9.1.0
Bugfixes:
- Update
node-streams
tov9.0.0
to fix FFI issues (#78 by @JordanMartinez)
v9.0.0
Breaking changes:
-
Remove
StatsObj
and reimplement bindings toStats
object (#76 by @JordanMartinez)Previously, one could write the following to get a value on the
Stats
object:getGid :: Stats -> Number getGid (Stats obj) = obj.gid
This record interface was removed as the underlying value is not a record
that can be copied and modified as such. Now, one must call the corresponding function:getGid :: Stats -> Number getGid s = Stats.gid s
-
Update
[fd]createReadStream
/[fd]createWriteStream
to allow more options (#77 by @JordanMartinez)Removes... ...in favor of createReadStreamWith
createReadStream'
fdCreateReadStreamWith
fdCreateReadStream'
createWriteStreamWith
createWriteStream'
fdCreateWriteStreamWith
fdCreateWriteStream'
In the new APIs, all options are exposed and may require converting
PureScript values to JavaScript ones.filePath # createWriteStream' { flags: fileFlagsToNode R , encoding: encodingToNode UTF8 , mode: permsToInt Perms.all }
New features:
- Integrate
node-fs-aff
into library (#75 by @JordanMartinez)
Bugfixes:
Other improvements:
- Update
node-buffer
to next breaking release:v9.0.0
(#74 by @JordanMartinez) - Update
node-streams
to next breaking release:v8.0.0
(#74, #78 by @JordanMartinez) - Update CI actions to v3 (#74 by @JordanMartinez)
- Update CI node to
lts/*
(#74 by @JordanMartinez) - Enforce
purs-tidy
format check in CI (#74 by @JordanMartinez)
v8.2.0
New features:
- Add FFI for
access
,copyFile
andmkdtemp
(#73 by @JordanMartinez)
v8.1.1
Other improvements:
- Use
EffectFn
throughout instead of unsafemkEffect
utility (#70 by @colinwahl)
v8.1.0
v8.0.0
Breaking changes:
- Remove
Async.exists
(#61 by @sigma-andex) - Update
mkdir
to take an options record arg, exposingrecursive
option (#53, #55, #58 by @JordanMartinez)
To get back the old behavior ofmkdir'
, you would callmkdir' { recursive: false, mode: mkPerms all all all }
New features:
- Update project and deps to PureScript v0.15.0 (#59 by @JordanMartinez, @thomashoneyman, @sigma-andex)
- Remove duplicate
node-buffer
from bower.json (@thomashoneyman)
v7.0.1
Due to an incorrectly-implemented breaking change, use v8.0.0
v7.0.0
Due to an incorrectly-implemented breaking change, use v8.0.0
v6.2.0
New features:
- Add bindings to
mkdir(path, { recursive: true })
viamkdirRecursive
(#53, #55 by @JordanMartinez)