-
Notifications
You must be signed in to change notification settings - Fork 1.8k
refactor!(NODE-3295): Support node 12+ and reconfigure CI #2864
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
Conversation
f44902e to
9c65171
Compare
tsconfig.json
Outdated
| "moduleResolution": "node", | ||
| "lib": ["ES2018"], | ||
| "skipLibCheck": true, | ||
| "lib": ["es2019", "es2020.promise", "es2020.bigint", "es2020.string"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "license": "Apache-2.0", | ||
| "engines": { | ||
| "node": ">=10" | ||
| "node": ">=12.9.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This choice is based on:
Node 12.9 updated its v8 version: https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V12.md#2019-08-20-version-1290-current-targos
And these are the changes that it brings about: https://v8.dev/blog/v8-release-76
emadum
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, nice cleanup and future-proofing! 🚀
| const LATEST_EFFECTIVE_VERSION = '5.0'; | ||
| const MONGODB_VERSIONS = ['latest', '4.4', '4.2', '4.0', '3.6', '3.4', '3.2', '3.0', '2.6']; | ||
| const NODE_VERSIONS = ['dubnium', 'erbium', 'fermium']; | ||
| const MONGODB_VERSIONS = ['latest', '5.0', '4.4', '4.2', '4.0', '3.6', '3.4', '3.2', '3.0', '2.6']; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just wanted to point out this takes care of NODE-3306 (for 4.0 at least) - might want to capture that somehow.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something like commit messge?
refactor!(NODE-3295): Support node 12+ and update CI targets
[add some notes about each point hit here, tsconfig, tests, os versions]
Resolves NODE-3306
and I can add a link on that ticket I linked the ticket to this PR, I guess the commit message would be on you if you think we want that, I think it would be good for history if it comes up
- Supported Node engine is now 12+ - No longer testing Node 10 in CI - Simplified CI platform matrix: win64-vs2019/ubuntu-18.04/macos-10.14 - Run FLE/OCSP/TLS tests on all platforms - Add server version 5.0 to the matrix (resolves NODE-3306)
Changes
(temporarily disabled pending release of required changes)