Driver Compatibility¶
MongoDB Compatibility¶
The following compatibility table specifies the recommended version(s) of the MongoDB Ruby driver for use with a specific version of MongoDB.
The first column lists the driver version(s).
Ruby Driver | MongoDB 2.4 | MongoDB 2.6 | MongoDB 3.0 | MongoDB 3.2 | MongoDB 3.4 | MongoDB 3.6 |
---|---|---|---|---|---|---|
2.5 | ✓ | ✓ | ✓ | ✓ | ✓ | |
2.4 | ✓ | ✓ | ✓ | ✓ | ✓ | |
2.3 | ✓ | ✓ | ✓ | ✓ | ||
2.2 | ✓ | ✓ | ✓ | ✓ | ||
2.0 | ✓ | ✓ | ✓ | |||
1.12 | ✓ | ✓ | ✓ | |||
1.11 | ✓ | ✓ | ||||
1.10 | ✓ | ✓ | ||||
1.9 | ✓ | |||||
1.8 | ✓ |
The driver does not support older versions of MongoDB.
Language Compatibility¶
The following compatibility table specifies the recommended version(s) of the MongoDB Ruby driver for use with a specific version of Ruby.
The first column lists the driver version(s).
Ruby Driver | Ruby 1.8.7 | Ruby 1.9 | Ruby 2.0 | Ruby 2.1 | Ruby 2.2 | Ruby 2.3 | Ruby 2.4 | JRuby |
---|---|---|---|---|---|---|---|---|
2.5 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ||
2.4 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ||
2.3 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ||
2.2 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ||
2.1 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ||
2.0 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ||
1.9 - 1.12 | ✓ | ✓ | ✓ | ✓ | ✓ | |||
1.8 | ✓ | ✓ | ✓ | ✓ | ||||
1.7 | ✓ | ✓ | ✓ | |||||
1.6 | ✓ | ✓ | ✓ |