Upcoming release
- Drop support for Symfony < 2.7
- Add support for Symfony 3.4+
- Drop support for PHP 5.3
- Rename
tel_widget
tophone_number_widget
- Add services only if relevant (optional) dependencies are available
17 January 2018
- Undo minor breaking change by reinstating and deprecating
se
code for Swedish translations. - Validator uses
buildViolation
instead ofaddViolation
for Symfony >= 2.5.
15 January 2018
- Symfony 4 support.
- Add
phone_number_of_type
Twig test andisType
test toPhoneNumberHelper
. - Deprecate
PhoneNumberFormatHelper
in favour ofPhoneNumberHelper
andPhoneNumberFormatExtension
in favour ofPhoneNumberHelperExtension
. - Swedish translation improvements. Rename country code
se
->sv
. - Add
country_placeholder
option. - Regard
"0"
as an invalid phone number.
17 December 2016.
- Add Symfony Serializer support.
- Confirm libphonenumber 8.0 compatibility.
- Deprecate
phone_number_format
Twig function in favour of a filter. - Avoid
choices_as_values
deprecation notice in Symfony 3.1.
7 September 2016.
- Add basic Danish, Swedish and Finnish translations.
31 March 2016.
- Allow the country choice form widget to not be required.
- Add difference between form type in Symfony 2 and 3 to the documentation.
12 March 2016.
- Correct the block prefix for PhoneNumberType in Symfony 3.
25 January 2016.
- Add translations for the validation constraint (BC break).
- Add validation of the phone number type.
- Throw an exception if Doctrine can't convert a database value to/from a
PhoneNumber
. - Add country choice form widget.
- Add
libphonenumber.phone_number_offline_geocoder
service. - Add
libphonenumber.short_number_info
service. - Add
libphonenumber.phone_number_to_carrier_mapper
service. - Add
libphonenumber.phone_number_to_time_zones_mapper
service. - Deprecate
.class
parameters.
22 December 2015.
- Confirm Symfony 3.0 compatibility.
15 April 2015.
- Cater for Symfony's deprecation notices.
- Throw a
ConversionException
in the Doctrine type when the value is not aPhoneNumber
.
3 November 2014.
- Confirm libphonenumber 7.0 compatibility.
20 October 2014.
- Handle international numbers correctly when using the national format and a default region.
- Throw a
TransformationFailedException
when required in the form data transformer.
27 February 2014.
- Confirm libphonenumber 6.0 compatibility.
30 January 2014.
- Changed libphonenumber port to giggsey/libphonenumber-for-php.
10 October 2013.
- Initial release.