Sugar v1.2.5 Release Notes

  • API Changes

    • ๐Ÿ”จ String#truncate refactored to split words by default (standard behavior) allow splitting in various positions, and changing argument order.
    • Object.isObject should be true for extended objects as well.
    • Function#throttle added to take the place of Function#debounce with false as the wait parameter.
    • ๐Ÿ“œ Date parsing support for hour/minute/second fractions (now take the place of milliseconds).
    • ๐Ÿ‘€ Date parsing support now sees commas in decimals.
    • ๐Ÿ“œ Date parsing support for .NET dates.