Releases: giggsey/libphonenumber-for-php
Releases · giggsey/libphonenumber-for-php
5.8
- Code changes:
- Renamed ShortNumberUtil to ShortNumberInfo -> the former class is now deprecated and will be
deleted in a later release. At the moment it just delegates to ShortNumberInfo. - New methods in the ShortNumberInfo API - isCarrierSpecific, singleton interface,
isPossibleShortNumber, isValidShortNumber, getShortNumberCost. Note this is an experimental API
at the moment and subject to change. - Bug fixes:
- Numbers in Chile that overlap with emergency numbers are no longer marked as connecting to
them - Not requiring the NDC to be alone for countries where there is no national prefix in strict
grouping when extracting phone numbers
- Numbers in Chile that overlap with emergency numbers are no longer marked as connecting to
- Renamed ShortNumberUtil to ShortNumberInfo -> the former class is now deprecated and will be
- Metadata changes:
- New alternate formatting data for country calling code(s):
30, 31, 385, 58, 62, 63, 971, 972 - Updated alternate formatting data for country calling code(s): 43, 44, 49
- Moved emergency phone number data to the ShortNumberMetadata file
- Updated phone metadata for region code(s):
AT, EG, ML, NC, NL, SA - New short number metadata for region code(s):
AR, CL, CO, ES, MX, NC - Emergency metadata fixes for region code(s):
GA, JM, MH, VE
- New alternate formatting data for country calling code(s):
Metadata changes from Google (r5.7.2)
- New alternate formatting data for country calling code(s):
352, 359, 372, 373, 595, 7, 855 - Updated phone metadata for region code(s):
AR, BF, BH, BR, BY, CH, CM, CN, GE, GW, HN, JM, KH, LT, LU, MU, NP,
RO, SO - New short number metadata for region code(s): BR
- Updated short number metadata for region code(s):
CH, FJ, GB, GG, IM, IT, JE, SH