[SERVER-51375] Add "api_version" and "is_deprecated" fields to IDL command syntax Created: 05/Oct/20  Updated: 29/Oct/23  Resolved: 22/Oct/20

Status: Closed
Project: Core Server
Component/s: IDL
Affects Version/s: None
Fix Version/s: 5.0.0-rc0

Type: Task Priority: Major - P3
Reporter: Samyukta Lanka 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 SERVER-51377 Enforce that all API V1 command defin... Closed
is depended on by SERVER-51378 Add "unstable" parameter field to IDL... Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2020-11-02
Participants:

 Description   

api_version: A string. Optional. The default value is empty, meaning that the IDL command is not in any API version. Add api_version: "1" to all commands in API Version 1. If in the future a command changes between API Versions, there will be a separate IDL definition for API Version 1, a separate IDL definition for API Version 2, and so on.

is_deprecated: A boolean. Optional. True if this command is deprecated in its API version. The IDL compiler will raise an error if this is set and apiVersion is not set.



 Comments   
Comment by Githook User [ 22/Oct/20 ]

Author:

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

Message: SERVER-51375 Add "api_version" and "is_deprecated" to IDL
Branch: master
https://github.com/mongodb/mongo/commit/e67cf78cf5d90c88bc90943b68952a091a3fa2e9

Comment by A. Jesse Jiryu Davis [ 16/Oct/20 ]

Replaced "api_versions" with "api_version", singular, due to a design change.

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