Skip to content

Conversation

@potatowski
Copy link
Owner

[2.0.0] - 2025-03-26

Added

  • Document interface for document operations.
  • IsValid, Format, and Generate methods for document validation and formatting.

Changed

  • Converted voter registration functions to methods of VoterRegistration struct implementing the Document interface.
  • Converted CPF functions to methods of CPF struct implementing the Document interface.
  • Converted CNPJ functions to methods of CNPJ struct implementing the Document interface.
  • Converted CNH functions to methods of CNH struct implementing the Document interface.
  • Consolidated document operations into a unified interface with IsValid, Format, and Generate methods.
  • Updated README to reflect method changes for CNPJ and VoterRegistration.
  • Enhanced clarity on package functionality and usage examples in README.

Fixed

  • Updated voter registration test to ignore voter output.

potatowski and others added 16 commits May 18, 2023 21:09
…istration struct implementing Document interface
@potatowski potatowski merged commit cc1baf3 into main Mar 26, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants