Skip to content

Releases: potatowski/brazilcode

v2.1.0

31 Mar 21:53
8afd1b1

Choose a tag to compare

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

26 Mar 19:04
8f757f5

Choose a tag to compare

What's Changed

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.

Full Changelog: v1.1.1...v2.0.0

v1.1.1

20 Apr 19:16
v1.1.1
ffe38ca

Choose a tag to compare

improv: added functions about voter registration

v1.1.0

20 Apr 19:10
1.1.0
607005f

Choose a tag to compare

Feat: Voter Registration

v1.0.0

19 Apr 00:01
1.0.0
c8a8f40

Choose a tag to compare

Created feature to validate and generate the document CNH

v. 0.4.2

14 Apr 20:03
0.4.2
a2f9b3d

Choose a tag to compare

Created test