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

Allow usage of latest Node.js with mongosh in homebrew

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.0.2
    • Affects Version/s: None
    • Component/s: Release
    • Labels:
    • 3
    • Not Needed
    • Iteration Iguanodon, Iteration Juravenator, Iteration Kentrosaurus

      From https://github.com/Homebrew/homebrew-core/pull/123143:

      but typically we switch formulae dependencies to a versioned formula if:

      1. The formula is broken when used with the latest version; and,
      2. The breakage can be demonstrated in the test block which should do something that will error when used with the latest version of the relevant dependency but won't with an older one

      Currently, mongosh is broken with Node.js 18/19, but we should find a way to integrate better with the homebrew policy here to allow usage of modern Node.js versions (e.g. by starting to test latest Node.js in CI, at least for macOS).

            anna.henningsen@mongodb.com Anna Henningsen
            anna.henningsen@mongodb.com Anna Henningsen
            0 Vote for this issue
            2 Start watching this issue