xml-crypto breaking changes
xml-crypto 6.0.0 (January 26, 2024) is its newest release with breaking changes. The first: Default changed getCertFromKeyInfo. Every breaking API change we have recorded in xml-crypto on npm: 65 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 6.4.0, released October 14, 2026.
Packages on npm run on Node.js. Node.js end of life dates.
- From 5.0.0 to 6.0.0: 1 breaking change in 1 version.
- From 2.0.0 to 6.0.0: 64 breaking changes in 4 versions.
xml-crypto 6.0.0 breaking changes
- Default changed
getCertFromKeyInfo
getCertFromKeyInfo now defaults to a noop, so certificates are no longer taken from KeyInfo automatically. Code that relies on the old behavior must supply its own getCertFromKeyInfo function. github.com
xml-crypto 5.0.0 breaking changes
- Removed
Some methods are no longer public, so code calling them directly will break. github.com - Removed
CanonicalizationOrTransformationAlgorithm.includeComments
CanonicalizationOrTransformationAlgorithm.includeComments was removed in xml-crypto 5.0.0 npmjs.com - Removed
SignedXml.calculateSignatureValue
SignedXml.calculateSignatureValue was removed in xml-crypto 5.0.0 npmjs.com - Removed
SignedXml.createReferences
SignedXml.createReferences was removed in xml-crypto 5.0.0 npmjs.com - Removed
SignedXml.createSignature
SignedXml.createSignature was removed in xml-crypto 5.0.0 npmjs.com - Removed
SignedXml.createSignedInfo
SignedXml.createSignedInfo was removed in xml-crypto 5.0.0 npmjs.com - Removed
SignedXml.ensureHasId
SignedXml.ensureHasId was removed in xml-crypto 5.0.0 npmjs.com - Removed
SignedXml.findCanonicalizationAlgorithm
SignedXml.findCanonicalizationAlgorithm was removed in xml-crypto 5.0.0 npmjs.com - Removed
SignedXml.findHashAlgorithm
SignedXml.findHashAlgorithm was removed in xml-crypto 5.0.0 npmjs.com - Removed
SignedXml.findSignatureAlgorithm
SignedXml.findSignatureAlgorithm was removed in xml-crypto 5.0.0 npmjs.com
And 18 more in this version. Sign up to see every change
xml-crypto 4.0.0 breaking changes
- Removed
FileKeyInfo
FileKeyInfo was removed in xml-crypto 4.0.0 npmjs.com - Removed
KeyInfo
KeyInfo was removed in xml-crypto 4.0.0 npmjs.com - Removed
KeyInfoProvider
KeyInfoProvider was removed. Code that uses it must be changed to work without it. github.com - Removed
SignedXml.keyInfoProvider
SignedXml.keyInfoProvider was removed in xml-crypto 4.0.0 npmjs.com - Removed
SignedXml.references
SignedXml.references was removed in xml-crypto 4.0.0 npmjs.com - Removed
SignedXml.signingKey
The signingKey option was renamed to privateKey. Update code that passes signingKey to use privateKey instead. npmjs.com - Removed
SignedXml.validationErrors
SignedXml.validationErrors was removed in xml-crypto 4.0.0 npmjs.com - Removed
StringKeyInfo
StringKeyInfo was removed in xml-crypto 4.0.0 npmjs.com - Removed
TransformationAlgorithm
TransformationAlgorithm was removed in xml-crypto 4.0.0 npmjs.com - Removed
xpath
xpath was removed in xml-crypto 4.0.0 npmjs.com
And 24 more in this version. Sign up to see every change
xml-crypto 3.0.0 breaking changes
- Behavior changed
Upgrading xmldom to 0.8.3 alters whitespace handling when XML is parsed, so code that depends on whitespace in parsed or signed XML may need to be checked and adjusted. github.com
xml-crypto 2.0.0 breaking changes
- Default changed
The HMAC-SHA1 algorithm is disabled by default to prevent a key confusion vulnerability. To validate HMAC signatures, call SignedXml.enableHMAC() first. 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.