{"full_name":"klauspost/compress","owner":"klauspost","name":"compress","shard":"1","url":"https://github.com/klauspost/compress","description":"Optimized Go Compression Packages","homepage":"","topics":["zstd","gzip","compression","decompression","snappy","zip","golang","zstandard","go","deflate"],"tag_pages":["compression","go","golang"],"language":"Go","license":"NOASSERTION","avatar":"https://avatars.githubusercontent.com/u/5663952?u=c220e508b2bb3b5b1e91452a9e51bf9dd4ed27a1&v=4","created_at":"2015-07-21T20:25:36Z","pushed_at":"2026-11-11T16:16:30Z","metrics":{"stars":5727,"forks":437,"watchers":63,"issues":324,"prs":880,"releases":121,"issues_open":6,"issues_closed":318,"prs_open":11,"prs_closed":86,"prs_merged":783,"discussions":106},"growth":{"day":{"stars":1,"forks":0,"base_day":"2026-11-15"}},"history":{"dates":["2026-11-10","2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[5715,5718,5718,5718,5724,5726,5727],"forks":[433,435,435,435,437,437,437],"watchers":[null,63,63,63,63,63,63],"issues_open":[null,7,5,5,6,6,6],"prs_open":[null,10,9,9,10,11,11]},"boards":{},"same_owner":[],"issues":[{"number":1275,"title":"s2: ReadFrom retains bytes.Buffer input after returning","comments":2,"created_at":"2026-10-23T01:27:27Z"},{"number":1317,"title":"gzhttp: buffered Write does not commit the implicit HTTP status","comments":1,"created_at":"2026-11-13T13:50:52Z"},{"number":1289,"title":"zstd: EncodeAll with a dictionary copies the whole 256 KiB fast table for most small inputs (fastEncoderDict.Reset)","comments":1,"created_at":"2026-10-28T23:48:30Z"},{"number":1296,"title":"S2 CLI tools: unsafe output file creation (symlink/TOCTOU, set-ID propagation, tar extraction)","comments":0,"created_at":"2026-11-01T15:03:19Z"},{"number":1278,"title":"zstd: EncodeAll with a dictionary costs ~6–10 µs per small message, mostly building entropy tables","comments":0,"created_at":"2026-10-24T04:53:55Z"},{"number":1274,"title":"Add support for parrallel decode on frame boundaries.","comments":0,"created_at":"2026-10-21T21:47:05Z"}],"discussions":[{"number":1285,"title":"zstd, gzhttp: RFC 9842 dictionary-compressed zstd (dcz)","comments":1,"category":"Ideas/Features","created_at":"2026-10-25T22:46:36Z"},{"number":1283,"title":"zstd: support magicless frames, and decoding frames without a dictionary ID","comments":1,"category":"Ideas/Features","created_at":"2026-10-24T04:55:32Z"},{"number":1264,"title":"Invalid zip file in release package","comments":1,"category":"Q&A","created_at":"2026-10-12T20:16:43Z"},{"number":1194,"title":"Is there any chance to support decryption of encrypted files?","comments":1,"category":"Q&A","created_at":"2026-08-11T07:04:48Z"},{"number":1188,"title":"Adding LZW support?","comments":1,"category":"Ideas/Features","created_at":"2026-07-30T19:50:07Z"},{"number":1162,"title":"Feature Request / Optimization: FSE-only Literal Compression Fallback for Constrained Alphabet Data (e.g., Base64/DNA) on Fast Levels","comments":1,"category":"Ideas/Features","created_at":"2026-06-27T10:53:35Z"},{"number":1152,"title":"Expose GZIP/DEFLATE decompressor state (sliding window & bit-offsets) to enable zran / ratarmount style index generation","comments":1,"category":"Q&A","created_at":"2026-05-20T18:03:50Z"},{"number":1138,"title":"Versioning question: new zstd support introduced in patch release (v1.18.4)","comments":1,"category":"General","created_at":"2026-03-24T10:05:19Z"}],"latest_release":{"name":"v1.20.4","tag":"v1.20.4","published_at":"2026-11-09T13:01:02Z","body":"## What's Changed\r\n* zstd: don't reuse a literal table that was not written by @klauspost in https://github.com/klauspost/compress/pull/1299\r\n* zstd: preserve stream state when resetting options by @Grivn in https://github.com/klauspost/compress/pull/1266\r\n* zstd, huff0, s2: bump the avo arm64 lowering; keep zstd stack slots in registers by @lizthegrey in https://github.com/klauspost/compress/pull/1248\r\n* zstd, huff0: faster pure-Go decoders by @lizthegrey in https://github.com/klauspost/compress/pull/1256\r\n* zstd: Don't retain pointers to decoded inputs in DecodeAll by @Jille in https://github.com/klauspost/compress/pull/1273\r\n* zstd: inline the best encoder's reject path; cap concurrent-blocks job size by @bd-dstodolsky in https://github.com/klauspost/compress/pull/1293\r\n* zstd: copy non-overlapping matches in 32-byte blocks by @lizthegrey in https://github.com/klauspost/compress/pull/1295\r\n* zstd: cap DecodeAll preallocation to what the input can decode to by @Raghuvardhan-Reddy78 in https://github.com/klauspost/compress/pull/1291\r\n* flate: build unrestricted Huffman trees before limiting lengths by @klauspost in https://github.com/klauspost/compress/pull/1219\r\n* flate: Fix stateless EOF on large writes. by @klauspost in https://github.com/klauspost/compress/pull/1265\r\n* flate: keep match history across small flushes by @klauspost in https://github.com/klauspost/compress/pull/1282\r\n* gzip: write and read a zero MTIME for a zero ModTime by @spicysharkco in https://github.com/klauspost/compress/pull/1268\r\n* zip: accept 0xFFFFFFFF sizes and offsets without a Zip64 extra by @ybai08 in https://github.com/klauspost/compress/pull/1267\r\n* zip: backport the standard library's writer-side Zip64 fixes by @ybai08 in https://github.com/klauspost/compress/pull/1287\r\n* gzip: backport two standard library fixes (truncated header EOF, Write count) by @ybai08 in https://github.com/klauspost/compress/pull/1270\r\n* gzhttp: let \"*\" in Accept-Encoding select gzip or zstd by @Shaisolaris in https://github.com/klauspost/compress/pull/1263\r\n* gzhttp: flush and hijack through http.ResponseController by @Neffi42 in https://github.com/klauspost/compress/pull/1272\r\n* gzhttp: keep Vary: Accept-Encoding when the handler sets Vary by @wleeaf in https://github.com/klauspost/compress/pull/1284\r\n* gzhttp: don't pool a decoder while a Read is still using it by @Raghuvardhan-Reddy78 in https://github.com/klauspost/compress/pull/1288\r\n* gzhttp: clear Content-Length when decoding a compressed request by @Raghuvardhan-Reddy78 in https://github.com/klauspost/compress/pull/1301\r\n* huff0: promote the 4X loop's input pointers to registers on arm64 by @lizthegrey in https://github.com/klauspost/compress/pull/1277\r\n* s2: verify the CRC of chunk data kept after Skip by @Raghuvardhan-Reddy78 in https://github.com/klauspost/compress/pull/1286\r\n* s2: don't read past src when converting LZ4 blocks by @Raghuvardhan-Reddy78 in https://github.com/klauspost/compress/pull/1294\r\n* s2: fix LZ4 converter length overflow (32-bit only) by @klauspost in https://github.com/klauspost/compress/pull/1300\r\n* s2: return ErrDstTooSmall for an LZ4 conversion into a nil dst by @yxshee in https://github.com/klauspost/compress/pull/1307\r\n* s2: keep ErrCorrupt when Skip rejects an oversized chunk by @CJstate in https://github.com/klauspost/compress/pull/1303\r\n\r\n## New Contributors\r\n* @Shaisolaris made their first contribution in https://github.com/klauspost/compress/pull/1263\r\n* @Grivn made their first contribution in https://github.com/klauspost/compress/pull/1266\r\n* @spicysharkco made their first contribution in https://github.com/klauspost/compress/pull/1268\r\n* @ybai08 made their first contribution in https://github.com/klauspost/compress/pull/1267\r\n* @Neffi42 made their first contribution in https://github.com/klauspost/compress/pull/1272\r\n* @wleeaf made their first contribution in https://github.com/klauspost/compress/pull/1284\r\n* @oddharsh made their first contribution in https://github.com/","is_prerelease":false},"readme":true,"readme_zh":false,"news":[],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}