- Add a warnings distinction to validators. By default, validators throw errors, but you may specify that they emit warnings instead (86):
json
"range": {"min": 0, "max": 10, "level": "warn"}
- Adds a new `when` validator, that allows you to specify complex conditional validation logic. Here's an example using [Tax-Cruncher's](https://github.com/PSLmodels/Tax-Cruncher) social security parameter (#81):
json
{
"when": {
"param": "spouse_age",
"is": {"less_than": 65},
"then": {
"when": {
"param": "primary_age",
"is": {"less_than": 65},
"then": { "range": {"min": 0, "max": 0} },
"otherwise": { "range": {"min": 0, "max": 9e99} }
}
},
"otherwise": { "range": {"min": 0, "max": 9e99} }
}
}
- A bug fix for the `sort_values` method and its usage in `dump`. (87)