js-cookie v3.0.0-beta.0 Release Notes
Release Date: 2019-10-05 // over 4 years ago-
- ๐ฆ 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.
- ๐ฆ Started providing library as ES module, in addition to UMD module. The