Skip to content

Releases: DataDog/zstd

zstd 1.4.8

16 Feb 16:41
12a1eb7
Compare
Choose a tag to compare
zstd 1.4.8 Pre-release
Pre-release

This release updates the upstream zstd version to 1.4.8 (#93)

zstd 1.4.5 - wrapper patches 2

16 Feb 16:28
8cb8bac
Compare
Choose a tag to compare
Pre-release

The semantic versioning of this release is a bit particular since it only includes changes in the Go wrapper without any changes from the upstream C repository (https://github.com/facebook/zstd/releases).

Changes:

  • Pass pointers to C as unsafe.Pointer, not uintptr (memory corruption) @evanj (#91)
  • Add go.mod file @Viq111 (#94)
  • [circleci] Fix 32 bits builds @Viq111 (#92)

This is a recommended version as it fixes a potential memory corruption bug when the system is under-pressure (memory and/or lots of threads) which forces the Go runtime to move the stack around.

edit: This version went back to pre-release as it contains a bug when using a Writer object from another package (see #97)

zstd 1.4.5 - wrapper patches

17 Aug 20:59
4b8fdba
Compare
Choose a tag to compare

The semantic versioning of this release is a bit particular since it only includes changes in the Go wrapper without any changes from the upstream C repository (https://github.com/facebook/zstd/releases).

New APIs:

  • Ctx.Compress, Ctx.CompressLevel & Ctx.Decompress were added thanks to @merlimat . This new API is useful for compressing/decompressing a lot of small payloads with better performance. (#83)
  • Writer.Flush() was added thanks to @delthas (#86).

CI related PR:

  • Run CI against Go version 1.14 & 1.15 @Viq111 (#87)

zstd 1.4.5

06 Apr 12:47
0e71ac6
Compare
Choose a tag to compare

This release picks up the new zstd C API (and removes the use of the deprecated ones).

It fixes 2 main issues: #22 & #39

Changes:

  • Use ZSTD_compressStream2 C API (#79)
  • Use ZSTD_decompressStream C API (#80)

zstd 1.4.5-rc.1

01 Apr 13:07
98d11f8
Compare
Choose a tag to compare
zstd 1.4.5-rc.1 Pre-release
Pre-release

This release is intended to pickup the compression (internal) interface change to fix some critical bugs:
#79

A proper 1.4.5 will be released once the decompression change has been merged as well: #80

zstd 1.4.4

06 Nov 14:56
8fdb579
Compare
Choose a tag to compare

This release updates the upstream zstd version to 1.4.4 (#73 thanks to @dbenamydd)

It includes improvement for this library (Go zstd library):

CI / Documentation related PRs:

  • [doc] Update upstream zstd link @ofek (#71)
  • [ci] Add CircleCI as CI and remove Travis @Viq111 (#68)

zstd 1.4.1

23 Jul 08:53
2347a39
Compare
Choose a tag to compare

This release updates the upstream zstd version to 1.4.1 (#64 thanks to @bai)

zstd 1.4.0

18 Apr 13:32
809b919
Compare
Choose a tag to compare

This release updates the upstream zstd version to 1.4.0 (#58 thanks to @bai)

zstd 1.3.8

10 Apr 16:13
69c5189
Compare
Choose a tag to compare

This release updates the upstream zstd version to 1.3.8 (#55 thanks to @bai)

It includes bugfixes for this library (Go zstd library):

  • Prevent panic when decompression slice has a 0-length (#49)
  • Prevent the Go runtime to GC the input slices while in cgo code (#56)

CI related PRs:

  • [ci] Update travis image to xenial and test on Go 1.12.x (#57)

zstd 1.3.5

28 Dec 11:19
c7161f8
Compare
Choose a tag to compare

This release keeps the upstream zstd version to 1.3.4

It includes bugfixes for this library (Go zstd library):

  • Prevent panic when decompression input slice is empty (#35)
  • Better handle underlying reader errors more gracefully (#37)
  • Allow "compressing" a zero-length data blob (#42)

CI related PRs:

  • [ci] Fix CDN link (#34)
  • [ci] Test under Go 1.11 (#38)
  • [ci] Fix tests on 32-bits systems (#45)