Releases: DataDog/zstd
zstd 1.4.8
zstd 1.4.5 - wrapper patches 2
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
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:
zstd 1.4.5
zstd 1.4.5-rc.1
zstd 1.4.4
This release updates the upstream zstd version to 1.4.4 (#73 thanks to @dbenamydd)
It includes improvement for this library (Go zstd library):
- Adding buffer pools for stream decompression @dangermike (#69)
CI / Documentation related PRs:
zstd 1.4.1
zstd 1.4.0
zstd 1.3.8
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)