Skip to content

Conversation

baileympearson
Copy link
Contributor

@baileympearson baileympearson commented Oct 8, 2025

Description

Summary of Changes

This PR removes the beta namespace from the driver and moves all explicit resource management configuration onto each disposable resource.

Notes for Reviewers

What is the motivation for this change?

Release Highlight

Explicit resource management natively supported

The driver now offers native support for explicit resource management. Symbol.asyncDispose implementations are available on the MongoClient, ClientSession, ChangeStream and on cursors.

Note

Explicit resource management is considered experimental in the driver and will be until the TC39 explicit resource management proposal is completed.

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

@baileympearson baileympearson marked this pull request as ready for review October 8, 2025 16:09
@baileympearson baileympearson requested a review from a team as a code owner October 8, 2025 16:09
@durran durran self-assigned this Oct 8, 2025
@durran durran added the Primary Review In Review with primary reviewer, not yet ready for team's eyes label Oct 8, 2025
@durran durran merged commit fb2824f into main Oct 8, 2025
25 of 27 checks passed
@durran durran deleted the NODE-7016 branch October 8, 2025 20:40
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