Releases: phpcfdi/cfditopdf
Releases · phpcfdi/cfditopdf
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-version
in singular instead of plural. - Update
php-cs-fixer
configuration 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-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.
- 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/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
- 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
- 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 theHtmlTranslatorInterface
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
- 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:xsi
attribute fromcfdi:Comprobante
), as a result we need to provide the value ofVersion | version
attribute. - Refactor
TestCase
to add a helpercreateXmlResolver
to run tests faster using local storage of external XSLT files.
Version 0.3.0
- Fix bug on
CfdiDataBuilder::createTfdSourceString
when TimbreFiscalDigital is version 1.0. - Extract logic from
Html2PdfBuilder::build
to:Html2PdfBuilder::buildPdf
: convert from CfdiData to html to pdfHtml2PdfBuilder::convertHtmlToPdf
: contains the logic of Html2Pdf
- Template
generic.php
uses alternative syntax for control structures - Removed:
PhpCfdi\CfdiToPdf\Utils\TemporaryFilename
: usingCfdiUtils
PhpCfdi\CfdiToPdf\Utils\ShellExec
: usingCfdiUtils
PhpCfdi\CfdiToPdf\PdfToText
: used only on testing environment
- Improve test coverage
Version 0.2.3
- Due GitHub API change, need to upgrade deploy section on Travis and tag a new release to make upload and perform a full release cicle.
Version 0.2.2
- Development improvements, code does not have significant changes.
- Remove phive, back to composer for development tools.
- Move phar construction logic to
build-phar
script. - Update travis & scrutinizer & docs.