Skip to content

Commit dd12ff2

Browse files
committed
v1.19
1 parent 60f6af2 commit dd12ff2

File tree

2 files changed

+23
-2
lines changed

2 files changed

+23
-2
lines changed

NEWS.md

+21
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# libdeflate release notes
22

3+
## Version 1.19
4+
5+
* Added new functions `libdeflate_alloc_compressor_ex()` and
6+
`libdeflate_alloc_decompressor_ex()`. These functions allow specifying a
7+
custom memory allocator on a per-compressor basis.
8+
9+
* libdeflate now always generates Huffman codes with at least 2 codewords. This
10+
fixes a compatibility issue where Windows Explorer's ZIP unpacker could not
11+
decompress DEFLATE streams created by libdeflate. libdeflate's behavior was
12+
allowed by the DEFLATE RFC, but not all software was okay with it. In rare
13+
cases, compression ratios can be slightly reduced by this change.
14+
15+
* Disabled the use of some compiler intrinsics on MSVC versions where they don't
16+
work correctly.
17+
18+
* libdeflate can now compress up to the exact size of the output buffer.
19+
20+
* Slightly improved compression performance at levels 1-9.
21+
22+
* Improved the compression ratio of very short inputs.
23+
324
## Version 1.18
425

526
* Fixed a bug where the build type didn't default to "Release" when using

libdeflate.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ extern "C" {
1313
#endif
1414

1515
#define LIBDEFLATE_VERSION_MAJOR 1
16-
#define LIBDEFLATE_VERSION_MINOR 18
17-
#define LIBDEFLATE_VERSION_STRING "1.18"
16+
#define LIBDEFLATE_VERSION_MINOR 19
17+
#define LIBDEFLATE_VERSION_STRING "1.19"
1818

1919
/*
2020
* Users of libdeflate.dll on Windows can define LIBDEFLATE_DLL to cause

0 commit comments

Comments
 (0)