This package provides various compression algorithms.
github.com/golang/snappy offering better compression and concurrent streams.Use go get github.com/klauspost/compress@latest to add it to your project.
This package will support the current Go version and 2 versions back.
nounsafe tag to disable all use of the "unsafe" package.noasm tag to disable all assembly across packages.Use the links above for more information on each.
Feb 9th, 2026 1.18.4
Jan 16th, 2026 1.18.3
Dec 1st, 2025 - 1.18.2
Oct 20, 2025 - 1.18.1 - RETRACTED
flate: Use exact sizes for huffman tables https://github.com/klauspost/compress/pull/1103
Feb 19th, 2025 - 1.18.0
r.err != nil but return a nil value error err by @alingse in https://github.com/klauspost/compress/pull/1028See changes to v1.17.x
gzhttp: Do not set the content-type when response has no body by @kevinpollet in https://github.com/klauspost/compress/pull/1013
Sep 23rd, 2024 - 1.17.10
Jun 12th, 2024 - 1.17.9
Apr 9th, 2024 - 1.17.8
Feb 21st, 2024 - 1.17.7
Feb 5th, 2024 - 1.17.6
Jan 26th, 2024 - v1.17.5
Dec 1st, 2023 - v1.17.4
Nov 15th, 2023 - v1.17.3
Oct 22nd, 2023 - v1.17.2
Oct 14th, 2023 - v1.17.1
Sept 19th, 2023 - v1.17.0
See changes to v1.16.x
July 1st, 2023 - v1.16.7
June 13, 2023 - v1.16.6
Apr 16, 2023 - v1.16.5
Apr 5, 2023 - v1.16.4
Mar 13, 2023 - v1.16.1
Feb 26, 2023 - v1.16.0
See changes to v1.15.x
$ claude mcp add compress \
-- python -m otcore.mcp_server <graph>