Setasign/FPDI (setasign/fpdi)
### [`v2.6.0`](https://togithub.com/Setasign/FPDI/releases/tag/v2.6.0): FPDI 2.6.0
[Compare Source](https://togithub.com/Setasign/FPDI/compare/v2.5.0...v2.6.0)
### Fixes
- Ignore undefined objects in link annotation logic (fixes [#191](https://togithub.com/Setasign/FPDI/issues/191)).
- Flatten indirect references in imported annotation dictionaries (fixes [#195](https://togithub.com/Setasign/FPDI/issues/195)).
### Tweaks
- Ensure newline before endobj token (fixes [#184](https://togithub.com/Setasign/FPDI/issues/184)).
- Optimized fallback logic in flate decode method.
- Added tests for PHP 8.3.
### Features
- Added PdfType::flatten() method, which flattens indirect objects to direct objects.
### [`v2.5.0`](https://togithub.com/Setasign/FPDI/releases/tag/v2.5.0): FPDI 2.5.0
[Compare Source](https://togithub.com/Setasign/FPDI/compare/v2.4.1...v2.5.0)
### Fixes
- Catch faulty stream wrapper implementations in StreamReader constructor.
### Tweaks
- Optimized parameter naming in PdfIndirectObject::parse().
- Moved value parsing into explicit methods.
- Optimized doc-blocks.
### Features
- Added PdfString::escape() method.
- Add support for handling of Crypt filter in PdfStream class.
### [`v2.4.1`](https://togithub.com/Setasign/FPDI/releases/tag/v2.4.1): FPDI 2.4.1
[Compare Source](https://togithub.com/Setasign/FPDI/compare/v2.4.0...v2.4.1)
### Bugfix
- Fixed bug if FPDI is used in mPDF (fixes [#177](https://togithub.com/Setasign/FPDI/issues/177)).
### [`v2.4.0`](https://togithub.com/Setasign/FPDI/releases/tag/v2.4.0): FPDI 2.4.0
[Compare Source](https://togithub.com/Setasign/FPDI/compare/v2.3.7...v2.4.0)
### Features
- Add support for importing external links/link annotations with an URI action.
### Tweaks
- Use window size of 31 in decompression fallback for FlateDecode filter.
### [`v2.3.7`](https://togithub.com/Setasign/FPDI/releases/tag/v2.3.7): FPDI 2.3.7
[Compare Source](https://togithub.com/Setasign/FPDI/compare/v2.3.6...v2.3.7)
### Fixes
- Fixed rare bug in LZW decoding.
### Tweaks
- Added [@return](https://togithub.com/return) doc-block to some methods (fixes [#152](https://togithub.com/Setasign/FPDI/issues/152)).
- Added local test which imports layer definitions.
- Added local test to access Info dictionary of the source file.
- Verified compatibility with FPDF 1.85.
- Optimized support for ignoring faulty structures in page tree.
### [`v2.3.6`](https://togithub.com/Setasign/FPDI/releases/tag/v2.3.6): FPDI 2.3.6
[Compare Source](https://togithub.com/Setasign/FPDI/compare/v2.3.5...v2.3.6)
### Fixes
- Fixed handling of faulty structures in Contents entry (fixes [#130](https://togithub.com/Setasign/FPDI/issues/130)).
### [`v2.3.5`](https://togithub.com/Setasign/FPDI/releases/tag/v2.3.5): FPDI 2.3.5
[Compare Source](https://togithub.com/Setasign/FPDI/compare/v2.3.4...v2.3.5)
### Fixes
- Added support for PHP 8.0.
### Tweaks
- Updated PHPUnit tests.
### [`v2.3.4`](https://togithub.com/Setasign/FPDI/releases/tag/v2.3.4): FPDI 2.3.4
[Compare Source](https://togithub.com/Setasign/FPDI/compare/v2.3.3...v2.3.4)
### Fixes
- Fixed fallback in Filter\Flate::decode().
- Fixed minor documentation errors in doc blocks.
- Supressed notice in flate filter for PHP 8.0.
### Tweaks
- Micro optimization of LineReader::extract().
- Added visual tests to testsuite.
- Added PHP_CodeSniffer and PHPStan inspections.
### [`v2.3.3`](https://togithub.com/Setasign/FPDI/releases/tag/v2.3.3): FPDI 2.3.3
[Compare Source](https://togithub.com/Setasign/FPDI/compare/v2.3.2...v2.3.3)
### Tweaks
- Handle streams with invisible content (white signs) and a length of 0.
### [`v2.3.2`](https://togithub.com/Setasign/FPDI/releases/tag/v2.3.2): FPDI 2.3.2
[Compare Source](https://togithub.com/Setasign/FPDI/compare/v2.3.1...v2.3.2)
### Tweaks
- Throw explicit exception in case of invalid object type at xref offset.
### [`v2.3.1`](https://togithub.com/Setasign/FPDI/releases/tag/v2.3.1): FPDI 2.3.1
[Compare Source](https://togithub.com/Setasign/FPDI/compare/v2.3.0...v2.3.1)
### Fixes
- Fixed reading of page tree with uncommon structures ([#87](https://togithub.com/Setasign/FPDI/issues/87)).
### Tweaks
- Optimized handling of uncommon FlateDecode streams.
### [`v2.3.0`](https://togithub.com/Setasign/FPDI/releases/tag/v2.3.0): FPDI 2.3.0
[Compare Source](https://togithub.com/Setasign/FPDI/compare/v2.2.0...v2.3.0)
### Fixes
- Optimized decoding in Ascii85 filter class.
- Fixed PHP 7.4 compatibility issue when calling hexdec() with invalid characters.
### Features
- Added support for tFPDF 1.31 which is based on FPDF 1.82.
### Tweaks
- Updated copyright information.
### [`v2.2.0`](https://togithub.com/Setasign/FPDI/releases/tag/v2.2.0): FPDI 2.2.0
[Compare Source](https://togithub.com/Setasign/FPDI/compare/v2.1.1...v2.2.0)
### Fixes
- Added cleanUp() method in FpdiTrait and StreamReader to close open file handles when they are not used anymore ([#70](https://togithub.com/Setasign/FPDI/issues/70)).
### Features
- Added support for handling FlateDecode streams that uses CRC32 checksum.
- Added support for indirect references in /Length values of stream dictionaries.
- Added support for reading streams with an invalid /Length value.
### Tweaks
- Use fully-qualified function calls.
- Fixed wording in various DocBlocks.
### [`v2.1.1`](https://togithub.com/Setasign/FPDI/releases/tag/v2.1.1): FPDI 2.1.1
[Compare Source](https://togithub.com/Setasign/FPDI/compare/v2.1.0...v2.1.1)
### Fixes
- Fixed handling of startxref == 0 with only a single cross-reference.
### [`v2.1.0`](https://togithub.com/Setasign/FPDI/releases/tag/v2.1.0): FPDI 2.1.0
[Compare Source](https://togithub.com/Setasign/FPDI/compare/v2.0.3...v2.1.0)
### Fixes
- Save colors in FpdfTpl state. ([#51](https://togithub.com/Setasign/FPDI/issues/51))
- Ignore cross-reference pointers to byte offset 0. ([#55](https://togithub.com/Setasign/FPDI/issues/55) / [#58](https://togithub.com/Setasign/FPDI/issues/58))
### Features
- Added support for [tFPDF](http://fpdf.org/en/script/script92.php).
- Optimized `PdfParser::readValue()` to handle an expected object type and implemented this on various calls. ([#22](https://togithub.com/Setasign/FPDI/issues/22))
### Tweaks
- Moved `Fpdi\TcpdfFpdi` to `Fpdi\Tcpdf\Fpdi` (the old class still exists but is marked as deprecated).
- Optimized DocBlocks and code style.
### [`v2.0.3`](https://togithub.com/Setasign/FPDI/releases/tag/v2.0.3): FPDI 2.0.3
[Compare Source](https://togithub.com/Setasign/FPDI/compare/v2.0.2...v2.0.3)
### Fixes
- Prohibit calling of `AddPage()` or `setPageFormat()` if a template is active. ([#45](https://togithub.com/Setasign/FPDI/issues/45))
- Save "underline" property in `FpdfTpl`. ([#44](https://togithub.com/Setasign/FPDI/issues/44))
### Features
- Added `$groupXObject` parameter to `FpdfTpl::beginTemplate()` method. ([#25](https://togithub.com/Setasign/FPDI/issues/25))
### [`v2.0.2`](https://togithub.com/Setasign/FPDI/releases/tag/v2.0.2): FPDI 2.0.2
[Compare Source](https://togithub.com/Setasign/FPDI/compare/v2.0.1...v2.0.2)
### Fixes
- Added support for escaped version numbers in Version (name) entry in document catalog.
- Check parser instance in destruct method.
### Tweaks
- Fixed interchanged parameters in doc-block ([#40](https://togithub.com/Setasign/FPDI/issues/40)).
- Added .gitattributes to remove irrelevant files from release package.
### [`v2.0.1`](https://togithub.com/Setasign/FPDI/releases/tag/v2.0.1): FPDI 2.0.1
[Compare Source](https://togithub.com/Setasign/FPDI/compare/v2.0.0...v2.0.1)
### Fixes
- Optimize closing of file handle in StreamReader class. ([#30](https://togithub.com/Setasign/FPDI/issues/30))
### Tweaks
- All internal function calls are FQN calls now.
- Added [@noinspection](https://togithub.com/noinspection) annotations.
### [`v2.0.0`](https://togithub.com/Setasign/FPDI/releases/tag/v2.0.0): FPDI 2.0.0
[Compare Source](https://togithub.com/Setasign/FPDI/compare/1.6.2...v2.0.0)
Final release of FPDI 2:
- Namespaced code
- Clean and up-to-date code base and style
- PSR-4 compatible autoloading
- Performance improvements by up to 100%
- Less memory consumption
- Native support for reading PDFs from strings or stream-resources
- Support for documents with "invalid" data before their file-header
- Optimized page tree resolving
- Usage of individual exceptions
- Several test types (unit, functional and visual tests)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
1.6.*
->2.6.*
Release Notes
Setasign/FPDI (setasign/fpdi)
### [`v2.6.0`](https://togithub.com/Setasign/FPDI/releases/tag/v2.6.0): FPDI 2.6.0 [Compare Source](https://togithub.com/Setasign/FPDI/compare/v2.5.0...v2.6.0) ### Fixes - Ignore undefined objects in link annotation logic (fixes [#191](https://togithub.com/Setasign/FPDI/issues/191)). - Flatten indirect references in imported annotation dictionaries (fixes [#195](https://togithub.com/Setasign/FPDI/issues/195)). ### Tweaks - Ensure newline before endobj token (fixes [#184](https://togithub.com/Setasign/FPDI/issues/184)). - Optimized fallback logic in flate decode method. - Added tests for PHP 8.3. ### Features - Added PdfType::flatten() method, which flattens indirect objects to direct objects. ### [`v2.5.0`](https://togithub.com/Setasign/FPDI/releases/tag/v2.5.0): FPDI 2.5.0 [Compare Source](https://togithub.com/Setasign/FPDI/compare/v2.4.1...v2.5.0) ### Fixes - Catch faulty stream wrapper implementations in StreamReader constructor. ### Tweaks - Optimized parameter naming in PdfIndirectObject::parse(). - Moved value parsing into explicit methods. - Optimized doc-blocks. ### Features - Added PdfString::escape() method. - Add support for handling of Crypt filter in PdfStream class. ### [`v2.4.1`](https://togithub.com/Setasign/FPDI/releases/tag/v2.4.1): FPDI 2.4.1 [Compare Source](https://togithub.com/Setasign/FPDI/compare/v2.4.0...v2.4.1) ### Bugfix - Fixed bug if FPDI is used in mPDF (fixes [#177](https://togithub.com/Setasign/FPDI/issues/177)). ### [`v2.4.0`](https://togithub.com/Setasign/FPDI/releases/tag/v2.4.0): FPDI 2.4.0 [Compare Source](https://togithub.com/Setasign/FPDI/compare/v2.3.7...v2.4.0) ### Features - Add support for importing external links/link annotations with an URI action. ### Tweaks - Use window size of 31 in decompression fallback for FlateDecode filter. ### [`v2.3.7`](https://togithub.com/Setasign/FPDI/releases/tag/v2.3.7): FPDI 2.3.7 [Compare Source](https://togithub.com/Setasign/FPDI/compare/v2.3.6...v2.3.7) ### Fixes - Fixed rare bug in LZW decoding. ### Tweaks - Added [@return](https://togithub.com/return) doc-block to some methods (fixes [#152](https://togithub.com/Setasign/FPDI/issues/152)). - Added local test which imports layer definitions. - Added local test to access Info dictionary of the source file. - Verified compatibility with FPDF 1.85. - Optimized support for ignoring faulty structures in page tree. ### [`v2.3.6`](https://togithub.com/Setasign/FPDI/releases/tag/v2.3.6): FPDI 2.3.6 [Compare Source](https://togithub.com/Setasign/FPDI/compare/v2.3.5...v2.3.6) ### Fixes - Fixed handling of faulty structures in Contents entry (fixes [#130](https://togithub.com/Setasign/FPDI/issues/130)). ### [`v2.3.5`](https://togithub.com/Setasign/FPDI/releases/tag/v2.3.5): FPDI 2.3.5 [Compare Source](https://togithub.com/Setasign/FPDI/compare/v2.3.4...v2.3.5) ### Fixes - Added support for PHP 8.0. ### Tweaks - Updated PHPUnit tests. ### [`v2.3.4`](https://togithub.com/Setasign/FPDI/releases/tag/v2.3.4): FPDI 2.3.4 [Compare Source](https://togithub.com/Setasign/FPDI/compare/v2.3.3...v2.3.4) ### Fixes - Fixed fallback in Filter\Flate::decode(). - Fixed minor documentation errors in doc blocks. - Supressed notice in flate filter for PHP 8.0. ### Tweaks - Micro optimization of LineReader::extract(). - Added visual tests to testsuite. - Added PHP_CodeSniffer and PHPStan inspections. ### [`v2.3.3`](https://togithub.com/Setasign/FPDI/releases/tag/v2.3.3): FPDI 2.3.3 [Compare Source](https://togithub.com/Setasign/FPDI/compare/v2.3.2...v2.3.3) ### Tweaks - Handle streams with invisible content (white signs) and a length of 0. ### [`v2.3.2`](https://togithub.com/Setasign/FPDI/releases/tag/v2.3.2): FPDI 2.3.2 [Compare Source](https://togithub.com/Setasign/FPDI/compare/v2.3.1...v2.3.2) ### Tweaks - Throw explicit exception in case of invalid object type at xref offset. ### [`v2.3.1`](https://togithub.com/Setasign/FPDI/releases/tag/v2.3.1): FPDI 2.3.1 [Compare Source](https://togithub.com/Setasign/FPDI/compare/v2.3.0...v2.3.1) ### Fixes - Fixed reading of page tree with uncommon structures ([#87](https://togithub.com/Setasign/FPDI/issues/87)). ### Tweaks - Optimized handling of uncommon FlateDecode streams. ### [`v2.3.0`](https://togithub.com/Setasign/FPDI/releases/tag/v2.3.0): FPDI 2.3.0 [Compare Source](https://togithub.com/Setasign/FPDI/compare/v2.2.0...v2.3.0) ### Fixes - Optimized decoding in Ascii85 filter class. - Fixed PHP 7.4 compatibility issue when calling hexdec() with invalid characters. ### Features - Added support for tFPDF 1.31 which is based on FPDF 1.82. ### Tweaks - Updated copyright information. ### [`v2.2.0`](https://togithub.com/Setasign/FPDI/releases/tag/v2.2.0): FPDI 2.2.0 [Compare Source](https://togithub.com/Setasign/FPDI/compare/v2.1.1...v2.2.0) ### Fixes - Added cleanUp() method in FpdiTrait and StreamReader to close open file handles when they are not used anymore ([#70](https://togithub.com/Setasign/FPDI/issues/70)). ### Features - Added support for handling FlateDecode streams that uses CRC32 checksum. - Added support for indirect references in /Length values of stream dictionaries. - Added support for reading streams with an invalid /Length value. ### Tweaks - Use fully-qualified function calls. - Fixed wording in various DocBlocks. ### [`v2.1.1`](https://togithub.com/Setasign/FPDI/releases/tag/v2.1.1): FPDI 2.1.1 [Compare Source](https://togithub.com/Setasign/FPDI/compare/v2.1.0...v2.1.1) ### Fixes - Fixed handling of startxref == 0 with only a single cross-reference. ### [`v2.1.0`](https://togithub.com/Setasign/FPDI/releases/tag/v2.1.0): FPDI 2.1.0 [Compare Source](https://togithub.com/Setasign/FPDI/compare/v2.0.3...v2.1.0) ### Fixes - Save colors in FpdfTpl state. ([#51](https://togithub.com/Setasign/FPDI/issues/51)) - Ignore cross-reference pointers to byte offset 0. ([#55](https://togithub.com/Setasign/FPDI/issues/55) / [#58](https://togithub.com/Setasign/FPDI/issues/58)) ### Features - Added support for [tFPDF](http://fpdf.org/en/script/script92.php). - Optimized `PdfParser::readValue()` to handle an expected object type and implemented this on various calls. ([#22](https://togithub.com/Setasign/FPDI/issues/22)) ### Tweaks - Moved `Fpdi\TcpdfFpdi` to `Fpdi\Tcpdf\Fpdi` (the old class still exists but is marked as deprecated). - Optimized DocBlocks and code style. ### [`v2.0.3`](https://togithub.com/Setasign/FPDI/releases/tag/v2.0.3): FPDI 2.0.3 [Compare Source](https://togithub.com/Setasign/FPDI/compare/v2.0.2...v2.0.3) ### Fixes - Prohibit calling of `AddPage()` or `setPageFormat()` if a template is active. ([#45](https://togithub.com/Setasign/FPDI/issues/45)) - Save "underline" property in `FpdfTpl`. ([#44](https://togithub.com/Setasign/FPDI/issues/44)) ### Features - Added `$groupXObject` parameter to `FpdfTpl::beginTemplate()` method. ([#25](https://togithub.com/Setasign/FPDI/issues/25)) ### [`v2.0.2`](https://togithub.com/Setasign/FPDI/releases/tag/v2.0.2): FPDI 2.0.2 [Compare Source](https://togithub.com/Setasign/FPDI/compare/v2.0.1...v2.0.2) ### Fixes - Added support for escaped version numbers in Version (name) entry in document catalog. - Check parser instance in destruct method. ### Tweaks - Fixed interchanged parameters in doc-block ([#40](https://togithub.com/Setasign/FPDI/issues/40)). - Added .gitattributes to remove irrelevant files from release package. ### [`v2.0.1`](https://togithub.com/Setasign/FPDI/releases/tag/v2.0.1): FPDI 2.0.1 [Compare Source](https://togithub.com/Setasign/FPDI/compare/v2.0.0...v2.0.1) ### Fixes - Optimize closing of file handle in StreamReader class. ([#30](https://togithub.com/Setasign/FPDI/issues/30)) ### Tweaks - All internal function calls are FQN calls now. - Added [@noinspection](https://togithub.com/noinspection) annotations. ### [`v2.0.0`](https://togithub.com/Setasign/FPDI/releases/tag/v2.0.0): FPDI 2.0.0 [Compare Source](https://togithub.com/Setasign/FPDI/compare/1.6.2...v2.0.0) Final release of FPDI 2: - Namespaced code - Clean and up-to-date code base and style - PSR-4 compatible autoloading - Performance improvements by up to 100% - Less memory consumption - Native support for reading PDFs from strings or stream-resources - Support for documents with "invalid" data before their file-header - Optimized page tree resolving - Usage of individual exceptions - Several test types (unit, functional and visual tests)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.