@bedrock/mongodb
Advanced tools
Changelog
10.1.0 - 2022-09-01
config.protocol
which allows connections to replicateSets
using mongodb+srv
. This option will likely be removed in a future breaking
release along with other parameterized values for the connection URL. Instead,
the expectation is that only a full url
will be supported.config.port
is invalid.config.port
if it's undefined
or null
.Changelog
10.0.1 - 2022-08-30
openDatabase
pings server on successful connect.authSource: undefined
as this causes connection strings with auth to fail.ssl: undefined
in connectOptions
.openDatabase
now queries for serverInfo
first.openDatabase
now correctly checks if auth is needed.openDatabase
no longer logs in authenticated users twice.socketOptions
are now set correctly in connectOptions
.db.databaseName
when logging connection success over config.name
.Changelog
10.0.0 - 2022-04-28
@bedrock/core@6
peer dep.