1.5.0
CHANGES:
-
Update with
ocamlformat.0.20.0
(@dinosaure, #133) -
Add
lzo
into the binary (@dinosaure, #140) -
Be able to deflate/inflate files (@dinosaure, #141)
-
Implement the zero-compression into zlib/gzip (@dinosaure, #142)
breaking change: The behavior of flat block changed. The user does not
specify how many bytes he/she wants to give. He/She can just specify that
he/she wants aFlat
block. TheFlat
block will contains what the queue
has and nothing more: if the queue has 4 elements, we will encode aFlat
block with 4 elements, if the queue has more than 65535 elements, we will
encore only 65535 elements into theFlat
block.The user is not able to stream a
Flat
block: we can not fill oneFlat
block with multipleAwait
. This behavior is specific to theFlat
block,
the rest (Fixed
andDynamic
blocks) did not change.For higher level API, the
level = 0
informs the deflator to copy as is
input - no compression was done forzlib
andgzip
and we emit onlyFlat
blocks. By default, thelevel = 4
is given so you probably will not notice
anything but be care that we shifted compression level and0
becomes a
level without compression.