Skip to content

Commit fcce685

Browse files
committed
Prep for 8.3.0 release
1 parent 8aa4380 commit fcce685

2 files changed

Lines changed: 22 additions & 1 deletion

File tree

python/HISTORY.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,25 @@
11

2+
What's new in 8.3.0
3+
-------------------
4+
5+
Merge to
6+
[upstream commit ad297a10ba19](https://github.com/googlei18n/libphonenumber/commit/ad297a10ba19);
7+
relevant code changes:
8+
9+
- Added two new enum values to `ValidationResult` - `IS_POSSIBLE_LOCAL_ONLY` and
10+
`INVALID_LENGTH`. Added more documentation to the existing values; see the
11+
docstrings for when these are going to be used. Note that the API for
12+
`is_possible_number_with_reason` has not yet been changed to return these values.
13+
`IS_POSSIBLE_LOCAL_ONLY` will be returned for some values which currently
14+
return `IS_POSSIBLE`, and `INVALID_LENGTH` will be returned for some values which
15+
currently return `TOO_LONG`.
16+
- Fix for `is_number_match` to ignore the `number_of_leading_zeros` field when comparing
17+
numbers unless `italian_leading_zero` is `True`, and to consider default values
18+
to match the same value when explicitly set for these two fields. This fix
19+
shouldn't be needed for anyone correctly creating phone numbers using "parse"
20+
as recommended.
21+
22+
223
What's new in 8.2.0
324
-------------------
425

python/phonenumbers/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139

140140
# Version number is taken from the upstream libphonenumber version
141141
# together with an indication of the version of the Python-specific code.
142-
__version__ = "8.2.0"
142+
__version__ = "8.3.0"
143143

144144
__all__ = ['PhoneNumber', 'CountryCodeSource', 'FrozenPhoneNumber',
145145
'REGION_CODE_FOR_NON_GEO_ENTITY', 'NumberFormat', 'PhoneNumberDesc', 'PhoneMetadata',

0 commit comments

Comments
 (0)