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