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 in package.json points to an ES module variant of the library.
    • ๐Ÿ“ฆ Started using browser field instead of main in package.json (for the UMD variant of the library).
    • โฌ‡๏ธ Dropped support for IE < 10.
    • โœ‚ Removed getJSON(): use Cookies.set('foo', JSON.stringify({ ... })) and JSON.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.