Skip to content

Commit 00e10e8

Browse files
committed
Prep for 8.6.0 release
1 parent 9bc19c5 commit 00e10e8

2 files changed

Lines changed: 29 additions & 2 deletions

File tree

python/HISTORY.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,35 @@
1+
What's new in 8.6.0
2+
-------------------
3+
4+
Merge to
5+
[upstream commit 242a186f1fbf](https://github.com/googlei18n/libphonenumber/commit/242a186f1fbf);
6+
relevant code changes:
7+
8+
- Removing `leading_zero_possible` from the metadata and all the places it is
9+
referenced in the build and prod code. Will be removed from the metadata
10+
proto itself in a subsequent release. This should not affect users of the
11+
library - the only place it was used was `format_in_original_format`, and only
12+
initially to try and avoid modifying the input number by removing/adding
13+
digits inadvertently. Now this is checked at the end of the method anyway.
14+
However slight formatting differences with this method on invalid numbers
15+
starting with 0s may be noticed in some countries.
16+
- Updated the documentation for the `is_number_geographical` API.
17+
- Small comment improvements for `parse()` method to point users at
18+
`keep_raw_input` parameter.
19+
- Added a new enum for `CountryCodeSource` called `UNSPECIFIED`. This is used as a
20+
default value, and will be returned if someone calls `parse(keep_raw_input=False)` and then
21+
`.country_code_sourc` on the result. If users want an actual value for this
22+
then they should call `parse(keep_raw_input=True)` instead; the values that were
23+
previously returned after calling this method will not change.
24+
- Deletion of the possible number pattern in the phonemetadata.proto file and
25+
all generated code. This has not been used for a long time.
26+
27+
128
What's new in 8.5.0
229
-------------------
330

431
Merge to
5-
[upstream commit 52cff9d8837f](https://github.com/googlei18n/libphonenumber/commit/52cff9d8837f;
32+
[upstream commit 52cff9d8837f](https://github.com/googlei18n/libphonenumber/commit/52cff9d8837f);
633
relevant code changes:
734

835
- Add `can_be_internationally_dialled` public API; This was already in JS.

python/phonenumbers/__init__.py

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

144144
# Version number is taken from the upstream libphonenumber version
145145
# together with an indication of the version of the Python-specific code.
146-
__version__ = "8.5.2"
146+
__version__ = "8.6.0"
147147

148148
__all__ = ['PhoneNumber', 'CountryCodeSource', 'FrozenPhoneNumber',
149149
'REGION_CODE_FOR_NON_GEO_ENTITY', 'NumberFormat', 'PhoneNumberDesc', 'PhoneMetadata',

0 commit comments

Comments
 (0)