Welcome to the MongoDB C++ Driver!
The default checkout branch of this repository is releases/stable
.
This will always contain the latest stable release of the driver. The
master
branch is used for active development. master
should
only be used when making contributions back to the driver, as it
is not stable for use in production.
See Driver Status by family and version for more details about the various versions of the driver.
- MongoDB C++ Driver Quickstart
- MongoDB C++ Driver Manual
- MongoDB C++ Driver API Documentation
- MongoDB C++ Driver Contribution guidelines
- MongoDB Database Manual
Stability indicates whether this driver is recommended for production use. Currently, no drivers guarantee API or ABI stability.
Family/version | Stability | Development | Purpose |
---|---|---|---|
(repo master branch) | Unstable | Active development | New feature development |
mongocxx 3.1.x | Stable | Bug fixes only | Current stable C++ driver release, requires C++11 |
mongocxx 3.0.x | Stable | Critical fixes only | Previous stable C++ driver release, requires C++11 |
legacy (all) | Stable | Critical fixes only | Legacy API stable C++ driver release, no longer recommended |
The following compatibility table specifies the driver version(s) recommended for different versions of MongoDB. The mongocxx series is recommended for all new development.
Family/version | MongoDB 2.4 | MongoDB 2.6 | MongoDB 3.0 | MongoDB 3.2 | MongoDB 3.4 |
---|---|---|---|---|---|
mongocxx 3.1.x | ✓ | ✓ | ✓ | ✓ | ✓ |
mongocxx 3.0.x | ✓ | ✓ | ✓ | ✓ | |
legacy 1.1.x | ✓ | ✓ | ✓ | ✓ | |
legacy 1.0.x | ✓ | ✓ | ✓ |
See our JIRA project.
The source files in this repository are made available under the terms of the Apache License, version 2.0.