Releases: sanctuary-js/sanctuary
Releases · sanctuary-js/sanctuary
Version 3.1.0
Version 3.0.0
Changes:
sanctuary-def
dependency upgraded from0.20.1
to0.21.1
(#666, #677)sanctuary-either
dependency upgraded from1.2.0
to2.1.0
(#666, #670)sanctuary-maybe
dependency upgraded from1.2.0
to2.1.0
(#666, #671)sanctuary-pair
dependency upgraded from1.2.0
to2.1.0
(#666, #672)sanctuary-show
dependency upgraded from1.0.0
to2.0.0
(#665)sanctuary-type-classes
dependency upgraded from11.0.0
to12.1.0
(#666, #667)sanctuary-type-identifiers
dependency upgraded from2.0.1
to3.0.0
(#666)
Generalizations:
Additions:
Version 2.0.2
Changes:
⚠️ bower.json has been removed (#658)- repository now includes dist/bundle.js (#641)
- heading identifiers in the readme are now prefixed with
section:
to avoid collisions (#663)
Version 2.0.1
Version 2.0.0
Changes:
⚠️ S.encase
now returns a value of typeEither Error b
(#620)⚠️ S.alt
now takes the “default” argument first (#625)sanctuary-def
dependency upgraded from0.19.0
to0.20.0
(#626)sanctuary-either
dependency upgraded from1.1.0
to1.2.0
(#638)sanctuary-maybe
dependency upgraded from1.1.0
to1.2.0
(#639)sanctuary-pair
dependency upgraded from1.1.0
to1.2.0
(#637)sanctuary-type-classes
dependency upgraded from10.0.0
to11.0.0
(#621)
Specializations:
S.takeWhile
andS.dropWhile
are now specialized to Array (#619)
Generalizations:
S.take
andS.drop
are no longer specialized to Array (#627)S.takeLast
andS.dropLast
are no longer specialized to Array (#630)
Removals:
Version 1.1.0
Version 1.0.0
Changes:
S.parseDate
inconsistencies are now documented (#600)sanctuary-def
dependency upgraded from0.18.1
to0.19.0
(#594)sanctuary-either
dependency upgraded from1.0.0
to1.1.0
(#597)sanctuary-maybe
dependency upgraded from1.0.0
to1.1.0
(#598)sanctuary-pair
dependency upgraded from1.0.0
to1.1.0
(#599)sanctuary-type-classes
dependency upgraded from9.0.0
to10.0.0
(#594)
Additions:
Version 0.15.1
Version 0.15.0
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 inS.add (2) (2)
(#520)S.env
is now a reference to the environment ofS
(#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
, andsanctuary-show
are now dependenciessanctuary-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:
Version 0.14.1
Changes:
- fixed webpack compatibility (#470)