NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #3757 most downloaded on npm
MongoDB connection strings, based on the WhatWG URL API
Last release 2 months ago
15 Jul 2026
Release timing varies
gaps range from 2 weeks to 11 months
Nearly every release is documented
notes for 25 of 27 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
28 releases · first in 2021
The MongoDB Node.js team is pleased to announce version 7.0.2 of the mongodb-connection-string-url package!
The MongoDB Node.js team is pleased to announce version 7.0.2 of the mongodb-connection-string-url package!
.typedSearchParams<...>()CommaAndColonSeparatedRecord<...>The generics passed into these APIs were inadvertently made stricter than desirable. They've been updated to use the extends {} condition which permits string keyed types as a type argument. Notably improving the compatibility with the driver's AuthMechanismProperties type, a possible output of connection string parsing.
Unescaped @ in credentials now throws instead of silently misparsing.
Invalid connection strings are no longer revealed in error messages, reducing sensitive information disclosure. Historically we've had URI's embedded in error messages from validation failures.
We invite you to try the mongodb-connection-string-url library immediately, and report any issues to the NODE project.
One column per quarter.
The MongoDB Node.js team is pleased to announce version 7.0.1 of the mongodb-connection-string-url package!
The MongoDB Node.js team is pleased to announce version 7.0.1 of the mongodb-connection-string-url package!
This release does not contain public-facing changes.
We invite you to try the mongodb-connection-string-url library immediately, and report any issues to the NODE project.
The MongoDB Node.js team is pleased to announce version 7.0.0 of the mongodb-connection-string-url package!
The MongoDB Node.js team is pleased to announce version 7.0.0 of the mongodb-connection-string-url package!
[!Note] There are no major versions 4.x to 6.x of the
mongodb-connection-string-urlpackage. The major version of this package has been aligned with the major version of themongodbpackage, to make it clearer which versions are intended to be used together.
The minimum supported Node.js version is now v20.19.0. We strive to keep our minimum supported Node.js version in sync with the runtime's release cadence to keep up with the latest security updates and modern language features. Our TypeScript target has also been updated to ES2023.
NODE-7058: drop support for Node 16 and 18
Ensuring you have 14 installed in your dependency tree should address the deprecation warning related to 'punycode'
The MongoDB Node.js team is pleased to announce version 3.0.2 of the mongodb-connection-string-url package!
This release updates the whatwg-url dependency to either be 13.x or 14.x as either works with this package. Ensuring you have 14 installed in your dependency tree should address the deprecation warning related to 'punycode'
We invite you to try the mongodb-connection-string-url library immediately, and report any issues to the NODE project.
Nothing was changed in this release
363c7be fix: update whatwg-url version due to deprecation warning
fix(redact): handle empty username when redacting password
16051cc fix: remove regexp lookbehind usage COMPASS-5738
828628b fix: never allow literal unescaped @ as part of usernames COMPASS-5958
bd13183 fix: keep error messages for loose validation same as for strict validation
6dff313 fix: use looseValidation for cloning ConnectionString instances
c84b6bd feat: add opt-in for looser connection string validation
7793102 fix: check missing host after auth COMPASS-5471
4dfbe69 fix: relax TS types for Compass TS config
7acda22 feat: allow typing searchParams and record types
1e1d1d1 chore: Always start matching from the beginning of the string
be0789b chore: make redaction a bit more configurable COMPASS-5038
ec8e864 feat: add connection string redaction utilities COMPASS-5308
fd4d939 chore: bump whatwg-url to 11.0.0
905c62b chore: Update gen-esm-wrapper to handle esm interop better in the resulting build
05b4d09 chore(ci): add Node.js 16, drop Node.js 10
5a7dbb0 fix: enable typescript strict flag
dd55c66 fix: authMechanismProperties is case-insensitive
Nothing published for this version
5033297 feat: add CommaAndColonSeparatedRecord class
@types/whatwg-url to proper dependencycebcaae chore: always use whatwg-url
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →