Skip to content

Conversation

tadjik1
Copy link
Contributor

@tadjik1 tadjik1 commented Sep 16, 2025

Description

Summary of Changes

Deprecate option retryWrites in CommandOperationOptions.

Release Highlight

CommandOperationOptions.retryWrites is deprecated

CommandOperationOptions.retryWrites is deprecated. This per‑command option has no effect; the Node.js driver only honors retryWrites when configured at the client level (MongoClient options) or via the connection string. Do not use this option on individual commands. There is no runtime behavior change because it was already ignored, but it will be removed in an upcoming major release and may cause type or build errors in code that references it. To control retryable writes, set retryWrites in MongoClient options or include retryWrites=true|false in the connection string.

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

@tadjik1 tadjik1 marked this pull request as ready for review September 16, 2025 16:29
@tadjik1 tadjik1 requested a review from a team as a code owner September 16, 2025 16:29
@durran durran self-assigned this Sep 17, 2025
@durran durran added the Primary Review In Review with primary reviewer, not yet ready for team's eyes label Sep 17, 2025
@durran durran merged commit 620972d into main Sep 17, 2025
31 checks passed
@durran durran deleted the NODE-7157 branch September 17, 2025 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Primary Review In Review with primary reviewer, not yet ready for team's eyes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants