Skip to content

Releases: kjdev/php-ext-brotli

0.18.3

01 Dec 01:56
4924acc

Choose a tag to compare

🔄 Changed

  • Updated brotli library to v1.2.0 (from v1.1.0) (#82, 3c03293, d19ffa5, 3150cd5)
    • Includes security fixes for decoder output limits
    • Performance improvements in encoder and decoder
    • Static initialization to reduce binary size
    • See brotli v1.2.0 changelog for details

🐛 Fixed

  • Windows build configuration improvements (8268a06, f559ada)
    • Split brotli source files over lines in config.w32 for better readability
    • Add 4th argument to Windows ADD_SOURCES calls for proper compilation

✨ Added

  • PHP 8.5 support (#80, #81, 9119787, 04b18df)
    • Added testing for PHP 8.5
    • Windows build support for PHP 8.5

📈 Improved

  • CI/CD enhancements (03d07dc, d07e992)
    • Updated BIN_SDK_VER from 2.3.0 to 2.5.0 in Windows workflow
    • Fixed APCu installation in CI by removing quotes from PHP ini path parsing

What's Changed

New Contributors

Full Changelog: 0.18.2...0.18.3

0.18.2

17 Aug 22:30
ba20db4

Choose a tag to compare

🐛 Bug Fixes

  • Fixed issue where DCB encoding would continue even when dictionary loading fails
    • 6af7f29 refactor: disable dcb encoding when dictionary loading fails
    • c0be56a fix: disable dcb encoding when dictionary loading fails

Full Changelog: 0.18.1...0.18.2

0.18.1

12 Aug 22:22
bebd73d

Choose a tag to compare

🔧 Technical Improvements

  • Use Zend/zend_smart_string.h (aac82ce)
  • PHP 8.5 alpha3 compatibility (#76)

🐛 Bug Fixes

  • Add missing zend_string_release calls to prevent memory leaks (a710f26)

🔨 Build & CI

  • Update build script to select appropriate toolset and use latest Windows runner (f1232dd)

Full Changelog: 0.18.0...0.18.1

0.18.0

17 Jun 00:07
7bba55b

Choose a tag to compare

What's Changed

  • Change/uncompress remove length by @kjdev in #71
  • refactor: zend parse parameters sets the return value on error to false by @kjdev in #73
  • Add/version constants by @kjdev in #74
  • fix: memory leak by @kjdev in #75

Full Changelog: 0.17.0...0.18.0

0.17.0

19 May 02:19
c95295d

Choose a tag to compare

What's Changed

Experimental

  • dcb support in output handler by d757244

Features

  • dictionary support in output handler by 9894306
  • dictionary support in streams by 151c592
  • dictionary support in functions by 0e1efc7
  • named arguments support (PHP 8.0+) by a2854b3

Changes

  • incorrect parameter cause errors by 651f59d
  • add GCC visibility hidden when include bundled by 7e65312
  • argumeent name for brotli_compress() and brotli_compress_init(): quality -> level by 21f29e9
  • argumeent name for brotli_uncompress(): max -> length by 7989f98
  • version in info to BrotliDecoderVersion() by fbf909b

Refactor

  • output hander context start by 5e030b0
  • remove unnecessary code by 657468f
  • change use php_brotli_context in brotli_uncompress() by 663de30
  • rename quality -> level by d9ee203
  • add parameter settings for BROTLI_DECODER_PARAM_LARGE_WINDOW to brotli_uncompress_init() by d8339cc
  • change error message by 337284e
  • change use BrotliEncoderCompressStream() in brotli_compress() by a14f7e0
  • php_brotli_decoder_create() -> php_brotli_context_create_decoder() by e450471
  • php_brotli_encoder_create() -> php_brotli_context_create_encoder() by 0572eea
  • php_brotli_stream_data struct by 7fb22f3
  • php_brotli_context struct by 8d82e9b

Tests

  • add dcb output handler by e8311a7
  • add dictionary in output handler by eaf5c66
  • refactor output handler by b01ccfa
  • add dictionary in streams by ddb615b
  • add dictionary in functions by 897e94d
  • add named arguments by 2d4c1ee
  • rename quality -> level by b00afef
  • change incorrect parameter by 5d461de

Others

  • docs: updated according to changes by 48c719a
  • docs: rename quality -> level by 54c7328
  • chore: add .gitattributes by f822c4a

Full Changelog: 0.16.0...0.17.0

0.16.0

22 Apr 02:28
c897fd2

Choose a tag to compare

Full Changelog: 0.15.2+pie...0.16.0

0.15.2+pie

10 Apr 22:12
e4c9a6e

Choose a tag to compare