Skip to content

Version 0.15.0

Compare
Choose a tag to compare
@davidchambers davidchambers released this 16 Feb 11:00
36a052d

Changes:

  • ⚠️ S.filter now requires Filterable rather than Applicative, Foldable, and Monoid (#475)
  • ⚠️ S.takeWhile and S.dropWhile now require Filterable rather than Foldable and Alternative (#475)
  • ⚠️ S.is now takes a sanctuary-def Type value (#513)
  • ⚠️ S.slice, S.at, S.head, S.last, S.tail, S.init, S.take, S.takeLast, S.drop, and S.dropLast can no longer operate on strings (#516)
  • ⚠️ S.unfoldr, S.pairs, and S.fromPairs now work with Pair a b values rather than Array2 a b values (#557)
  • ‼️ Sanctuary functions must now be applied to arguments one at a time, as in S.add (2) (2) (#520)
  • S.env is now a reference to the environment of S (#524)
  • type checking is now disabled for the default Sanctuary module when process.env.NODE_ENV is 'production' (#512)
  • sanctuary-either, sanctuary-maybe, sanctuary-pair, and sanctuary-show are now dependencies
  • sanctuary-def dependency upgraded from 0.14.0 to 0.18.1
  • sanctuary-type-classes dependency upgraded from 7.1.1 to 9.0.0

Generalizations:

Removals:

  • S.pluck (#484)
  • S.filterM (#475)
  • S.__ (#499)
  • S.A (#500)
  • S.lt_, S.lte_, S.gt_, S.gte_, S.sub_, S.div_, and S.pow_ (#501)
  • S.toString (#543)

Additions: