- Enhancement: Issue #366 Allow to pass additional HTTP headers to the
send()
method
- This release only contains fixes for the test setup.
- Fix: Pushed version constraints for php-shellcommand and php-tmpfile which should fix hanging issues.
- Enhancement: Issue #307 Improved and unified detection of URL, File, HTML and XML content
- Fix: Issue #264 Problem with tmpDir passed in constructor
- Issue #258 Add toString() method to Image class
- Also create tmp file for xsl-style-sheet and user-style-sheet if required
- Issue #219: Make
header-html
andfooter-html
also work for Toc and cover page
- Add a
$type
parameter toaddPage()
andaddToc()
(#169)
- Add
-a
to defaultxvfb-run
options
- We now follow semver!
- Issue #112: Add toString() to get raw PDF content as string
- Issue #100: Fix issue with header-/footer-html
- Make dependencies in
composer.json
less restrictive - Remove
composer.lock
to allow for independent updates of dependencies
- Issue #56: Fix issue with
proc_open()
on windows - Add detection for XML strings
- Issue #61: Fix ignored
tmpDir
In this major release we have added a wrapper for wkhtmltoimage and cleaned up the code and interface. We also introduced namespaces and Travis testing. Please have a look at the README.md for the new API.
- Issue #54: Add binary autodetection for windows
- Issue #47: Add escaping to temp files to improve behavior on windows
- Issue #46: Add 'ignoreWarnings' option
- Issue #45: Fix for missing sys_get_temp_dir() on older PHP 5 versions
- Issue #41: Fix escaping of some parameters
- Add support for HTML strings in html-footer and html-header
- Issue #36: Bugfix in send()
- Issue #34: Allow to set filename even when PDF is streamed inline
- Issue #35: Support repeatable wkhtmltopdf options
- Issue #29: Add Xvfb support
A minor change in the options was introduced in this release. If you used the bin
option before you have to rename it to binPath
now. Please check the docs for
full documentation.
- Issue #27: Add autodetection of wkhtmltopdf binary on Unix based systems (thanks eusonlito)
- Issue #28: Implement optional passing of environment variables to proc_open (thanks eusonlito)
- Issue #30: Bug with options without an argument
- Issue #21: Add support for wkhtmltopdf 0.9 versions
- Add composer autoloading (thanks igorw)
- Issue #10: Improve error reporting
- Add composer.jsone
- Made getCommand() public to ease debugging
- Issue #6: Fix typo that prevented shell escaping on windows
- Issue #5: Updated docs: wkhtmltopdf can not process PDF files
- Issue #4: Fix issue with longer PDFs
- Issue #2: Fix escaping of arguments
- Issue #3: Fix HTML detection regex
- Issue #1: Allow to add HTML as string
- Initial release