Skip to content

v9.0.0

Compare
Choose a tag to compare
@JordanMartinez JordanMartinez released this 19 Jul 19:15
· 2 commits to master since this release
5414a50

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: