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

# jspdf breaking changes

jspdf 4.0.0 (January 3, 2026) is its newest release with breaking changes. The first: File system access in the Node.js build is now restricted by default in jspdf 4.0.0. Every breaking API change we have recorded in jspdf on npm: 17 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.2.1`, released March 17, 2026. [Source repository](https://github.com/parallax/jsPDF)

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

- From [3.0.0](#v-3-0-0) to [4.0.0](#v-4-0-0): 1 breaking change in 1 version.
- From [2.0.0](#v-2-0-0) to [4.0.0](#v-4-0-0): 2 breaking changes in 2 versions.

## jspdf 4.0.0 breaking changes

jspdf 4.0.0, released January 3, 2026: 1 breaking change.

- **Default changed**  

The Node.js build blocks file system reads by default to fix a path traversal vulnerability. Code that loads local files must enable access with Node's --permission flag or the new jsPDF.allowFsRead property. [github.com](https://github.com/parallax/jsPDF/releases/tag/v4.0.0)

## jspdf 3.0.0 breaking changes

jspdf 3.0.0, released February 19, 2025: 1 breaking change.

- **Removed**  

The release officially ends support for Internet Explorer. Projects that still target Internet Explorer must stay on an earlier jsPDF version or add their own compatibility layer. [github.com](https://github.com/parallax/jsPDF/releases/tag/v3.0.0)

## jspdf 2.0.0 breaking changes

jspdf 2.0.0, released August 11, 2020: 15 breaking changes.

- **Removed** `'jspdf'`  

'jspdf' was removed in jspdf 2.0.0 [npmjs.com](https://www.npmjs.com/package/jspdf/v/2.0.0)
- **Removed** `addButton`  

addButton was previously deprecated and is removed in this release, so calls to it no longer work. [github.com](https://github.com/parallax/jsPDF/releases/tag/v2.0.0)
- **Removed** `addChoiceField`  

addChoiceField was previously deprecated and is removed in this release, so calls to it no longer work. [github.com](https://github.com/parallax/jsPDF/releases/tag/v2.0.0)
- **Removed** `addHTML`  

addHTML was previously deprecated and is removed in this release, so calls to it no longer work. [github.com](https://github.com/parallax/jsPDF/releases/tag/v2.0.0)
- **Removed** `addSvg`  

addSvg was previously deprecated and is removed in this release, so calls to it no longer work. [github.com](https://github.com/parallax/jsPDF/releases/tag/v2.0.0)
- **Removed** `addTextField`  

addTextField was previously deprecated and is removed in this release, so calls to it no longer work. [github.com](https://github.com/parallax/jsPDF/releases/tag/v2.0.0)
- **Removed** `cellInitialize`  

cellInitialize was previously deprecated and is removed in this release, so calls to it no longer work. [github.com](https://github.com/parallax/jsPDF/releases/tag/v2.0.0)
- **Removed** `clip_fixed`  

clip_fixed was previously deprecated and is removed in this release, so calls to it no longer work. [github.com](https://github.com/parallax/jsPDF/releases/tag/v2.0.0)
- **Removed** `fromHTML`  

fromHTML was previously deprecated and is removed in this release, so calls to it no longer work. [github.com](https://github.com/parallax/jsPDF/releases/tag/v2.0.0)
- **Removed** `html2pdf`  

html2pdf was previously deprecated and is removed in this release, so calls to it no longer work. [github.com](https://github.com/parallax/jsPDF/releases/tag/v2.0.0)

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

## 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.
