Changelog
3.0.1 - 2024-05-26
The package repository has moved and it's now reflected in the package metadata; this version contains no functionality changes.
Changelog
3.0.0 - 2021-06-29
crumble.setCookie()
now accepts a crumbs.sameSite
attribute, this defaults to lax
when not provided.crumble.removeCookie()
no longer accepts a crumbs.secure
flag as it is not required to remove a cookie.crumbs.firstPartyOnly
flag as it has been superseded by crumbs.sameSite
.Changelog
2.3.1 - 2021-05-16
Changelog
2.3.0 - 2021-05-14
import
.crumble
instead of Crumble
.Changelog
2.2.0 - 2019-04-28
Changelog
2.1.0 - 2019-04-27
Changelog
2.0.0 - 2018-02-13
This version changes the focus of Crumble. It is now a cookie string library rather than an abstraction of document.cookie
.
Crumble.setCookie()
and Crumble.removeCookie()
no longer update document.cookie
. They now return a string that you can assign to document.cookie
yourself.Crumble.getCookie()
and Crumble.hasCookie()
no longer read from document.cookie
. You must provide that yourself as input.Crumble.isCookiesEnabled()
has been removed; use window.navigator.cookieEnabled
instead.Crumble.setCookie()
and Crumble.removeCookie()
will no longer set the domain to the root domain of the document when the domain
crumb is set to .
.Changelog
1.1.0 - 2018-01-04
A code quality release; no functionality changes.