---
title: "js-cookie 3.0.7 Breaking Changes on npm | Since.dev"
description: "What each js-cookie release removed, renamed or changed: 22 breaking changes in 4 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/js-cookie
last_updated: 2026-12-04
---

# 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

Latest version `3.0.8`, released May 29, 2026. [Source repository](https://github.com/js-cookie/js-cookie)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [2.0.0](#v-2-0-0) to [3.0.7](#v-3-0-7): 14 breaking changes in 2 versions.

## js-cookie 3.0.7 breaking changes

js-cookie 3.0.7, released May 16, 2026: 1 breaking change.

- **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](https://github.com/js-cookie/js-cookie/releases/tag/v3.0.7)

## js-cookie 3.0.0 breaking changes

js-cookie 3.0.0, released July 26, 2021: 13 breaking changes.

- **Removed**  

The package is no longer published for Bower. [github.com](https://github.com/js-cookie/js-cookie/releases/tag/v3.0.0)
- **Removed**  

Browsers older than IE10 are no longer supported. [github.com](https://github.com/js-cookie/js-cookie/releases/tag/v3.0.0)
- **Removed** `CookieAttributes`  

CookieAttributes was removed in js-cookie 3.0.0 [npmjs.com](https://www.npmjs.com/package/js-cookie/v/3.0.0)
- **Removed** `CookieReadConverter`  

CookieReadConverter was removed in js-cookie 3.0.0 [npmjs.com](https://www.npmjs.com/package/js-cookie/v/3.0.0)
- **Removed** `Cookies.defaults`  

Configure predefined cookie attributes with Cookies.withAttributes() instead of mutating defaults; the api instance is now immutable. [github.com](https://github.com/js-cookie/js-cookie/releases/tag/v3.0.0)
- **Removed** `Cookies.getJSON`  

Use JSON.stringify when setting and JSON.parse when reading cookies; set() no longer stringifies automatically. [github.com](https://github.com/js-cookie/js-cookie/releases/tag/v3.0.0)
- **Removed** `CookiesStatic`  

CookiesStatic was removed in js-cookie 3.0.0 [npmjs.com](https://www.npmjs.com/package/js-cookie/v/3.0.0)
- **Removed** `CookieWriteConverter`  

CookieWriteConverter was removed in js-cookie 3.0.0 [npmjs.com](https://www.npmjs.com/package/js-cookie/v/3.0.0)
- **Behavior changed**  

Building the library from source no longer supports Node versions below 12. [github.com](https://github.com/js-cookie/js-cookie/releases/tag/v3.0.0)
- **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](https://github.com/js-cookie/js-cookie/releases/tag/v3.0.0)

And 3 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## js-cookie 2.0.0 breaking changes

js-cookie 2.0.0, released June 22, 2015: 4 breaking changes.

- **Removed** `json`  

Use Cookies.getJSON('name') to retrieve parsed values instead of the json config. [github.com](https://github.com/js-cookie/js-cookie/releases/tag/v2.0.0)
- **Removed** `raw`  

Use Cookies.withConverter with a function returning the original value to bypass decoding. [github.com](https://github.com/js-cookie/js-cookie/releases/tag/v2.0.0)
- **Behavior changed** `Cookies.remove`  

The return value of Cookies.remove() is now undefined and should not be relied upon. [github.com](https://github.com/js-cookie/js-cookie/releases/tag/v2.0.0)
- **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](https://github.com/js-cookie/js-cookie/releases/tag/v2.0.0)

## js-cookie 2.0.0-beta.1 breaking changes

js-cookie 2.0.0-beta.1, released June 22, 2015: 4 breaking changes.

- **Removed** `json`  

Use Cookies.getJSON('name') to retrieve parsed values instead of the json config. [github.com](https://github.com/js-cookie/js-cookie/releases/tag/v2.0.0-beta.1)
- **Removed** `raw`  

Use Cookies.withConverter with a function returning the original value to bypass decoding. [github.com](https://github.com/js-cookie/js-cookie/releases/tag/v2.0.0-beta.1)
- **Behavior changed** `Cookies.remove`  

The return value of Cookies.remove() is now undefined and should not be relied upon. [github.com](https://github.com/js-cookie/js-cookie/releases/tag/v2.0.0-beta.1)
- **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](https://github.com/js-cookie/js-cookie/releases/tag/v2.0.0-beta.1)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
