LibPhoneNumbr (Google)

google/libphonenumber last check 239 releases
Notes

Google's common Java, C++ and JavaScript library for parsing, formatting, and validating international phone numbers.

<dependency>
  <groupId>com.googlecode.libphonenumber</groupId>
  <artifactId>libphonenumber</artifactId>
  <version>9.0.32</version>
</dependency>
Release notes
view on github
7.7.4 · 1y+

Hi all,

Please find the new JARs on the maven site here.

The new release contains mostly metadata changes

Code changes in this release:

  • Using new possibleLengthInfo to decide whether a short number is the right length or not. This could result in more specific results; whereas before, a number from length 3 to length 6 may have been deemed possible, now we may exclude a number of length 5.
  • Add hash (#) as a diallable character. Numbers with # in them will no longer have formatting applied in formatInOriginalFormat, and normalizeDiallableCharsOnly now retains the # symbol.
  • getExampleNumberForNonGeoEntity has been changed to look at the specific number types, not just the generalDesc, for the example numbers; this is a necessary change due to changes in the metadata structure, see details for porters below.

Full details in the release notes.

Porting or packaging libphonenumber? There are a series of changes affecting people who port or package libphonenumber. Changes range from how the metadata is organized internally to how releases are tagged. For full details, see our separate announcement for port maintainers.

Thanks to all those who contributed by providing issue reports!

Want to be notified of future releases? Join the discussion group!