Skip to content

Version 2.2.0

Compare
Choose a tag to compare
@eclipxe13 eclipxe13 released this 25 Jan 04:46
· 1175 commits to master since this release
  • Refactor namespace \CfdiUtils\CadenaOrigen (backwards compatible):
    • Instead of one only xslt builder now it includes:
      • DOMBuilder: Uses the regular PHP based method
      • GenkgoXslBuilder: Uses the library genkgo/xsl xslt version 2 library
      • SaxonbCliBuilder: Uses the command line saxonb-xslt command
    • Build process implementations must return XsltBuildException (before they return RuntimeException)
    • All builders must implement XsltBuilderInterface
    • Add XsltBuilderPropertyInterface and XsltBuilderPropertyTrait.
      It does not have hasXsltBuilderPropertymethod.
    • DefaultLocations has been deprecated in favor of CfdiDefaultLocations
    • CadenaOrigenBuilder has been deprecated in favor of DOMBuilder
    • CadenaOrigenLocations has been deprecated, will not be replaced
  • Implement XsltBuilderPropertyInterface and XsltBuilderPropertyTrait in objects that use
    to create CadenaOrigenBuilder objects.
  • For CfdiCreator33 and CfdiValidator33 will create a default DOMBuilder object if none set.
  • Hydrator also receive and hydrates this by using RequireXsltBuilderInterface.
  • CertificadoPropertyInterface and CertificadoPropertyTrait has been created.
  • Improve the tests.