Collection Change History
3.18.1
- No changes.
3.18.0
- No changes.
3.17.2
- No changes.
3.17.1
- No changes.
3.17.0
- No changes.
3.16.0
- No changes.
3.15.0
- No changes.
3.14.1
- No changes.
3.14.0
- No changes.
3.13.0
- No changes.
3.12.0
- No changes.
3.11.0
- No changes.
3.10.3
- No changes.
3.10.2
- No changes.
3.10.1
- No changes.
3.10.0
- No changes.
3.9.1
- No changes.
3.9.0
- No changes.
3.8.1
- No changes.
3.8.0
- No changes.
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 ofArray.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()
, andreduce()
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
, andArray.reduce
. [Ticket #2530376]
3.3.0
-
[!] The
sort
parameter ofArray.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 thefromIndex
parameter as specified in ES5. -
Improved the performance of
Array.filter
,Array.map
,Array.reduce
, andArray.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 forArray.each
. -
Added
Array.invoke
to execute a named method on an array of objects.
3.0.0
unique
withsort
works.
3.0.0b1
- Fixed load time fork assumptions.
3.0.0pr1
- Initial release.