[SERVER-49380] mongo shell changes for MongoDB Stable API Created: 08/Jul/20  Updated: 29/Oct/23  Resolved: 20/Aug/20

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.7.0

Type: Task Priority: Major - P3
Reporter: A. Jesse Jiryu Davis Assignee: A. Jesse Jiryu Davis
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Documented
is documented by DOCS-13845 Investigate changes in SERVER-49380: ... Closed
Related
related to SERVER-55593 Iterating cursor fails when the shell... Closed
related to SERVER-56778 mongo shell doesn't send API paramete... Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2020-08-24
Participants:
Linked BF Score: 89

 Comments   
Comment by Githook User [ 20/Aug/20 ]

Author:

{'name': 'A. Jesse Jiryu Davis', 'email': 'jesse@mongodb.com', 'username': 'ajdavis'}

Message: SERVER-49380 Add API params to mongo shell
Branch: master
https://github.com/mongodb/mongo/commit/d3064df927c97abd402ee5768ab57667ed6849c9

Comment by A. Jesse Jiryu Davis [ 06/Aug/20 ]

The Drivers scope doc is now approved, with the following syntax:

# Declare API version 1
client = MongoClient(api={"version": "1"})
 
# Declare API version 1, specifying additional options
client = MongoClient(api={"version": "1", "strict": true, "deprecationErrors": true})

Generated at Thu Feb 08 05:19:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.