Sugar v1.2.1 Release Notes

  • API Changes

    • ➕ Added Object.has to fix issue #97. Stand-in for Object#hasOwnProperty.
    • 🛠 Fixed issue with String#has not escaping regex tokens.
    • 0️⃣ Date.setLocale can now overwrite a default locale object.
    • Date locales can now add their own formats.
    • 🛠 Fix for Ender, which was broken when modularized in 1.2.
    • ↪ Workaround for Ender requiring externs.

    Internal Changes

    • Date optional tokens now start from {0}
    • ⏪ References to Object.extend and Object.restore now held and allowed to be restored later.