Skip to content

Conversation

durran
Copy link
Member

@durran durran commented Oct 1, 2025

Description

Removes deprecated items or marks them internal where appropriate.

Summary of Changes

What is the motivation for this change?

NODE-5545

Release Highlight

Deprecated Types, Classes, and Options Have Been Removed

Includes:

GridFSFile.contentType
GridFSFile.aliases
GridFSBucketWriteStreamOptions.contentType
GridFSBucketWriteStreamOptions.aliases
CloseOptions
ResumeOptions
MongoClientOptions.useNewUrlParser
MongoClientOptions.useUnifiedTopology
CreateCollectionOptions.autoIndexId
FindOptions<TSchema> // now no generic type
ClientMetadataOptions
FindOneOptions.batchSize
FindOneOptions.limit
FindOneOptions.noCursorTimeout
ReadPreference.minWireVersion
ServerCapabilities
CommandOperationOptions.retryWrites // is a global option on the MongoClient
ClientSession.transaction
Transaction
CancellationToken

Double check the following

  • Lint is passing (npm run check:lint)
  • Self-review completed using the steps outlined here
  • PR title follows the correct format: type(NODE-xxxx)[!]: description
    • Example: feat(NODE-1234)!: rewriting everything in coffeescript
  • Changes are covered by tests
  • New TODOs have a related JIRA ticket

@durran durran marked this pull request as ready for review October 1, 2025 17:40
@durran durran requested a review from a team as a code owner October 1, 2025 17:40
@baileympearson baileympearson self-assigned this Oct 1, 2025
@baileympearson baileympearson added the Primary Review In Review with primary reviewer, not yet ready for team's eyes label Oct 1, 2025
Copy link
Contributor

@baileympearson baileympearson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few minor comments!

@durran
Copy link
Member Author

durran commented Oct 1, 2025

@baileympearson #4704 (comment)

I've updated the GridFS tests to latest and skipped the new ones.

@dariakp dariakp added Team Review Needs review from team and removed Primary Review In Review with primary reviewer, not yet ready for team's eyes labels Oct 6, 2025
@dariakp dariakp self-assigned this Oct 6, 2025
@durran durran requested a review from dariakp October 7, 2025 18:37
@dariakp dariakp merged commit cfbada6 into main Oct 7, 2025
23 of 25 checks passed
@dariakp dariakp deleted the NODE-5545 branch October 7, 2025 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team Review Needs review from team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants