File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -2066,6 +2066,30 @@ <h2 id="changelog">Change Log</h2>
20662066 < li >
20672067 < tt > _.has</ tt > now guards against nullish objects.
20682068 </ li >
2069+ < li >
2070+ < tt > _.omit</ tt > can now take an iteratee function.
2071+ </ li >
2072+ < li >
2073+ < tt > _.partition</ tt > is now called with < tt > index</ tt > and < tt > object</ tt > .
2074+ </ li >
2075+ < li >
2076+ < tt > _.matches</ tt > creates a shallow clone of your object and only iterates
2077+ over own properties.
2078+ </ li >
2079+ < li >
2080+ Aligning better with the forthcoming ECMA6 < tt > Object.assign</ tt > ,
2081+ < tt > _.extend</ tt > only iterates over the object's own properties.
2082+ </ li >
2083+ < li >
2084+ Falsey guards are no longer needed in < tt > _.extend</ tt > and
2085+ < tt > _.defaults</ tt > —if the passed in argument isn't a JavaScript
2086+ object it's just returned.
2087+ </ li >
2088+ < li >
2089+ Fixed a few edge cases in < tt > _.max</ tt > and < tt > _.min</ tt > to
2090+ handle arrays containing < tt > NaN</ tt > (like strings or other objects)
2091+ and < tt > Infinity</ tt > and < tt > -Infinity</ tt > .
2092+ </ li >
20692093 < li >
20702094 Override base methods like < tt > each</ tt > and < tt > some</ tt >
20712095 and they'll be used internally by other Underscore functions too.
You can’t perform that action at this time.
0 commit comments