- Configuration options:
raw
,json
. Replaces raw option, becomes config:
$.cookie.raw = true; // bypass encoding/decoding the cookie value
$.cookie.json = true; // automatically JSON stringify/parse value
Thus the default options now cleanly contain cookie attributes only.
- Adding
$.removeCookie('foo')
for deleting a cookie, using$.cookie('foo', null)
is now deprecated.
- Default options.