Skip to content

Releases: Propaganistas/Laravel-Phone

6.0.3

18 Mar 07:09

Choose a tag to compare

Support Laravel 13

Full Changelog: 6.0.2...6.0.3

6.0.2

05 Jul 09:11
ae8239b

Choose a tag to compare

What's Changed

  • Fix mb_strtoupper(): Passing null deprecated errors by @ziming in #272

New Contributors

Full Changelog: 6.0.1...6.0.2

6.0.0

29 Apr 11:36

Choose a tag to compare

A note about this version

This version has feature-parity with the last version of 5.x, but the codebase has been reworked because libphonenumber shifted from using class constants to native enums. Most applications should be able to upgrade quite easily though, but no need to rush (see below). Read the upgrade guide for more information.

Additionally:

  • Dropped support for Laravel 10
  • Dropped support for PHP 8.1
  • Type hints have been added to parameters and return types to the codebase where applicable. While already working code should continue to operate properly, you might be warned by your IDE about mismatching types.

Do I need to upgrade as soon as possible?

No. The last version of 5.x has been deliberately released to allow libphonenumber updates to be installed for a considerable period of time while staying on 5.x.

Am I missing out on something if I don't upgrade?

No, not for the (long?) time being. This package is quite feature-complete. You only need to upgrade if you want to use libphonenumber's enums or just want to stay ahead of things and be future-proof anyway.

5.3.6

21 Mar 09:22

Choose a tag to compare

  • Support for libphonenumber v9.

Note: this is the last minor/patch version in the v5 realm of this package.
libphonenumber shifted from using class constants to native enums. Conditional statements were added to achieve combined support for v8 and v9 while keeping Laravel-Phone as-is. This way, given that this package is quite feature-complete, updates on libphonenumber can still be installed for a considerable period of time without having to account for semantic breaking changes.

Starting from the next major version, Laravel-Phone will be reworked to fully harness the power of enums.

5.3.5

20 Mar 08:04

Choose a tag to compare

Added PhpDoc to casts for improved IDE-helper support (fixes #268 )

Full Changelog: 5.3.4...5.3.5

5.3.4

24 Feb 15:11
a76eae7

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 5.3.3...5.3.4

5.3.3

27 Dec 11:47

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 5.3.2...5.3.3

5.3.2

24 Apr 09:20

Choose a tag to compare

Marking classes as internal to denote that they shouldn't be used publicly.

5.3.1

24 Apr 07:34

Choose a tag to compare

Bugfix for #250

Full Changelog: 5.3.0...5.3.1

5.3.0

20 Apr 18:24
b7461f0

Choose a tag to compare

What's Changed

  • Use libphonenumber-for-php-lite instead of libphonenumber-for-php by @bperel in #248

libphonenumber-for-php-lite is a lightweight drop-in replacement for libphonenumber-for-php which significantly reduces the package size being pulled in. libphonenumber-for-php-lite excludes geolocation, carrier information and short number info.

This is a non-breaking change for functionality provided by Laravel-Phone.

Important

If you have defined a macro, please review your code and if needed require giggsey/libphonenumber-for-php as an explicit dependency in your project.