Skip to content

Tags: sourcetoad/rule-helper-for-laravel

Tags

v6.2.0

Toggle v6.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Strict boolean and numeric as individual functions (#58)

* update: increased minimum laravel version

* update: added strict boolean option

* update: added strict numeric option

* refactor: switch to separate rule function rather than flag

* docs: added deprecation note

v6.1.0

Toggle v6.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add `anyOf` and `in_array_keys` (#56)

* docs: updated link to point at 12.x

* update: added in array keys rule

* update: added any of rule

* refactor: add missing return type

* refactor: switch to shared defined rule type

* refactor: leave unwrapping to laravel

v6.0.0

Toggle v6.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Next version (#52)

* update: switched date rule to return the fluent interface

* update: switched email rule to return the fluent interface

* update: switched file rule to return the fluent interface

* update: switched image rule to return the fluent interface

* test: cleared mime types mock before each run

* build: updated dependencies

* docs: updated upgrade guide

* build: remove non-stable dependencies

* docs: added version compatibility table

v5.6.0

Toggle v5.6.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Prohibited if update (#53)

* update: add prohibited_if_accepted and prohibited_if_declined

* update: updated minimum version

v5.5.0

Toggle v5.5.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
PHP 8.4 Support (#51)

* build: support php84

* build: update pint

* refactor: fix new pint issues

---------

Co-authored-by: Erik Perri <erik.perri@sourcetoad.com>

v5.4.0

Toggle v5.4.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Sync with docs (#50)

* refactor: updated before and after rules to call out related field ability

* update: added support for ascii limited alpha rules

* update: added support for date format with many supported

* update: allowed null for required unless

* update: added support for timezone constraints

* docs: brought docs in line with current laravel docs

v5.3.1

Toggle v5.3.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Type fixes (#49)

* refactor: allowed modifiers to optionally return a modified rule or not

* docs: typed `excludeIf` correctly

* test: added explicit check of both modifier flows

* docs: fixed dimensions typehint

* test: switch to gate facade

v5.3.0

Toggle v5.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Confirmation field override (#48)

* update: added confirmation override support

* build: updated minimum Laravel version

v5.2.0

Toggle v5.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Array updates (#45)

* docs: updated max and min descriptions to match documentation

* update: switch to array rule class for enum key support

* docs: updated boolean descriptions to match documentation

* update: added contains rule helper

* docs: added version to upgrade guide

v5.1.0

Toggle v5.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
In type fixes (#44)

* docs: Added missing documentation links

* update: Updated in and not in types to match Laravel type changes

* update: Updated minimum version for type fix