Releases: sanctuary-js/sanctuary
Releases · sanctuary-js/sanctuary
Version 0.14.0
Changes:
⚠️ S.reverse
can no longer reverse strings (#413)⚠️ S.slice
and related functions no longer treat-0
specially (#415)⚠️ S.div
now takes the divisor before the dividend (#432)S.parseDate
now has a more accurate type signature (#410)S.get
,S.gets
, andS.parseJson
can now operate on values which are not well typed (#424)S.get
,S.gets
,S.prop
,S.props
, andS.pluck
no longer require an “accessible” value (#425)S.sequence
andS.traverse
now behave correctly when applied to string maps (#463)- type checking of unary types is now far more efficient: O(tn) rather than O(tⁿ) (#466)
sanctuary-def
dependency upgraded from0.12.1
to0.14.0
sanctuary-type-classes
dependency upgraded from6.0.0
to7.1.1
Generalizations:
S.reverse
is no longer specialized to Array and String (#413)S.allPass
andS.anyPass
are no longer specialized to Array (#448)
Removals:
S.indexOf
andS.lastIndexOf
(#411)S.encase2_
andS.encase3_
(#418)S.encaseEither2_
andS.encaseEither3_
(#418)S.flip_
(#418)S.groupBy_
(#418)S.on_
(#418)S.reduce_
(#418)
Additions:
Version 0.13.2
Changes:
sanctuary-def
dependency upgraded from0.12.0
to0.12.1
Version 0.13.1
Changes:
- fix for formatting error in
S.splitOnRegex
documentation (#405)
Version 0.13.0
Changes:
⚠️ S.sub
is now a unary function:S.sub(1)
is equivalent to(- 1)
in Haskell (#391)⚠️ S.type
now returns a record withnamespace
,name
, andversion
fields (#399)⚠️ S.equals
now considers0
and-0
to be equal (#388)⚠️ S.filterM
now requires Alternative rather than Monoid (#370)⚠️ S.compose
is now binary rather than ternary (#396)- Maybe and Either values now satisfy
Z.Setoid.test
only if the inner value satisfies it (#388) - Maybe and Either values now satisfy
Z.Semigroup.test
only if the inner value satisfies it (#359) sanctuary-def
dependency upgraded from0.9.0
to0.12.0
sanctuary-type-classes
dependency upgraded from3.0.1
to6.0.0
sanctuary-type-identifiers
dependency upgraded from1.0.0
to2.0.1
Generalizations:
S.append
andS.prepend
are no longer specialized to Array (#345)S.pluck
is no longer specialized to Array (#382)S.find
is no longer specialized to Array (#389)S.compose
is no longer specialized to Function (#396)
Removals:
S.dec
andS.inc
(#391)
Additions:
S.complement
(#344)S.when
andS.unless
(#348)S.takeWhile
andS.dropWhile
(#356)S.splitOnRegex
(#357)S.contramap
(#370)S.groupBy
andS.groupBy_
(#371)S.stripPrefix
andS.stripSuffix
(#375)S.tagBy
(#379)S.lt
,S.lte
,S.gt
, andS.gte
(#388)S.lt_
,S.lte_
,S.gt_
, andS.gte_
(#388)S.sub_
(#391)S.id
(#396)S.sort
andS.sortBy
(#397)S.elem
(#404)
Version 0.12.2
Version 0.12.1
Version 0.12.0
Version 0.11.1
Version 0.11.0
Version 0.10.0
v0.10.0 Version 0.10.0