varnish: Changelog

Version Message
1.2.6 - Fix missing header
1.2.5 - Fix PHP 8.0 compatibility (Remi Collet)
1.2.4 - fix build error -Werror=format-security (Remi Collet)
1.2.3 - fixed Varnish 5.2 compatibility
1.2.2 - fixed build with Varnish 5.x, thanks Remi Collet!
1.2.1 - fixed build with Varnish 4.x (thanks Remi Collet)
1.2.0 - m4 updated for Varnish 4.x compliance (Remi Collet)
- Varnish 4.x compatibility, but
- VarnishStat and VarnishLog aren't supported when linking to Varnish 4.x anymore
- PHP7 compatibility
1.1.1 - Fixed bug #65916 (Compilation broken on Mac OS X)
1.1.0 - fixed object handlers initialization
- improved m4 script (Remi Collet)
- dropped the bundled SHA256 implementation, the hash extension is dependency now instead (Remi Collet)
- RPMs are now available from Remi's repository
- improved the test suite
1.0.0 - added windows compatibility, though VarnishLog, VarnishStat and auth with ident isn't available there
- fixed socket closing for VarnishAdmin
* added VarnishAdmin::disconnect()
0.9.3 - Added PHP-5.4 compatibility
- Implemented VarnishAdmin functionality
* VarnishAdmin::getVclList()
* VarnishAdmin::vclUse()
- multiple leak and bug fixes
0.9.2 - Added Varnish 2 compatibility
* Configuration option and a setter for VarnishAdmin
* Ban/purge varnish 2/3 compatibility
0.9.1 - constructor params with wrong type get appropriately converted
- a couple more tests
0.9 - more exceptions on appropriate places
- minor fixes
- beta documentation is available
0.8 - configuration array is now optional
- ident param, if not given, will be set automatically based on the current hostname
- added setters for the VarnishAdmin configuration
- VarnishAdmin improved with sanity checks for connection and auth
- Ident vs. host/port are mutually exclusive
0.7 - ZTS related fixes by Felipe Pena
- Parameter parsing and other improvements by Hannes Magnusson
- A lot of memory allocation/deallocation fixes
- Added a couple of tests
0.6 - VarnishAdmin
* VarnishAdmin:ban() bases on the vcl ban commando
* VarnishAdmin::banUrl() bases on the vcl ban.url commando
* Arguments are passed to the varnish as given, which is probably a better idea than parsing
them on the php side one more time. The return status value can be used to check if the command
was successful.
* improved VarnishAdmin::isRunning()
- added VarnishLog class
* VarnishLog::getLine()
* VarnishLog::getTagName()
* Varnish log tag list
* Can now read log records from a running varnishd SHM. Not sure, whether more functionality would be sensible, as it requires to run as daemon.
0.4.1 Fix for the package to build
0.4 - Fixed sereval odd things:
* Missing exceptions
* Varnish param parsing
* Command out reading
- Added clear/get panic methods
0.3 Implemented VarnishAdmin and VarnishStat classes with an minimal set on functionality.
VarnishAdmin:
* connect on varnish administration interface
* authenticate on a varnish instance
* read/write varnish configuration
* ban urls
* start/stop varnish slave
* check varnish slave status
VarnishStat:
* connect to the shared memory
* snapshot the current varnish statistics
There is no documentation for this package yet, please take a look at the tests and sources.
The extension is being currently developed with varnish 3.0 and php 5.3.6, so if you have any issues with older versions, please file a bug.