vibe-mongodriver 1.0.1: MongoDB 8 driver for D

Bogdan Szabo contact at szabobogdan.com
Tue Jul 28 08:11:23 UTC 2026


I have released vibe-mongodriver 1.0.1, a MongoDB client for D 
supporting servers up to 8.0. It started as MongoDB work inside a 
fork of vibe.d and outgrew it. I opened pull requests upstream 
but have not had feedback on them, and a rewrite spanning this 
many commits was unlikely to land as a single change anyway. 
Missing support for recent MongoDB versions is a common reason to 
pass on vibe.d, so rather than leave the work sitting in a 
private fork, I am releasing it as a separate package.


Beyond vibe-d:mongodb, it adds Server Discovery and Monitoring, 
replica set and sharded topologies, load-balanced mode, 
mongodb+srv seedlists, transactions with pooled sessions, causal 
consistency, retryable writes, change streams, GridFS, 
client-side field-level encryption, MongoDB 8 bulkWrite, wire 
compression, and SCRAM-SHA-256 and X.509 authentication. CI runs 
the integration suite against MongoDB 3.6 through 8.0. The API is 
unchanged, so migration is one sed 
(s/vibe\.db\.mongo\b/vibe.db.mongodriver/g), and since only 
module names differ, both packages can link into the same binary, 
letting a large codebase migrate incrementally.

MIT licensed, original vibe.d history preserved.

https://code.dlang.org/packages/vibe-mongodriver
https://gitlab.com/GISCollective/vibe-mongodriver


More information about the Digitalmars-d-announce mailing list