Skip to content

Releases: mongodb-js/zstd

v2.0.0-alpha.0

27 Nov 21:17
35d87d9
Compare
Choose a tag to compare
v2.0.0-alpha.0 Pre-release
Pre-release
chore(main): release 2.0.0-alpha.0 (#41)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Bailey Pearson <[email protected]>

v1.2.2

16 Sep 13:56
Compare
Choose a tag to compare

The MongoDB Node.js team is pleased to announce version 1.2.2 of the zstd package!

Release Highlights

This release fixes darwin x86_64 builds.

v1.2.1

09 Sep 17:19
Compare
Choose a tag to compare

The MongoDB Node.js team is pleased to announce version 1.2.0 of the zstd package!

Release Highlights

This release fixes JS stack traces when errors are thrown in the native bindings.

v1.2.0

29 Aug 17:11
Compare
Choose a tag to compare

The MongoDB Node.js team is pleased to announce version 1.2.0 of the zstd package!

Release Highlights

This release fixes a security vulnerability introduced in the zstd-safe library

v1.1.0

23 Jan 13:56
Compare
Choose a tag to compare

The MongoDB Node.js team is pleased to announce version 1.1.0 of the zstd package!

Release Highlights

This release allows the use of the library on Alpine Linux (musl).

v1.0.0

18 May 20:54
Compare
Choose a tag to compare

The MongoDB Node.js team is pleased to announce version 1.0.0 of the zstd package!

Release Highlights

This library allows zstd compression in Node.js, which can compress and decompress buffers with various levels (1-22).

Usage

import { compress, decompress } from '@mongodb-js/zstd';

(async () => {
  const buffer = Buffer.from('test');
  const compressed = await compress(buffer, 10);
  const decompressed = await decompress(compressed);
})();

API

export function compress(buffer: Buffer | ArrayBuffer | Uint8Array, level: number): Promise<Buffer>
export function decompress(buffer: Buffer): Promise<Buffer>

Supported Platforms

node12 node14 node16 node17
Windows x64
macOS x64
macOS arm64
Linux x64 gnu
Linux arm gnu
Linux arm64 gnu

v0.0.7

18 May 20:19
Compare
Choose a tag to compare
chore(release): 0.0.7

v0.0.6

18 May 18:50
Compare
Choose a tag to compare
chore(release): 0.0.6

v0.0.5

09 May 14:53
Compare
Choose a tag to compare
chore(release): 0.0.5

v0.0.4

06 May 19:10
Compare
Choose a tag to compare
chore(release): 0.0.4