Skip to content

Latest commit

 

History

History
136 lines (73 loc) · 1.89 KB

CHANGELOG.md

File metadata and controls

136 lines (73 loc) · 1.89 KB

Changelog

1.2.6

Fixed

  • Fixed URL regex in php7.3+

1.2.5

Fixed

  • Fixed typo in NOT_LESS where message pointed two times to %1$s.
  • Fixed type in MULTIPLE_ERRORS.

1.2.4

Fixed

  • Fix "manual" loading of translation callback into global $wp_filter on autoload. Props @kraftner

Changed

  • Nothing

Added

  • Nothing

1.2.3

Fixed

  • Fix typos in README.md.

Changed

  • Removed unused property $options from classes.

Added

  • Nothing

1.2.2

Fixed

  • Fix copy-pasta error in WordPressErrorLogger.

Changed

  • Nothing

Added

  • Nothing

1.2.1

Fixed

  • Fix wrong arguments passed to __() in WordPressErrorLogger.

Changed

  • Nothing

Added

  • Nothing

1.2.0

Fixed

  • Add missing, but referenced error codes in ErrorLoggerInterface

Changed

  • Updated README
  • composer.lock is removed from VCS

Added

  • Simple validators: Callback, ClassName, Email, Size, Type and WpFilter
  • SecondaryValidatorInterface and secondary validators: Negate, Bulk and Pool
  • DataValidator::with_validators() method
  • Unit tests for all new classes

1.1.1

Fixed

  • Avoid possible function redeclaration in case of multiple autoloaders, thanks @schlessera, see #6

Added

  • Nothing

Changed

  • Nothing

1.1.0

Fixed

  • CS fixes

Changed

  • General refactoring
  • Decoupled messages from validators
  • Deprecated get_error_messages() validators method
  • Deprecated ArrayValue in favor of newly added DataValidator
  • Error codes constants moved to ErrorLoggerInterface from single validators classes (old constants still available for BC, but usage is deprecated)

Added

  • Multi validator
  • DataValidator
  • ErrorLoggerInterface, ErrorLogger and WordPressErrorLogger
  • Support for messages translation

1.0.0

  • Initial Release.