Skip to content

Releases: clue/stream-filter

v1.7.0

20 Dec 15:45

Choose a tag to compare

v1.6.0

21 Feb 13:35

Choose a tag to compare

v1.5.0

02 Oct 12:39

Choose a tag to compare

  • Feature: Improve performance by using global imports.
    (#38 by @clue)

  • Improve API documentation and add support / sponsorship info.
    (#30 by @clue and #35 by @SimonFrings)

  • Improve test suite and add .gitattributes to exclude dev files from exports.
    Prepare PHP 8 support, update to PHPUnit 9 and simplify test matrix.
    (#32 and #37 by @clue and #34 and #36 by @SimonFrings)

v1.4.1

09 Apr 12:32

Choose a tag to compare

  • Fix: Check if the function is declared before declaring it.
    (#23 by @Niko9911)

  • Improve test suite to also test against PHP 7.2 and
    add test for base64 encoding and decoding filters.
    (#22 by @arubacao and #25 by @Nyholm and @clue)

v1.4.0

18 Aug 09:55

Choose a tag to compare

  • Feature / Fix: The fun() function does not pass filter parameter null
    to underlying stream_filter_append() by default
    (#15 by @Nyholm)

    Certain filters (such as convert.quoted-printable-encode) do not accept
    a filter parameter at all. If no explicit filter parameter is given, we no
    longer pass a default null value.

    $encode = Filter\fun('convert.quoted-printable-encode');
    assert('t=C3=A4st' === $encode('täst'));
  • Add examples and improve documentation
    (#13 and #20 by @clue and #18 by @Nyholm)

  • Improve test suite by adding PHPUnit to require-dev,
    fix HHVM build for now again and ignore future HHVM build errors,
    lock Travis distro so new future defaults will not break the build
    and test on PHP 7.1
    (#12, #14 and #19 by @clue and #16 by @Nyholm)

v1.3.0

08 Nov 23:42

Choose a tag to compare

  • Feature: Support accessing built-in filters as callbacks
    (#5 by @clue)

    $fun = Filter\fun('zlib.deflate');
    
    $ret = $fun('hello') . $fun('world') . $fun();
    assert('helloworld' === gzinflate($ret));

v1.2.0

23 Oct 22:34

Choose a tag to compare

  • Feature: Invoke close event when closing filter (flush buffer)
    (#9 by @clue)

v1.1.0

23 Oct 15:35

Choose a tag to compare

  • Feature: Abort filter operation when catching an Exception
    (#10 by @clue)
  • Feature: Additional safeguards to prevent filter state corruption
    (#7 by @clue)

v1.0.0

18 Oct 22:10

Choose a tag to compare

  • First tagged release