Skip to content

Releases: Propaganistas/Laravel-Phone

4.1.4

10 Apr 08:27
408da6e
Compare
Choose a tag to compare

Bug fix:

  • #111 : Resolve number types in the Rule class instead of offloading it to the validator.

Highly unexpected breaking change:

  • If you happen to use the static $types property of ParsesTypes, it is now renamed to $resolvedTypes.

4.1.3

11 Mar 11:56
1a9f17b
Compare
Choose a tag to compare

Bug fix:

  • #105 - Casting phone(null) to string results in __toString() PHP error.

4.1.2

25 Feb 21:17
Compare
Choose a tag to compare

Buckle up for Laravel 5.8!

Because of the return type changes in PHPunit 8, support for PHP 7.0 needed to be dropped. Since this only affects the tests and the actual code is left untouched, you can safely use --ignore-platform-reqs if you're using 7.0.

4.1.1

18 Feb 21:34
Compare
Choose a tag to compare

Non-breaking change

  • Formatting a PhoneNumber instance now outputs a different exception message when a country was provided but is rather mismatched to the number.

  • Also added the getNumber() and getCountries() methods to NumberParseException

4.1.0

05 Dec 07:03
bc07f20
Compare
Choose a tag to compare

Non-breaking change:

  • #98 - Invalid validation parameters are now ignored instead of raising an InvalidParameterException. This won't affect previously defined validations. A cleanup of your exception handling could be applicable but is not mandatory.

4.0.4

24 Sep 09:32
bda366c
Compare
Choose a tag to compare

Changed julien-c/iso3166 dependency to league/iso3166.

4.0.3

27 Aug 14:15
Compare
Choose a tag to compare

Support Laravel 5.7

4.0.2

22 Mar 13:04
Compare
Choose a tag to compare

Case insensitive validator parameters

4.0.1

08 Mar 06:40
Compare
Choose a tag to compare

Bug fix:

  • Fixes #81 - Additionally check for the unsure type when applicable.

4.0.0

14 Feb 08:08
92ce295
Compare
Choose a tag to compare

Drop support for PHP 5.x