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

Update to driver and bson v5.x

    • Type: Icon: Story Story
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.8.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • 8
    • Needed
    • Hide

      We update the Node.js driver to 5.1.0 in mongosh. This affects users in a few ways:

      • EJSON.stringify no longer accepts a strict option in the shell.
      • ObjectId.prototype.generate, ObjectId.prototype.getInc, ObjectId.prototype.get_inc, ObjectId.getInc are all removed from the shell.
      • Code objects always store a string, never a JavaScript function in their .code property
      • Only own keys of objects (and not inherited enumerable keys) passed to database functions will be sent to the server.
      Show
      We update the Node.js driver to 5.1.0 in mongosh. This affects users in a few ways: EJSON.stringify no longer accepts a strict option in the shell. ObjectId.prototype.generate, ObjectId.prototype.getInc, ObjectId.prototype.get_inc, ObjectId.getInc are all removed from the shell. Code objects always store a string, never a JavaScript function in their .code property Only own keys of objects (and not inherited enumerable keys) passed to database functions will be sent to the server.
    • Iteration Unicornfish, Iteration Velvet Crab

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

            Created:
            Updated:
            Resolved: