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)