Skip to content

Release 0.6.0 #8

@daniel-samson

Description

@daniel-samson

Branch: epic/0.6.x

Release 0.6.0 should extend Release 0.5.0 #7 and add:

New Rules

between:min, max

The field under validation must have a size between the given min and max (inclusive). Strings, numerics, arrays, and files are evaluated in the same fashion as the size rule.

hex_color

The field under validation must contain a valid color value in hexadecimal format.

present

The field under validation must exist in the input data.

present_if:anotherfield,value,...

The field under validation must be present if the anotherfield field is equal to any value.

present_unless:anotherfield,value

The field under validation must be present unless the anotherfield field is equal to any value.

present_with:foo,bar,...

The field under validation must be present only if any of the other specified fields are present.

present_with_all:foo,bar,...

The field under validation must be present only if all of the other specified fields are present.

Metadata

Metadata

Assignees

Labels

documentationThis is issue is either documentation or relates to the documentationminor releasethis issue documents a change for a minor releaseplanningthis issue documents plans for the future

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions