This is a bugfix release, backporting a few bugfixes and updating the CI.
Changes
Important fixes
- RiscV: chunkset_rvv: fix SIGSEGV in CHUNKCOPY #1889
- MSVC: Disable optimizations for AVX512 GET_CHUNK_MAG causing inflate failure #1884
- Fix building with runtime CPU detection disabled (native) #1931
- Also check for ZMM support when detecting VPCLMULQDQ support #1932
- Revert "Clean up insert_match() in deflate_medium" due to performance regression #1938
Buildsystem
- Pass POSIX_C_SOURCE for std::alligned_alloc try_compile checks #1896
- X86_AVX512VNNI: check for _mm256_dpbusd_epi32 too #1944
- CMake: Fix incorrect declaration of FORCE_SSE2 #1880
- CMake: Fix CXXFLAGS when coverage enabled #1902
- CMake: Remove late enable_language calls #1903
- CMake: [FreeBSD] Define _XOPEN_SOURCE for gtest_zlib #1900
- CMake: Add bindir into zlib.pc.in for compatibility with Cygwin and Msys2 #1920
- Configure: riscv: add bash configure script support for riscv 1904
Tests/Benchmarks
- Test: Fix pointer type mismatch #1897
- Test: Add large 1mb buffer test for crc32 hashing #1913
- Changes to running benchmark during tests #1892
CI
- CI: Restore support macOS prior 10.15 #1878
- CI: fixes for RISC-V #1890
- CI: Preinstall packages needed for testing and benchmark #1894
- CI: Remove deprecated ubuntu-20.04 image from CI #1898
- CI: Replace deprecated windows-2019 with windows-2022 #1923
Misc
- Add .gitignore to allow run tests with zlib-ng/corpora and local dataset from working copy #1930