Skip to content

Latest commit

 

History

History
128 lines (73 loc) · 2.25 KB

HISTORY.md

File metadata and controls

128 lines (73 loc) · 2.25 KB

Collection Change History

3.7.3

  • No changes.

3.7.2

  • No changes.

3.7.1

  • No changes.

3.7.0

  • Added Y.Array.flatten(). This method flattens arrays of arrays into a single flat array.

3.6.0

  • [!] The sort parameter of Array.unique() has been removed. This parameter was deprecated in YUI 3.3.0.

  • Array.unique() now accepts an optional test function as its second parameter. This function can perform custom comparison logic to determine whether two values should be considered equal. [Ticket #2527901]

  • The every(), filter(), map(), and reduce() functions now work correctly on array-like objects in ES5 browsers. [Ticket #2531652]

3.5.1

  • No changes.

3.5.0

  • YUI now detects non-native ES5 shims added to native objects by other libraries and falls back to its own internal shims rather than relying on the potentially broken code from the other library.

  • Deprecated arraylist-add and arraylist-filter in favor of individual subclass implementations or ModelList.

3.4.1

  • Sparse arrays are now handled correctly in the non-native fallback implementation of Y.Array.lastIndexOf(). [Ticket #2530966]

3.4.0

  • Sparse arrays are now handled correctly in the non-native implementations of Array.every, Array.filter, Array.find, Array.map, and Array.reduce. [Ticket #2530376]

3.3.0

  • [!] The sort parameter of Array.unique has been deprecated. It still works, but you're encouraged not to use it as it will be removed from a future version of YUI.

  • Array.lastIndexOf now supports the fromIndex parameter as specified in ES5.

  • Improved the performance of Array.filter, Array.map, Array.reduce, and Array.unique, especially in browsers without native ES5 array extras.

3.2.0

  • No changes.

3.1.1

  • No changes.

3.1.0

  • array-extras is the base submodule for the package.

  • Added ArrayList for generic iterable objects.

  • Array.forEach is an alias for Array.each.

  • Added Array.invoke to execute a named method on an array of objects.

3.0.0

  • unique with sort works.

3.0.0b1

  • Fixed load time fork assumptions.

3.0.0pr1

  • Initial release.