Changelog History
Page 1
-
v2.3.1 Changes
April 20, 2017 -
v2.3.0 Changes
October 03, 2016- (ADD) Implement JsonSerializable in the Failure class
- 📚 (DOC) Update the documentation
- 🚚 (FIX) Removed undefined but registered sanitizers from SanitizerLocator
-
v2.2.0 Changes
March 23, 2016🚀 This release adds new validation and sanitizing rules:
lowerCase
for all-lower-case valuesupperCase
for all-upper-case valuestitleCase
for title-cased valueslowerCaseFirst
for values where the first character is lower-caseupperCaseFirst
for values where the first character is upper-case
-
v2.1.0 Changes
March 04, 2016🚀 This release adds an
isNotBlank()
validation specifier, and fixes a bug where sanitizingto()
a rule on a missing field raised a notice. -
v2.0.0 Changes
February 20, 2016🚀 First stable release.
👍 (FIX) The Spec class now reports failures better when closures are used in HHVM.
✅ (TST) Improved testing.
-
v2.0.0-beta3 Changes
January 27, 2016🚀 Third beta release.
🚚 (BRK) Due to new blank-checking in ValidateSpec::applyRule(), remove 'blank' validation rule, and add 'isBlank()' validation spec method.
0️⃣ (FIX) Filter arguments using arrays, resources, and objects (including closures) no longer cause errors when creating the default filter message.
(ADD) Validation now fails on missing (unset or null) fields.
📚 (DOC) Update documentation.
-
v2.0.0-beta2 Changes
October 13, 2015🚀 Second beta release.
- 👍 (ADD) Add UTF-8 support in Alpha, Alnum, Strlen*, and Word filters with help from @mivanov93.
- All string-length filters are now multi-byte aware using either
mbstring
oriconv
extensions. - In alnum and alpha rules, use unicode letters and digits instead of ctype.
- In word rules, use unicode letters and digits instead of \w and \W.
- All string-length filters are now multi-byte aware using either
- 👍 (ADD) More robust email validation based on is_email() from @dominicsayers, plus IDN support as suggested by @dg via the
intl
extension. - ⚡️ (TEST) Update Travis-CI config to use containers.
- 📚 (DOCS) Update relevant documentation.
- 👍 (ADD) Add UTF-8 support in Alpha, Alnum, Strlen*, and Word filters with help from @mivanov93.
-
v2.0.0-beta1 Changes
July 06, 2015🚀 First 2.0 beta release.
BREAK: Renamed class Filter to SubjectFilter.
BREAK: Removed method SubjectFilter::strict() and all "strict" behavior, as get_object_vars() is not guaranteed in some objects (e.g. magic get/set vs public properties)
BREAK: Replaced method SubjectFilter::getMessages() et al with getFailures(); failures are now reported as a FailureCollection instead of as an array of text messages.
🚚 BREAK: Removed classes Rule\Validate\Ipv4 and Ipv6 in favor of allowing flags on Rule\Validate\Ip.
🚚 BREAK: Removed class Rule\Validate\InTableColumn entirely, as it requires a PDO connection. This is better implemented as part of a group of database-related filters, rather than as a special case herein.
🚚 BREAK: Moved namespace Rule\Locator to Locator.
BREAK: Renamed class Spec\AbstractSpec to Spec\Spec.
🚚 BREAK: Removed method Spec\Spec::getFailureMode().
🚚 BREAK: Moved constants from SubjectFilter to Spec\Spec.
🚚 BREAK: Removed methods ValueFilter::assert() and setExceptionClass().
ADD: Class FilterFactory now takes two constructor params, $validate_factories and $sanitize_factories, to allow injection of rule factories at construction time.
➕ ADD: Class AbstractStaticFilter to allow users to create static value filters.
-
v2.0.0-alpha1 Changes
July 02, 2015🚀 First 2.0 dev release; breaking changes are coming.
-
v1.1.0 Changes
May 26, 2015- ➕ Add Translator::set() method, to set custom messages.
- 📇 Docblock and metadata corrections.