From 277d61666165ab742f6006141364cb1fb9851f95 Mon Sep 17 00:00:00 2001
From: Adam Krebs
- 1.5.2 — Sept. 7, 2013 — DiffLinks & Suggested Reading
Change Log
+ 1.5.2 — Sept. 7, 2013 — Diff — Docs
Change Log
- 1.5.1 — Jul. 8, 2013 — Diff
+ 1.5.1 — Jul. 8, 2013 — Diff — Docs
- 1.5.0 — Jul. 6, 2013 — Diff
+ 1.5.0 — Jul. 6, 2013 — Diff — Docs
- 1.4.4 — Jan. 30, 2013 — Diff
+ 1.4.4 — Jan. 30, 2013 — Diff — Docs
- 1.4.3 — Dec. 4, 2012 — Diff
+ 1.4.3 — Dec. 4, 2012 — Diff — Docs
- 1.4.2 — Oct. 1, 2012 — Diff
+ 1.4.2 — Oct. 1, 2012 — Diff — Docs
- 1.4.1 — Oct. 1, 2012 — Diff
+ 1.4.1 — Oct. 1, 2012 — Diff — Docs
- 1.4.0 — Sept. 27, 2012 — Diff
+ 1.4.0 — Sept. 27, 2012 — Diff — Docs
- 1.3.3 — April 10, 2012
+ 1.3.3 — April 10, 2012 — Diff — Docs
- 1.3.1 — Jan. 23, 2012
+ 1.3.1 — Jan. 23, 2012 — Diff — Docs
- 1.3.0 — Jan. 11, 2012
+ 1.3.0 — Jan. 11, 2012 — Diff — Docs
- 1.2.4 — Jan. 4, 2012
+ 1.2.4 — Jan. 4, 2012 — Diff — Docs
- 1.2.3 — Dec. 7, 2011
+ 1.2.3 — Dec. 7, 2011 — Diff — Docs
- 1.2.2 — Nov. 14, 2011
+ 1.2.2 — Nov. 14, 2011 — Diff — Docs
- 1.2.1 — Oct. 24, 2011
+ 1.2.1 — Oct. 24, 2011 — Diff — Docs
- 1.2.0 — Oct. 5, 2011
+ 1.2.0 — Oct. 5, 2011 — Diff — Docs
- 1.1.7 — July 13, 2011
+ 1.1.7 — July 13, 2011 — Diff — Docs
Added _.groupBy, which aggregates a collection into groups of like items.
Added _.union and _.difference, to complement the
(re-named) _.intersection.
@@ -2289,7 +2289,7 @@
- 1.1.6 — April 18, 2011
+ 1.1.6 — April 18, 2011 — Diff — Docs
Added _.after, which will return a function that only runs after
first being called a specified number of times.
_.invoke can now take a direct function reference.
@@ -2300,7 +2300,7 @@
- 1.1.5 — Mar 20, 2011
+ 1.1.5 — Mar 20, 2011 — Diff — Docs
Added an _.defaults function, for use merging together JS objects
representing default options.
Added an _.once function, for manufacturing functions that should
@@ -2313,7 +2313,7 @@
- 1.1.4 — Jan 9, 2011
+ 1.1.4 — Jan 9, 2011 — Diff — Docs
Improved compliance with ES5's Array methods when passing null
as a value. _.wrap now correctly sets this for the
wrapped function. _.indexOf now takes an optional flag for
@@ -2323,7 +2323,7 @@
- 1.1.3 — Dec 1, 2010
+ 1.1.3 — Dec 1, 2010 — Diff — Docs
In CommonJS, Underscore may now be required with just:
var _ = require("underscore").
Added _.throttle and _.debounce functions.
@@ -2340,21 +2340,21 @@
- 1.1.2
+ 1.1.2 — Oct 15, 2010 — Diff — Docs
Fixed _.contains, which was mistakenly pointing at
_.intersect instead of _.include, like it should
have been. Added _.unique as an alias for _.uniq.
- 1.1.1
+ 1.1.1 — Oct 5, 2010 — Diff — Docs
Improved the speed of _.template, and its handling of multiline
interpolations. Ryan Tenney contributed optimizations to many Underscore
functions. An annotated version of the source code is now available.
- 1.1.0
+ 1.1.0 — Aug 18, 2010 — Diff — Docs
The method signature of _.reduce has been changed to match
the ECMAScript 5 signature, instead of the Ruby/Prototype.js version.
This is a backwards-incompatible change. _.template may now be
@@ -2363,33 +2363,33 @@
- 1.0.4
+ 1.0.4 — Jun 22, 2010 — Diff — Docs
Andri Möll contributed the _.memoize
function, which can be used to speed up expensive repeated computations
by caching the results.
- 1.0.3
+ 1.0.3 — Jun 14, 2010 — Diff — Docs
Patch that makes _.isEqual return false if any property
of the compared object has a NaN value. Technically the correct
thing to do, but of questionable semantics. Watch out for NaN comparisons.
- 1.0.2
+ 1.0.2 — Mar 23, 2010 — Diff — Docs
Fixes _.isArguments in recent versions of Opera, which have
arguments objects as real Arrays.
- 1.0.1
+ 1.0.1 — Mar 19, 2010 — Diff — Docs
Bugfix for _.isEqual, when comparing two objects with the same
number of undefined keys, but with different names.
- 1.0.0
+ 1.0.0 — Mar 18, 2010 — Diff — Docs
Things have been stable for many months now, so Underscore is now
considered to be out of beta, at 1.0. Improvements since 0.6
include _.isBoolean, and the ability to have _.extend
@@ -2397,7 +2397,7 @@
- 0.6.0
+ 0.6.0 — Feb 24, 2010 — Diff — Docs
Major release. Incorporates a number of
Mile Frawley's refactors for
safer duck-typing on collection functions, and cleaner internals. A new
@@ -2417,32 +2417,32 @@
- 0.5.7
+ 0.5.7 — Jan 20, 2010 — Diff — Docs
A safer implementation of _.isArguments, and a
faster _.isNumber,
thanks to
Jed Schmidt.
- 0.5.6
+ 0.5.6
Customizable delimiters for _.template, contributed by
Noah Sloan.
- 0.5.5
+ 0.5.5 — Jan 9, 2010 — Diff — Docs
Fix for a bug in MobileSafari's OOP-wrapper, with the arguments object.
- 0.5.4
+ 0.5.4 — Jan 5, 2010 — Diff — Docs
Fix for multiple single quotes within a template string for
_.template. See:
Rick Strahl's blog post.
- 0.5.2
+ 0.5.2 — Jan 1, 2010 — Diff — Docs
New implementations of isArray, isDate, isFunction,
isNumber, isRegExp, and isString, thanks to
a suggestion from
@@ -2458,7 +2458,7 @@
- 0.5.1
+ 0.5.1 — Dec 9, 2009 — Diff — Docs
Added an _.isArguments function. Lots of little safety checks
and optimizations contributed by
Noah Sloan and
@@ -2466,7 +2466,7 @@
- 0.5.0
+ 0.5.0 — Dec 7, 2009 — Diff — Docs
[API Changes] _.bindAll now takes the context object as
its first parameter. If no method names are passed, all of the context
object's methods are bound to it, enabling chaining and easier binding.
@@ -2479,7 +2479,7 @@
- 0.4.7
+ 0.4.7 — Dec 6, 2009 — Diff — Docs
Added isDate, isNaN, and isNull, for completeness.
Optimizations for isEqual when checking equality between Arrays
or Dates. _.keys is now 25%–2X faster (depending on your
@@ -2487,7 +2487,7 @@
- 0.4.6
+ 0.4.6 — Nov 30, 2009 — Diff — Docs
Added the range function, a port of the
Python
function of the same name, for generating flexibly-numbered lists
@@ -2496,7 +2496,7 @@
- 0.4.5
+ 0.4.5 — Nov 19, 2009 — Diff — Docs
Added rest for Arrays and arguments objects, and aliased
first as head, and rest as tail,
thanks to Luke Sutton's patches.
@@ -2505,24 +2505,24 @@
- 0.4.4
+ 0.4.4 — Nov 18, 2009 — Diff — Docs
Added isString, and isNumber, for consistency. Fixed
_.isEqual(NaN, NaN) to return true (which is debatable).
- 0.4.3
+ 0.4.3 — Nov 9, 2009 — Diff — Docs
Started using the native StopIteration object in browsers that support it.
Fixed Underscore setup for CommonJS environments.
- 0.4.2
+ 0.4.2 — Nov 9, 2009 — Diff — Docs
Renamed the unwrapping function to value, for clarity.
- 0.4.1
+ 0.4.1 — Nov 8, 2009 — Diff — Docs
Chained Underscore objects now support the Array prototype methods, so
that you can perform the full range of operations on a wrapped array
without having to break your chain. Added a breakLoop method
@@ -2531,7 +2531,7 @@
- 0.4.0
+ 0.4.0 — Nov 7, 2009 — Diff — Docs
All Underscore functions can now be called in an object-oriented style,
like so: _([1, 2, 3]).map(...);. Original patch provided by
Marc-André Cournoyer.
@@ -2541,20 +2541,20 @@
- 0.3.3
+ 0.3.3 — Oct 31, 2009 — Diff — Docs
Added the JavaScript 1.8 function reduceRight. Aliased it
as foldr, and aliased reduce as foldl.
- 0.3.2
+ 0.3.2 — Oct 28, 2009 — Diff — Docs
Now runs on stock Rhino
interpreters with: load("underscore.js").
Added identity as a utility function.
- 0.3.1
+ 0.3.1 — Oct 29, 2009 — Diff — Docs
All iterators are now passed in the original collection as their third
argument, the same as JavaScript 1.6's forEach. Iterating over
objects is now called with (value, key, collection), for details
@@ -2562,7 +2562,7 @@
- 0.3.0
+ 0.3.0
— Oct 29, 2009 — Diff — Docs
Added Dmitry Baranovskiy's
comprehensive optimizations, merged in
Kris Kowal's patches to make Underscore
@@ -2571,20 +2571,20 @@
- 0.2.0
+ 0.2.0 — Oct 28, 2009 — Diff — Docs
Added compose and lastIndexOf, renamed inject to
reduce, added aliases for inject, filter,
every, some, and forEach.
- 0.1.1
+ 0.1.1 — Oct 28, 2009 — Diff — Docs
Added noConflict, so that the "Underscore" object can be assigned to
other variables.
- 0.1.0
+ 0.1.0 — Oct 28, 2009 — Docs
Initial release of Underscore.js.