Comment 1 for bug 1618904

Revision history for this message
Graham Inggs (ginggs) wrote : Re: [Ffe] Sync underscore 1.8.3~dfsg-1 (main) from Debian unstable (main)

Upstream changelog since 1.7.0

1.8.3 — April 2, 2015 — Diff — Docs

    Adds an _.create method, as a slimmed down version of Object.create.
    Works around an iOS bug that can improperly cause isArrayLike to be JIT-ed. Also fixes a bug when passing 0 to isArrayLike.

1.8.2 — Feb. 22, 2015 — Diff — Docs

    Restores the previous old-Internet-Explorer edge cases changed in 1.8.1.
    Adds a fromIndex argument to _.contains.

1.8.1 — Feb. 19, 2015 — Diff — Docs

    Fixes/changes some old-Internet Explorer and related edge case behavior. Test your app with Underscore 1.8.1 in an old IE and let us know how it's doing...

1.8.0 — Feb. 19, 2015 — Diff — Docs

    Added _.mapObject, which is similar to _.map, but just for the values in your object. (A real crowd pleaser.)
    Added _.allKeys which returns all the enumerable property names on an object.
    Reverted a 1.7.0 change where _.extend only copied "own" properties. Hopefully this will un-break you — if it breaks you again, I apologize.
    Added _.extendOwn — a less-useful form of _.extend that only copies over "own" properties.
    Added _.findIndex and _.findLastIndex functions, which nicely complement their twin-twins _.indexOf and _.lastIndexOf.
    Added an _.isMatch predicate function that tells you if an object matches key-value properties. A kissing cousin of _.isEqual and _.matcher.
    Added an _.isError function.
    Restored the _.unzip function as the inverse of zip. Flip-flopping. I know.
    _.result now takes an optional fallback value (or function that provides the fallback value).
    Added the _.propertyOf function generator as a mirror-world version of _.property.
    Deprecated _.matches. It's now known by a more harmonious name — _.matcher.
    Various and diverse code simplifications, changes for improved cross-platform compatibility, and edge case bug fixes.