Sugar v1.3.8 Release Notes
-
API Changes
- ๐ Renamed
Date#getWeek
andDate#setWeek
toDate#getISOWeek
andDate#setISOWeek
. - โก๏ธ Updating
Date#setWeek
(nowDate#setISOWeek
) to follow ISO-8601 standard. - ๐ Allowing lazy and throttled functions to return a memoized result, allowing them to double as a caching mechanism.
- ๐ Performance improvement to return early using typeof for type checks.
- ๐ Performance improvement for loops.
- ๐ Fix for Array#sample sometimes returning undefined (Issue #252).
- ๐ Fix for French locales (Issue #249).
- ๐ Fix for conflict with Coffeescript (Issue #248).
- ๐ Fix for Object.clone not preserving date _utc flag (Issue #256).
- ๐ Renamed