Skip to content

Releases: Wixel/GUMP

Release 2.1.0

29 Apr 14:49
f2d73de
Compare
Choose a tag to compare

Careful! This release includes breaking ch

  • ✅ Added 2 new methods:
GUMP::has_validator($rule);
GUMP::has_filter($rule);
  • ✅ Added Czech language.
  • 🔧 Added missing rule for German language #349.

New release! v2.0.0 (support for php8 included)

15 Jul 09:28
8de017f
Compare
Choose a tag to compare

Careful! This release includes breaking changes.

  • 🔥 Deprecated PHP 7.0 !!!
  • 🔥 Deprecated GUMP::xss_clean() static method
  • 🔥 Deprecated valid_twitter validator.
  • ✅ Supports php8.0 and php8.1 (removed all deprecation notices)
  • ✅ Added GitHub workflow actions for CI (replace Travis)
  • 🔧 Fixed: #315, #328

Maintenance release

17 Feb 09:57
3878abe
Compare
Choose a tag to compare

Maintenance Release

13 Dec 17:58
e8416a3
Compare
Choose a tag to compare

Maintenance Release

26 Sep 12:15
Compare
Choose a tag to compare
  • Added Ññ support for alpha_* validators.
  • Updated composer.json requirements (ext-bcmath, ext-intl, ext-iconv).

Features release

17 Mar 20:11
becdf2e
Compare
Choose a tag to compare
  • Added support to validate multidimensional arrays. See docs.

Release with breaking changes!

11 Mar 21:10
3745af2
Compare
Choose a tag to compare

This release affects you only if you have custom validators or custom language files. Also you must use from now on semicolon ; for contains validator as a valid options separator.

  • Now custom validators and filters should follow this signature:
// before
protected function validate_required($field, array $input, $param = null);

// now (what used to be in $param now is in $param[0])
protected function validate_required($field, array $input, array $params = []);

In case one of your validators had only one parameter, now it will be in: $params[0]. Benefits are that new validators don't have to do extra checks to check whether the rule has one or more than one parameter.

  • Error messages files don't have to include 'validate_' prefix now.

Features release

09 Mar 20:52
1a0ee36
Compare
Choose a tag to compare
  • New feature to set custom field-rule specific error messages (check docs).
  • Deprecated custom delimiters in filter() and validate() methods in favour of global configuration (bottom part of docs).

Maintenance Release

09 Mar 10:59
Compare
Choose a tag to compare
  • Fix new array rules format (#302).

Maintenance Release

08 Mar 13:56
Compare
Choose a tag to compare
  • Improved French translation #286.
  • Improved English translation (between_len, validate_alpha_numeric_dash, validate_alpha_dash). 0dc626c