Sugar v1.3.8 Release Notes

  • API Changes

    • ๐Ÿ“‡ Renamed Date#getWeek and Date#setWeek to Date#getISOWeek and Date#setISOWeek.
    • โšก๏ธ Updating Date#setWeek (now Date#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).