-
Type:
Investigation
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
This ticket was split from DRIVERS-2656, please see that ticket for a detailed description.
AC
Remove the following deprecations:
- GridFSFile: contentType, aliases
- GridFSBucketWriteStreamOptions: contentType, aliases
- CloseOptions interface
- ResumeOptions interface
- client options: useNewUrlParser, useUnifiedTopology
- CreateCollectionOptions -> autoIndexId (deprecated in server 3.2, removed in server 8.2; several drivers have already removed it)
- the generic TSchema param from FindOptions interface
- ClientMetadataOptions interface (the code comment says make internal, but it is unused, so it can be deleted)
- FindOneOptions deprecations. This must result in a FindOneOptions interface that does not inherit from FindOptions, but contains a subset of the FindOptions in order to not be considered equal with FindOptions.
- ReadPreference: minWireVersion
- ServerCapabilities
- `CommandOperationOptions` -> `retryWrites`
Make internal the following deprecations:
- ClientSession -> transaction
- class Transaction (and remove internal deprecation markers)
- CancellationToken
Docs
Document all removals in a release note for the upgrade guide
- depends on
-
NODE-5545 V7 deprecation removals: Remove Deprecated GridFS Fields and others
-
- Closed
-