Releases: potatowski/brazilcode
Releases · potatowski/brazilcode
v2.1.0
What's Changed
Added
- Implement RENAVAM validation and generation functions.
- Add RENAVAM instance for vehicle registration management.
- Add unit tests for RENAVAM validation, formatting, and generation.
- Add unit tests for Document interface using a mock implementation.
- Add documentation for CPF, CNPJ, CNH, and VoterRegistration.
Changed
- Update README to reflect module path change to v2.
- Update README to include RENAVAM in the list of features.
- Update CHANGELOG with new RENAVAM features and unit tests.
Full Changelog: v2.0.0...v2.1.0
v2.0.0
What's Changed
Added
Documentinterface for document operations.IsValid,Format, andGeneratemethods for document validation and formatting.
Changed
- Converted voter registration functions to methods of
VoterRegistrationstruct implementing theDocumentinterface. - Converted CPF functions to methods of
CPFstruct implementing theDocumentinterface. - Converted CNPJ functions to methods of
CNPJstruct implementing theDocumentinterface. - Converted CNH functions to methods of
CNHstruct implementing theDocumentinterface. - Consolidated document operations into a unified interface with
IsValid,Format, andGeneratemethods. - Updated README to reflect method changes for
CNPJandVoterRegistration. - Enhanced clarity on package functionality and usage examples in README.
Fixed
- Updated voter registration test to ignore voter output.
Full Changelog: v1.1.1...v2.0.0
v1.1.1
improv: added functions about voter registration
v1.1.0
Feat: Voter Registration
v1.0.0
Created feature to validate and generate the document CNH
v. 0.4.2
Created test