Skip to content

Releases: xp-forge/compression

2.0.1: Close fix

16 Aug 08:44

Choose a tag to compare

  • Fixed ZStandard and Brotli output streams not closing underlying
    streams when destructor is invoked, causing xp-forge/frontend#52
    (@thekid)

2.0.0: Snappy, ZStandard, options

15 Aug 19:31

Choose a tag to compare

  • Merged PR #11: Implement snappy compression in userland code. Snappy
    does not aim for maximum compression, favoring high speeds.
    (@thekid)
  • Merged PR #8: Add ZStandard compression, based on the zstd extension
    from https://github.com/kjdev/php-ext-zstd/ - see issue #7.
    (@thekid)
  • Heads up: Dropped support for PHP < 7.4, see xp-framework/rfc#343
    (@thekid)
  • Heads up: Algorithm implementations must change their compress
    and create signatures from $level= -1 to $options= null, and
    can use Options::from($options)->level to access the given level
    in a backwards-compatible fashion.
    (@thekid)
  • Merged PR #12: Abstract algorithm options into an Options class
    (@thekid)

1.4.0: Compress data & decompress bytes

31 Jul 19:38

Choose a tag to compare

  • Merged PR #9: Add Algorithm::compress() and Algorithm::decompress()
    (@thekid)

1.3.2: Bzip2 fix

31 Jul 19:34

Choose a tag to compare

  • Fixed Bzip2 availability check, the PHP extension is called bz2.
    (@thekid)

1.3.1: Available fix

22 Jun 11:39

Choose a tag to compare

  • Added PHP 8.5 to the test matrix - @thekid
  • Fixed calling available() after close throwing an error - @thekid

1.3.0: API improvements

20 Apr 09:18

Choose a tag to compare

  • Added brotli extension in test suite for Windows and Ubuntu, running
    the test suite for the newest PHP version with it.
    (@thekid)
  • Made Algorithms::remove() accept names and tokens alongside Algorithm
    instances.
    (@thekid)

1.2.0: XP 12, Deflate / Inflate

24 Mar 14:15

Choose a tag to compare

  • Added DeflatingOutputStream and InflatingInputStream implementations
    to the io.streams.compress package
    (@thekid)
  • Made compatible with XP 12 - @thekid

1.1.0: Algorithms::accept

02 Dec 09:48

Choose a tag to compare

  • Merged PR #4: Add Algorithms::accept() - @thekid

1.0.2: Algorithm::hashCode() fix

02 Dec 09:31

Choose a tag to compare

  • Fixed E_WARNING: Undefined property: [...]::$name - @thekid
  • Added PHP 8.4 to the test matrix - @thekid

1.0.1: GZIP header fix

16 May 09:46

Choose a tag to compare

  • Fixed GZIP header reading - @thekid
  • Merged PR #3: Migrate to new testing library - @thekid