Skip to content

Releases: SonyPradana/validator

Patch version 0.8.3

23 Jan 02:44
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.8.2...v0.8.3

Patch version 0.8.2

07 Sep 15:55
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.8.1...v0.8.2

Realeas version 0.8

01 Sep 12:09
Compare
Choose a tag to compare
  • Support Wixel/GUMP ver 2

Realeas version 0.7.0

20 Mar 12:17
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.6.2...v0.7.0

Maintenance Release

13 Mar 02:36
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.6.1...v0.6.2

Maintenance Release

01 Mar 12:39
Compare
Choose a tag to compare

[0.6.1] - 2022-03-01

Fixed

  • fixed not exist field method only always return true.

Full Changelog: v0.6.0...v0.6.1

Realeas version 0.6.0

01 Mar 10:43
Compare
Choose a tag to compare

[0.6.0] - 2022-03-01

Added method to check form submitted validator->submitted().
Added method to check validation and form submitted validator->passed().
Added method to check validation and form submitted validator->fails().
Adding validation from method Validator::make($field, $closure) using param $closure as validpool closuser.
Added method to filter field rule base on field which need to use. validator->only() use specified field, validator->except() inverse of only.

What's Changed

Full Changelog: v0.5.1...v0.6.0

Maintenance Release

18 Feb 13:35
Compare
Choose a tag to compare

[0.5.1] - 2022-02-18

Added

  • Add method to add error message using __set.

Fixed

  • Fix deprecated warning php 8.0.

What's Changed

Full Changelog: v0.5.0...v0.5.1

Realeas version 0.5.0

15 Feb 02:27
Compare
Choose a tag to compare

[0.5.0] - 2022-02-15

Added

  • Add filter (rule) condition where(), only execute rule filter if condition as true (left side filter).
  • Add filter (rule) condition if(), only execute rule filter if condition as true (right side filter).
  • Add new filter filter_, does't perform anything. This filter also prevent from error when filter rule is empty.
  • Add static to create new instance Validator::make().
  • Adding validation rule using callback Validator->validation($callback).
  • Adding filter rule using callback Validator->filters($callback).
  • Adding new class (Validator\Collection::class) to convert array to smart object.
  • Adding property to get errors Validator->erros and filter out Validation->filters, it will return as Validator\Collection::class.
  • Adding method to costume field error message Validator::Message().

Changed

  • Change function name from Valid::equals_field() to Valid::equalsfield()

Realeas version 0.4.0

14 Jan 23:35
Compare
Choose a tag to compare

[0.4.0] - 2022-01-15

Added

  • Add property not same result with method not().
  • Add validation (rule) condition where(), only execute rule validation if condition as true (left side validation).
  • Add validation (rule) condition if(), only execute rule validation if condition as true (right side validation).
  • Add new validation validate_, check field is contain in input field. This validation also prevent from error when validation rule is empty.

Fixed

  • Fix method validOrException() can't throw Exception.
  • Prevent error when validation rule is empty, by adding new validation validate_().