-
Type:
Spec Change
-
Resolution: Unresolved
-
Priority:
Trivial - P5
-
None
-
Affects Version/s: None
-
Component/s: GridFS
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)
Make internal the following deprecations:
- ClientSession -> transaction
- class Transaction (and remove internal deprecation markers)
Docs
Document all removals in a release note for the upgrade guide
- has to be done after
-
NODE-5590 Deprecate GridFS Fields
-
- Closed
-
- is duplicated by
-
NODE-6007 Remove unused CloseOptions interface
-
- Closed
-
- split from
-
DRIVERS-2656 Remove Deprecated GridFS Fields
-
- Implementing
-