-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
Changes: v0.17.1...v0.18.0
Removals:
- ❌
R.nthCharremove functions deprecated in v0.16.0 #1324 - ❌
R.nthCharCoderemove functions deprecated in v0.16.0 #1324
Deprecations:
- 💾
R.containsWithdeprecate R.containsWith #1377 - 💾
R.createMapEntryrename R.createMapEntry #1323 - 💾
R.functionsdeprecate R.functions and R.functionsIn #1350 - 💾
R.functionsIndeprecate R.functions and R.functionsIn #1350 - 💾
R.isSetRename isSet to allUniq #1347 - 💾
R.mapObjdefine R.map for Object #1426
Changes:
⚠️ R.compose,R.pipe,R.composeP, andR.pipePno longer return curried functions do not curry functions returned by R.{compose,pipe}{,P} #1391⚠️ R.convergeis now a binary function make converge a binary function #1420⚠️ R.partialandR.partialRightare now binary functions make R.partial and R.partialRight binary functions #1433⚠️ R.useWithis now a binary function make R.useWith a binary function #1397- 🍛
R.anyPassandR.allPassnow return curried functions make R.anyPass and R.allPass return curried functions #1388 R.anyPassandR.allPassnow behave correctly when given an empty list of predicates Handle empty list of predicates in _predicateWrap #1299- 🌈
R.apnow recognizes* -> *as an Apply implement map, ap and chain for functions #1408 R.aperturecan now act as a transducer aperture can act as a transducer #1371R.bothandR.eitherno longer short-circuit implement map, ap and chain for functions #1408- 🌈
R.chainnow recognizes* -> *as a Chain implement map, ap and chain for functions #1408 - 🚛
R.clonenow dispatches tocloneif available Make clone dispatch toclonemethod if present. #1295 R.commuteandR.commuteMapnow fold in the correct order fix R.commute and R.commuteMap #1409R.concatno longer performs any type checking remove all type checking from R.concat #1272- 🚛
R.equalsnow dispatches recursively dispatch recursively in R.equals #1369 R.equalsnow supports Map, Set, WeakMap, and WeakSet objects support Map, Set, WeakMap, and WeakSet in R.equals #1235R.equalsnow returnstruewhen applied to equivalent Arguments objects make R.equals return true for equivalent Arguments objects #1394- 🌈
R.isEmptyis now defined for every Monoid define R.isEmpty in terms of R.empty #1242 - 🌈
R.mapnow recognizes* -> *as a Functor implement map, ap and chain for functions #1408 - 🌈
R.mapnow recognizes Object as a Functor define R.map for Object #1426 R.reverseis now capable of reversing strings support strings in R.reverse #1275R.testnow throws if its first argument is not a RegExp throw if first argument to R.test is not a regexp #1419R.toStringnow escapes escape sequences, soR.toString('\n')evaluates to'"\\n"'escape escape sequences in R.toString #1331- 🌈
R.unnestnow supports any Chain, so can, for example, unnestJust(Just(42))support any Chain in R.unnest #1303 R.useWithnow applies transformers in the appropriate context make useWith transformers respect context #1414
Additions:
- 🆕
R.allUniqRename isSet to allUniq #1347 - 🆕
R.eqByadd R.eqBy #1351 - 🆕
R.objOfrename R.createMapEntry #1323 - 🆕
R.pairadd R.pair #1313 - 🆕
R.pathOrAdd R.pathOr #1406 - 🆕
R.unlessAdds R.when and R.unless #1315 - 🆕
R.whenAdds R.when and R.unless #1315
Many thanks to those who have reported bugs, shared ideas, fixed documentation, and submitted patches over the past three months! 👏
Reactions are currently unavailable