rescript
is updated tov11.1.0
.rescript/core
is updated tov1.3.0
.
rescript
is updated tov11
.- [ BREAKING ] Old Reason API is removed.
- Library transitioned to the ReScript syntax with the new name:
rescript-classnames
. - [ BREAKING ] We reduced the API surface by a lot. See re-classnames#api.
- [ DEPRECATED ] Old api is deprecated and available under
CnRe
namespace.
- Even faster :) Thanks, @Et7f3!
- Perf! We're ~5.5 times faster than
v4
and ~4 times faster thanclassnames.js
counterpart. - [ NEW ]
(+)
infix operator - [ NEW ]
append
function - [ NEW ]
fromList
function - [ NEW ]
none
alias - [ NEW ]
onOk
combinator - [ NEW ]
mapOk
combinator - [ NEW ]
onErr
combinator - [ NEW ]
mapErr
combinator - [ DEPRECATED ]
make
. Use either(+)
(recommended) orfromList
(slower). - [ DEPRECATED ]
ifTrue
. Useon
. - [ DEPRECATED ]
ifSome
. UseonSome
. - [ DEPRECATED ]
unpack
. Usetake
.
bs-platform
updated tov7
.
- [ BREAKING ]
bs-platform
updated to5.0.0
.
- [ BREAKING ] API style is changed from data-last to data-first (use
->
instead of|>
) - [ BREAKING ]
Cn.unwrap
renamed toCn.unpack
(in Rustunwrap
throws onNone
, whileCn
just ignores it) - [ BREAKING ]
ClassNames
module is removed, useCn
bs-platform
updated to4.0.2
.
- [ BREAKING ]
Cn.ifBool
renamed toCn.ifTrue
- [ BREAKING ]
Cn.ifOpt
renamed toCn.unwrap
- [ BREAKING ]
Cn.mapOpt
renamed toCn.mapSome
Cn.ifSome
added.
bs-platform
updated to3.0.0
.
- [ BREAKING ]
bs-platform
updated to2.2.2
.
Initial release.