Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-1286

Add way to query driver versions

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.10.1
    • Affects Version/s: None
    • Component/s: CLI Module
    • None
    • 3
    • Needed
    • Hide

      1. mongosh now exposes dependency version information when started with the --build-info flag
      2. mongosh now exposes a `buildInfo()` built-in function when run from the CLI, which provides the same information as the `--build-info` flag.

      Show
      1. mongosh now exposes dependency version information when started with the --build-info flag 2. mongosh now exposes a `buildInfo()` built-in function when run from the CLI, which provides the same information as the `--build-info` flag.
    • Iteration Dreadnoughtus

      Suggestion: We add the versions of the following versions in a programmatically accessible way, e.g. through a command line flag similar to --build-info:

      • Node.js driver version
      • libmongocrypt version
      • libmongocrypt bindings version
      • MongoDB crypt shared library version (if applicable)

      Additionally, it might be helpful to expose buildInfo() as a command in the shell, e.g. by injecting it in the cli-repl context creation code.

      Slack thread: https://mongodb.slack.com/archives/CUHC9R8J0/p1659725194922659

            Assignee:
            anna.henningsen@mongodb.com Anna Henningsen
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: