Skip to content

Releases: HarmonyIO/Validation

v1.0.0-rc1

01 Jan 14:21
Compare
Choose a tag to compare

Added

Changed

  • [0edc948] Updated PHP CodeSniffer
  • [7b7a017] Added phpcs custom config to gitignore
  • [4b50f08] Cache HIBP results 1 hour instead of 1 day
  • [2840fa8] Refactored http client calls to use Ttl objects for caching

Deprecated

None

Removed

None

Fixed

None

Security

None

v0.4.0

18 Dec 12:53
Compare
Choose a tag to compare

Added

  • [96ddf46] Changelog
  • [8d90eb1] Results and errors are objects now
  • [c0c622d] Numerical range validation rule
  • [f41be80] Geolocation validation rule
  • [db09112] Text range validation rule
  • [d67ebdc] Negative and positive validation rules
  • [d16c27a] TLD validation rule
  • [9b897aa] Alpha2-, alpha3 and numeric country code validation rules
  • [bbf5dde] Hexadecimal color validation rule
  • [7a355ac] URL validation rules
  • [ad03f8d] ISBN validation rules
  • [8f19a34] Set and In validation rules
  • [5453522] Regex validation rule

Changed

  • [dd8856c] Updated egulias/email-validator
  • [3fae872] Documented promise return values using generics syntax
  • [383c32f] Added missing final class markers
  • [82dc9a0] Updated amp to v2.1.1
  • [c8fa79d] Updated wikimedia/ip-set to v2.0.0

Deprecated

Removed

  • [4cf131e] Dropped PHP 7.2 support

Fixed

  • [445dd9f] Appveyor builds are working again

Security

v0.3.0

03 Dec 06:46
Compare
Choose a tag to compare

New rules

  • Added IP address rules
  • Added negate rule
  • Added credit card rules
  • Added image rules
  • Added file integrity rules
  • Added file system rules
  • Added age rules

v0.2.0

22 Nov 00:53
Compare
Choose a tag to compare

New rules

  • Added DNS rules
  • Added YouTube Video URL rule
  • Added YouTube Video id rule
  • Added IBAN rules

v0.1.0

16 Nov 16:07
Compare
Choose a tag to compare
Fixed namespace issue