Koda-validate

Latest version: v4.1.1

Safety actively analyzes 623847 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

4.1.1

**Optimization**
- Use `pattern.match(...)` instead of `re.match(pattern, ...)` in `RegexPredicate` and `EmailPredicate`

4.1.0

**Features**
- `ValidationResult.map()` can be used to succinctly convert data contained within `Valid` objects to some other type or value

4.0.0

**Breaking Changes**
- `to_serializable_errs` produces different text, removing assumption that validation input was deserialized from json

**Improvements**
- Allow `to_serializable_errs` to accept callable for next level

3.1.2

**Bug Fixes**
- [30](https://github.com/keithasaurus/koda-validate/issues/30) validate_signature ignores validators' coercion and processors

**Maintenance**
- General updates to dev dependencies

3.1.1

**Bug Fixes**
- `UnionValidator.typed`'s `overloads` specify that arguments should be positional-only

**Docs**
- extend docs for `UnionValidator` and `NTupleValidator`

3.1.0

**Features**
- Runtime type checking via `koda_validate.signature.validate_signature`
- Coercion customizable via `Coercer` (and helper decorator `coercer`)

**Maintenance**
- Minor bug fixes in examples/

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.