# Changelog

A partir da versão 3.5.1 nosso modelo de logs é baseado em [mantenha um changelog](https://keepachangelog.com/pt-BR/1.0.0/) e o
nosso versionamento é [semântico](https://semver.org/lang/pt-BR/).

## [3.11.1](https://github.com/geekcom/validator-docs/compare/3.11.0...3.11.1)

## Novidades - Por hora revertemos as melhorias na validação de CPF

- Revert:
  - Melhorias na validação de CPF.

## [3.11.0](https://github.com/geekcom/validator-docs/compare/3.10.0...3.11.0)

## Novidades

- Atualizado:
  - Melhorias na validação de CPF.

## [3.10.0](https://github.com/geekcom/validator-docs/compare/3.9.0...3.10.0)

## Novidades - Validação de passaporte brasileiro

- Adicionado:
  - Agora é possivel validar passaporte brasileiro, consulte a doc para maiores detalhes.
- Atualizado:
  - A documentação foi atualizada.

## [3.9.0](https://github.com/geekcom/validator-docs/compare/3.8.0...3.9.0)

## Novidades - Testado com Laravel 10

- Corrigido:
  - A mensagem de retorno em caso de erro de validação de DDD.
- Atualizado:
  - A documentação foi atualizada.

## [3.8.0](https://github.com/geekcom/validator-docs/compare/3.7.1...3.8.0)

## Novidades

- Melhorias:
  - Os testes de validação de formatos foram melhorados;
  - Diversas pequenas melhorias foram adicionadas;
  - A doc foi melhorada.

## [3.7.1](https://github.com/geekcom/validator-docs/compare/3.7.0...3.7.1)

## Novidades

- Corrigido:
  - Um dos valores usados nos testes de validação de RENAVAM;

## [3.7.0](https://github.com/geekcom/validator-docs/compare/3.6.0...3.7.0)

## Novidades

- Atualizado:
  - As regras de validação de RENAVAM foram reescritas;
  - Os testes de validação de RENAVAM foram atualizados.

## [3.6.0](https://github.com/geekcom/validator-docs/compare/3.5.3...3.6.0)

## Novidades

- Corrigido: 
  - A documentação referente a validação de inscrição estadual;
  - O arquivo `composer.lock` foi removido do `.gitignore`;
  - A opção depreciada do composer `--no-suggest`, foi removida do workflow Github actions.
- Atualizado:
  - A versão mínima do PHP, e algumas dependências do projeto;
  - As classes de validação de formatos de documentos NIS e CNPJ;
  - O arquivo `phpunit.xml` foi adicionado ao `.gitignore`;
  - Suporte a badge de build do Github actions;
  - Suporte a badge de Coverage Status do coveralls.io.
- Removido: 
  - O arquivo `phpunit.xml`;
  - O suporte a travisCI.
- Adicionado: 
  - O arquivo `phpunit.xml.dist`;
  - A possibilidade de rodar testes de unidade via comando `composer testdox`;

## [3.5.4](https://github.com/geekcom/validator-docs/compare/3.5.3...3.5.4)

## Commits

- Consertado: link para o travis-ci no README.md [`e4c9dcd`](https://github.com/geekcom/validator-docs/commit/e4c9dcd124795ce9dd6a36d1114db9c2d7b999db)

## [3.5.3](https://github.com/geekcom/validator-docs/compare/3.5.2...3.5.3)

## Commits

- Modificado: link para geração de documento [`94064a9`](https://github.com/geekcom/validator-docs/commit/94064a98379dca1e781bd358e4c10d7a1cff0020)
- Consertado: retirado informação duplicada para Inscrição Estadual do README [`94064a9`](https://github.com/geekcom/validator-docs/commit/94064a98379dca1e781bd358e4c10d7a1cff0020)
- Consertado: valida formato do documento apenas se valor é informado. [`424fc22c`](https://github.com/geekcom/validator-docs/commit/424fc22c9865a77e6c27a9a26e4ed8dd9baf20eb)

## [3.5.2](https://github.com/geekcom/validator-docs/compare/3.5.1...3.5.2)

## Commits

- Adicionado: verificação de DDD. [`52bb67a`](https://github.com/geekcom/validator-docs/commit/52bb67a51bf6c36f5aef00fb9429203bfe4d4ad3)
- Adicionado: mensagem para a verificação de DDD. [`52bb67a`](https://github.com/geekcom/validator-docs/commit/52bb67a51bf6c36f5aef00fb9429203bfe4d4ad3)
- Modificado: teste no PHP 8, dependências foram atualizadas. [`a0005e1`](https://github.com/geekcom/validator-docs/commit/a0005e168eb2eca0da06d36ae92b8976c4195766)
- Modificado: fix Sanitization class to deal with null values. [`d57c8e9`](https://github.com/geekcom/validator-docs/commit/d57c8e9076769d2e978d5bd3a8fbd470980b5bbb)
- Modificado/Adicionado: melhora coverage para Renavam. [`574114d`](https://github.com/geekcom/validator-docs/commit/574114d29ef5d98784972aafe7213fcf6bac4d8e)
- Consertado: resolve erro com sanitize. [`a6d33e5`](https://github.com/geekcom/validator-docs/commit/a6d33e54a66090ffb485e7385e9c1fc40ca4e9da)

## [3.5.1](https://github.com/geekcom/validator-docs/compare/3.5.0...3.5.1)

## Commits

- Modificado: Atualizar versão da lib na doc. [`e61829b`](https://github.com/geekcom/validator-docs/commit/e61829be54353c0335db425962d7c2e9075d727f)
- Corrigido: validação de Placa não precisa de sanitization. [`d5a0e7b`](https://github.com/geekcom/validator-docs/commit/d5a0e7be832003332395b5e3eac2a58f879ca060)

---
<!-- changelog-linker -->

<!-- dumped content start -->

## [3.5.0]

- [#100] fix tests, melhorias gerais, Thanks to [@geekcom]
- [#102] Sync master with develop, Thanks to [@geekcom]
- [#77] Merge pull request [#76] from geekcom/master, Thanks to [@geekcom]
- [#62] melhorias para cobrir PSR-12, Thanks to [@geekcom]
- [#63] remover suporte ao scrutinizerCI, Thanks to [@geekcom]
- [#64] atualizado e-mail do autor, Thanks to [@geekcom]
- [#65] Atualizacao de nomes de testes, Thanks to [@geekcom]
- [#67] Update README.md, Thanks to [@geekcom]
- [#76] Sync master com develop, Thanks to [@geekcom]
- [#79] Merge pull request [#78] from geekcom/master, Thanks to [@geekcom]
- [#78] Sync master com develop, Thanks to [@geekcom]
- [#101] Sync, Thanks to [@geekcom]
- [#80] Merge pull request [#79] from geekcom/develop, Thanks to [@geekcom]
- [#81] Merge pull request [#80] from geekcom/master, Thanks to [@geekcom]
- [#82] Update README.md, Thanks to [@geekcom]
- [#83] Merge pull request [#82] from geekcom/master, Thanks to [@geekcom]
- [#85] Sync, Thanks to [@geekcom]
- [#86] Merge pull request [#85] from geekcom/master, Thanks to [@geekcom]
- [#90] Adicionando validação de Renavam, Thanks to [@rafaelneris]
- [#93] Valida Inscrição Estadual para cada Unidade Federativa, Thanks to [@thicolares]
- [#95] Validação Placa, Thanks to [@omarkdev]
- [#96] Corrige estilo de código na classe do Renavam, Thanks to [@omarkdev]
- [#97] Cria workflow no github para rodar testes ao propor novo pull request, Thanks to [@omarkdev]
- [#98] Sync master into develop, Thanks to [@geekcom]
- [#99] Merge pull request [#98] from geekcom/master, Thanks to [@geekcom]
- [#61] update CHANGELOG.md, Thanks to [@geekcom]

<!-- dumped content end -->

<!-- dumped content start -->

## [3.4.0]

- [#60] atualizados, CI, Thanks to [@geekcom]
- [#59] suporte a coverage, Thanks to [@geekcom]
- [#58] suporte a travisCI, Thanks to [@geekcom]
- [#57] Develop, Thanks to [@geekcom]
- [#56] Develop, Thanks to [@geekcom]

<!-- dumped content end -->

<!-- dumped content start -->

## [3.3.2]

- [#55] Igualando develop e master, Thanks to [@geekcom]
- [#54] Arrumando cnh, Thanks to [@MrEko]
- [#51] update CHANGELOG.md, Thanks to [@geekcom]

<!-- dumped content end -->

<!-- dumped content start -->

## [3.3.1]

- [#50] minor correction, update doc, Thanks to [@geekcom]

<!-- dumped content end -->

<!-- dumped content start -->

## [3.3.0]

- [#49] solved: complexity, update: tests, Thanks to [@geekcom]

<!-- dumped content end -->

<!-- dumped content start -->

## Unreleased

- [#48] added support for changelogs, Thanks to [@geekcom]
- [#45] fixing "Unparenthesized is deprecated" error, Thanks to [@kidh0]
- [#17] fix: erro em phpunit.xml, melhorias nos testes, namespace para testes, Thanks to [@geekcom]
- [#25] Melhorias de leitura nos códigos, Thanks to [@geekcom]
- [#2] Alteração da função validateCnpj para impedir que o Cnpj 00.000.000/0…, Thanks to [@andrergcosta]
- [#3] Criada as funções validateFormatoCpfCnpj e validateCpfCnpj, Thanks to [@andrergcosta]
- [#4] Inclusão do exemplo para validação de CPF/CNPJ no arquivo readme, Thanks to [@andrergcosta]
- [#5] Validar título eleitor, Thanks to [@andrergcosta]
- [#8] Faltando parâmetro $attributes em ValidatorProvider., Thanks to [@setefocos]
- [#11] nova badge e melhoria no readme.me, Thanks to [@geekcom]
- [#12] scrutinizer CI, Thanks to [@geekcom]
- [#19] Criação da função para verificar PIS/PASEP/NIS/NIT, Thanks to [@lordantonelli]
- [#20] Master from develop, Thanks to [@geekcom]
- [#21] Merge pull request [#20] from geekcom/master, Thanks to [@geekcom]
- [#23] update docs, minor corrections, Thanks to [@geekcom]
- [#24] update docs, Thanks to [@geekcom]
- [#30] update scrutinizer CI check, Thanks to [@geekcom]
- [#27] atualizacao para Laravel 6, Thanks to [@geekcom]
- [#47] Merge pull request [#46] from geekcom/master, Thanks to [@geekcom]
- [#31] Atualização dos requisitos e testes, Thanks to [@victorhsanjos]
- [#32] master into develop, Thanks to [@geekcom]
- [#33] Merge pull request [#32] from geekcom/master, Thanks to [@geekcom]
- [#35] auto-discover composer, Thanks to [@geekcom]
- [#37] Adicionando validação do Cartão Nacional de Saúde, Thanks to [@MrEko]
- [#38] Merge, Thanks to [@geekcom]
- [#39] Merge pull request [#38] from geekcom/master, Thanks to [@geekcom]
- [#40] melhorias de documentacao e sintaxe, v3.0.0, Thanks to [@geekcom]
- [#41] Validação de Certidão de Nascimento, Casamento ou Óbito, Thanks to [@MrEko]
- [#42] merge master into develop, Thanks to [@geekcom]
- [#43] Merge pull request [#42] from geekcom/master, Thanks to [@geekcom]
- [#44] melhoria na validacao de CNH,strict_types PHP ativado, Thanks to [@geekcom]
- [#46] merge master inte develop, Thanks to [@geekcom]
- [#1] Update README.md, Thanks to [@yvescabral]

<!-- dumped content end -->

[#48]: https://github.com/geekcom/validator-docs/pull/48
[#47]: https://github.com/geekcom/validator-docs/pull/47
[#46]: https://github.com/geekcom/validator-docs/pull/46
[#45]: https://github.com/geekcom/validator-docs/pull/45
[#44]: https://github.com/geekcom/validator-docs/pull/44
[#43]: https://github.com/geekcom/validator-docs/pull/43
[#42]: https://github.com/geekcom/validator-docs/pull/42
[#41]: https://github.com/geekcom/validator-docs/pull/41
[#40]: https://github.com/geekcom/validator-docs/pull/40
[#39]: https://github.com/geekcom/validator-docs/pull/39
[#38]: https://github.com/geekcom/validator-docs/pull/38
[#37]: https://github.com/geekcom/validator-docs/pull/37
[#35]: https://github.com/geekcom/validator-docs/pull/35
[#33]: https://github.com/geekcom/validator-docs/pull/33
[#32]: https://github.com/geekcom/validator-docs/pull/32
[#31]: https://github.com/geekcom/validator-docs/pull/31
[#30]: https://github.com/geekcom/validator-docs/pull/30
[#27]: https://github.com/geekcom/validator-docs/pull/27
[#25]: https://github.com/geekcom/validator-docs/pull/25
[#24]: https://github.com/geekcom/validator-docs/pull/24
[#23]: https://github.com/geekcom/validator-docs/pull/23
[#21]: https://github.com/geekcom/validator-docs/pull/21
[#20]: https://github.com/geekcom/validator-docs/pull/20
[#19]: https://github.com/geekcom/validator-docs/pull/19
[#17]: https://github.com/geekcom/validator-docs/pull/17
[#12]: https://github.com/geekcom/validator-docs/pull/12
[#11]: https://github.com/geekcom/validator-docs/pull/11
[#8]: https://github.com/geekcom/validator-docs/pull/8
[#5]: https://github.com/geekcom/validator-docs/pull/5
[#4]: https://github.com/geekcom/validator-docs/pull/4
[#3]: https://github.com/geekcom/validator-docs/pull/3
[#2]: https://github.com/geekcom/validator-docs/pull/2
[#1]: https://github.com/geekcom/validator-docs/pull/1
[@yvescabral]: https://github.com/yvescabral
[@victorhsanjos]: https://github.com/victorhsanjos
[@setefocos]: https://github.com/setefocos
[@lordantonelli]: https://github.com/lordantonelli
[@kidh0]: https://github.com/kidh0
[@geekcom]: https://github.com/geekcom
[@andrergcosta]: https://github.com/andrergcosta
[@MrEko]: https://github.com/MrEko
[#49]: https://github.com/geekcom/validator-docs/pull/49
[#50]: https://github.com/geekcom/validator-docs/pull/50
[#55]: https://github.com/geekcom/validator-docs/pull/55
[#54]: https://github.com/geekcom/validator-docs/pull/54
[#51]: https://github.com/geekcom/validator-docs/pull/51
[#102]: https://github.com/geekcom/validator-docs/pull/102
[#101]: https://github.com/geekcom/validator-docs/pull/101
[#100]: https://github.com/geekcom/validator-docs/pull/100
[#99]: https://github.com/geekcom/validator-docs/pull/99
[#98]: https://github.com/geekcom/validator-docs/pull/98
[#97]: https://github.com/geekcom/validator-docs/pull/97
[#96]: https://github.com/geekcom/validator-docs/pull/96
[#95]: https://github.com/geekcom/validator-docs/pull/95
[#93]: https://github.com/geekcom/validator-docs/pull/93
[#90]: https://github.com/geekcom/validator-docs/pull/90
[#86]: https://github.com/geekcom/validator-docs/pull/86
[#85]: https://github.com/geekcom/validator-docs/pull/85
[#83]: https://github.com/geekcom/validator-docs/pull/83
[#82]: https://github.com/geekcom/validator-docs/pull/82
[#81]: https://github.com/geekcom/validator-docs/pull/81
[#80]: https://github.com/geekcom/validator-docs/pull/80
[#79]: https://github.com/geekcom/validator-docs/pull/79
[#78]: https://github.com/geekcom/validator-docs/pull/78
[#77]: https://github.com/geekcom/validator-docs/pull/77
[#76]: https://github.com/geekcom/validator-docs/pull/76
[#75]: https://github.com/geekcom/validator-docs/pull/75
[#67]: https://github.com/geekcom/validator-docs/pull/67
[#65]: https://github.com/geekcom/validator-docs/pull/65
[#64]: https://github.com/geekcom/validator-docs/pull/64
[#63]: https://github.com/geekcom/validator-docs/pull/63
[#62]: https://github.com/geekcom/validator-docs/pull/62
[#61]: https://github.com/geekcom/validator-docs/pull/61
[@thicolares]: https://github.com/thicolares
[@rafaelneris]: https://github.com/rafaelneris
[@omarkdev]: https://github.com/omarkdev
