Repository navigation
Releases
Releases · klauspost/pgzip
v1.3.0
What's Changed
- feat: Parallel zlib writer implementation by @AdamMagued in #75
- fix: reset read offset when Read drains the current block by @stefanfrede in #76
- Return unexpected EOF if the stream misses its CRC trailer by @apostasie in #78
- Upgrade compress by @klauspost in #79
New Contributors
- @stefanfrede made their first contribution in #76
- @apostasie made their first contribution in #78
- @AdamMagued made their first contribution in #75
Full Changelog: v1.2.7...v1.3.0
v1.2.7
What's Changed
- Use Go modules by @klauspost in #65
- Handle multistream with readahead by @klauspost in #68
- fix: return currentBuffer and prevTail to dstPool in init to stop leak by @SAY-5 in #69
- fix: avoid deadlock on Read after WriteTo drain by @Solaris-star in #71
New Contributors
- @SAY-5 made their first contribution in #69
- @Solaris-star made their first contribution in #71
Full Changelog: v1.2.6...v1.2.7
v1.2.6
What's Changed
- AddingPowerSupport_CI/Testing by @santosh653 in #37
- Change LICENSE back to the original MIT License by @cfiderer in #47
- Update README.md by @lukasmalkmus in #48
- RFC: Consume z.current prepared by Reader.Read in Reader.WriteTo by @mtrmac in #50
New Contributors
- @santosh653 made their first contribution in #37
- @cfiderer made their first contribution in #47
- @lukasmalkmus made their first contribution in #48
- @mtrmac made their first contribution in #50
Full Changelog: v1.2.5...v1.2.6
v1.2.5
v1.2.4
v1.2.3
pgzip: Fix an occasional segfault/panic with pgzip (#30) This change fixes a occasional (5-10 out of 1000 test runs) segfault/panic on sync.Pool struct access. Basically what happens there is that the original code assigns a zero-value sync.Pool struct to the existing z.dstPool variable. In general this kind of assignment is safe only if object is not used anymore / in parallel by anything else. While is kind of true in a sense that none of the goroutines are using it, in case of sync.Pool the garbage collector does special management of the data with weak references and in right weather conditions corrupts internal state (more precisely the sync.Pool.local might become nil before reading it but after reading a nonzero sync.Pool.localSize; leading to invalid memory reference in sync.Pool.Get() ).
v1.2.2
v1.2.1
v1.1
v1.0.1: Merge pull request #12 from klauspost/rewrite-error-handling
Rewrite error handling