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

# 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

Latest version `6.4.0`, released October 14, 2026. 

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

- From [5.0.0](#v-5-0-0) to [6.0.0](#v-6-0-0): 1 breaking change in 1 version.
- From [2.0.0](#v-2-0-0) to [6.0.0](#v-6-0-0): 64 breaking changes in 4 versions.

## xml-crypto 6.0.0 breaking changes

xml-crypto 6.0.0, released January 26, 2024: 1 breaking change.

- **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](https://github.com/node-saml/xml-crypto/releases/tag/v6.0.0)

## xml-crypto 5.0.0 breaking changes

xml-crypto 5.0.0, released November 27, 2023: 28 breaking changes.

- **Removed**  

Some methods are no longer public, so code calling them directly will break. [github.com](https://github.com/node-saml/xml-crypto/releases/tag/v5.0.0)
- **Removed** `CanonicalizationOrTransformationAlgorithm.includeComments`  

CanonicalizationOrTransformationAlgorithm.includeComments was removed in xml-crypto 5.0.0 [npmjs.com](https://www.npmjs.com/package/xml-crypto/v/5.0.0)
- **Removed** `SignedXml.calculateSignatureValue`  

SignedXml.calculateSignatureValue was removed in xml-crypto 5.0.0 [npmjs.com](https://www.npmjs.com/package/xml-crypto/v/5.0.0)
- **Removed** `SignedXml.createReferences`  

SignedXml.createReferences was removed in xml-crypto 5.0.0 [npmjs.com](https://www.npmjs.com/package/xml-crypto/v/5.0.0)
- **Removed** `SignedXml.createSignature`  

SignedXml.createSignature was removed in xml-crypto 5.0.0 [npmjs.com](https://www.npmjs.com/package/xml-crypto/v/5.0.0)
- **Removed** `SignedXml.createSignedInfo`  

SignedXml.createSignedInfo was removed in xml-crypto 5.0.0 [npmjs.com](https://www.npmjs.com/package/xml-crypto/v/5.0.0)
- **Removed** `SignedXml.ensureHasId`  

SignedXml.ensureHasId was removed in xml-crypto 5.0.0 [npmjs.com](https://www.npmjs.com/package/xml-crypto/v/5.0.0)
- **Removed** `SignedXml.findCanonicalizationAlgorithm`  

SignedXml.findCanonicalizationAlgorithm was removed in xml-crypto 5.0.0 [npmjs.com](https://www.npmjs.com/package/xml-crypto/v/5.0.0)
- **Removed** `SignedXml.findHashAlgorithm`  

SignedXml.findHashAlgorithm was removed in xml-crypto 5.0.0 [npmjs.com](https://www.npmjs.com/package/xml-crypto/v/5.0.0)
- **Removed** `SignedXml.findSignatureAlgorithm`  

SignedXml.findSignatureAlgorithm was removed in xml-crypto 5.0.0 [npmjs.com](https://www.npmjs.com/package/xml-crypto/v/5.0.0)

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

## xml-crypto 4.0.0 breaking changes

xml-crypto 4.0.0, released July 21, 2023: 34 breaking changes.

- **Removed** `FileKeyInfo`  

FileKeyInfo was removed in xml-crypto 4.0.0 [npmjs.com](https://www.npmjs.com/package/xml-crypto/v/4.0.0)
- **Removed** `KeyInfo`  

KeyInfo was removed in xml-crypto 4.0.0 [npmjs.com](https://www.npmjs.com/package/xml-crypto/v/4.0.0)
- **Removed** `KeyInfoProvider`  

KeyInfoProvider was removed. Code that uses it must be changed to work without it. [github.com](https://github.com/node-saml/xml-crypto/releases/tag/v4.0.0)
- **Removed** `SignedXml.keyInfoProvider`  

SignedXml.keyInfoProvider was removed in xml-crypto 4.0.0 [npmjs.com](https://www.npmjs.com/package/xml-crypto/v/4.0.0)
- **Removed** `SignedXml.references`  

SignedXml.references was removed in xml-crypto 4.0.0 [npmjs.com](https://www.npmjs.com/package/xml-crypto/v/4.0.0)
- **Removed** `SignedXml.signingKey`  

The signingKey option was renamed to privateKey. Update code that passes signingKey to use privateKey instead. [npmjs.com](https://www.npmjs.com/package/xml-crypto/v/4.0.0)
- **Removed** `SignedXml.validationErrors`  

SignedXml.validationErrors was removed in xml-crypto 4.0.0 [npmjs.com](https://www.npmjs.com/package/xml-crypto/v/4.0.0)
- **Removed** `StringKeyInfo`  

StringKeyInfo was removed in xml-crypto 4.0.0 [npmjs.com](https://www.npmjs.com/package/xml-crypto/v/4.0.0)
- **Removed** `TransformationAlgorithm`  

TransformationAlgorithm was removed in xml-crypto 4.0.0 [npmjs.com](https://www.npmjs.com/package/xml-crypto/v/4.0.0)
- **Removed** `xpath`  

xpath was removed in xml-crypto 4.0.0 [npmjs.com](https://www.npmjs.com/package/xml-crypto/v/4.0.0)

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

## xml-crypto 3.0.0 breaking changes

xml-crypto 3.0.0, released October 13, 2022: 1 breaking change.

- **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](https://github.com/node-saml/xml-crypto/releases/tag/v3.0.0)

## xml-crypto 2.0.0 breaking changes

xml-crypto 2.0.0, released October 5, 2020: 1 breaking change.

- **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](https://github.com/node-saml/xml-crypto/releases/tag/v2.0.0)

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