Giter Club home page Giter Club logo

mongodb-version-list's Introduction

mongodb-version-list

Get a list of all MongoDB version strings.

Background

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.

Related

  • mongodb-download-url Get the URL to download just about any permutation of MongoDB Server release assets.
  • mongodb-version-manager Manage multiple versions of MongoDB on a single macOS, Windows, or Linux machine.
  • mongodb-runner Easily install and run MongoDB Server to test your code against any version, in any configuration, on any platform.
  • kill-mongodb Kill any currently running MongoDB instances on your machine.
  • is-mongodb-running Is MongoDB running on your machine and if so, on what port(s)?
  • get-mongodb-version Get the current version of MongoDB Server running on your machine, remotely via a mongodb:// connection string, or using an active node.js driver connection.

Installation

npm install -g mongodb-version-list

Usage

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);
});

CLI

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"
]

License

Apache 2.0

mongodb-version-list's People

Contributors

cognitom avatar durran avatar greenkeeper[bot] avatar imlucas avatar pzrq avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

mongodb-version-list's Issues

An in-range update of debug is breaking the build 🚨

Version 2.4.0 of debug just got published.

Branch Build failing 🚨
Dependency debug
Current Version 2.3.3
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

As debug is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you it’s very likely also breaking them.
I recommend you give this issue a very high priority. I’m sure you can resolve this πŸ’ͺ


Status Details
  • ❌ continuous-integration/travis-ci/push The Travis CI build failed Details
Commits

The new version differs by 7 commits .

  • b82d4e6 release 2.4.0
  • 41002f1 Update bower.json (#342)
  • e58d54b Node: configurable util.inspect() options (#327)
  • 00f3046 Node: %O (big O) pretty-prints the object (#322)
  • bd9faa1 allow colours in workers (#335)
  • 501521f Use same color for same namespace. (#338)
  • e2a1955 Revert "handle regex special characters"

See the full diff.

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.