Changelog History
Page 2
-
v1.0.2 Changes
๐ Hygiene release: docblock and Composer updates.
-
v1.0.1 Changes
๐ Hygeine release: point travis status badge to develop branch.
-
v1.0.0 Changes
๐ [ADD] German translations; thanks @geissler
[ADD] Rule\Isbn from @geissler
๐ [DOC] Docblock cleanup (mostly style, some typo fixes and return type additions)
[ADD] RuleCollection::addMessages(), to complement Aura.Input Filter::addMessages(), per @harikt
[CHG] Translator::translate() to deal with array values.
๐ [CHG] Rule\InKeys to add a 'keys' pseudo-param, for message translations
๐ [DOC] Fixed wrong parameter order in readme; thanks @chrissound
-
v1.0.0-beta2 Changes
๐ There are some BC breaks in this release, but it's a "Google" beta, so ...
[NEW] Rule\All: the value must pass all of the specified sub-rules.
[NEW] Rule\Any: the value must pass any one of a series of sub-rules.
[NEW] Rule\Closure: pass a closure to filter the value.
[NEW] Rule\Locale: the value must be a locale code.
[NEW] Rule\Method: call a method on the value object being filtered so that it may filter itself.
๐ [CHG] Various typo fixes from pborrelli.
[CHG] In all rules, make validate()/sanitize() public so they can be called directly from custom rules.
๐ [NEW] Add translation facility and internationalization messages.
๐ [REF] Remove StdClass typehints (objects don't descend from StdClass)
[BRK] Remove property $message; replace with $message_map and $message_key.
[ADD] Property $params to retain params passed to validate() and sanitize().
[ADD] Methods setParams(), setMessageKey(), and getParams().
[CHG] Method is(), isNot(), et. al. set the appropriate message key.
[ADD] Method RuleCollection::useFieldMessage() to specify a single message to be used when a field fials one or more of its filter rules
[BRK] Registry entries must be wrapped in a callable from now on
[FIX] In Rule\DateTime, improve checking for valid dates
[ADD] Method RuleCollection::setRule() so we can implement Aura.Input FilterInterface
๐ [CHG] For standalone scripts/instance.php usage, moved all rules to a rule registry located in scripts/registry.php
-
v1.0.0-beta1 Changes
๐ Initial release.