- Added
DeflatingOutputStream
andInflatingInputStream
implementations to theio.streams.compress
package (@thekid) - Made compatible with XP 12 - @thekid
- Merged PR #4: Add
Algorithms::accept()
- @thekid
- Fixed E_WARNING: Undefined property: [...]::$name - @thekid
- Added PHP 8.4 to the test matrix - @thekid
- Fixed GZIP header reading - @thekid
- Merged PR #3: Migrate to new testing library - @thekid
This first release refactors the io.streams.compress.Algorithm
interface
into an abstract base class, stabilizing the algorithm API.
- Made Algorithm implement the
lang.Value
interface, adding a string representation showing algorithm details (@thekid) - Added
Algorithm::level()
which will return the fastest, default and strongest levels supported for the predefinedCompression::DEFAULT
,Compression::FASTEST
andCompression::STRONGEST
. (@thekid) - Changed
Algorithm::create()
to accept either predefined constants for compression level or the level directly. (@thekid)
- Merged PR #2: Make Compression::named() raise exceptions for unsupported algorithms (@thekid)
- Added string representation for
Algorithm
instances - @thekid
- Merged PR #1: Compression API - @thekid
- Throw exceptions when reading erroneous data (GZIP, BZ2) - @thekid
- Extracted library from XP Framework, see xp-framework/core#307 - @thekid