unstale

npm / mongodb-connection-string-url

mongodb-connection-string-url

What changed in mongodb-connection-string-url 3 to 7, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

3 breaking1 security1 tooling3 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

mongodb-connection-string-url 77 changes

Breaking changes 2

  • An unescaped @ in credentials now throws instead of silently misparsing the connection string.

    7.0.2release notes

  • The minimum supported Node.js version is now v20.19.0; Node.js v16 and v18 are no longer supported.

    7.0.0release notes

Security 1

  • Invalid connection strings are no longer revealed in error messages, reducing sensitive information disclosure.

    7.0.2release notes

Tooling 1

  • The TypeScript target has been updated to ES2023.

    7.0.0release notes

Fixes and other changes 3

  • toString() and constructor error messages now serialize host names exactly as provided.

    7.0.3release notes

  • The generic type restriction now uses extends {}, permitting string-keyed types as arguments and improving compatibility with AuthMechanismProperties.

    7.0.2release notes

  • The generic type restriction now uses extends {}, permitting string-keyed types as arguments and improving compatibility with AuthMechanismProperties.

    7.0.2release notes

mongodb-connection-string-url 31 changes

Breaking changes 1

  • The supported Node.js version range changed; the notes do not specify the new range.

    3.0.0release notes