Releases: Propaganistas/Laravel-Phone
6.0.3
Support Laravel 13
Full Changelog: 6.0.2...6.0.3
6.0.2
6.0.0
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
- Support for
libphonenumberv9.
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
Added PhpDoc to casts for improved IDE-helper support (fixes #268 )
Full Changelog: 5.3.4...5.3.5
5.3.4
5.3.3
What's Changed
- Update README.md by @siarheipashkevich in #257
- Support PHP 8.4 by @Propaganistas in #260
- Fix translation message in validator alias by @Propaganistas in #262
New Contributors
- @siarheipashkevich made their first contribution in #257
Full Changelog: 5.3.2...5.3.3
5.3.2
Marking classes as internal to denote that they shouldn't be used publicly.
5.3.1
Bugfix for #250
Full Changelog: 5.3.0...5.3.1
5.3.0
What's Changed
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.