Sanctuary v0.15.0 Release Notes
Release Date: 2019-02-16 // about 5 years ago-
🔄 Changes:
- 🍱 ⚠️
S.filter
now requires Filterable rather than Applicative, Foldable, and Monoid (#475) - 🍱 ⚠️
S.takeWhile
andS.dropWhile
now require Filterable rather than Foldable and Alternative (#475) - 🍱 ⚠️
S.is
now takes a sanctuary-defType
value (#513) - 🍱 ⚠️
S.slice
,S.at
,S.head
,S.last
,S.tail
,S.init
,S.take
,S.takeLast
,S.drop
, andS.dropLast
can no longer operate on strings (#516) - 🍱 ⚠️
S.unfoldr
,S.pairs
, andS.fromPairs
now work withPair a b
values rather thanArray2 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 ofS
(#524)- 0️⃣ type checking is now disabled for the default Sanctuary module when
process.env.NODE_ENV
is'production'
(#512) sanctuary-either
,sanctuary-maybe
,sanctuary-pair
, andsanctuary-show
are now dependencies- ⬆️
sanctuary-def
dependency upgraded from0.14.0
to0.18.1
- ⬆️
sanctuary-type-classes
dependency upgraded from7.1.1
to9.0.0
Generalizations:
S.pipe
is no longer specialized to Array (#473)S.justs
,S.lefts
, andS.rights
are no longer specialized to Array (#490)S.mapMaybe
is no longer specialized to Array (#491)S.flip
is no longer specialized to Function (#534)
Removals:
S.pluck
(#484)S.filterM
(#475)S.__
(#499)S.A
(#500)S.lt_
,S.lte_
,S.gt_
,S.gte_
,S.sub_
,S.div_
, andS.pow_
(#501)S.toString
(#543)
➕ Additions:
- 🍱 ⚠️