vine 1.7.2 copy "vine: ^1.7.2" to clipboard
vine: ^1.7.2 copied to clipboard

Vine is a robust, typed validation library for Dart/Flutter, designed to simplify and secure data management in applications

1.7.2 #

  • Keep vine rules accross many validations

1.7.1 #

  • Rename ValidationException class to VineValidationException to prevent collision with ValidationException class from another packages
  • Change ValidationException.message from String to Map<String, dynamic>

1.7.0 #

  • Rename Field class to VineField
  • Rename ValidatorContext class to VineValidatorContext to prevent collision with ValidatorContext class from another packages

1.6.2 #

  • Rename ErrorReporter to VineErrorReporter to prevent collision with ErrorReporter class from anither packages
  • Change error reporting strategy from .toString()to json.encode()

1.6.1 #

  • Add schema.clone() method to return a new instance of VineSchema

1.6.0 #

  • Add schema.example() method to decorate OpenApi reporter

1.5.1 #

  • Change Map<String, dynamic> entry data to dynamic in tryValidate

1.5.0 #

  • Added support for all schemas as a high-level entry schema
  • Add benchmarks in Dartmark website

1.4.0 #

  • Add RegExp property in phone validation rule

1.3.0 #

  • Add missing VineNotSameAsRule implementation
  • Implement VineRegexRule validation rule
  • Add related Dev.to article

1.2.0 #

  • Move rules from handlers to dedicated classes
  • Implement OpenAPI reporter

1.1.0 #

  • Implement VineBasics validation rules
  • Implement VineGroup validation rules
  • Implement VineDate validation rules
  • Optimize validation algorithm
  • Enhance performance of the library, ~22 000 000 -> ~29 500 000 ops/sec (+34%)

1.0.0 #

Initial release

  • Implement the basic functionality of the library
  • Add the core validation rules
  • Add the core validation functions
  • Add the core validation exceptions
  • Write tests for the core functionality
    • VineAny any
    • VineArray array
    • VineBoolean boolean
    • VineNumber number
    • VineObject object
    • VineString string
    • VineEnum enum
    • VineUnion union
5
likes
130
points
394
downloads

Publisher

verified publisherleadcode.fr

Weekly Downloads

Vine is a robust, typed validation library for Dart/Flutter, designed to simplify and secure data management in applications

Repository (GitHub)

Topics

#validator #data

Documentation

API reference

License

MIT (license)

Dependencies

string_validator

More

Packages that depend on vine