Releases: phpcfdi/cfditopdf
Releases · phpcfdi/cfditopdf
Version 0.5.0
This version remove the compatibility with PHP 7.3, PHP 7.4 and PHP 8.0.
PHP minimal version is 8.1.
PHPUnit now runs using version 10.5.
In the generic template, the variables $pagos & $pago has been renamed to $pagos10 & $pago10.
Other changes:
- Code cleaning: Thanks to PHPStan, rector/rector and PHPStorm.
- Removed Scrutinizer-CI integration. Thanks for everything.
- Add SonarQube Cloud integration.
- Use common PhpCfdi badges and code standards.
Version 0.4.4
Add Docker Hub public image.
Thanks to @dreglad for the inspiration.
Version 0.4.3
- Fix compatibility with PHP 8.4.
- Allow dependence of
eclipxe/cfdiutilsto match versions^2.31and^3.0. - Update license year to 2025.
These changes apply to the development environment:
- Update code standards for
phpcsandphp-cs-fixer. - Add PHP 8.4 to test matrix.
- Run workflows jobs using PHP 8.4.
- Fix workflow job
composer-normalize. It didn't fail oncomposer.jsonerrors. - Update development tools.
Version 0.4.2
- Fix issue on CFDI 4.0 generate only the first block of information for
cfdi:CfdiRelacionados.
Now it creates a block for every occurence. - Update license year to 2024.
- Maintenance changes:
- Use GitHub Actions version 4.
- Add PHP 8.3 to test matrix.
- Run jobs using PHP 8.3.
- Use
matrix.php-versionin singular instead of plural. - Update
php-cs-fixerconfiguration files deprecated rules. - Update direct dependencies.
- Update development tools.
Version 0.4.1
This update fixes the continuous integration process and ensures compatibility with PHP 8.2.
- Introduce
CastToStringTrait#strval()to avoid PHPStan issues. - Update
php-cs-fixerconfiguration file. - Update license year.
- Fix build badge.
- On GitHub workflows:
- Replace GitHub directive
::set-outputto$GITHUB_OUTPUT. - Require extension
gd. - Add PHP 8.2 to test matrix.
- Run jobs using PHP 8.2.
- Allow run
build.ymlon demand. - Remove obsolete commands on Scrutinizer-CI.
- Replace GitHub directive
- Update development tools.
Version 0.4.0
- Bump PHP Version to 7.3.
- Add support for CFDI 4.0 and Pagos 2.0.
- Depends on
phpcfdi/cfdi-cleaner. - Allow to export TCPDF Font files to a temporary directory when running as Phar.
- Introduce CFDI catalogs.
Some development changes:
- Move development tools to Phive.
- Use
build/boxto build Phar file. - Migrate from Travis CI to GitHub Workflows. Thanks, Travis CI.
- Remove
PhpCfdi\CfdiToPdf\Tests\PdfToText\ShellExec.
Version 0.3.4
- Add missing
Tipo de cambio DRfield to documentos relacionados. - Testing: move
cadenaoriginal_TFD_1_1.xsltto its correct location. - Travis-CI: Remove allow fail on PHP 7.4.
Version 0.3.3
- Isolate the translation from CFDI to HTML into an interface
HtmlTranslatorInterface. - Implements
PlatesHtmlTranslatorwith the current code to translate CFDI to HTML. - Can setup the
Html2PdfBuilderby changing theHtmlTranslatorInterfaceto use other templates or other engine. - Update license year.
- Update Travis-CI & Scrutinizer CI.
- Update phpstan (version 0.12, do not use phpstan-shim).
- Update todo list.
Version 0.3.2
- Add Complemento de pagos to the generated HTML, thanks @blacktrue
- Change license owner from Carlos C Soto to PHPCFDI
- Cleanup build and development files
Version 0.3.1
- Fix bug on
CfdiDataBuilder::createTfdSourceString, thetfd:TimbreFiscalDigital(Node)does not contain all the requiered data (it is missingxmlns:xsiattribute fromcfdi:Comprobante), as a result we need to provide the value ofVersion | versionattribute. - Refactor
TestCaseto add a helpercreateXmlResolverto run tests faster using local storage of external XSLT files.