Skip to content

Releases: Axot017/validate

1.1.0

31 Jan 20:40
be8bb80
Compare
Choose a tag to compare

CHANGES:

  • Added new string annotations:
    • @ulid: Ensures a string is a valid ULID.
    • @ipv4: Validates that a string is a valid IPv4 address.
    • @ipv6: Ensures a string is a valid IPv6 address.
    • @phone: Validates that a string conforms to the E.164 phone number format.
    • @mac_address: Ensures a string is a valid MAC address.
  • Introduced new option type annotations:
    • @some: Ensures an option type is Some.
    • @none: Ensures an option type is None.
  • Implemented @custom annotation for custom validation logic.
  • Added @ignore_if annotation for conditional validation.
  • Introduced @some_if and @none_if annotations for conditional requirements on option types.

1.0.0

26 Jan 22:13
363c802
Compare
Choose a tag to compare

CHANGES:

  • Added support for validating variants.
  • Introduced support for recursive types, enabling the validation of nested self-referential data structures.
  • Implemented support for circular recursive types, allowing for validation in complex interconnected data structures.
  • API stabilization: The API can now be considered stable. Future changes will primarily focus on adding new validators without altering existing functionality.

0.2.0

17 Jan 20:03
108a748
Compare
Choose a tag to compare

CHANGES:

  • Support for simple types
  • Support for tuples
  • Group error type added

0.1.0

11 Jan 06:17
Compare
Choose a tag to compare

CHANGES:

  • Initial release