---
title: "@node-saml/node-saml 5.2.0 Breaking Changes on npm"
description: "What each @node-saml/node-saml release removed, renamed or changed: 45 breaking changes in 2 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@node-saml/node-saml
last_updated: 2026-12-04
---

# @node-saml/node-saml breaking changes

@node-saml/node-saml 5.2.0 (October 26, 2026) is its newest release with breaking changes, 14 of them. The first: Removed normalizeNewlines. Every breaking API change we have recorded in @node-saml/node-saml on npm: 45 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `5.2.0`, released October 26, 2026. [Source repository](https://github.com/node-saml/node-saml)

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 [5.2.0](#v-5-2-0): 14 breaking changes in 1 version.

## @node-saml/node-saml 5.2.0 breaking changes

@node-saml/node-saml 5.2.0, released October 26, 2026: 14 breaking changes.

- **Removed** `normalizeNewlines`  

normalizeNewlines is removed because xmldom now normalizes line endings. Code that calls it must stop calling it. [github.com](https://github.com/node-saml/node-saml/releases/tag/v5.2.0)
- **Behavior changed**  

An unsigned Response's InResponseTo value is no longer trusted. Code that relied on it for unsigned responses may now see them rejected. [github.com](https://github.com/node-saml/node-saml/releases/tag/v5.2.0)
- **Behavior changed** `metadataContactPerson`  

metadataContactPerson output now follows the metadata schema. Code that depends on its previous output may need to change. [github.com](https://github.com/node-saml/node-saml/releases/tag/v5.2.0)
- **Behavior changed** `metadataOrganization`  

metadataOrganization output now follows the metadata schema. Code that depends on its previous output may need to change. [github.com](https://github.com/node-saml/node-saml/releases/tag/v5.2.0)
- **Signature changed** `SAML.getAuthorizeFormAsync`  

Was getAuthorizeFormAsync(RelayState: string, host?: string, options?: AuthOptions): Promise\<string>; now getAuthorizeFormAsync(RelayState: string, hostOrOptions?: string | AuthOptions, legacyOptions?: AuthOptions): Promise\<string>. [npmjs.com](https://www.npmjs.com/package/@node-saml/node-saml/v/5.2.0)
- **Signature changed** `SAML.getAuthorizeMessageAsync`  

Was getAuthorizeMessageAsync(RelayState: string, host?: string, options?: AuthOptions): Promise\<querystring.ParsedUrlQueryInput>; now getAuthorizeMessageAsync(RelayState: string, hostOrOptions?: string | AuthOptions, legacyOptions?... [npmjs.com](https://www.npmjs.com/package/@node-saml/node-saml/v/5.2.0)
- **Signature changed** `SAML.getAuthorizeUrlAsync`  

Was getAuthorizeUrlAsync(RelayState: string, host: string | undefined, options: AuthOptions): Promise\<string>; now getAuthorizeUrlAsync(RelayState: string, hostOrOptions: string | AuthOptions | undefined, legacyOptions?: AuthOptions)... [npmjs.com](https://www.npmjs.com/package/@node-saml/node-saml/v/5.2.0)
- **Signature changed** `SAML.processValidlySignedAssertionAsync`  

Was protected processValidlySignedAssertionAsync(this: SAML, xml: string, samlResponseXml: string, inResponseTo: string | null): Promise<{profile: Profile; loggedOut: boolean;}>; now protected processValidlySignedAssertionAsync(this: SAML... [npmjs.com](https://www.npmjs.com/package/@node-saml/node-saml/v/5.2.0)
- **Signature changed** `SAML.validatePostRequestAsync`  

Was validatePostRequestAsync(container: Record\<string, string>, {\_parseDomFromString, \_parseXml2JsFromString, \_validateSignature}?: {\_parseDomFromString?: ((xml: string) => Promise\<Document>) | undefined; \_parseXml2JsFromString?: ((xml... [npmjs.com](https://www.npmjs.com/package/@node-saml/node-saml/v/5.2.0)
- **Signature changed** `SamlConfig.metadataContactPerson`  

Was metadataContactPerson?: {"@contactType": "technical" | "support" | "administrative" | "billing" | "other"; Extensions?: string; Company?: string; GivenName?: string; SurName?: string; EmailAddress?: \[string\]; TelephoneNumber?... [npmjs.com](https://www.npmjs.com/package/@node-saml/node-saml/v/5.2.0)
- **Signature changed** `SamlConfig.metadataOrganization`  

Was metadataOrganization?: {OrganizationName: {"@xml:lang": string; "#text": string;}\[\]; OrganizationDisplayName: {"@xml:lang": string; "#text": string;}\[\]; OrganizationURL: {"@xml:lang": string; "#text": string;}\[\];}; now... [npmjs.com](https://www.npmjs.com/package/@node-saml/node-saml/v/5.2.0)
- **Signature changed** `SamlOptions.metadataContactPerson`  

Was metadataContactPerson?: {"@contactType": "technical" | "support" | "administrative" | "billing" | "other"; Extensions?: string; Company?: string; GivenName?: string; SurName?: string; EmailAddress?: \[string\]; TelephoneNumber?... [npmjs.com](https://www.npmjs.com/package/@node-saml/node-saml/v/5.2.0)
- **Signature changed** `SamlOptions.metadataOrganization`  

Was metadataOrganization?: {OrganizationName: {"@xml:lang": string; "#text": string;}\[\]; OrganizationDisplayName: {"@xml:lang": string; "#text": string;}\[\]; OrganizationURL: {"@xml:lang": string; "#text": string;}\[\];}; now... [npmjs.com](https://www.npmjs.com/package/@node-saml/node-saml/v/5.2.0)
- **Signature changed** `SignatureAlgorithm`  

Was type SignatureAlgorithm = "sha1" | "sha256" | "sha512"; now type SignatureAlgorithm = "sha1" | "sha256" | "sha256-mgf1" | "sha512". [npmjs.com](https://www.npmjs.com/package/@node-saml/node-saml/v/5.2.0)

## @node-saml/node-saml 5.0.0 breaking changes

@node-saml/node-saml 5.0.0, released February 27, 2024: 31 breaking changes.

- **Removed**  

Types that were specific to Passport are removed. Code relying on them must stop using them. [github.com](https://github.com/node-saml/node-saml/releases/tag/v5.0.0)
- **Removed** `MandatorySamlOptions.cert`  

MandatorySamlOptions.cert was removed in @node-saml/node-saml 5.0.0 [npmjs.com](https://www.npmjs.com/package/@node-saml/node-saml/v/5.0.0)
- **Removed** `SAML.certsToCheck`  

SAML.certsToCheck was removed in @node-saml/node-saml 5.0.0 [npmjs.com](https://www.npmjs.com/package/@node-saml/node-saml/v/5.0.0)
- **Removed** `SAML.getCallbackUrl`  

SAML.getCallbackUrl was removed in @node-saml/node-saml 5.0.0 [npmjs.com](https://www.npmjs.com/package/@node-saml/node-saml/v/5.0.0)
- **Removed** `SamlConfig.cert`  

SamlConfig.cert was removed in @node-saml/node-saml 5.0.0 [npmjs.com](https://www.npmjs.com/package/@node-saml/node-saml/v/5.0.0)
- **Removed** `SamlConfig.host`  

SamlConfig.host was removed in @node-saml/node-saml 5.0.0 [npmjs.com](https://www.npmjs.com/package/@node-saml/node-saml/v/5.0.0)
- **Removed** `SamlConfig.name`  

SamlConfig.name was removed in @node-saml/node-saml 5.0.0 [npmjs.com](https://www.npmjs.com/package/@node-saml/node-saml/v/5.0.0)
- **Removed** `SamlConfig.passReqToCallback`  

SamlConfig.passReqToCallback was removed in @node-saml/node-saml 5.0.0 [npmjs.com](https://www.npmjs.com/package/@node-saml/node-saml/v/5.0.0)
- **Removed** `SamlConfig.path`  

SamlConfig.path was removed in @node-saml/node-saml 5.0.0 [npmjs.com](https://www.npmjs.com/package/@node-saml/node-saml/v/5.0.0)
- **Removed** `SamlConfig.protocol`  

SamlConfig.protocol was removed in @node-saml/node-saml 5.0.0 [npmjs.com](https://www.npmjs.com/package/@node-saml/node-saml/v/5.0.0)

And 21 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.
