Skip to content

Conversation

@dlongley
Copy link
Member

@dlongley dlongley commented Mar 5, 2025

Replaces all other PRs related to driver upgrades.

@dlongley dlongley requested a review from davidlehn March 5, 2025 22:14
@codecov-commenter
Copy link

codecov-commenter commented Mar 5, 2025

Codecov Report

Attention: Patch coverage is 63.75000% with 29 lines in your changes missing coverage. Please review.

Project coverage is 87.56%. Comparing base (0bde151) to head (e13469a).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
lib/authn.js 39.28% 17 Missing ⚠️
lib/index.js 42.10% 11 Missing ⚠️
lib/helpers.js 91.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #107      +/-   ##
==========================================
- Coverage   88.79%   87.56%   -1.23%     
==========================================
  Files           8        8              
  Lines         937      909      -28     
==========================================
- Hits          832      796      -36     
- Misses        105      113       +8     
Files with missing lines Coverage Δ
lib/config.js 100.00% <100.00%> (ø)
lib/exceptions.js 100.00% <100.00%> (ø)
lib/helpers.js 97.15% <91.66%> (+1.82%) ⬆️
lib/index.js 82.40% <42.10%> (+0.09%) ⬆️
lib/authn.js 69.51% <39.28%> (-9.38%) ⬇️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0cb2376...e13469a. Read the comment docs.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

config.mongodb.requirements = {};
// server version requirement with server-style string
config.mongodb.requirements.serverVersion = '>=4.2';
config.mongodb.requirements.serverVersion = '>=5';
Copy link
Member

Choose a reason for hiding this comment

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

The docs and tests are using v6. Is there a reason to have this lower?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, there is software out there still using 5 for which this works -- we can bump it further in the future to avoid additional blockers on getting this update through.

*
* SPDX-License-Identifier: Apache-2.0
*/

Copy link
Member

Choose a reason for hiding this comment

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

@BigBlueHat I recall the license tooling added these blank lines? Do they need to be preserved?

Copy link
Member Author

Choose a reason for hiding this comment

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

No, in fact, the licensing tool should not be inserting them.

Copy link
Member

Choose a reason for hiding this comment

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

I don't think it was a choice, similar to the extra spaces in the copyright date range. I was wondering if some part of that tooling would be grumpy if blank lines are gone.

package.json Outdated
Comment on lines 42 to 43
"eslint-plugin-unicorn": "^55.0.0",
"jsdoc-to-markdown": "^9.1.1"
Copy link
Member

Choose a reason for hiding this comment

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

remove unused dependency

Suggested change
"eslint-plugin-unicorn": "^55.0.0",
"jsdoc-to-markdown": "^9.1.1"
"eslint-plugin-unicorn": "^55.0.0"

@dlongley dlongley requested a review from davidlehn March 6, 2025 15:52
@dlongley dlongley merged commit ec25e2c into main Mar 7, 2025
6 checks passed
@dlongley dlongley deleted the new-driver-v6 branch March 7, 2025 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants