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)