mongodb version list
1.0.0
Get a list of all MongoDB version strings.
The list of available releases of MongoDB Server is currently only available as an HTML file published to http://dl.mongodb.org/dl/src/. Instead of writing yet another random script, I made a module that fetches the HTML, cleans it, and parses it into nice, semver compliant version strings. The remote HTML is also cached locally for ~24 hours.
mongodb://
connection string, or using an active node.js driver connection.npm install -g mongodb-version-list
const getMongoDBVersionList = require('mongodb-version-list');
getMongoDBVersionList(function(err, versions) {
if (err) return console.error(err);
console.log(`There are currently ${versions.length} versions of MongoDB Server available:`);
console.log(versions);
});
Usage: mongodb-version-list
Get a list of available MongoDB versions.
Usage:
mongodb-version-list
Options:
--debug Enable debug messages.
-h --help Show this screen.
--version Show version.
Running mongodb-version-list
outputs a JSON array of all available versions of MongoDB Server, which at the current time of writing are:
[
"3.5.8",
"3.5.7",
"3.5.6",
"3.5.5",
"3.5.4",
"3.5.3",
"3.5.2",
"3.5.1",
"3.4.5-rc2",
"3.4.5-rc1",
"3.4.5-rc0",
"3.4.4",
"3.4.4-rc0",
"3.4.3",
"3.4.3-rc2",
"3.4.3-rc1",
"3.4.2",
"3.4.2-rc0",
"3.4.1",
"3.4.1-rc0",
"3.4.0",
"3.4.0-rc5",
"3.4.0-rc4",
"3.4.0-rc3",
"3.4.0-rc2",
"3.4.0-rc1",
"3.4.0-rc0",
"3.3.15",
"3.3.14",
"3.3.13",
"3.3.12",
"3.3.11",
"3.3.10",
"3.3.9",
"3.3.8",
"3.3.7",
"3.3.6",
"3.3.5",
"3.3.4",
"3.3.3",
"3.3.2",
"3.3.1",
"3.3.0",
"3.2.14-rc0",
"3.2.13",
"3.2.13-rc0",
"3.2.12",
"3.2.12-rc0",
"3.2.11",
"3.2.11-rc1",
"3.2.11-rc0",
"3.2.10",
"3.2.10-rc2",
"3.2.10-rc1",
"3.2.10-rc0",
"3.2.9",
"3.2.9-rc1",
"3.2.9-rc0",
"3.2.8",
"3.2.8-rc1",
"3.2.8-rc0",
"3.2.7",
"3.2.7-rc1",
"3.2.7-rc0",
"3.2.6",
"3.2.6-rc0",
"3.2.5",
"3.2.5-rc1",
"3.2.5-rc0",
"3.2.4",
"3.2.4-rc0",
"3.2.3",
"3.2.2",
"3.2.2-rc2",
"3.2.2-rc1",
"3.2.2-rc0",
"3.2.1",
"3.2.1-rc3",
"3.2.1-rc2",
"3.2.1-rc1",
"3.2.1-rc0",
"3.2.0",
"3.2.0-rc6",
"3.2.0-rc5",
"3.2.0-rc4",
"3.2.0-rc3",
"3.2.0-rc2",
"3.2.0-rc1",
"3.2.0-rc0",
"3.1.9",
"3.1.8",
"3.1.7",
"3.1.6",
"3.1.5",
"3.1.4",
"3.1.3",
"3.1.2",
"3.1.1",
"3.1.0",
"3.0.15",
"3.0.15-rc0",
"3.0.14",
"3.0.13",
"3.0.13-rc0",
"3.0.12",
"3.0.12-rc0",
"3.0.11",
"3.0.10",
"3.0.10-rc1",
"3.0.10-rc0",
"3.0.9",
"3.0.9-rc0",
"3.0.8",
"3.0.8-rc0",
"3.0.7",
"3.0.7-rc0",
"3.0.6",
"3.0.6-rc2",
"3.0.6-rc1",
"3.0.6-rc0",
"3.0.5",
"3.0.5-rc2",
"3.0.5-rc1",
"3.0.5-rc0",
"3.0.4",
"3.0.4-rc0",
"3.0.3",
"3.0.3-rc2",
"3.0.3-rc1",
"3.0.3-rc0",
"3.0.2",
"3.0.2-rc0",
"3.0.1",
"3.0.1-rc0",
"3.0.0",
"3.0.0-rc9",
"3.0.0-rc8",
"3.0.0-rc7",
"3.0.0-rc6",
"3.0.0-rc11",
"3.0.0-rc10",
"2.8.0-rc5",
"2.8.0-rc4",
"2.8.0-rc3",
"2.8.0-rc2",
"2.8.0-rc1",
"2.8.0-rc0",
"2.7.8",
"2.7.7",
"2.7.6",
"2.7.5",
"2.7.4",
"2.7.3",
"2.7.2",
"2.7.1",
"2.7.0",
"2.6.12",
"2.6.12-rc0",
"2.6.11",
"2.6.11-rc0",
"2.6.10",
"2.6.10-rc0",
"2.6.9",
"2.6.9-rc0",
"2.6.8",
"2.6.8-rc0",
"2.6.7",
"2.6.7-rc0",
"2.6.6",
"2.6.6-rc0",
"2.6.5",
"2.6.5-rc4",
"2.6.5-rc3",
"2.6.5-rc2",
"2.6.5-rc1",
"2.6.5-rc0",
"2.6.4",
"2.6.4-rc1",
"2.6.3",
"2.6.2",
"2.6.2-rc1",
"2.6.2-rc0",
"2.6.1",
"2.6.1-rc1",
"2.6.1-rc0",
"2.6.0",
"2.6.0-rc3",
"2.6.0-rc2",
"2.6.0-rc1",
"2.6.0-rc0",
"2.5.5",
"2.5.4",
"2.5.3",
"2.5.2",
"2.5.1",
"2.5.0",
"2.4.14",
"2.4.14-rc0",
"2.4.13",
"2.4.13-rc0",
"2.4.12",
"2.4.12-rc0",
"2.4.11",
"2.4.11-rc0",
"2.4.10",
"2.4.10-rc0",
"2.4.9",
"2.4.9-rc0",
"2.4.8",
"2.4.7",
"2.4.7-rc0",
"2.4.6",
"2.4.6-rc1",
"2.4.6-rc0",
"2.4.5",
"2.4.5-rc0",
"2.4.4",
"2.4.4-rc0",
"2.4.3",
"2.4.3-rc0",
"2.4.2",
"2.4.2-rc0",
"2.4.1",
"2.4.0",
"2.4.0-rc3",
"2.4.0-rc2",
"2.4.0-rc1",
"2.4.0-rc0",
"2.3.2",
"2.3.1",
"2.3.0",
"2.2.7",
"2.2.7-rc0",
"2.2.6",
"2.2.6-rc0",
"2.2.5",
"2.2.5-rc0",
"2.2.4",
"2.2.4-rc0",
"2.2.3",
"2.2.3-rc1",
"2.2.3-rc0",
"2.2.2",
"2.2.2-rc1",
"2.2.2-rc0",
"2.2.1",
"2.2.1-rc1",
"2.2.1-rc0"
]
Apache 2.0