-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
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 Node versions below 22
Risks/Unknowns
- Node 22 reaches EOL on 2027-04-30. If the V8 release slips substantially past that date, revisit whether Node 24 (EOL 2028-04-30) should be the minimum instead.
Acceptance Criteria
Implementation Requirements
- Adjust the minimum supported version to the lowest LTS (at time of Node v8), pinned to the latest Node 22 minor version
- Apply across all published packages: mongodb, bson, mongodb-client-encryption, mongodb-connection-string-url, kerberos, zstd
- Remove support for EOL node versions in ci (native bindings only)
- Evaluate upgrading the TS compilation target from ES2023 to whichever target corresponds to Node 22
- 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
- n/a
- is duplicated by
-
NODE-7705 Update minimum supported Node version to 22
-
- Closed
-
1.
|
Update minimum node version to Node 22 in the driver | NODE-7707 |
|
Ready for Work | Unassigned | |
2.
|
Update minimum node version to Node 22 in bson | NODE-7708 |
|
Ready for Work | Unassigned | |
3.
|
Update minimum node version to Node 22 in mongodb-client-encryption | NODE-7709 |
|
Ready for Work | Unassigned | |
4.
|
Update minimum node version to Node 22 in mongodb-connection-string-url | NODE-7710 |
|
Ready for Work | Unassigned | |
5.
|
Update minimum node version to Node 22 in kerberos | NODE-7711 |
|
Ready for Work | Unassigned | |
6.
|
Update minimum node version to Node 22 in zstd | NODE-7712 |
|
Ready for Work | Unassigned | |
7.
|
Update minimum node version to Node 22 in dbx-js-tools | NODE-7713 |
|
Ready for Work | Unassigned |