blob: 6310d2c4108aa78868fa325bd2d988931822edfa [file] [log] [blame]
Paul Duffin6b489f72015-12-07 15:54:05 +00001Nov 11, 2015: libphonenumber-7.2.1
2Metadata changes: None
3Fix to 7.2.0
4
5Nov 10, 2015: libphonenumber-7.2.0
6Metadata changes:
7 - Updated phone metadata for region code(s):
8 BI, BT, IL, MN, MO, NP, RU, SK, VG
9 - Updated short number metadata for region code(s): BT, DK
10 - New geocoding data for country calling code(s): 972 (en), 975 (en)
11 - New carrier data for country calling code(s): 853 (en)
12 - Updated carrier data for country calling code(s):
13 45 (en), 257 (en), 421 (en), 964 (en), 972 (en), 975 (en), 976 (en)
14- Updated / refreshed time zone meta data.
15
16Oct 29, 2015: libphonenumber-7.1.1
17Metadata changes:
18 - Updated phone metadata for region code(s):
19 AT, BB, BR, GW, ID, MD, OM, SO, TT
20 - Updated short number metadata for region code(s): BB, NO
21 - New geocoding data for country calling code(s): 968 (en)
22 - Updated geocoding data for country calling code(s): 245 (en, pt)
23 - Updated carrier data for country calling code(s):
24 62 (en), 245 (en), 252 (en), 373 (en), 968 (en), 1246 (en)
25
26Oct 08, 2015: libphonenumber-7.1.0
27API changes:
28 - New MetadataSource implementation that reads from a single metadata file with
29 all regions' phone number metadata.
30Metadata changes:
31 - Updated phone metadata for region code(s): BR, BS, HT, IR, KW, MC, PA, VU
32 - Updated carrier data for country calling code(s):
33 98 (en), 678 (en), 880 (en)
34
Neil Fuller279df212015-09-18 10:06:23 +010035Sep 16, 2015: libphonenumber-7.0.11
36Metadata changes:
37 - Updated phone metadata for region code(s):
38 IN, KE, LR, MM, MR, NA, NE, PT, RO, SO, TZ, US
39 - New short number metadata for region code(s): CF, CG, ER, KP, NE, SO
40 - Updated short number metadata for region code(s): CD, NO, PT
41 - New geocoding data for country calling code(s): 1854 (en)
42 - Updated geocoding data for country calling code(s): 264 (en)
43 - Updated carrier data for country calling code(s):
44 40 (en), 91 (en), 95 (en), 227 (en), 231 (en), 252 (en), 254 (en), 255 (en),
45 509 (en)
46
47Aug 31, 2015: libphonenumber-7.0.10
48Metadata changes:
49 - Updated phone metadata for region code(s):
50 AU, BY, CR, DZ, EH, ES, HK, HT, IN, JO, MN, MU, ST, TD, TT, ZW
51 - Updated short number metadata for region code(s): HK, KR
52 - Updated geocoding data for country calling code(s): 263 (en)
53 - New carrier data for country calling code(s): 509 (en), 976 (en)
54 - Updated carrier data for country calling code(s):
55 41 (en), 61 (en), 91 (en), 230 (en), 235 (en), 239 (en)
56
57Aug 03, 2015: libphonenumber-7.0.9
58Metadata changes:
59 - Updated phone metadata for region code(s): AR, IN, MX, PL, SZ, YT, ZW
60 - Updated short number metadata for region code(s): MX, ZW
61 - Updated carrier data for country calling code(s): 91 (en), 263 (en)
62
63Jul 14, 2015: libphonenumber-7.0.8
64Metadata changes:
65 - Updated phone metadata for region code(s):
66 AC, BS, BW, CL, DE, DZ, HN, HR, IL, IN, IT, JO, KY, MA, NP, PL, SH, SL, TM,
67 UA, VA
68 - Updated short number metadata for region code(s): HR
69 - Updated geocoding data for country calling code(s): 56 (en, es)
70 - Updated carrier data for country calling code(s):
71 49 (en), 212 (en), 232 (en), 267 (en), 380 (en), 385 (en), 962 (en),
72 972 (en), 977 (en), 993 (en)
73- Updated / refreshed time zone meta data.
74
75Jun 24, 2015: libphonenumber-7.0.7
76Metadata changes:
77 - Updated phone metadata for region code(s):
78 AC, BF, BG, CG, CM, FR, IL, IN, JP, KW, LB, LI, SB, SD, SH, TT
79 - Updated short number metadata for region code(s): GY, SB
80 - New geocoding data for country calling code(s): 592 (en)
81 - Updated geocoding data for country calling code(s):
82 86 (en, zh), 226 (en), 290 (en, fr)
83 - New carrier data for country calling code(s): 592 (en), 689 (en)
84 - Updated carrier data for country calling code(s):
85 7 (en), 60 (en), 91 (en), 237 (en), 242 (en), 249 (en), 359 (en), 961 (en),
86 1868 (en)
87- Updated / refreshed time zone meta data.
88
89May 29, 2015: libphonenumber-7.0.6
90Metadata changes:
91 - Updated phone metadata for region code(s):
92 BB, BR, CR, ID, IL, JO, KW, LK, LU, MD, MM, MV, MY, PH, PK, SC, SE
93 - Updated short number metadata for region code(s): BE, LK, US
94 - Updated carrier data for country calling code(s):
95 60 (en), 63 (en), 92 (en), 94 (en), 95 (en), 248 (en), 373 (en), 960 (en),
96 972 (en), 1246 (en)
97
98Apr 24, 2015: libphonenumber-7.0.5
99* Metadata changes:
100 - Updated phone metadata for region code(s):
101 AF, AS, BD, BE, CA, CI, ID, IN, JM, KH, LI, LU, MU, NE, PL
102 - Updated short number metadata for region code(s): BE, LI
103 - Updated geocoding data for country calling code(s):
104 62 (en), 86 (en, zh), 358 (en, fi, se)
105 - Updated carrier data for country calling code(s):
106 32 (en), 93 (en), 225 (en), 227 (en), 855 (en), 1684 (en), 1876 (en)
107
Narayan Kamath7491c342015-04-03 13:56:35 +0100108Mar 25, 2015: libphonenumber-7.0.4
109* Metadata changes:
110 - Updated phone metadata for region code(s): CA, HU, IL, JO, LU, SG, SL, US
111 - Updated short number metadata for region code(s): BI
112 - New geocoding data for country calling code(s):
113 1220 (en), 1628 (en), 1629 (en)
114 - Updated carrier data for country calling code(s):
115 65 (en), 232 (en), 972 (en)
116
117Mar 02, 2015: libphonenumber-7.0.3
118* Metadata changes:
119 - Updated phone metadata for region code(s):
120 AR, BH, BY, CI, CN, GH, KR, KW, LU, ME, NZ, SB, WS
121 - New geocoding data for country calling code(s): 64 (en)
122 - Updated geocoding data for country calling code(s):
123 86 (en, zh), 1418 (en), 1438 (en), 1450 (en), 1514 (en), 1819 (en)
124 - Updated carrier data for country calling code(s):
125 225 (en), 233 (en), 677 (en), 973 (en)
126
Andy Staudacherb0d1cb12015-02-11 13:54:21 +0100127Jan 09, 2015: libphonenumber-7.0.2
128* Metadata changes:
129 - Updated phone metadata for region code(s):
130 BD, BH, EH, GH, IN, JM, LU, MA, MY, NF, NG, PK, SB, TT, TZ
131 - Updated geocoding data for country calling code(s): 91 (en), 352 (en, fr)
132 - New carrier data for country calling code(s): 1876 (en)
133 - Updated carrier data for country calling code(s):
134 60 (en), 91 (en), 92 (en), 212 (en), 233 (en), 234 (en), 352 (en), 677 (en)
135
Cecilia Roes7a819792014-11-25 18:20:02 +0100136Nov 25, 2014: libphonenumber-7.0.1
137* Metadata changes:
138 - New alternate formatting data for country calling code(s): 676
139 - Updated phone metadata for region code(s):
140 BI, CM, ID, IR, KR, LA, NP, TG, TH, TO
141 - New geocoding data for country calling code(s): 237 (en)
142 - Updated geocoding data for country calling code(s): 98 (en, fa)
143 - Updated carrier data for country calling code(s):
144 237 (en), 257 (en), 856 (en), 977 (en)
145
146Oct 29, 2014: libphonenumber-7.0
147* Code changes:
148 - New APIs for ShortNumberInfo. The old APIs have been deprecated and will be
149 removed in an upcoming release.
150* Metadata changes:
151 - Updated phone metadata for region code(s):
152 AR, AU, CC, CI, CX, DZ, EE, IN, KZ, MC, SB, TJ, TT
153 - Updated short number metadata for region code(s): MC
154 - Updated geocoding data for country calling code(s): 34 (en, es), 54 (en)
155 - Updated carrier data for country calling code(s):
156 7 (en), 61 (en), 91 (en), 225 (en), 677 (en), 967 (en), 992 (en), 1868 (en)
157
158Oct 13, 2014: libphonenumber-6.3.1
159* Metadata changes:
160 - Updated phone metadata for region code(s):
161 AC, AU, CR, DE, IL, MR, NO, SA, SR, UG
162 - Updated short number metadata for region code(s): CR
163 - Updated carrier data for country calling code(s):
164 61 (en), 256 (en), 506 (en), 597 (en), 966 (en), 972 (en)
165
166Sep 25, 2014: libphonenumber-6.3
167* Code changes:
168 - Changing the offline geocoder to not return any country at all if the number
169 could belong to multiple countries
170 - Removing obsolete code that treated countries with no metadata as valid.
171* Metadata changes:
172 - New alternate formatting data for country calling code(s): 54, 91
173 - Updated phone metadata for region code(s):
174 AM, AR, BR, CA, CL, IL, IN, IR, IS, KE, NI, PF, SB, SN, TH, TN, US
175 - New geocoding data for country calling code(s):
176 1782 (en), 1929 (en), 1930 (en), 1938 (en)
177 - Updated geocoding data for country calling code(s): 98 (en, fa)
178 - New carrier data for country calling code(s): 354 (en)
179 - Updated carrier data for country calling code(s):
180 27 (en), 56 (en), 66 (en), 91 (en), 92 (en), 98 (en), 216 (en), 221 (en),
181 254 (en), 374 (en), 505 (en), 677 (en), 972 (en)
182
183Aug 21, 2014: libphonenumber-6.2.2
184* Metadata changes:
185 - Updated phone metadata for region code(s): BN, CL, CO, DK, IN, SB, SO
186 - Updated short number metadata for region code(s): FR, SA, US
187 - Updated carrier data for country calling code(s):
188 27 (en), 57 (en), 91 (en), 252 (en), 677 (en)
189
190Jul 28, 2014: libphonenumber-6.2.1
191* Metadata changes:
192 - Updated phone metadata for region code(s): BW, LB, MD, PA, PF, VI, ZM
193 - New carrier data for country calling code(s): 507 (en), 961 (en)
194 - Updated carrier data for country calling code(s): 267 (en), 373 (en)
195
196Jun 30, 2014: libphonenumber-6.2
197* Code changes:
198 - Better exclusion of dates when matching phone numbers from text.
199 - Handle phone input in RFC3966 with missing tel: prefix
200
201* Metadata changes:
202 - New alternate formatting data for country calling code(s): 95
203 - Updated phone metadata for region code(s):
204 AF, CN, EH, FJ, IN, JP, KE, KG, KW, MA, MM, PG, PK, SN, SO
205 - New short number metadata for region code(s): SN
206 - Updated short number metadata for region code(s): FR, KE
207 - Updated geocoding data for country calling code(s): 254 (en)
208 - New carrier data for country calling code(s): 95 (en)
209 - Updated carrier data for country calling code(s):
210 92 (en), 93 (en), 212 (en), 221 (en), 254 (en), 675 (en), 679 (en), 965 (en),
211 996 (en)
212
213Jun 06, 2014: libphonenumber-6.1.1
214* Metadata changes:
215 - Updated phone metadata for region code(s):
216 AF, AG, AI, AS, BB, BF, BM, BS, CA, CN, CR, DM, DO, DZ, FR, GD, GU, IN, JM,
217 KH, KN, KW, KY, LC, MN, MP, MS, NG, NI, PH, PR, SX, TC, TT, US, VC, VG, VI
218 - Updated short number metadata for region code(s): AL
219 - New geocoding data for country calling code(s): 1346 (en), 1959 (en)
220 - Updated geocoding data for country calling code(s):
221 33 (en, fr), 352 (de, en, fr), 355 (en)
222 - New carrier data for country calling code(s): 505 (en)
223 - Updated carrier data for country calling code(s):
224 63 (en), 91 (en), 93 (en), 234 (en)
225
Shaopeng Jia9ecee8b2014-05-20 14:55:44 +0200226May 08, 2014: libphonenumber-6.1
227* Code changes:
228 - Adding MetadataLoader support to allow custom metadata loading from
229 alternative sources (should have no visible impact to users).
230 - Fixing bug where digits could be lost in as-you-type formatting and
231 formatting patterns incorrectly applied.
232
233* Metadata changes:
234 - Updated phone metadata for region code(s):
235 AR, BF, BR, BS, CL, CN, CO, CR, DE, DM, EC, EG, FR, GA, GD, GH, HU, ID, IL,
236 IN, JP, KH, KI, KN, LA, LC, LR, ML, MU, MX, MZ, NA, NE, PF, PL, RU, SM, TH,
237 TW, UZ, VA, VC
238 - Updated short number metadata for region code(s): BI, CR, PL, TH
239 - New geocoding data for country calling code(s): 32 (de), 1242 (en)
240 - Updated geocoding data for country calling code(s):
241 32 (en, nl), 55 (en), 56 (en, es), 86 (en, zh)
242 - New carrier data for country calling code(s):
243 1758 (en), 1784 (en), 1869 (en)
244 - Updated carrier data for country calling code(s):
245 66 (en), 86 (en), 227 (en), 231 (en), 233 (en), 258 (en), 1473 (en),
246 1767 (en)
247
Shaopeng Jiab03a1492014-05-06 13:04:45 +0200248Feb 25, 2014: libphonenumber-6.0
249* Code changes:
250 - Better support for detecting phone numbers in text that are beside each other
251 - Change to how Japanese numbers beginning with "00" are modelled, with the
252 side-effect that the maximum possible number length has been extended by 1.
253 - Handle StringIndexOutOfBoundsException in the AsYouTypeFormatter when the
254 national prefix that was extracted was not found in the prefix. This affected
255 countries with very long carrier codes, such as Korea.
256 - Removal of some of the author attributions - contributions to be tracked in
257 CONTRIBUTORS file.
258* Metadata changes:
259 - Updated phone metadata for region code(s): AS, BR, KW, LU
260 - New carrier data for country calling code(s): 1684 (en)
261 - Updated carrier data for country calling code(s): 352 (en)
262
263Feb 07, 2014: libphonenumber-5.9.4
264* Metadata changes:
265 - Updated phone metadata for region code(s):
266 883, BF, BJ, BW, CL, CR, DZ, FR, GD, IN, JP, MD, NG, NZ, PK, PL, SY, UY, VU
267 - Updated short number metadata for region code(s): LV, MD
268 - New carrier data for country calling code(s): 373 (en), 1473 (en)
269 - Updated carrier data for country calling code(s):
270 48 (en), 49 (en), 91 (en), 92 (en), 213 (en), 226 (en), 229 (en), 234 (en),
271 267 (en), 389 (en), 506 (en), 598 (en)
272
273Jan 21, 2014: libphonenumber-5.9.3
274* Metadata changes:
275 - Updated phone metadata for region code(s):
276 BF, BH, BR, CN, GR, IN, MY, PA, TN, US
277 - Updated short number metadata for region code(s): CN
278 - New geocoding data for country calling code(s): 1364 (en), 1725 (en)
279 - Updated geocoding data for country calling code(s): 86 (en)
280 - Updated carrier data for country calling code(s):
281 55 (en), 226 (en), 973 (en)
282
283Dec 20, 2013: libphonenumber-5.9.2
284* Metadata changes:
285 - New alternate formatting data for country calling code(s): 255, 27, 381, 506
286 - Updated alternate formatting data for country calling code(s): 43
287 - Updated phone metadata for region code(s):
288 AG, AI, AS, BB, BF, BM, BS, CA, CR, DM, DO, EC, GD, GU, JM, KN, KY, LC, MP,
289 MS, PR, SO, SX, TC, TT, US, VC, VG, VI
290 - Updated carrier data for country calling code(s): 226 (en)
291
292Dec 13, 2013: libphonenumber-5.9.1
293* Metadata changes:
294 - New alternate formatting data for country calling code(s): 505, 679
295 - Updated phone metadata for region code(s):
296 BF, CI, EG, EH, FJ, IN, KI, MA, MT, NG, NI, SI, SN, SR, TT
297 - Updated short number metadata for region code(s): KI
298 - Updated geocoding data for country calling code(s):
299 27 (en), 226 (en), 1 (en)
300 - New carrier data for country calling code(s): 356 (en), 677 (en)
301 - Updated carrier data for country calling code(s):
302 212 (en), 221 (en), 225 (en), 226 (en), 234 (en), 597 (en), 1 (en)
303
Shaopeng Jiaf9768eb2014-02-07 15:20:15 +0100304Nov 12, 2013: libphonenumber-5.9
305* Code changes:
306 - Adding support for numbers with multiple Italian leading zeros, by adding a field
307 to the phone number proto to allow an arbitrary number of leading zeros, and
308 supporting this when parsing, validating and formatting.
309 - Adding more functionality to ShortNumberInfo -> such as getExpectedCostForRegion.
310 - Fix for parsing short numbers that start with the national prefix.
311 - Updating formatNumberForMobileDialing to work with short numbers.
312 - Stop finding Israeli 4-digit "star" numbers in text when no star is in fact present.
313 - Bug fix for finding phone numbers where the area code was also part of the country
314 calling code.
315
316* Metadata changes:
317 - Updated phone metadata for region code(s):
318 AU, BQ, BY, CI, CO, CW, GN, HN, IN, JO, KI, KW, MG, MK, MM, NA, PK, TC, TM,
319 UG
320 - New short number metadata for region code(s): CD, GN
321 - Updated short number metadata for region code(s):
322 AF, AG, AI, AM, AR, AS, AW, AZ, BD, BH, BI, BM, BO, BQ, BT, BW, BY, CA, CH,
323 CI, CM, CO, CW, DZ, FJ, GD, GE, GH, GT, GY, HN, HT, ID, IE, IM, IN, IQ, JM,
324 JO, KE, KG, KH, KI, KW, KZ, LR, SV
325 - New geocoding data for country calling code(s):
326 257 (en), 389 (en), 599 (en), 686 (en), 962 (en)
327 - Updated geocoding data for country calling code(s):
328 264 (en), 375 (be, en, ru)
329 - New carrier data for country calling code(s):
330 375 (be, ru), 389 (en), 599 (en), 965 (ar)
331 - Updated carrier data for country calling code(s):
332 57 (en), 61 (en), 92 (en), 225 (en), 256 (en), 257 (en), 261 (en), 375 (en),
333 686 (en), 962 (en), 965 (en)
334
335Oct 10, 2013: libphonenumber-5.8.8
336* Metadata changes:
337 - New alternate formatting data for country calling code(s):
338 350, 358, 36, 66, 84, 94, 995
339 - Updated alternate formatting data for country calling code(s):
340 31, 359, 372, 49, 62, 7
341 - Updated phone metadata for region code(s):
342 AR, BD, BE, BF, BR, CO, CR, FI, GI, GM, IS, MU
343 - Updated short number metadata for region code(s): AR, BE, ES, GI, PG, US
344 - Updated geocoding data for country calling code(s): 220 (en)
345 - Updated carrier data for country calling code(s):
346 20 (en), 220 (en), 224 (en), 230 (en), 852 (en)
347
348Oct 8, 2013: libphonenumber-5.8.7
349* Code changes:
350 - New method in the PhoneNumberUtil API - isMobileNumberPortableRegion.
351 - Carrier mapper: Updated API and added a getSafeDisplayName method that only returns the carrier
352 if it's safe to display to the user.
353
354Oct 7, 2013:
355* Code changes:
356 - Added PhoneNumberToTimeZonesMapper including unittests to the geocoder maven project.
357 - Added build rules for generating the binary time zones mapping file from the text file.
358 - Modified PhoneNumberParserServlet.java (the appengine demo) to incorporate time zone mapping.
359* Metadata changes:
360 - Added the time zone mapping file.
361
362Sep 30, 2013:
363* Code changes:
364 - Added PhoneNumberToCarrierMapper including unittests.
365 - Added build rules for generating binary carrier mapping files from text files.
366 - Modified PhoneNumberParserServlet.java (the appengine demo) to incorporate carrier mapping.
367* Metadata changes:
368 - Added carrier mapping files for some NANPA countries, EG, SS, MA, DZ, TN, GM, SN, MR, ML, GN,
369 CI, BF, NE, TG, BJ, MU, LR, SL, GH, NG, TD, CF, CM, CV, ST, GQ, GA, CG, CD, AO, GW, SC, SD, RW,
370 ET, SO, DJ, KE, TZ, UG, BI, MZ, ZM, MG, ZW, MW, BW, SZ, ZA, AW, FO, GL, GR, NL, BE, FR, GI, PT,
371 LU, IE, AL, CY, FI, BG, HU, LT, EE, AM, BY, AD, UA, RS, HR, SI, BA, IT, RO, CH, CZ, SK, AT, DK,
372 NO, PL, DE, BZ, CR, PE, CU, AR, BR, CL, CO, VE, BO, PY, SR, UY, MY, AU, ID, PH, NZ, SG, TH, TL,
373 BN, PG, TO, VU, FJ, WS, KI, RU, VN, HK, KH, LA, CN, BD, TR, IN, PK, AF, LK, MV, JO, IQ, KW, SA,
374 YE, OM, PS, AE, IL, BH, QA, BT, NP, IR, TJ, TM, AZ, GE, KG and UZ in English.
375
376Sep 23, 2013: libphonenumber-5.8.6
377* Code changes:
378 - Restructured the geocoder binary generation code, moving the classes under tools/ from
379 geocoding/ to buildtools/ and renaming AreaCode to PhonePrefix.
380
381Sep 23, 2013: libphonenumber-5.8.5
382* Code changes:
383 - Restructured the geocoder, moving the utility classes to a new module internal/prefixmapper.
384
385Sep 20, 2013: libphonenumber-5.8.4
386* Metadata changes:
387 - Adding a token to indicate which countries have mobile portability.
388
389Sep 20, 2013: libphonenumber-5.8.3
390* Code changes:
391 - PhoneNumberOfflineGeocoder: Moved utility functionality to PrefixFileReader.
392 - Bug fix: Argentinian (and other countries with mobile tokens) mobile numbers now geocode
393 correctly.
394
395Sep 19, 2013: libphonenumber-5.8.2
396* Code changes:
397 - New method in the PhoneNumberUtil API - getCountryMobileToken.
398
399Sep 19, 2013: libphonenumber-5.8.1
400* Metadata changes:
401 - New alternate formatting data for country calling code(s): 675
402 - Updated phone metadata for region code(s):
403 AO, AU, BF, BW, CA, CH, CI, CN, DE, FR, MA, MR, MU, NI, PG, SA, SE, US, VI
404 - New short number metadata for region code(s): IQ
405 - Updated short number metadata for region code(s):
406 AU, BR, DO, EG, FR, GH, ID, IL, JM, KE, KZ, LR, MW, NG, NI, SA, SE, SL, TZ, US, UZ
407 - New geocoding data for country calling code(s):
408 966 (ar, en), 1 (en)
409
Shaopeng Jiabb78ce92013-10-31 11:12:52 +0100410Sep 2, 2013: libphonenumber-5.8
411* Code changes:
412 - Renamed ShortNumberUtil to ShortNumberInfo -> the former class is now deprecated and will be
413 deleted in a later release. At the moment it just delegates to ShortNumberInfo.
414 - New methods in the ShortNumberInfo API - isCarrierSpecific, singleton interface,
415 isPossibleShortNumber, isValidShortNumber, getShortNumberCost. Note this is an experimental API
416 at the moment and subject to change.
417 - Bug fixes:
418 -- AsYouTypeFormatting: 3-digit numbers can be formatted as a group where appropriate
419 -- AsYouTypeFormatting: Countries with an optional national prefix were considered before to
420 have always entered it, resulting in bugs where numbers without the national prefix were
421 not properly formatted.
422 -- Numbers in Chile that overlap with emergency numbers are no longer marked as connecting to
423 them
424 -- Not requiring the NDC to be alone for countries where there is no national prefix in strict
425 grouping when extracting phone numbers
426* Metadata changes:
427 - New alternate formatting data for country calling code(s):
428 30, 31, 385, 58, 62, 63, 971, 972
429 - Updated alternate formatting data for country calling code(s): 43, 44, 49
430 - Moved emergency phone number data to the ShortNumberMetadata.xml file
431 - Updated phone metadata for region code(s):
432 AT, EG, ML, NC, NL, SA
433 - New short number metadata for region code(s):
434 AR, CL, CO, ES, MX, NC
435 - Emergency metadata fixes for region code(s):
436 GA, JM, MH, VE
437
438Aug 09, 2013: libphonenumber-5.7.2
439* Metadata changes:
440 - New alternate formatting data for country calling code(s):
441 352, 359, 372, 373, 375, 595, 7, 855
442 - Updated phone metadata for region code(s):
443 AR, BF, BH, BR, BY, CH, CM, CN, GE, GW, HN, JM, KH, LT, LU, MU, NP, RO, SO
444 - New short number metadata for region code(s): BR
445 - Updated short number metadata for region code(s):
446 CH, FJ, GB, GG, IM, IT, JE, SH
447
448Aug 8, 2013: libphonenumber-5.7.1
449* Metadata/code changes:
450 - Change to the way the metadata is built; now only parts of the proto that are relevant will be
451 generated. This means short-code data won't be generated for the normal protos, and fixed-line
452 data won't be generated for short-number protos. This cuts the metadata binary size approximately
453 in half.
454
455Jul 17, 2013: libphonenumber-5.7
456* Code changes:
457 - Improve phone number extraction recall.
458 - Add support for loading short number metadata.
459
460Jul 16, 2013: libphonenumber-5.6.2
461* Metadata changes:
462 - Updated alternate formatting data for country calling code(s): 49, 61
463 - New metadata for region code(s): TA
464 - Updated metadata for region code(s):
465 BF, BH, BI, BJ, BR, CR, EH, GA, GE, GN, GU, IL, IN, IR, KH, KW, KZ, MA, MT,
466 NA, NE, NL, PH, RO, SH, SO, TK
467 - New geocoding data for country calling code(s): 47 (en), 82 (ar)
468 - Updated geocoding data for country calling code(s):
469 49 (en), 98 (en, fa), 241 (en)
470
471Jul 12, 2013: libphonenumber-5.6.1
472* Code changes:
473 - Rename all instances of PhoneNumberMetadata to PhoneNumberMetadata for consistency.
474
Shaopeng Jia3396e512013-08-12 09:19:27 +0200475Jun 05, 2013: libphonenumber-5.6
476* Code changes:
477 - Fix for as-you-type-formatting bug affecting countries with no national prefix
478 formatting rule, such as China.
479* Metadata changes:
480 - New alternate formatting data for country calling code(s): 351
481 - Updated alternate formatting data for country calling code(s): 49
482 - Updated metadata for region code(s):
483 AS, BG, BH, BJ, BL, CD, CI, DE, DZ, EH, FJ, GF, GP, IN, KH, KZ, MA, MD, MF,
484 ML, MY, NG, PT, PY, TC, TJ, TT
485
486May 08, 2013: libphonenumber-5.5
487* Code changes:
488 - Changed internal initialization code and made more fields final.
489 Note that we now throw an exception if an attempt is made to set the
490 metadata more than once (which should only happen during testing).
491 - Fix problem with formatNumberForMobileDialing for HU and CL.
492* Metadata changes:
493 - Updated alternate formatting data for country calling code(s): 49
494 - Updated metadata for region code(s):
495 AM, BF, BR, CR, DE, MA, MG, MM, SA, TL, UA
496 - Updated geocoding data for country calling code(s): 374 (am, en, ru)
497
498Apr 19, 2013: libphonenumber-5.4.2
499* Metadata changes:
500 - Updated metadata for region code(s): BF, GA, IN, KR, MV, PH, SO, UA, US
501
502Mar 25, 2013: libphonenumber-5.4.1
503* Metadata changes:
504 - Updated metadata for region code(s): BF, BH, CR, EC, IR, MG, PF, TD, TN
505 - New geocoding data for country calling code(s): 374 (am, ru)
506 - Updated geocoding data for country calling code(s):
507 98 (en, fa), 358 (en, se), 374 (en)
508
Shaopeng Jia485e6d52013-04-26 12:45:24 +0200509Mar 07, 2013: libphonenumber-5.4
510* Code changes:
511 - Switch formatNumberForMobileDialing to prefer national format to international format when the
512 number is dialed from the same region the phone number is from.
513
514* Metadata changes:
515 - Updated metadata for region code(s):
516 BF, CD, CN, CZ, GN, IR, JP, KR, KW, LR, NZ, TT, UG, ZW
517 - New geocoding data for country calling code(s): 82 (cs)
518 - Updated geocoding data for country calling code(s):
519 82 (en, fr, ko, zh, zh_Hant), 98 (en, fa), 263 (en)
520
521Feb 11, 2013: libphonenumber-5.3.2
522* Metadata changes:
523 - Updated metadata for region code(s):
524 BD, BE, BY, CA, EH, GR, IE, IN, IS, LI, MA, MU, PT, SE, SG, TL
525 - New geocoding data for country calling code(s):
526 375 (be, en, ru), 1 (en)
527
528Jan 25, 2013: libphonenumber-5.3.1
529* Metadata changes:
530 - Updated metadata for region code(s): CN, DK, EH, GN, KH, KW, MA, MY, PA
531
Shaopeng Jia77aadd22013-02-11 12:21:46 +0100532Jan 08, 2013: libphonenumber-5.3
533* Code changes:
534 - Handling UAN numbers in Argentina better when dialling them locally from a
535 mobile
536* Metadata changes:
537 - Updated metadata for region code(s):
538 BE, BW, CL, CN, CO, EH, KW, MA, ML, NG, PL, SY, ZA, ZM
539 - New geocoding data for country calling code(s): 32 (en, fr, nl)
540 - Updated geocoding data for country calling code(s): 27 (en), 86 (en, zh)
541
542Dec 06, 2012: libphonenumber-5.2.2
543* Metadata changes:
544 - New metadata for region code(s): EH
545 - Updated metadata for region code(s): BR, CL, CR, IN, MA, PG, PK, RO
546 - New geocoding data for country calling code(s): 241 (en)
547
548Nov 26, 2012: libphonenumber-5.2.1
549* Metadata changes:
550 - Updated metadata for region code(s):
551 AE, AW, BF, CN, DE, JO, KE, KH, LT, MM, MU, NG, RW, SR, TR, VU
552 - New geocoding data for country calling code(s): 359 (bg, en)
553
Shaopeng Jia203cf682012-10-30 05:22:10 +0100554Oct 10, 2012: libphonenumber-5.2
555* Code changes:
556 - Adds isNumberGeographical() method.
557 - Adds getRegionCodesForCountryCode() method.
558 - Fixing issue with getSupportedGlobalNetworkCallingCodes()
Narayan Kamath7491c342015-04-03 13:56:35 +0100559 [https://github.com/googlei18n/libphonenumber/issues/202]
Shaopeng Jia203cf682012-10-30 05:22:10 +0100560 - Ensures that returned collections are unmodifiable where necessary
561 [there is a very slight risk that this may break existing users who were relying on being able
562 to modify these collections, but doing so would be breaking lots of other assumptions that this
563 library makes - if you need to modify any affected collections you must copy them first]
564* Metadata changes:
565 - Updated metadata for region code(s): DE, GR, HR, OM, SB, ZA
566 - Removed metadata for region code: AN (Netherlands Antilles)
567 - Updated geocoding data for country calling code(s): 30 (el, en)
568
569Sep 27, 2012: libphonenumber-5.1.4
570* Metadata changes:
571 - Updated metadata for region code(s): AU, EC, KH, LB, TN, US
572
573Sep 17, 2012: libphonenumber-5.1.3
574* Metadata changes:
575 - Updated metadata for region code(s): EG, LA, LB, LI, PY
576 - Updated metadata for non-geographical calling codes: 800, 808, 888, 979
577 - Updated geocoding data for country calling code(s): 98 (en), 1 (en)
578
579Sep 11, 2010: libphonenumber-5.1.2
580* Bug fix:
581 - Fixing regression in AsYouTypeFormatter where it no longer worked for numbers entered in national
582 format for countries with no national prefix, e.g. Spain.
583
584Sep 5, 2010: libphonenumber-5.1.1
585* Code changes:
586 - Added better logging/exception handling for catching cases where metadata is invalid/missing.
587
588Sep 3, 2012: libphonenumber-5.1
589* Code changes:
590 - Inserting a space after the national prefix in the AsYouTypeFormatter when formatting numbers in
591 national format, if the formatting rules for that country dictate that a space is appropriate.
592 - Format emergency numbers and short-codes as a block in the AsYouTypeFormatter.
593* Metadata changes:
594 - Updated metadata for region code(s): BF, BG, DZ, GA, IT, JP, KW, PF
595
596Aug 20, 2012: libphonenumber-5.0.3
597* Metadata changes:
598 - New alternate formatting data for country calling code(s): 43
599 - Updated metadata for region code(s): AT, BF, JO, NG, RU, SL
600 - New geocoding data for country calling code(s): 62 (en, id), 98 (fa)
601
602Aug 07, 2012: libphonenumber-5.0.2
603* Metadata changes:
604 - Updated metadata for region code(s):
605 BF, CN, DJ, IL, JO, KH, KZ, MA, MT, MV, MY, NC, NG, SD, SK, SN, TL, UZ
606 - New geocoding data for country calling code(s): 7 (ru), 98 (en)
607 - Updated geocoding data for country calling code(s): 7 (en)
608
609July 26th, 2012: libphonenumber-5.0.1
610* Metadata changes
611 - CL, DE ,IN, KR, US
612 - New geocoding data for country calling codes 40, 57, 66, 82, 91.
613 - Fixed comments for 353 (IE).
614
Shaopeng Jia4b867ac2012-08-24 15:43:27 +0200615July 12th, 2012: libphonenumber-5.0
616* Code changes:
Shaopeng Jia203cf682012-10-30 05:22:10 +0100617 - Support for alternate formats when finding phone numbers.
618 - Allowing two-digit numbers to be parsed if they are entered in national-format with no
619 punctuation
Shaopeng Jia4b867ac2012-08-24 15:43:27 +0200620* Metadata changes
Shaopeng Jia203cf682012-10-30 05:22:10 +0100621 - IL, GA
Shaopeng Jia4b867ac2012-08-24 15:43:27 +0200622* Other
Shaopeng Jia203cf682012-10-30 05:22:10 +0100623 - Reflowed this file to 100 char width to make it unambiguous as to what the standard should be.
Shaopeng Jia4b867ac2012-08-24 15:43:27 +0200624
625July 6th, 2012: libphonenumber-4.9.1
626* Metadata changes
627 - AR, BA, BF, CR, DE, EC, ES, KZ, MK, NC, NG, PF, SB, UZ, non-geo entity 882
628 - Geocoding data updates for country calling codes 54 (AR) and 81 (JP), new data for 234 (NG)
629
Shaopeng Jiabf5d9752012-07-13 13:46:11 +0200630June 21st, 2012: libphonenumber-4.9
631* Bug fix
Shaopeng Jia4b867ac2012-08-24 15:43:27 +0200632 - formatInOriginalFormat fixed not to add a star sign if it was not present originally.
Shaopeng Jiabf5d9752012-07-13 13:46:11 +0200633* Metadata changes
634 - BF, CZ, ES, KW
Shaopeng Jia4b867ac2012-08-24 15:43:27 +0200635 - Non-geographical entities with calling code 882 (BebbiCell, Maritime Communications, Oration
636 Technologies, Telespazio and Thuraya)
Shaopeng Jiabf5d9752012-07-13 13:46:11 +0200637 - Geocoding data updates for country calling codes 221, 224, 226, 242, 244, 245
638* Functionality changes:
Shaopeng Jia4b867ac2012-08-24 15:43:27 +0200639 - Minimum allowed length for a national significant number (NSN) when parsing changed from 3 to 2.
640 - Support parsing of RFC3966-formatted strings with an isdn-subaddress or extra parameters
641 specified.
Shaopeng Jiabf5d9752012-07-13 13:46:11 +0200642 - Allow soft hyphen to appear in phone numbers (\u00AD)
643* Testing changes:
644 - Add extra unit tests for non-geographical phone number entities
645 - ExampleNumbersTest testEmergency tests now uses ShortNumberUtil
646
647June 14th, 2012: libphonenumber-4.8.5
648* Metadata update only:
649 - AC, CR, DE, DK, IL, IN, IS, KH, LI, LR, MA, MD, MK, PA, SA, SG, SS
650
651June 6th, 2012: libphonenumber-4.8.4
652* Metadata update only:
653 - AE, RO
654 - Non-geographical entity with calling code 881 (Iridium)
655
656May 30th, 2012: libphonenumber-4.8.3
657* Metadata update only:
658 - AN, ET, KW, MN, SX, TC, TL
659
660May 16th, 2012: libphonenumber-4.8.2
661* Metadata update only:
662 - BH, CR, EE, JO, KW, LA, QA, SI, TH
663 - Non-geographical entity with calling code 878 (VISIONng)
664
665May 8th, 2012: libphonenumber-4.8.1
666* Metadata update only:
667 - CA, CI, EG, HK, IN, IR, LB, MA, ME, MM
668 - Non-geographical entity with calling code 870 (Inmarsat)
669 - Geocoding updates for country calling codes 1 for new area codes
670
Shaopeng Jiab210e302012-05-14 14:48:12 +0200671April 24th, 2012: libphonenumber-4.8
672* Functionality changes
673 - RFC format now outputs a number starting with "tel:"
674 - Parsing support for numbers in RFC format that contain the country info in the "phone-context"
675 part
676 - Support for obtaining area codes for Italy, Vatican City, San Marino
677* Metadata changes
678 - AM, AO, AR, BE, BF, CD, EG, GH, GM, GN, IN, IR, IT, JO, LA, LC, MD, MS, NO, PA, PK, SI, SJ, SO,
679 SY, TC, TN, UZ, VN, ZW
680 - Geocoding updates for country calling codes 1, 20, 233, 31, 33, 352, 374, 54, 56, 86
681* Refactoring of matching functions, including moving them to PhoneNumberMatcher.
682
Shaopeng Jiab0e21c22012-03-28 17:07:14 +0200683March 16th, 2012: libphonenumber-4.7
684* Bug fixes
685 - Now return "too long" for input that is longer than 250 chars when parsing
686* Metadata changes
687 - AC,AM,AT,AZ,BF,BR,BY,BZ,CR,CU,DE,DJ,EE,EG,ET,GA,GH,HK,HN,ID,IN,JP,KE,KG,KH,KR,KW,KY,LB,LU,MA,MD,
688 MK,NA,NE,NZ,SA,SB,SC,SE,SL,SN,UZ
Shaopeng Jiab210e302012-05-14 14:48:12 +0200689* Refactoring of test classes so that tests requiring the test metadata to be loaded have a common
690 base class which handles this.
Shaopeng Jiab0e21c22012-03-28 17:07:14 +0200691
Shaopeng Jiacc0ae732012-02-15 22:45:16 +0100692February 9th, 2012: libphonenumber-4.6
693* Bug fixes
694 - Fix for formatByPattern to enable RFC formatting to work
695 - Fix for RFC formatting to work even when the international formatting rule starts with
696 punctuation
697 - Logging consistency changes - some warnings are no longer printed, others have become only
698 WARNINGS
699 - Fix for isValidNumberForRegion potentially throwing a NPE
700 - Parsing Israeli * numbers written in international format now works
701 - PhoneNumberMatcher doesn't match timestamps as phone-numbers
702* Metadata changes
703 - Updates for AN, AX, BF, BJ, BR, BS, DJ, FI, IN, LV, MW, RS, SC, VN
704 - New countries supported: SS (South Sudan), CW (Curaçao) and BQ (Bonaire, Sint Eustatius and Saba)
705* Refactoring of the private formatting functions in PhoneNumberUtil to ensure names are more
706 descriptive and to reduce code duplication.
707
Shaopeng Jia528b0d12012-01-27 12:36:27 +0100708January 19th, 2012: libphonenumber-4.5
709* Code changes
710 - Support for non-geographical country calling codes (e.g. +800).
711 - Modify formatInOriginalFormat to not insert/remove/modify digits in the original number passed
712 in.
713 - Fix formatOutOfCountryKeepingAlphaChars to not throw a NPE.
714
715* Metadata changes
716 - Updates for AR, BH, CI, CN, CR, DE, GA, IL, JO, JP, KE, KZ, LB, LK, LT, MV, MW, MZ, NA, NL, NZ,
717 PL, RO, SA, SV, TM, UG, US
718 - New country calling codes: 800, 808, 883, 888, 979
719 - Geocoding data updates: AR, US
720
721December 9th, 2011: libphonenumber-4.4
722* Code changes
723 - Support for Voicemail numbers
724 - Support prefixes "xt" and "xtn" to indicate extensions of phone numbers
725 - Change formatInOriginalFormat to use raw_input for numbers with incorrect leading zeroes, instead
726 of all invalid numbers.
727
728* Metadata changes
729 - Updates for AR, BD, CH, CI, IL, IR, IS, IT, JP, KW, LR, MM, NG, SA, SC, UZ
730
Shaopeng Jia96a72142011-11-25 13:49:41 +0100731November 24th, 2011: libphonenumber-4.3
732* Code changes
733 - Fix the problems with AYTF crashing for longer numbers entered with +CountryCode, and incorrectly
734 removing national prefix for some numbers.
735 - Improve PhoneNumberMatcher to not match numbers ending with '%'.
736 - Fix formatNumberForMobileDialing to handle Israeli star numbers, Peruvian and Colombian numbers.
737 - Modify formatInOriginalFormat to use the raw input if we don't have a formatting pattern for a
738 number.
739 - Simple offline geocoding function which takes into account the user's region.
740
741* Metadata changes
742 - Updates for CR, GN, JP, KE, PL, SG, SR, SX, TH, TK
743
Shaopeng Jiaa48b2d22011-11-16 15:46:59 +0100744November 10th, 2011: libphonenumber-4.2
745* Code changes
746 - Providing an "exact match" isEmergencyNumber method
Shaopeng Jia4b867ac2012-08-24 15:43:27 +0200747 - Improvement to PhoneNumberMatcher: requires national prefix to be present when matching
748 national-format numbers, unless matching for a region where it is explicitly marked in the
749 metadata that they may be omitted. Applies to leniency level VALID and higher.
Shaopeng Jiaa48b2d22011-11-16 15:46:59 +0100750 - Change formatNumberForMobileDialing not to modify the phoneNumber passed in.
751
752* Metadata changes
753 - Emergency numbers added for all remaining countries
Shaopeng Jia4b867ac2012-08-24 15:43:27 +0200754 - Collected data on which numbers we format with a national prefix are commonly written without one
755 and added this
Shaopeng Jiaa48b2d22011-11-16 15:46:59 +0100756 - Updates for AR, AT, BH, CZ, GR, IR, KM, LT, MX, PT, SE, SO, UG
757 - Addition of SX (Sint Maarten)
758
Shaopeng Jiaca1e43d2011-10-25 20:38:42 +0200759October 19th, 2011: libphonenumber-4.1
760* Code changes
Shaopeng Jia4b867ac2012-08-24 15:43:27 +0200761 - Update code and metadata for countries with IDD "8~10" to accept phone numbers where the "~" is
762 omitted.
763 - Modify formatInOriginalFormat to use raw_input (when present) when the number is considered as
764 invalid by the library.
765 - Add ShortNumberUtil to deal with international short phone numbers, such as short codes and
766 emergency numbers.
Shaopeng Jiaca1e43d2011-10-25 20:38:42 +0200767 - Increase the maximum phone-number length accepted when parsing (now set to
768 16).
769
770* Metadata changes
Shaopeng Jia4b867ac2012-08-24 15:43:27 +0200771 - Updates: BF, BN, CN, DE, DK, DO, FR, IN, KI, KW, MC, MD, ML, PA, QA, SB, UK, WS
Shaopeng Jiaca1e43d2011-10-25 20:38:42 +0200772 - Emergency number information also added to: AE, AF, AL, AM, AR, AT, AU, BA,
773 BB, BD, BE, BG, BH, BO, BR, BY, CA, CH, CL, CN, CO, CR, CY, CZ, DE, DJ, DK,
774 DO, DZ, EC, EE, EG, ES, FI, FJ, FO, FR, GB, GE, GF, GH, GI, GL, GR, GT, GY,
775 HK, HN, HR, HU, ID, IE, IL, IN, IR, IS, IT, JM, JO, JP, KR, KW, KY, KZ, LB,
776 LK, LT, LU, LV, MA, MC, MD, ME, MK, ML, MM, MN, MO, MT, MU, MV, MX, MY, NG,
777 NI, NL, NO, NP, OM, PA, PE, PH, PK, PL, PM, PT, PY, QA, RO, RS, RU, RW, SA,
778 SB, SD, SE, SG, SI, SK, SL, SM, SR, SV, SY, TD, TH, TJ, TM, TN, TR, TT, TW,
779 UA, UG, US, UY, UZ, VA, VE, VN, VU, ZA, ZM, ZW
780
781October 6th, 2011: libphonenumber-4.0
782* Code changes
Shaopeng Jia4b867ac2012-08-24 15:43:27 +0200783 - New function formatNumberForMobileDialing, which attempts to format a number in such a way that
784 the call can be connected from a mobile phone. If this is impossible, for example for numbers
785 that cannot be internationally dialled, then an empty string is returned.
Shaopeng Jiaca1e43d2011-10-25 20:38:42 +0200786 - Fallback functionality to English for non-CJK languages for geocoding
787
788* Metadata changes
789 - Collecting data for emergency numbers
790 - Updates: AR, AU, BR, CN, CZ, EG, GD, IE, IL, JM, KW, KH, SD, SO, TR, UG, UZ
791 - Geocoding data changes: AO, AR, AT, BJ, BR, CD, CG, CI, CL, CN, CV, DE, ES,
792 FR, GR, GW, HU, KM, MR, MZ, NL, PL, PT, SE, ST, SZ
793
794September 13th, 2011: libphonenumber-3.9
795* Code changes
796 - Enable AsYouTypeFormatter to handle long IDD and NDD.
797 - Allow the presence of an IDD following a +.
798 - Fix formatting of phone numbers which contain only 0s in the national number.
Shaopeng Jia4b867ac2012-08-24 15:43:27 +0200799 - Refactored some code in geocoding including AreaCodeMap and the storage strategies.
Shaopeng Jiaca1e43d2011-10-25 20:38:42 +0200800
801* Metadata changes
802 - Updates: AM, BE, BH, BJ, BR, BT, BZ, CI, CL, CN, DE, DK, DM, DZ, EC, EG, FJ,
803 GR, HR, HT, IN, IQ, IS, JM, KE, KG, KH, KR, LA, LB, LR, MA, MD, ML, MO, MX,
804 MY, NE, NG, PG, PH, PK, PY, QA, SA, SD, SG, SN, TD, TG, TH, TN, TT, UG, YE,
805 ZA, ZM
806 - New geocoding data for: AC, CG, CU, CV, EG, ET, FI, FI, FI, GL, JP, KM, MA,
807 MA, MU, MU, MU, MZ, RS, SH, SH, SL, SO, ST, TG, TG, TG, UG, ZM
808 - Updated geocoding data for: AR, DE
809
Shaopeng Jiaf7e02242011-08-15 17:03:30 +0200810August 11th, 2011: libphonenumber-3.8
811* Code changes
812 - Fix to demo to not throw null-ptr exceptions for invalid NANPA numbers
813 - Fixed AYTF to not accept plus signs in the middle of input
Shaopeng Jia4b867ac2012-08-24 15:43:27 +0200814 - PhoneNumberMatcher improvements - added STRICT_GROUPING and EXACT_GROUPING levels, numbers
815 followed/preceded by a currency symbol will not match, multiple numbers separated by phone-number
816 punctuation will now match. ", " is no longer accepted as an extension symbol when matching, only
817 when parsing. "x" is only accepted as a carrier code or extension marker, not otherwise.
818 - Changes to handling of leading zeroes - these will not be silently ignored anymore, but will be
819 stored as part of the number.
820 - PhoneNumberOfflineGeocoder - new method to get the description of a number that assumes the
821 validity of the number has already been checked and will not re-verify it.
Shaopeng Jiaf7e02242011-08-15 17:03:30 +0200822 - Split geocoding US binary data into multiple files.
823
824* Metadata changes
825 - Updates: AR, AT, AU, AZ, BE, BF, BH, BY, CA, CN, CO, CR, HT, HU, IT, KG, KH,
826 LB, LI, ME, NC, RS, SE, TT, US, VG, ZA
827 - New geocoding data for: AL, AM, AO, BF, BJ, BW, CD, CI, CZ, DZ, EE, GH, GM,
828 GN, GR, GW, HU, IS, KE, LK, LS, LT, LU, LV, MD, MG, MR, NA, PE, QN, SD, SK,
829 SN, SZ, TN, VE, VN, ZA, ZW
830 - Updated geocoding data for: GB, PT, US
831 - Revised sorting of geocoding data
832
Shaopeng Jia9651f4d2011-07-05 11:50:58 +0200833July 5th, 2011
834* Code changes
835 - Refactored AreaCodeMap to minimize binary and memory footprint by using 2 different strategies.
836 - Refactored BuildMetadataFromXml.java and added unittests.
837
838* Metadata changes
839 - Regenerate binaries for all existing area code mapping data with smaller sizes.
840 - Added city-level area code data mapping for US and Canada.
841
Shaopeng Jia249f28f2011-06-29 16:01:24 +0200842June 29th, 2011
843* Code changes
844 - Fixed issue 38, issue 39, issue 41 and issue 43
845
846* Metadata changes
847 - Added phone number area mapping files for
848 - JP in Japanese
849 - FR in French
850 - TW in English, Simplified and Traditional Chinese
851 - RU in English
852 - IT in English and Italian
853 - PT in Portuguese
854 - TR in English and Turkish
855 - CH in English, German, French and Italian
856 - Updates: CR, GE, IT, JP, KW, MH, MP, MU, PE, PM, RW, TG, TJ, TK
857
Shaopeng Jiad1db4c52011-06-23 09:54:42 +0200858June 14th, 2011
859* Code changes
860 - Added PhoneNumberOfflineGeocoder, supporting classes and their unittests.
861 - Added GenerateAreaCodeData to transform phone number area mapping files from text files to binary
862 files.
863 - Modified PhoneNumberParserServlet.java and phonenumberparser.jsp to incorporate
864 PhoneNumberOfflineGeocoding in the appengine demo.
865
866* Metadata changes
867 - Added phone number area mapping files for NANPA countries and GB in English, NL in Dutch, AR, CL
868 and ES in Spanish, AT and DE in German, SE in Swedish, BR in Portuguese, KR in English, Korean,
869 Simplified and Traditional Chinese, and CN in Simplified Chinese.
870
871June 10th, 2011
872* Code changes:
873 - Fixes for PhoneNumberMatcher to be more restrictive in valid mode and not match numbers
874 surrounded by Latin characters. This ensures, for example, the string abc123456789acg will not be
875 marked as a phone numbers.
876 - Enable PhoneNumberUtil to handle all digits, rather than a subset
877 - Fix for AYTF issue36 and improvement for US AYTF behaviour.
878* Metadata changes:
879 - Updates: BG, EG, ES, GH, PF, SC, SY, VA
880
Shaopeng Jia372bff82011-05-24 10:47:15 +0200881May 24th, 2011
882* Code changes:
883 - Phonenumber now implements Serializable.
884 - findNumbers doesn't accept numbers with mis-matched brackets as phone-numbers
885 - An offline phone number geocoder has been added. The current implementation just returns the
886 region name for the phone number; more detailed geocoding will be added later.
887* Metadata changes:
888 - New countries: GF, KP, NC, PA, PF, PW, PY, SB, SR, TO, UY, VU
889 - Updates: CY, CZ, ES, GB, GQ, JM, MQ, TN, VI
890
891May 9th, 2011
892* Code changes:
893 - Fixed potential for a null-ptr exception in getExampleNumber
894 - Potential speed improvement with replacement of StringBuffer with StringBuilder
895* Metadata changes
896 - Changed way that international formats are specified to make it easier to do so
897 - New countries: AX, CC, CX, WF
898 - Updates: AM, AR, AU, AW, CN, CO, CR, DM, EC, ET, FI, FJ, GH, IN, JP, KE, KM,
899 KN, LR, MD, MQ, MX, NP, PH, SC, SE, SM, SN, SY, UG, US, VC, VI, ZM
900
901Apr 26th, 2011
902* Code changes:
903 - Improved PhoneNumberMatcher for cases with other numbers before or after the phone number.
904 - Improved AsYouTypeFormatter not to use formatting rules containing non-formatting characters
905 (e.g. '*' in Israeli star numbers).
906* Metadata changes:
907 - New countries: FJ, FM, GY, NF, NI, NR, TV.
908 - Updates: AM, AZ, BF, BW, BZ, CI, CR, GB, GP, HK, JM, KH, LB, LY, MV, PE, PK, SZ, TJ, US.
909* Minor documentation updates
910
911Apr 11th, 2011
912* Bug fixes:
913 - Adding date exclusion pattern in PhoneNumberMatcher.
914 - Fixing bug with selecting a suitable region for numbers with leading zeros where mutiple regions
915 for that country code are possible.
916* Metadata changes:
917 - Updates: AG, AI, AS, BB, BM, BS, CA, DM, DO, ET, FO, GD, GE, GU, IN, JM, KN, KY, LC, MN, MP, MR,
918 MS, NO, PR, TC, TR, TT, US, VC, VG, VI
919 - New countries: CK, FK, GT, IO, KI, SJ, SV
920* Documentation updates and some small refactoring to AsYouTypeFormatter
921
922Mar 31st, 2011
923* New functionality:
924 - Can parse and format numbers in RFC-3966 format.
925 - Added isAlphaNumber to check to see if a number is a "vanity" or "alpha" number
926 - Can format a number made up of alpha-characters in an "out-of-country" format (e.g. 0011 1
927 800-SIX-FLAG to dial an American alpha-number from Australia).
928* Code changes:
929 - Renamed private vars, private methods and fixed comments to try and differentiate between country
930 (calling) codes and region codes.
931 == Non-backwards-compatible API changes: ==
932 - Renamed getSupportedCountries to getSupportedRegions, as this more accurately reflects that the
933 library is based around region codes.
934 - getNationalSignificantNumber is no longer a static method, but is instead an instance method.
935* Metadata changes:
936 - Bug-fixes and updates for AU, AZ, EE, FI, IN, JO, KW, KZ, MV, RU, RR, VA
937 - New country: ME
938
939Mar 22nd, 2011
940* Metadata changes:
941 - New mobile-number pattern for AU
942
Shaopeng Jia52699e02011-03-22 14:22:53 +0100943Mar 10th, 2011
944* New functionality:
945 - New function to format a number with the preferred domestic carrier code used when parsing,
946 falling back to a default calling code otherwise (formatNationalNumberWithPreferredCarrierCode).
947 - We now store the preferred domestic carrier code used when the user calls parseAndKeepRawInput
948 - New functionality to extract phone-numbers from text (findNumbers). This is just the first
949 version - it does not extract ALPHA numbers such as 0800 CALL ME, or numbers where alternate
950 endings are specified (such as 03-331 6005/6006).
951* Code changes:
952 - Tidying up the test file to use several pre-defined phone number constants
953 - Fixing several lint errors
954 - Added javadoc to formatNationalNumberWithCarrierCode
955 - Fixed bug where a null pointer exception was thrown when getAsYouTypeFormatter was called with an
956 invalid region code
957 - Improved AsYouTypeFormatter to deal with countries with variable-length patterns such as LU
958* Metadata changes:
959 - Bug-fixes and updates for the following countries: BF, BO, BR, CL, CO, CR, DK, FO, GE, KR, KW,
960 LA, LU, MU, SC, SH, TR, VE
961 - New country: SH
962
963Mar 10th, 2011
964* Code changes:
965 - releasing the code to run the demo on localhost or appengine.
966
967Mar 7th, 2011
968* Metadata changes:
969 - Adding support for AC
970
Shaopeng Jia74aa8622011-02-11 16:11:35 +0100971Feb 11th, 2011
972* Metadata changes:
973 - Update UAN number ranges for IM and JE.
974
975Feb 9th, 2011
976* Code changes:
977 - Better isNumberMatch method. This will now recognise numbers starting with a national prefix as
978 an NSN_MATCH, instead of SHORT_NSN_MATCH.
979 == Note Non-backwards-compatible API change here! ==
980 This will no longer throw a NumberParseException - instead we will return NOT_A_NUMBER if one
981 or other of the numbers provided do not match.
982 - New number-type UAN now supported in the code. This represents Company Numbers or Universally
983 Accessible Numbers.
984* Metadata changes:
985 - Bug-fixes and updates for the following countries: AG, AZ, BA, BE, CA, CU, ES, FI, GB, GD, GG,
986 IE, IL, IM, IN, IR, IT, JE, JP, KR, KW, NG, NZ, PK, PS, PT, RU, SE, SG, SY, US
987 - New countries: CO, LU, LY, MC, SM
988 - Addition of "Personal Number" ranges to all NANPA countries
989
990Jan 31st, 2011
991* Code changes:
992 - Introducing equals() and hashCode() methods for the Phonenumber.PhoneNumber class
993
994Jan 28th, 2011
995* Code changes:
996 - Fixing critical bug with non-Android-compatible code. isEmpty() was being used and CANON_EQ in
997 reg-ex matches.
998
999Jan 20th, 2011
1000* Code improvements:
1001 - Handle null phone-numbers when parsing by throwing a NumberParseException.
1002 - Handle extension written with an accented "o", as per Spanish, when parsing.
1003 - Handle U+30FC dashes as phone-number punctuation.
1004 - Allow "ZZ" or null regions to be specified for numbers starting with a full-width "+" symbol, or
1005 with other characters (such as whitespace) before the leading +.
1006 - new getLengthOfNationalDestinationCode function
1007* Metadata changes:
1008 - New types of numbers introduced: UAN (universal or "company" numbers) and short codes. Note that
1009 "generalDesc" patterns do not encompass short-codes. No code-support for these has been
1010 introduced as of yet. We are also now enabling the collection of data for information such as
1011 area-code-optional, and no-international-dialling ranges.
1012 - Data updates as per ITU notifications/bug fixes for the following countries: AM, BH, CD, CG, CR,
1013 DE, DJ, EE, GB, GN, HU, IE, JO, JP, LB, LR, MA, MK, MN, MR, NA, PG, SC, SG, SO, SZ, VN, ZA, ZW
1014 - Data added for the following countries: BZ, CU, EC, FO, GI, HN, HT, LK, MT, MV, NU, PS, SD
1015 - Indentation fixes in reg-exes for the following countries: BG, GB
1016 - Allow nationalPrefixForParsing to be specified for countries with no national prefix, to handle
1017 possible carrier prefixes
1018
1019Jan 3rd, 2011
1020* Metadata changes:
1021 - Updates to JE
1022 - Updated comments for GB/GG/IM/JE
1023
1024November 25th, 2010
1025* Metadata changes:
1026 - Updates to existing countries: AD, AG, AI, AN, AS, BB, BG, BM, BS, BW, CA, DM, DO, GD, GH, GM,
1027 GU, IN, JM, KN, KY, KZ, LB, LC, MP, MS, PR, SY, TC, TT, TZ, US, VC, VG, VI.
1028 - Reorganize reg-exes for better readability.
1029 - Updated comments.
1030
Lara Rennie256a5f72010-10-25 21:38:42 +02001031October 22nd, 2010
Shaopeng Jia74aa8622011-02-11 16:11:35 +01001032* Metadata changes:
1033 - Updates to existing countries: AE, GB, GG, IM, JE
1034
1035October 15th, 2010
Lara Rennie256a5f72010-10-25 21:38:42 +02001036* Code improvements:
1037 - Allowed parsing of numbers that start with "++" or a full-width "+" symbol
Shaopeng Jia74aa8622011-02-11 16:11:35 +01001038 - Allowed reg-exes for national and possible number patterns to have white space in them in the
Lara Rennie256a5f72010-10-25 21:38:42 +02001039 source XML file
1040 - Added a more useful toString method for the phone number proto class
1041* Metadata changes:
Shaopeng Jia74aa8622011-02-11 16:11:35 +01001042 - Updates to existing countries: AF, BF, BO, ES, GB, GG, IM, IS, JE, JE, JP, KR, PE, PT, RU, SE,
1043 TT, ZW
Lara Rennie256a5f72010-10-25 21:38:42 +02001044* Bug fixes:
1045 - Parsing empty strings with invalid region codes no longer throws a null pointer exception
1046
Shaopeng Jiab2697412010-09-06 08:55:10 +02001047September 4th, 2010
1048* Code improvement:
1049 - Added new phone number type: pager
1050* Metadata change:
1051 - update to existing country: GG, IM, JE, RS, RU
1052* Bug fixes:
1053 - ArrayOutOfBoundException in AsYouTypeFormatter.getRememberedPosition()
1054 - AsYouTypeFormatter for UK childline number
1055
1056September 1st, 2010
1057* Bug fix on KZ metadata.
1058
1059August 17th, 2010
1060* Code improvement:
1061 - Refactored BuildMetadataProtoFromXml.java into BuildMetadataFromXml.java and
1062 BuildMetadataProtoFromXml.java
1063 - Added BuildMetadataProtoFromXml.java and JSArrayBuilder.java
1064 - Refactored CountryCodeToRegionCodeMap and CountryCodeToRegionCodeMapForTesting into separate
1065 files.
1066
Shaopeng Jiaf59ccfc2010-08-17 09:58:47 +02001067August 16th, 2010
1068* Bug fixes
1069 - AsYouTypeFormatter for formatting Chinese geographical numbers entered in national format.
1070 - AsYouTypeFormatter for formatting Chinese 400/800 numbers entered in national format.
1071* Metadata change:
1072 - new countries: AM, AN, BH, GL, IS
1073 - adding national prefix 1 to all NANPA countries.
1074 - update to existing countries: BF, FR, UK, PK, RE
1075
1076August 4th, 2010
Shaopeng Jiaf59ccfc2010-08-17 09:58:47 +02001077* Further improve startup performance
1078 - Preload no country specific metadata at startup.
Shaopeng Jia4b867ac2012-08-24 15:43:27 +02001079 - Stop creating the file containing mapping from country calling code to region code and loading
1080 it at startup; instead, do the initialization in PhoneNumberUtil.
Shaopeng Jiaf59ccfc2010-08-17 09:58:47 +02001081
Shaopeng Jiafa421402010-07-31 13:00:06 +02001082July 31th, 2010
1083
1084* Improve startup performance
1085 - Separate generated metadata binary file to one file per region
1086 - Preload US at start up, and load other region at the time when needed
Shaopeng Jia4b867ac2012-08-24 15:43:27 +02001087 - Create a file containing mapping from country calling code to region code, and load it at
1088 startup
Shaopeng Jiafa421402010-07-31 13:00:06 +02001089 - Same change also applied to unittests
1090
1091July 30th, 2010
Shaopeng Jiafa421402010-07-31 13:00:06 +02001092* Metadata change:
1093 - new country: TL
1094 - update to existing country: AZ, CN, FR, GH, JO, LA, PG, PK, QA, SZ, UA, VN
1095
1096* Code improvement
1097 - China local number formatting for AsYouTypeFormatter
Lara Rennie256a5f72010-10-25 21:38:42 +02001098 - improve extension parsing to handle number in the form of +1 (645) 123 1234 ext. 910#