All notable changes to this project will be documented in this file.
After some early deviations this project now adheres to Semantic Versioning.
- PHP 8 support.
- Imported
tcpdi
for php 7.4 compliance.
- Added explicit conflict in composer.json with
setasign/fpdf
asrafikhaceb/tcpdi
definesFPDF
.
- Added additional version constraint in composer.json to protect against CVE-2018-17057.
- Added
PagesInterface
. - Added
Driver
namespace. TCPDI
backend as a complement toFPDI
.
- Removed deprecated symbols.
- Removed symfony finder support.
- Support merging PDFs of version
> 1.4
using theTCPDI
driver.
- Require php
>= 7.1
. - Changed the signature of
Merger::__construct()
to consume adriver
. - Merger no longer resets state after merge, explicit call to
reset()
needed. - Classes now generally marked as
final
. - Moved
Source
to its own namespace.
- Support for php 7.2 (removed assertions with string argument)
Pages
argument toMerger::addFinder()
.Pages
argument toMerger::addIterator()
.Merger::addFile()
to replaceaddFromFile()
.Merger::reset()
to clear added pdfs.
- Bumped
setasign/fpdi
dependecy version to2.0
. - No longer stores added content in temporary files on disk.
- Methods handling temporary files in
Merger
. Merger::addFromFile()
. UseaddFile()
instead.Pages::getPages()
. Iterate your pages object instead.
- Now using the official FPDI package backend.
- Added
setTempDir()
to Merger.
- PSR-4
- Added
addFinder()
to Merger.
- Injecting FPDI is now optional.
- Added
addIterator()
to Merger.
- Pages now support
addPage()
andaddRange()
.
- Now allows merging of Landscape and Portrait pages (thanks to @willoller).
- Moved to
iio
namespace.
- FPDI must be injected when creating a new libmergepdf instance.
- Initial release