Skip to content

2.0.0 - First stable release

Compare
Choose a tag to compare
@Dead2 Dead2 released this 16 Mar 20:05
· 926 commits to develop since this release

Hotfix: 2.0.1 has been released to fix a corruption bug in deflate_quick in this release.


Since RC2, we have merged a lot of improvements to the CI testing and documentation/comments.
A few minor bugs have been fixed as well.
Unfortunately there are at this moment two known bugs remaining, but we decided to add the warnings and go ahead with the release.

We have run a lot of testing, and we are quite confident in zlib-ng in its current state, but since this is our first release, we advise caution before using this in critical systems. We do expect corner-case bugs to be revealed once more people start to use zlib-ng, especially since there are countless variations as to how you can make use of the zlib/zlib-ng api.
That said, zlib-ng has been used without issue for years in production servers, but built into specific applications, not os/distro-wide.

x86-64 benchmarks:

Zlib-ng is about 4x faster than zlib, and 2.1x faster than gzip for compression.
Zlib-ng is about 2.4x faster than zlib and 1.8x faster than gzip when decompressing.
See #871 for the full x86-64 benchmark comparisons with zlib and gzip.

Changes since RC2:

  • Fix incorrect bi_valid handling in deflate_quick (level 1).
  • Cmake: Fix defining HAVE_SYS_SDT_H.
  • Cmake: Fix compiling of zlibstatic when BUILD_SHARED_LIBS is OFF.
  • Configure: Fix for incorrect handling of --native.
  • Many changes to improve robustness of CI testing.
  • Addition of PORTING.md.
  • Many small documentation changes.
  • Removal of misleading zlib.3 (zlib man-page).

Known issues:

  • #869 Silent corruption with DFLTCC enabled (only affects IBM Z architecture). [Being worked on by @iii-i]
  • #873 Compilation failure on FreeBSD older than version 12. [PR abandoned, help wanted]