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