Sugar v1.2.4 Release Notes
-
API Changes
- π Major performance improvement for Array#unique, Array#union, Array#intersect (now On vs. OnΒ²)
- Array#min, Array#max, Array#most, Array#least also benefit from this.
- Object.equal(s) is now egal (this should only matter for edge cases) like Underscore.
- π Object.merge will now work on non-objects as well.
- Custom formats in Date.addFormat will now override built-in formats.
- π Fix for Array#union incorrectly flattening arrays.
- π Fix for isObject not working across iframes.
- π Fix for String#chars incorrectly trimming.
- π Fix for String#each not matching all characters.
Internal Changes
- multiArgs now flatten is opt-in