Skip to content

1.1.0

Latest
Compare
Choose a tag to compare
@Axot017 Axot017 released this 31 Jan 20:40
· 2 commits to master since this release
be8bb80

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.