html-entities breaking changes
html-entities 2.0.0 (December 28, 2020) is its newest release with breaking changes, 7 of them. The first: Removed AllHtmlEntities. Every breaking API change we have recorded in html-entities on npm: 7 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2.6.0, released March 30, 2025.
Packages on npm run on Node.js. Node.js end of life dates.
html-entities 2.0.0 breaking changes
- Removed
AllHtmlEntities
The XML/HTML version classes are gone; pass the level option to the top-level encode and decode functions instead. npmjs.com - Removed
Html4Entities
The XML/HTML version classes are gone; pass the level option to the top-level encode and decode functions instead. npmjs.com - Removed
Html5Entities
The XML/HTML version classes are gone; pass the level option to the top-level encode and decode functions instead. npmjs.com - Removed
XmlEntities
The XML/HTML version classes are gone; pass the level option to the top-level encode and decode functions instead. npmjs.com - Renamed
htmlEntitiesInstance.encode
Calling encode on an instance is replaced by importing the top-level encode function and calling encode(text). github.com - Renamed
instance.decode
Calling decode on an instance is replaced by importing the top-level decode function and calling decode(text). github.com - Renamed
instance.encodeNonASCII
Use encode with the mode option set to 'nonAscii' or 'nonAsciiPrintable' instead of encodeNonASCII. 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.