Sugar v1.3.7 Release Notes

  • API Changes

    • โž• Added and Object.reject to help filter keys in objects.
    • ๐Ÿ‘ String#startsWith and String#endsWith have changed to match the Harmony proposal better.
    • ๐Ÿ›  Fix for Date.create not preserving the UTC flag when the source is also a date (Issue #235).
    • ๐Ÿ‘ฏ Object.clone on arrays with the "deep" flag set to true should create a deep clone of the array (Issue #237).
    • Array#min/max should throw an error when comparing to undefined (Issue #232).
    • ๐Ÿ›  Fix for dates that fallback to native parsing when forcing UTC flag (Issue #244).
    • Date#since/fromNow aliases will now count "past" integers instead of rounding (Issue #236).
    • โž• Adding enumerable methods to Object.extend().