Releases: particle-php/Filter
Releases · particle-php/Filter
v1.5.2
19 Aug 15:21
Compare
Sorry, something went wrong.
No results found
v1.5.1
07 Jan 13:54
Compare
Sorry, something went wrong.
No results found
Patch
@jhuet : Slug all non-numeric characters (#61 )
v1.5.0
13 Dec 13:24
Compare
Sorry, something went wrong.
No results found
In this release, a new filter rule is added:
decodeJSON($assoc = true, $depth = 512, $options = 0): decodes the given json string to an array. (Thank you @FinesseRus)
v1.4.1
05 Jul 08:02
Compare
Sorry, something went wrong.
No results found
Patch release
@jhuet created a fix for the slug filter, which didn't strip < and > from the slugs. He fixed this in #55 , thanks :)
v1.4.0
11 Jul 06:45
Compare
Sorry, something went wrong.
No results found
In this release, two new filter rules have been added:
cut($start, $length): which will cut the given key to the given start/length. (Thank you @jhuet )
slug($field): which will create a slug of the current field, or the given field. (Thank you @jhuet )
Also, code optimizations have been done by @localheinz . Thank you too!
v1.3.0
22 Jan 16:36
Compare
Sorry, something went wrong.
No results found
This release brings two new features:
Remove values from the to filter data
Filter nested, repeating arrays
v1.2.0
10 Dec 14:11
Compare
Sorry, something went wrong.
No results found
In this release:
The main filter algorithm is updated, which allows unset keys to be set by the filter if wanted
A defaults($defaultValue) rule has been added to provide a default value if the key was not set
The callback($callable, $allowNotSet) now has a second parameter to also provide a value if the key was not set
A second parameter $filterData in the callable of the callback() filter rule is provided containing all data which is being filtered
v1.1.0
04 Dec 10:11
Compare
Sorry, something went wrong.
No results found
In this release:
A numberFormat filter is introduced by @skoop
Nothing much, but nice to have.
v1.0.1
30 Jun 11:42
Compare
Sorry, something went wrong.
No results found
Make sure a null value is not magically casted to an empty string for the trim and stripHtml filters.
v1.0.0
26 Jun 13:04
Compare
Sorry, something went wrong.
No results found
Added multi-byte encoding support, so that all filter rules work as expected.