Skip to content

Commit

Permalink
Merge pull request #5 from eclipxe13/master
Browse files Browse the repository at this point in the history
Version 0.2.0
  • Loading branch information
blacktrue authored Aug 14, 2019
2 parents df04c51 + 3a011ee commit eb3f33c
Show file tree
Hide file tree
Showing 11 changed files with 78 additions and 328 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ use PhpCfdi\SatWsDescargaMasiva\Shared\RequestType;
use PhpCfdi\SatWsDescargaMasiva\WebClient\WebClientInterface;

// Creación de la fiel
$fiel = new Fiel(
$fiel = Fiel::create(
file_get_contents('llaveprivada.key.pem'), // en formato PEM
file_get_contents('certificado.cer'), // en formato PEM o DER
'12345678a'
Expand Down Expand Up @@ -183,11 +183,11 @@ and licensed for use under the MIT License (MIT). Please see [LICENSE][] for mor
[coverage]: https://scrutinizer-ci.com/g/phpcfdi/sat-ws-descarga-masiva/code-structure/master/code-coverage/src/
[downloads]: https://packagist.org/packages/phpcfdi/sat-ws-descarga-masiva

[badge-source]: http://img.shields.io/badge/source-phpcfdi/sat--ws--descarga--masiva-blue.svg?style=flat-square
[badge-discord]: https://img.shields.io/discord/459860554090283019.svg?logo=discord&style=flat-square
[badge-release]: https://img.shields.io/github/release/phpcfdi/sat-ws-descarga-masiva.svg?style=flat-square
[badge-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square
[badge-build]: https://img.shields.io/travis/phpcfdi/sat-ws-descarga-masiva/master.svg?style=flat-square
[badge-quality]: https://img.shields.io/scrutinizer/g/phpcfdi/sat-ws-descarga-masiva/master.svg?style=flat-square
[badge-coverage]: https://img.shields.io/scrutinizer/coverage/g/phpcfdi/sat-ws-descarga-masiva/master.svg?style=flat-square
[badge-downloads]: https://img.shields.io/packagist/dt/phpcfdi/sat-ws-descarga-masiva.svg?style=flat-square
[badge-source]: http://img.shields.io/badge/source-phpcfdi/sat--ws--descarga--masiva-blue?style=flat-square
[badge-discord]: https://img.shields.io/discord/459860554090283019?logo=discord&style=flat-square
[badge-release]: https://img.shields.io/github/release/phpcfdi/sat-ws-descarga-masiva?style=flat-square
[badge-license]: https://img.shields.io/badge/license-MIT-brightgreen?style=flat-square
[badge-build]: https://img.shields.io/travis/phpcfdi/sat-ws-descarga-masiva/master?style=flat-square
[badge-quality]: https://img.shields.io/scrutinizer/g/phpcfdi/sat-ws-descarga-masiva/master?style=flat-square
[badge-coverage]: https://img.shields.io/scrutinizer/coverage/g/phpcfdi/sat-ws-descarga-masiva/master?style=flat-square
[badge-downloads]: https://img.shields.io/packagist/dt/phpcfdi/sat-ws-descarga-masiva?style=flat-square
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"ext-dom": "*",
"ext-json": "*",
"ext-zip": "*",
"eclipxe/cfdiutils": "^2.10",
"phpcfdi/credentials": "^1.0",
"eclipxe/enum": "^0.2.0"
},
"require-dev": {
Expand Down
18 changes: 18 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,24 @@ In summary, [SemVer](https://semver.org/) can be viewed as ` Breaking . Feature
**Version `0.x.x` doesn't have to apply any of the SemVer rules**


## Version 0.2.0 2019-08-13

Breaking changes:

- `CodeRequest::isNotFound` is replaced by `CodeRequest::isEmptyResult`
- `Fiel` has been rewritten with other dependences.
To create a Fiel object use any of this:
- `FielData::createFiel()`
- `Fiel::create($certificateContents, $privateKeyContents, $passPhrase)`
- XML SEC Signature now follow RFC 4514 on `X509IssuerName` node.
- Removed dependence to `eclipxe/cfdiutils`, it depends now on `phpcfdi/credentials`.

Other changes:

- Fix & improve composer/phpunit/travis/scrutinizer calls.
- Fix documentation typos.


## Version 0.1.0 2019-08-09

- Initial working release
263 changes: 0 additions & 263 deletions src/Shared/Certificado.php

This file was deleted.

Loading

0 comments on commit eb3f33c

Please sign in to comment.