Skip to content

Releases: phpcfdi/cfditopdf

Version 0.5.0

10 Nov 18:59
9c7a48b

Choose a tag to compare

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

09 Nov 05:49
af27df2

Choose a tag to compare

Add Docker Hub public image.
Thanks to @dreglad for the inspiration.

Version 0.4.3

09 Nov 04:12
86348d1

Choose a tag to compare

  • Fix compatibility with PHP 8.4.
  • Allow dependence of eclipxe/cfdiutils to match versions ^2.31 and ^3.0.
  • Update license year to 2025.

These changes apply to the development environment:

  • Update code standards for phpcs and php-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 on composer.json errors.
  • Update development tools.

Version 0.4.2

02 Sep 19:34
61288f8

Choose a tag to compare

  • 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-version in singular instead of plural.
    • Update php-cs-fixer configuration files deprecated rules.
    • Update direct dependencies.
    • Update development tools.

Version 0.4.1

07 Jun 17:53
7678021

Choose a tag to compare

This update fixes the continuous integration process and ensures compatibility with PHP 8.2.

  • Introduce CastToStringTrait#strval() to avoid PHPStan issues.
  • Update php-cs-fixer configuration file.
  • Update license year.
  • Fix build badge.
  • On GitHub workflows:
    • Replace GitHub directive ::set-output to $GITHUB_OUTPUT.
    • Require extension gd.
    • Add PHP 8.2 to test matrix.
    • Run jobs using PHP 8.2.
    • Allow run build.yml on demand.
    • Remove obsolete commands on Scrutinizer-CI.
  • Update development tools.

Version 0.4.0

22 Sep 22:07

Choose a tag to compare

  • 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/box to build Phar file.
  • Migrate from Travis CI to GitHub Workflows. Thanks, Travis CI.
  • Remove PhpCfdi\CfdiToPdf\Tests\PdfToText\ShellExec.

Version 0.3.4

21 Jan 06:33
2fda6ba

Choose a tag to compare

  • Add missing Tipo de cambio DR field to documentos relacionados.
  • Testing: move cadenaoriginal_TFD_1_1.xslt to its correct location.
  • Travis-CI: Remove allow fail on PHP 7.4.

Version 0.3.3

18 Feb 17:53
4cb0a3d

Choose a tag to compare

  • Isolate the translation from CFDI to HTML into an interface HtmlTranslatorInterface.
  • Implements PlatesHtmlTranslator with the current code to translate CFDI to HTML.
  • Can setup the Html2PdfBuilder by changing the HtmlTranslatorInterface to 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

14 Nov 22:41

Choose a tag to compare

  • 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

27 Aug 16:38

Choose a tag to compare

  • Fix bug on CfdiDataBuilder::createTfdSourceString, the tfd:TimbreFiscalDigital(Node) does not contain all the requiered data (it is missing xmlns:xsi attribute from cfdi:Comprobante), as a result we need to provide the value of Version | version attribute.
  • Refactor TestCase to add a helper createXmlResolver to run tests faster using local storage of external XSLT files.