Skip to content

Commit f39e062

Browse files
committed
Prepare version 3.0.0
1 parent aecb622 commit f39e062

File tree

3 files changed

+22
-7
lines changed

3 files changed

+22
-7
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ Ejemplo de expresión para RET 1.0:
4040
?&re=XAXX010101000&nr=12345678901234567890%tt=1234567890.123456&id=ad662d33-6934-459c-a128-BDf0393f0f44
4141
```
4242

43-
4443
## Instalación
4544

4645
Usa [composer](https://getcomposer.org/)
@@ -74,19 +73,21 @@ Esta librería se mantendrá compatible con al menos la versión con
7473
También utilizamos [Versionado Semántico 2.0.0](https://semver.org/lang/es/) por lo que puedes usar esta librería
7574
sin temor a romper tu aplicación.
7675

76+
### Cambiar de la versión 2.0.0 a la versión 3.0.0
77+
78+
La versión `3.0.0` agrega un método a la interfaz `ExpressionExtractorInterface` por lo que es necesario crear una
79+
versión mayor. Puedes actualizar con confianza si no creaste alguna clase que implemente `ExpressionExtractorInterface`.
7780

7881
## Contribuciones
7982

8083
Las contribuciones con bienvenidas. Por favor lee [CONTRIBUTING][] para más detalles
8184
y recuerda revisar el archivo de tareas pendientes [TODO][] y el [CHANGELOG][].
8285

83-
8486
## Copyright and License
8587

8688
The phpcfdi/cfdi-expresiones library is copyright © [PhpCfdi](https://www.phpcfdi.com/)
8789
and licensed for use under the MIT License (MIT). Please see [LICENSE][] for more information.
8890

89-
9091
[contributing]: https://github.com/phpcfdi/cfdi-expresiones/blob/master/CONTRIBUTING.md
9192
[changelog]: https://github.com/phpcfdi/cfdi-expresiones/blob/master/docs/CHANGELOG.md
9293
[todo]: https://github.com/phpcfdi/cfdi-expresiones/blob/master/docs/TODO.md
@@ -99,9 +100,9 @@ and licensed for use under the MIT License (MIT). Please see [LICENSE][] for mor
99100
[coverage]: https://scrutinizer-ci.com/g/phpcfdi/cfdi-expresiones/code-structure/master/code-coverage
100101
[downloads]: https://packagist.org/packages/phpcfdi/cfdi-expresiones
101102

102-
[badge-source]: http://img.shields.io/badge/source-phpcfdi/cfdi--expresiones-blue.svg?style=flat-square
103+
[badge-source]: https://img.shields.io/badge/source-phpcfdi/cfdi--expresiones-blue.svg?style=flat-square
103104
[badge-release]: https://img.shields.io/github/release/phpcfdi/cfdi-expresiones.svg?style=flat-square
104-
[badge-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square
105+
[badge-license]: https://img.shields.io/github/license/phpcfdi/cfdi-expresiones.svg?style=flat-square
105106
[badge-build]: https://img.shields.io/travis/phpcfdi/cfdi-expresiones/master.svg?style=flat-square
106107
[badge-quality]: https://img.shields.io/scrutinizer/g/phpcfdi/cfdi-expresiones/master.svg?style=flat-square
107108
[badge-coverage]: https://img.shields.io/scrutinizer/coverage/g/phpcfdi/cfdi-expresiones/master.svg?style=flat-square

docs/CHANGELOG.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# CHANGELOG
22

3+
Notice: This library follows [SEMVER 2.0.0](https://semver.org/spec/v2.0.0.html) convention.
4+
5+
## Version 3.0.0 2019-10-24
6+
7+
You should not have any trouble upgrading to from version `2.0.0` to `3.0.0` unless you are creating a concrete
8+
class that implements `ExpressionExtractorInterface`.
9+
10+
- [BC] Change interface of `ExpressionExtractorInterface` to add a new method `obtain(DOMDocument $document): array`
11+
that returns the extracted values, this change remove this responsability from `extract` method.
12+
- [BC] Change `DiscoverExtractor::format()`, second argument must be `string`, was `mixed`.
13+
- Update continuous integration and development environment, mayor changes:
14+
- Travis build on PHP version `7.4snapshot`.
15+
- Scrutinizer decides which PHP version to run.
16+
- Remove `overtrue/phplint`.
17+
318
## Version 2.0.0 2019-03-28
419

520
- Allows to create an expression with format fixes from specific types
@@ -11,7 +26,6 @@
1126
- `Retenciones10` uses `RET10`
1227
- Rename `ExpressionExtractor` to `DiscoverExtractor`, it makes more sense
1328

14-
1529
## Version 1.0.0 2019-03-27
1630

1731
- Create this package as is a common use between other packages

docs/TODO.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# phpcfdi/cfdi-expresiones To Do List
22

3-
- Poner el copyright correcto en cuanto esté el sitio de PhpCfdi
3+
- 2019-10-24: Nada pendiente aún.

0 commit comments

Comments
 (0)