Skip to content

6.0.0

Latest

Choose a tag to compare

@Propaganistas Propaganistas released this 29 Apr 11:36
· 2 commits to master since this release

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.