Skip to content

Releases: purescript-node/purescript-node-fs

v9.1.0

26 Jul 21:41
b210f7b
Compare
Choose a tag to compare

Bugfixes:

v9.0.0

19 Jul 19:15
5414a50
Compare
Choose a tag to compare

Breaking changes:

  • Remove StatsObj and reimplement bindings to Stats 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:

Bugfixes:

Other improvements:

v8.2.0

24 Mar 01:15
24fc929
Compare
Choose a tag to compare

New features:

v8.1.1

24 Oct 14:57
a9da8b9
Compare
Choose a tag to compare

Other improvements:

  • Use EffectFn throughout instead of unsafe mkEffect utility (#70 by @colinwahl)

v8.1.0

10 Jun 14:46
Compare
Choose a tag to compare

New features:

v8.0.0

29 Apr 14:04
7dfc7ca
Compare
Choose a tag to compare

Breaking changes:

  • Remove Async.exists (#61 by @sigma-andex)
  • Update mkdir to take an options record arg, exposing recursive option (#53, #55, #58 by @JordanMartinez)
    To get back the old behavior of mkdir', you would call mkdir' { recursive: false, mode: mkPerms all all all }

New features:

v7.0.1

27 Apr 23:17
1feffa6
Compare
Choose a tag to compare

Due to an incorrectly-implemented breaking change, use v8.0.0

v7.0.0

27 Apr 23:10
967e45b
Compare
Choose a tag to compare

Due to an incorrectly-implemented breaking change, use v8.0.0

v6.2.0

10 Jan 22:07
Compare
Choose a tag to compare

New features:

v6.1.0

06 May 17:11
09a2b71
Compare
Choose a tag to compare

New features:

Other improvements: