[CXX-1567] Deprecate autoIndexId for collection creation Created: 24/Apr/18  Updated: 28/Oct/23  Resolved: 08/May/18

Status: Closed
Project: C++ Driver
Component/s: API
Affects Version/s: None
Fix Version/s: 3.3.0-rc0

Type: New Feature Priority: Major - P3
Reporter: Rathi Gnanasekaran 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
is depended on by DRIVERS-473 Deprecate autoIndexId for collection ... Closed
Epic Link: CXX MongoDB 4.0 Support

 Description   

The autoIndexId on the create command has been deprecated since 3.2. The driver should similarly deprecate it, and also stop sending autoIndexId : true by default, as that results in a warning in the response:

{ "note" : "the autoIndexId option is deprecated and will be removed in a future release",



 Comments   
Comment by Githook User [ 08/May/18 ]

Author:

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

Message: CXX-1567 Finish deprecating autoIndexId
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/e51b145e3cad96faba62376770c09931c770a857

Generated at Wed Feb 07 22:03:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.