Skip to content

Releases: tobozo/ESP32-targz

v1.2.4

11 Jan 19:35
02d46e0
Compare
Choose a tag to compare

What's Changed

  • Added compression support with LZPacker::compress() by @tobozo in #79
    // buffer to stream (best compression)
    size_t LZPacker::compress( uint8_t* srcBuf, size_t srcBufLen, Stream* dstStream );
    // buffer to buffer (best compression)
    size_t LZPacker::compress( uint8_t* srcBuf, size_t srcBufLen, uint8_t** dstBufPtr );
    // stream to buffer (average compression)
    size_t LZPacker::compress( Stream* srcStream, size_t srcLen, uint8_t** dstBufPtr );
    // stream to stream (average compression)
    size_t LZPacker::compress( Stream* srcStream, size_t srcLen, Stream* dstStream );

Idea suggested by @infrafast 👍

Full Changelog: v1.2.3...v1.2.4

v1.2.3

28 Mar 14:19
2150f37
Compare
Choose a tag to compare

What's Changed

bool GzUnpacker::gzStreamExpander( Stream* sourceStream, fs::FS destFS, const char* destFile );

New Contributors

Full Changelog: v1.2.2...v1.2.3

1.2.2

10 Jan 20:06
ff8f226
Compare
Choose a tag to compare

What's Changed

  • Fixed compilation error with platformio when lib_ldf_mode is chain+ or deep+

1.2.0

13 Oct 10:04
d476771
Compare
Choose a tag to compare

1.1.9

01 May 14:28
b171e5d
Compare
Choose a tag to compare

1.1.7

25 Oct 13:14
69ebece
Compare
Choose a tag to compare

What's Changed

1.1.6

25 Oct 09:09
fba4cbc
Compare
Choose a tag to compare

1.1.5

30 Sep 16:11
a7d7f0a
Compare
Choose a tag to compare
  • Fixed compilation warnings
  • Renamed src/ESP32-targz-lib.h -> src/ESP32-targz-lib.hpp
  • Added GzUpdateClass for ESP32 to pair integration with @vortigont's flashZ in esp32FOTA pigz/gzip upcoming support

1.1.4

02 Jan 11:04
737c73b
Compare
Choose a tag to compare

Added tarStreamExpander upon @mc-hamster's suggestion, see #52

1.1.3

09 Nov 14:25
b3a89c0
Compare
Choose a tag to compare

Fixes:

  • TAR archives containing ./ as the root path failed to expand when the output folder was not the root folder
  • setGzProgressCallback was ignored when using streams
  • stream example was failing since arduino-esp32-core 2.0.x

Improvements:

  • tarGzStreamExpander accepts an extra argument with stream size, the value can be either picked from Content-Length HTTP response header, or from file.size() when the stream source is the filesystem.
  • TAR paths are cleaned up on extraction