- Started providing library as ES module, in addition to UMD module. The
module
field inpackage.json
points to an ES module variant of the library. - Started using
browser
field instead ofmain
inpackage.json
(for the UMD variant of the library). - Dropped support for IE < 10.
- Removed
getJSON()
: useCookies.set('foo', JSON.stringify({ ... }))
andJSON.parse(Cookies.get('foo'))
instead. - Removed support for Bower.
- Added minified versions to package - #501
- Improved support for url encoded cookie values (support case insensitive encoding) - #466, #530
- Expose default path via API - #541
- Handle falsy arguments passed to getters - #399
- No longer support Node 6 when building (LTS versions only).
- From < 900 bytes gzipped to < 800 bytes gzipped.