Releases: purescript-node/purescript-node-fs
v9.2.0
New features:
- Add
lstattoNode.FS.Aff(#85 by @artemisSystem)
Bugfixes:
- Fixed internal reference to
rmdirthat should have beenrm(#83 by @MonoidMusician)
v9.1.0
Bugfixes:
- Update
node-streamstov9.0.0to fix FFI issues (#78 by @JordanMartinez)
v9.0.0
Breaking changes:
-
Remove
StatsObjand reimplement bindings toStatsobject (#76 by @JordanMartinez)Previously, one could write the following to get a value on the
Statsobject: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]createWriteStreamto allow more options (#77 by @JordanMartinez)Removes... ...in favor of createReadStreamWithcreateReadStream'fdCreateReadStreamWithfdCreateReadStream'createWriteStreamWithcreateWriteStream'fdCreateWriteStreamWithfdCreateWriteStream'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-affinto library (#75 by @JordanMartinez)
Bugfixes:
Other improvements:
- Update
node-bufferto next breaking release:v9.0.0(#74 by @JordanMartinez) - Update
node-streamsto 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-tidyformat check in CI (#74 by @JordanMartinez)
v8.2.0
New features:
- Add FFI for
access,copyFileandmkdtemp(#73 by @JordanMartinez)
v8.1.1
Other improvements:
- Use
EffectFnthroughout instead of unsafemkEffectutility (#70 by @colinwahl)
v8.1.0
v8.0.0
Breaking changes:
- Remove
Async.exists(#61 by @sigma-andex) - Update
mkdirto take an options record arg, exposingrecursiveoption (#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-bufferfrom 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)