Skip to content

Conversation

baileympearson
Copy link
Contributor

@baileympearson baileympearson commented Oct 13, 2025

Description

Summary of Changes

Notes for Reviewers

What is the motivation for this change?

Release Highlight

Cursor and ChangeStream stream() method no longer accepts a transform

Cursors and ChangeStreams no longer accept a transform function. ReadableStream.map() can be used instead:

// before
const stream = cursor.stream({ transform: JSON.stringify });

// after
const stream = cursor.stream().map(JSON.stringify);

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 13, 2025 22:17
@baileympearson baileympearson requested a review from a team as a code owner October 13, 2025 22:17
@durran durran self-assigned this Oct 15, 2025
@durran durran added the Primary Review In Review with primary reviewer, not yet ready for team's eyes label Oct 15, 2025
@durran durran merged commit 1702987 into main Oct 15, 2025
25 of 27 checks passed
@durran durran deleted the NODE-4808 branch October 15, 2025 11:07
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.

2 participants