-
Type:
Task
-
Resolution: Fixed
-
Priority:
Unknown
-
Affects Version/s: None
-
Component/s: Dependencies
Use Case
As a driver engineer,
I want to stay up to date with our supported Node versions,
So that we do not need to support long EOL'd node versions and so that we can use newer js syntax and features.
User Experience
- Users will see deprecation warnings when using our packages with unsupported node versions
Dependencies
- Requires mongosh/compass to have dropped support for Node16.
Risks/Unknowns
- Unsure.
Acceptance Criteria
Implementation Requirements
- Adjust the minimum supported version to the lowest LTS (at time of Node v7)
- (native bindings only)
- Remove support for Node16 and 18 in ci
- No need to test on ubuntu bionic for Node16 anymore
Upgrade node-gyp to the latest version (the current node-gyp version is pinned because it doesn't work with <python 3.8, and python3.8 is not available to download using apt-get on ubuntu)Will be done inNODE-7104
- Remove support for Node16 and 18 in ci
- Upgrade TS compilation target to whichever target corresponds to Node20
- Update dependabot config to remove exclusions that are no longer relevant
Testing Requirements
- n/a
Documentation Requirements
- Release note for migration guide
Follow Up Requirements
- additional tickets to file, required releases, etc
- if node behavior differs/will differ from other drivers, confirm with dbx devs what standard to aim for and what plan, if any, exists to reconcile the diverging behavior moving forward
- blocks
-
NODE-7156 Spike: Use String.prototype.isWellFormed/toWellFormed to make sure logs don't emit broken js strings
-
- Backlog
-
-
NODE-1599 js-bson should not make huge allocations in web environments
-
- Blocked
-
- is depended on by
-
COMPASS-9916 Investigate changes in NODE-6585: Update minimum supported Node version to 20
-
- Needs Triage
-
- related to
-
NODE-7104 Upgrade to node-gyp 11+ in native packages
-
- Closed
-