Skip to content

Commit

Permalink
Merge branch 'master' into mandlil-patch-6
Browse files Browse the repository at this point in the history
  • Loading branch information
mandlil authored Nov 21, 2024
2 parents 63d56c2 + 5cbf544 commit 04ab80a
Show file tree
Hide file tree
Showing 70 changed files with 28,815 additions and 28,702 deletions.
2 changes: 1 addition & 1 deletion FALSEHOODS.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ surprising how many false assumptions programmers continue to make about them.
countries a leading 0 is significant and forms part of the number itself
(see *A leading zero in numbers formatted for domestic usage can always be
discarded when dialing from abroad*). Moreover, a phone number may contain
other diallable characters (see *Phone numbers contain only digits*) or an
other dialable characters (see *Phone numbers contain only digits*) or an
extension portion, dialled after waiting for a tone.

**Tip:** Use the library to parse and format numbers to handle this
Expand Down
13 changes: 1 addition & 12 deletions FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -362,20 +362,9 @@ right thing if the phone number object is as intended.
@Mexico,
Mexico used to have such additional prefixes (1, 02, 045, ...) for dialling
mobile numbers internationally, fixed-line to mobile nationally.. As these
dialling patterns were deprecated, we have continued to maintain mobile and
dialling patterns were deprecated, we removed them but still maintain mobile and
fixed-line ranges at higher level, returning type as [`FIXED_LINE_OR_MOBILE`](#fixed_line_or_mobile)

### <a href="#mx_legacy_formats">Why Mexico (MX) numbers in older dialling formats are accepted as valid ones?</a>
Though library has stopped supporting below older dialling codes in the canonical
form and formatting results, we are lenient in parsing the number, i.e removing
all older codes.
- 1 -> in E.164 international diallings
- 01, 02, 044 and 045 -> for local/national diallings

This is because we found the older dialling codes supported even after deprecation
period, so we decided to support them for longer time. However, we will stop this as
part of [this issue](https://issuetracker.google.com/issues/205606725). More details there.

### <a name="#unsupported_regions">Why are Bouvet Island (BV), Pitcairn Island (PN), Antarctica (AQ) etc. not supported?</a>

We only support a country if:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Cream Sandwich).
The [Java demo](https://libphonenumber.appspot.com/) is updated with a slight
delay after the GitHub release.

Last demo update: v8.13.49.
Last demo update: v8.13.50.

Note: Even though the library (main branch/[maven release](https://repo1.maven.org/maven2/com/googlecode/libphonenumber/libphonenumber/8.12.56/))
is at v8.12.57, because of some deployment issues, we were unable to update the
Expand Down
26,280 changes: 13,146 additions & 13,134 deletions cpp/src/phonenumbers/lite_metadata.cc

Large diffs are not rendered by default.

22,322 changes: 11,167 additions & 11,155 deletions cpp/src/phonenumbers/metadata.cc

Large diffs are not rendered by default.

6,948 changes: 3,476 additions & 3,472 deletions cpp/src/phonenumbers/short_metadata.cc

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions java/carrier/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.googlecode.libphonenumber</groupId>
<artifactId>carrier</artifactId>
<version>1.234-SNAPSHOT</version>
<version>1.235-SNAPSHOT</version>
<packaging>jar</packaging>
<url>https://github.com/google/libphonenumber/</url>

<parent>
<groupId>com.googlecode.libphonenumber</groupId>
<artifactId>libphonenumber-parent</artifactId>
<version>8.13.50-SNAPSHOT</version>
<version>8.13.51-SNAPSHOT</version>
</parent>

<build>
Expand Down Expand Up @@ -79,12 +79,12 @@
<dependency>
<groupId>com.googlecode.libphonenumber</groupId>
<artifactId>libphonenumber</artifactId>
<version>8.13.50-SNAPSHOT</version>
<version>8.13.51-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.googlecode.libphonenumber</groupId>
<artifactId>prefixmapper</artifactId>
<version>2.244-SNAPSHOT</version>
<version>2.245-SNAPSHOT</version>
</dependency>
</dependencies>

Expand Down
Binary file modified java/carrier/src/com/google/i18n/phonenumbers/carrier/data/229_en
Binary file not shown.
Binary file modified java/carrier/src/com/google/i18n/phonenumbers/carrier/data/385_en
Binary file not shown.
Binary file modified java/carrier/src/com/google/i18n/phonenumbers/carrier/data/48_en
Binary file not shown.
Binary file modified java/carrier/src/com/google/i18n/phonenumbers/carrier/data/590_en
Binary file not shown.
Binary file modified java/carrier/src/com/google/i18n/phonenumbers/carrier/data/65_en
Binary file not shown.
Binary file modified java/carrier/src/com/google/i18n/phonenumbers/carrier/data/995_en
Binary file not shown.
10 changes: 5 additions & 5 deletions java/demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.googlecode.libphonenumber</groupId>
<artifactId>demo</artifactId>
<version>8.13.50-SNAPSHOT</version>
<version>8.13.51-SNAPSHOT</version>
<packaging>war</packaging>
<url>https://github.com/google/libphonenumber/</url>
<parent>
<groupId>com.googlecode.libphonenumber</groupId>
<artifactId>libphonenumber-parent</artifactId>
<version>8.13.50-SNAPSHOT</version>
<version>8.13.51-SNAPSHOT</version>
</parent>

<properties>
Expand Down Expand Up @@ -68,17 +68,17 @@
<dependency>
<groupId>com.googlecode.libphonenumber</groupId>
<artifactId>libphonenumber</artifactId>
<version>8.13.50-SNAPSHOT</version>
<version>8.13.51-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.googlecode.libphonenumber</groupId>
<artifactId>geocoder</artifactId>
<version>2.244-SNAPSHOT</version>
<version>2.245-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.googlecode.libphonenumber</groupId>
<artifactId>carrier</artifactId>
<version>1.234-SNAPSHOT</version>
<version>1.235-SNAPSHOT</version>
</dependency>
</dependencies>

Expand Down
8 changes: 4 additions & 4 deletions java/geocoder/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.googlecode.libphonenumber</groupId>
<artifactId>geocoder</artifactId>
<version>2.244-SNAPSHOT</version>
<version>2.245-SNAPSHOT</version>
<packaging>jar</packaging>
<url>https://github.com/google/libphonenumber/</url>

<parent>
<groupId>com.googlecode.libphonenumber</groupId>
<artifactId>libphonenumber-parent</artifactId>
<version>8.13.50-SNAPSHOT</version>
<version>8.13.51-SNAPSHOT</version>
</parent>

<build>
Expand Down Expand Up @@ -87,12 +87,12 @@
<dependency>
<groupId>com.googlecode.libphonenumber</groupId>
<artifactId>libphonenumber</artifactId>
<version>8.13.50-SNAPSHOT</version>
<version>8.13.51-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.googlecode.libphonenumber</groupId>
<artifactId>prefixmapper</artifactId>
<version>2.244-SNAPSHOT</version>
<version>2.245-SNAPSHOT</version>
</dependency>
</dependencies>

Expand Down
Binary file not shown.
Binary file not shown.
6 changes: 3 additions & 3 deletions java/internal/prefixmapper/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.googlecode.libphonenumber</groupId>
<artifactId>prefixmapper</artifactId>
<version>2.244-SNAPSHOT</version>
<version>2.245-SNAPSHOT</version>
<packaging>jar</packaging>
<url>https://github.com/google/libphonenumber/</url>

<parent>
<groupId>com.googlecode.libphonenumber</groupId>
<artifactId>libphonenumber-parent</artifactId>
<version>8.13.50-SNAPSHOT</version>
<version>8.13.51-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down Expand Up @@ -75,7 +75,7 @@
<dependency>
<groupId>com.googlecode.libphonenumber</groupId>
<artifactId>libphonenumber</artifactId>
<version>8.13.50-SNAPSHOT</version>
<version>8.13.51-SNAPSHOT</version>
</dependency>
</dependencies>

Expand Down
4 changes: 2 additions & 2 deletions java/libphonenumber/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.googlecode.libphonenumber</groupId>
<artifactId>libphonenumber</artifactId>
<version>8.13.50-SNAPSHOT</version>
<version>8.13.51-SNAPSHOT</version>
<packaging>jar</packaging>
<url>https://github.com/google/libphonenumber/</url>

<parent>
<groupId>com.googlecode.libphonenumber</groupId>
<artifactId>libphonenumber-parent</artifactId>
<version>8.13.50-SNAPSHOT</version>
<version>8.13.51-SNAPSHOT</version>
</parent>

<build>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 2 additions & 2 deletions java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.googlecode.libphonenumber</groupId>
<artifactId>libphonenumber-parent</artifactId>
<version>8.13.50-SNAPSHOT</version>
<version>8.13.51-SNAPSHOT</version>
<packaging>pom</packaging>
<url>https://github.com/google/libphonenumber/</url>

Expand Down Expand Up @@ -34,7 +34,7 @@
<connection>scm:git:https://github.com/google/libphonenumber.git</connection>
<developerConnection>scm:git:[email protected]:googlei18n/libphonenumber.git</developerConnection>
<url>https://github.com/google/libphonenumber/</url>
<tag>v8.13.28</tag>
<tag>v8.13.50</tag>
</scm>

<properties>
Expand Down
Loading

0 comments on commit 04ab80a

Please sign in to comment.