Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(NODE-4641): remove wire version checks for unsupported servers #3416

Merged
merged 3 commits into from
Sep 28, 2022

Conversation

LinusU
Copy link
Contributor

@LinusU LinusU commented Sep 15, 2022

Description

As a follow up to #3409, this removes all wire version checks which check for a version that is no longer supported by this driver.

What is changing?

Code that wasn't used is being removed.

Is there new documentation needed for these changes?

No

What is the motivation for this change?

My motivation behind this was to clean up the code, and remove unnecessary checks.

Double check the following

  • Ran npm run check:lint script
  • Self-review completed using the steps outlined here
  • PR title follows the correct format: <type>(NODE-xxxx)<!>: <description> I think so, there is no issue number for this but saw other commits that omitted this
  • Changes are covered by tests no current tests should fail since this code wasn't used
  • New TODOs have a related JIRA ticket

@baileympearson baileympearson changed the title chore: remove wire version checks for unsupported servers chore(NODE-4641): remove wire version checks for unsupported servers Sep 16, 2022
@baileympearson baileympearson added the Primary Review In Review with primary reviewer, not yet ready for team's eyes label Sep 16, 2022
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.

Can we also update the wire version checks in update and delete related to hint?

src/cmap/connection.ts Outdated Show resolved Hide resolved
@baileympearson
Copy link
Contributor

Hey @LinusU - are you able to make the changes I requested? If not, I'm happy to take over the PR from here if that's okay with you.

@baileympearson baileympearson merged commit 7c8ff33 into mongodb:main Sep 28, 2022
@LinusU
Copy link
Contributor Author

LinusU commented Sep 29, 2022

sorry for not getting back to you earlier, and thank you so much for landing this PR! ❤️

@LinusU LinusU deleted the wire-version-cleanup branch September 29, 2022 18:17
ZLY201 pushed a commit to ZLY201/node-mongodb-native that referenced this pull request Nov 5, 2022
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