diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 936069be..1b65600a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -16,9 +16,6 @@ jobs: strategy: matrix: php-version: - - 5.6 - - 7.0 - - 7.1 - 7.2 - 7.3 - 7.4 diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c812145..d9896538 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,17 @@ All notable changes to this project will be documented in this file. +## [5.3.0](https://github.com/spipu/html2pdf/compare/v5.2.8...v5.3.0) - 2025-01-08 + + * bump supported phpversion from **5.6 -> 8.2** to **7.2 -> 8.4** + * add html tag "strike" - thanks to @milan-ghevariya + * add html tag "figure" - thanks to @fredmatrack + * replace Travis with Github actions for CI - thanks to @W0rma + * fix casing of parameter type - thanks to @W0rma + * fix bad type hint on setModeDebug function - thanks to @W0rma + * fix fgetcsv usage for php 8.4 compatibility - thanks to @W0rma + * fix TCPDF::$pdfa argument type as per upstream - thanks to @jankal + ## [5.2.8](https://github.com/spipu/html2pdf/compare/v5.2.7...v5.2.8) - 2023-07-18 * fix XSS vulnerabilities in examples `example9.php` and `forms.php` - thanks to Michał Majchrowicz, Livio Victoriano and Zbigniew Piotrak from [AFINE Team](https://www.afine.pl/) diff --git a/README.md b/README.md index 8ae953e7..b8ff380e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Html2Pdf -Html2Pdf is a HTML to PDF converter written in PHP, and compatible with PHP **5.6** to **8.2**. +Html2Pdf is a HTML to PDF converter written in PHP, and compatible with PHP **7.2** to **8.4**. It allows the conversion of valid HTML in PDF format, to generate documents like invoices, documentation, ... @@ -14,7 +14,7 @@ It uses TCPDF for the PDF part. ## Requirements -Html2Pdf works with PHP >5.6 and Composer. +Html2Pdf works with PHP >7.2 and Composer. You will also need at least the following php extensions: @@ -27,7 +27,7 @@ You will find the install documentation [here](./doc/install.md). You will find all the documentation [here](./doc/README.md). -You will find lots of examples [here](./examples/). +You will find lots of examples [here](./examples). ## Donate diff --git a/composer.json b/composer.json index c0522717..399dd15d 100644 --- a/composer.json +++ b/composer.json @@ -13,10 +13,10 @@ } ], "require": { - "php": "^5.6 || ^7.0 || ^8.0", + "php": "^7.2 || ^8.0", "ext-mbstring": "*", "ext-gd": "*", - "tecnickcom/tcpdf": "^6.3" + "tecnickcom/tcpdf": "^6.8" }, "require-dev": { "phpunit/phpunit": "^5.0 || ^9.0" diff --git a/examples/res/about.php b/examples/res/about.php index fbf3f062..9997cb8c 100644 --- a/examples/res/about.php +++ b/examples/res/about.php @@ -87,6 +87,7 @@