js-cookie breaking changes
js-cookie 3.0.7 (May 16, 2026) is its newest release with breaking changes. The first: Behavior changed Cookies.get. Every breaking API change we have recorded in js-cookie on npm: 22 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 3.0.8, released May 29, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
js-cookie 3.0.7 breaking changes
- Behavior changed
Cookies.get
The release changes how reading cookies with a name and reading all cookies behave together, so code that relied on the previous results should be checked. github.com
js-cookie 3.0.0 breaking changes
- Removed
The package is no longer published for Bower. github.com - Removed
Browsers older than IE10 are no longer supported. github.com - Removed
CookieAttributes
CookieAttributes was removed in js-cookie 3.0.0 npmjs.com - Removed
CookieReadConverter
CookieReadConverter was removed in js-cookie 3.0.0 npmjs.com - Removed
Cookies.defaults
Configure predefined cookie attributes with Cookies.withAttributes() instead of mutating defaults; the api instance is now immutable. github.com - Removed
Cookies.getJSON
Use JSON.stringify when setting and JSON.parse when reading cookies; set() no longer stringifies automatically. github.com - Removed
CookiesStatic
CookiesStatic was removed in js-cookie 3.0.0 npmjs.com - Removed
CookieWriteConverter
CookieWriteConverter was removed in js-cookie 3.0.0 npmjs.com - Behavior changed
Building the library from source no longer supports Node versions below 12. github.com - Behavior changed
Cookies.converter
Returning a falsy value from a custom read converter no longer uses the internal converter; call Cookies.converter.read(value) explicitly instead. github.com
And 3 more in this version. Sign up to see every change
js-cookie 2.0.0 breaking changes
- Removed
json
Use Cookies.getJSON('name') to retrieve parsed values instead of the json config. github.com - Removed
raw
Use Cookies.withConverter with a function returning the original value to bypass decoding. github.com - Behavior changed
Cookies.remove
The return value of Cookies.remove() is now undefined and should not be relied upon. github.com - Default changed
Cookies.defaults.path
Cookies now default to path '/' instead of the current page path; set Cookies.defaults.path to '' to keep the old behavior. github.com
js-cookie 2.0.0-beta.1 breaking changes
- Removed
json
Use Cookies.getJSON('name') to retrieve parsed values instead of the json config. github.com - Removed
raw
Use Cookies.withConverter with a function returning the original value to bypass decoding. github.com - Behavior changed
Cookies.remove
The return value of Cookies.remove() is now undefined and should not be relied upon. github.com - Default changed
Cookies.defaults.path
Cookies now default to path '/' instead of the current page path; set Cookies.defaults.path to '' to keep the old behavior. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.