-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.15.0 upgrade guide #1186
Comments
Any reason |
I don't think it was discussed. But upgrading will in most cases be as simple as replacing |
I'm sure it is. But since ramda did decide to go on this deprecation track, I would appreciate a version |
Yup, not sure how we missed that. |
I just published v0.15.1. I'll update the original post to reflect these changes: v0.15.0...v0.15.1. |
Thanks @davidchambers |
R.reduced ๐ ๐ |
Out of interest, why is |
Ah thanks @CrossEye |
Changes: v0.14.0...v0.15.1
Removals:
R.isNaN
remove functions deprecated in v0.14.0ย #1112Deprecations:
R.arity
deprecate R.arityย #1111R.eq
value-based equalityย #1096, Deprecateeq
anddeepEq
ย #1190R.eqDeep
value-based equalityย #1096, Deprecateeq
anddeepEq
ย #1190R.filterIndexed
Creates a common 'addIndex' function. Closes #484.ย #1061R.forEachIndexed
Creates a common 'addIndex' function. Closes #484.ย #1061R.invoke
deprecate R.invokeย #1146R.mapIndexed
Creates a common 'addIndex' function. Closes #484.ย #1061R.reduceIndexed
Creates a common 'addIndex' function. Closes #484.ย #1061R.reduceRightIndexed
Creates a common 'addIndex' function. Closes #484.ย #1061R.rejectIndexed
Creates a common 'addIndex' function. Closes #484.ย #1061R.strIndexOf
dispatch in R.indexOf and R.lastIndexOfย #1113R.strLastIndexOf
dispatch in R.indexOf and R.lastIndexOfย #1113R.substring
deprecate R.substringย #1184R.substringFrom
derive R.take and R.drop from R.sliceย #1159R.substringTo
derive R.take and R.drop from R.sliceย #1159Changes:
R.__
identify R.__ by special property rather than by identityย #1156R.identical
now use value-based equality value-based equalityย #1096R.chain
is now a transducer R.chain transducer, closes #1033ย #1101R.evolve
is now recursive MakeR.evolve
recursive/deepย #1141R.forEach
now dispatches toforEach
if available Dispatch forEachย #1138R.identical
(nรฉeR.eq
) now handlesnew Number(0)
correctly fix handling ofnew Number(0)
in R.eqย #1099R.identical
(nรฉeR.eq
) no longer always returns true when given NaN as its first argument fix bug causing R.eq(NaN, x) to evaluate true for every xย #1100R.indexOf
andR.lastIndexOf
now dispatch to their respective methods if available dispatch in R.indexOf and R.lastIndexOfย #1113R.invoker
no longer accepts initial arguments Remove support for supplying initial arguments toR.invoker
ย #1147R.pick
now supports numbers as property names Add support toR.pick
for numbersย #1122R.propOr
now returns the default value if the property is present but null/undefined Returning default value from propOr on nil objectย #1014R.take
andR.drop
can now operate on strings derive R.take and R.drop from R.sliceย #1159Additions:
R.addIndex
Creates a common 'addIndex' function. Closes #484.ย #1061R.equals
value-based equalityย #1096R.identical
value-based equalityย #1096R.reduced
expose "reduced" to public APIย #1118The text was updated successfully, but these errors were encountered: