-
Type:
New Feature
-
Resolution: Duplicate
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: Compressors
-
Not Needed
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Use Case
As a developer
I want to avoid downloading `@mongodb-js/zstd` and use built-in zstd implementation from `zlib` (that was introduced in node 22.15.0)
So that there are less dependencies and less security concerns about binary files in dependencies and it's easier to enable without rebuilding the application
User Experience
- zstd can be used without fetching `@mongodb-js/zstd`
- `@mongodb-js/zstd` can still be used on legacy environments
Risks/Unknowns
- Developers could use zstd compression on environments with modern nodejs and then it won't run via older nodejs
- node 20 already reached EOL
Acceptance Criteria
Implementation Requirements
- there should be no difference between running built-in ztsd or `@mongodb-js/zstd`
Documentation Requirements
- every mention of `@mongodb-js/zstd` in docs should be updated, to indicate that it's optional
- duplicates
-
NODE-7097 Adopt built-in zstd support in Node.js
-
- In Code Review
-