npm / mongodb-connection-string-url
mongodb-connection-string-url
What changed in mongodb-connection-string-url 7, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.
2 breaking1 security1 tooling2 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initmongodb-connection-string-url 76 changes
Breaking changes 2
An unescaped @ in credentials now throws instead of silently misparsing the connection string.
The minimum supported Node.js version is now v20.19.0; Node.js v16 and v18 are no longer supported.
Security 1
Invalid connection strings are no longer revealed in error messages, reducing sensitive information disclosure.
Tooling 1
The TypeScript target has been updated to ES2023.
Fixes and other changes 2
The generic type restriction now uses extends {}, permitting string-keyed types as arguments and improving compatibility with AuthMechanismProperties.
The generic type restriction now uses extends {}, permitting string-keyed types as arguments and improving compatibility with AuthMechanismProperties.