Skip to content

Releases: giggsey/libphonenumber-for-php

5.8

10 Sep 19:09
Compare
Choose a tag to compare
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
  • 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

Metadata changes from Google (r5.7.2)

13 Aug 09:01
Compare
Choose a tag to compare
  • 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