Skip to content

Releases: Waavi/Sanitizer

Added Laravel 7 compatibility and readme clarifications

09 Mar 18:09
5fce6fe
Compare
Choose a tag to compare
Add customFilters example (#52)

* Add customFilters example

* Update composer.json

* Update composer.json

* Update composer.json

Co-authored-by: francoism90 <[email protected]>
Co-authored-by: William <[email protected]>

Fix issue with illegal offset.

27 Nov 12:03
Compare
Choose a tag to compare
Add array type verification before accessing index (#49)

Since the $rule may now be array as well as a Closure, the array type must be checked before trying to access indexes.
Also, `applyFilter` calls is corrected to respect it's signature.
This should fix `ErrorException Illegal string offset 'name'` being thrown.

Fixes Waavi#48

Adds support for Closure rules

14 Nov 12:20
Compare
Choose a tag to compare
Adds support for Closure rules (#45)

* Support Closure rules

* Test Closure rules

* Bug fix

* Fix test

* Fix test

New filter_if filter

14 Nov 11:51
Compare
Choose a tag to compare
1.0.13

Modified return type of rules and filters method to array in request.…

Laravel 6 and multibyte string support

19 Sep 11:17
Compare
Choose a tag to compare
1.0.12

adds special characters compatibility (#39)

Avoid adding empty inputs when sanitizing data.

25 Apr 13:17
Compare
Choose a tag to compare
1.0.11

Sanitize only passed data (#33)

1.0.10: Upgrade to latest versions of phpunit and Carbon (#30)

19 Feb 13:51
Compare
Choose a tag to compare
revert to phpunit 6.0

make shim methods static

for compatibility with php 7.2 and 7.3

use void to match current signature

only apply shim if php <= 7.2

allow travis failures for hhvm and php 5.6

Added Digit filter

24 Jan 16:10
Compare
Choose a tag to compare
1.0.9

Fix request stub to extend form request directly (#26)

Added PR that fix Laravel 5.6 issues and add awesome wildcard array sanitation!

17 Aug 20:13
Compare
Choose a tag to compare
Wildcard rules (#13)

* Add wildcard rules support

* Style fix

* Fixed package version to pass tests

* Rename variable

* Update Sanitizer.php

Merge pull request

11 Apr 12:25
Compare
Choose a tag to compare
Merge pull request #3 from TiagoSilvaPereira/patch-1

Adding a simple way to define custom Filters