@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
On this page
Latest version 5.2.0, released October 26, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
@node-saml/node-saml 5.2.0 breaking changes
- Removed
normalizeNewlines
normalizeNewlines is removed because xmldom now normalizes line endings. Code that calls it must stop calling it. github.com - 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 - Behavior changed
metadataContactPerson
metadataContactPerson output now follows the metadata schema. Code that depends on its previous output may need to change. github.com - Behavior changed
metadataOrganization
metadataOrganization output now follows the metadata schema. Code that depends on its previous output may need to change. github.com - 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 - 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 - 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 - 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 - Signature changed
SAML.validatePostRequestAsync
Was validatePostRequestAsync(container: Record<string, string>, {_parseDomFromString, _parseXml2JsFromString, _validateSignature}?: {_parseDomFromString?: ((xml: string) => Promise<Document>) | undefined; _parseXml2JsFromString?: ((xml... npmjs.com - 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 - 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 - 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 - 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 - Signature changed
SignatureAlgorithm
Was type SignatureAlgorithm = "sha1" | "sha256" | "sha512"; now type SignatureAlgorithm = "sha1" | "sha256" | "sha256-mgf1" | "sha512". npmjs.com
@node-saml/node-saml 5.0.0 breaking changes
- Removed
Types that were specific to Passport are removed. Code relying on them must stop using them. github.com - Removed
MandatorySamlOptions.cert
MandatorySamlOptions.cert was removed in @node-saml/node-saml 5.0.0 npmjs.com - Removed
SAML.certsToCheck
SAML.certsToCheck was removed in @node-saml/node-saml 5.0.0 npmjs.com - Removed
SAML.getCallbackUrl
SAML.getCallbackUrl was removed in @node-saml/node-saml 5.0.0 npmjs.com - Removed
SamlConfig.cert
SamlConfig.cert was removed in @node-saml/node-saml 5.0.0 npmjs.com - Removed
SamlConfig.host
SamlConfig.host was removed in @node-saml/node-saml 5.0.0 npmjs.com - Removed
SamlConfig.name
SamlConfig.name was removed in @node-saml/node-saml 5.0.0 npmjs.com - Removed
SamlConfig.passReqToCallback
SamlConfig.passReqToCallback was removed in @node-saml/node-saml 5.0.0 npmjs.com - Removed
SamlConfig.path
SamlConfig.path was removed in @node-saml/node-saml 5.0.0 npmjs.com - Removed
SamlConfig.protocol
SamlConfig.protocol was removed in @node-saml/node-saml 5.0.0 npmjs.com
And 21 more in this version. Sign up to see every change
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.