Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.7.0 #9

Open
daniel-samson opened this issue Dec 24, 2024 · 0 comments
Open

Release 0.7.0 #9

daniel-samson opened this issue Dec 24, 2024 · 0 comments
Assignees
Labels
documentation This is issue is either documentation or relates to the documentation minor release this issue documents a change for a minor release planning this issue documents plans for the future

Comments

@daniel-samson
Copy link
Owner

daniel-samson commented Dec 24, 2024

Branch: epic/0.7.x

Release 0.7.0 should extend Release 0.6.0 #8 and add:

  • vite support
  • create an example project in the examples directory

New Rules

max:value

The field under validation must be less than or equal to a maximum value. Strings, numerics, arrays, and files are evaluated in the same fashion as the size rule.

min:value

The field under validation must have a minimum value. Strings, numerics, arrays, and files are evaluated in the same fashion as the size rule.

min_digits:value

The integer under validation must have a minimum length of value.

multiple_of:value

The field under validation must be a multiple of value.

required_if:anotherfield,value,...

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

required_if_accepted:anotherfield,...

The field under validation must be present and not empty if the anotherfield field is equal to "yes", "on", 1, "1", true, or "true".

required_if_declined:anotherfield,..

The field under validation must be present and not empty if the anotherfield field is equal to "no", "off", 0, "0", false, or "false".

required_unless:anotherfield,value,...

The field under validation must be present and not empty unless the anotherfield field is equal to any value. This also means anotherfield must be present in the request data unless value is null. If value is null (required_unless:name,null), the field under validation will be required unless the comparison field is null or the comparison field is missing from the request data.

required_with:foo,bar,...

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

required_with_all:foo,bar,...

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

required_without:foo,bar,...

The field under validation must be present and not empty only when any of the other specified fields are empty or not present.

required_without_all:foo,bar,...

The field under validation must be present and not empty only when all of the other specified fields are empty or not present.

required_array_keys:foo,bar,...

The field under validation must be an array and must contain at least the specified keys.

@daniel-samson daniel-samson added the documentation This is issue is either documentation or relates to the documentation label Dec 24, 2024
@daniel-samson daniel-samson self-assigned this Dec 24, 2024
@daniel-samson daniel-samson added planning this issue documents plans for the future minor release this issue documents a change for a minor release labels Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation This is issue is either documentation or relates to the documentation minor release this issue documents a change for a minor release planning this issue documents plans for the future
Projects
None yet
Development

No branches or pull requests

1 participant