blob: 31587782eea410e644cc614cb6a62f8f70110f4b [file] [log] [blame]
Lara Scheidegger0e803a42012-06-14 10:03:56 +00001June 14th, 2012: libphonenumber-4.8.5
2* Metadata update only:
3 - AC, CR, DE, DK, IL, IN, IS, KH, LI, LR, MA, MD, MK, PA, SA, SG, SS
4
David Yonge-Mallof60bbcd2012-06-06 09:15:01 +00005June 5th, 2012: libphonenumber-4.8.4
6* Metadata update only:
7 - AE, RO
8 - Non-geographical entity with calling code 881 (Iridium)
9
Lara Scheidegger6424d7a2012-05-30 07:12:19 +000010May 30th, 2012: libphonenumber-4.8.3
11* Metadata update only:
12 - AN, ET, KW, MN, SX, TC, TL
13
Lara Scheidegger862e54b2012-05-16 12:41:46 +000014May 16th, 2012: libphonenumber-4.8.2
15* Metadata update only:
16 - BH, CR, EE, JO, KW, LA, QA, SI, TH
17 - Non-geographical entity with calling code 878 (VISIONng)
18
Lara Scheideggere72fcad2012-05-08 09:12:58 +000019May 8th, 2012: libphonenumber-4.8.1
20* Metadata update only:
21 - CA, CI, EG, HK, IN, IR, LB, MA, ME, MM
22 - Non-geographical entity with calling code 870 (Inmarsat)
23 - Geocoding updates for country calling codes 1 for new area codes
24
Lara Scheideggerfd748002012-04-24 14:28:26 +000025April 24th, 2012: libphonenumber-4.8
26* Functionality changes
27 - RFC format now outputs a number starting with "tel:"
28 - Parsing support for numbers in RFC format that contain the country info in the "phone-context"
29 part
30 - Support for obtaining area codes for Italy, Vatican City, San Marino
31* Metadata changes
32 - AM, AO, AR, BE, BF, CD, EG, GH, GM, GN, IN, IR, IT, JO, LA, LC, MD, MS, NO, PA, PK, SI, SJ, SO,
33 SY, TC, TN, UZ, VN, ZW
34 - Geocoding updates for country calling codes 1, 20, 233, 31, 33, 352, 374, 54, 56, 86
35* Refactoring of matching functions, including moving them to PhoneNumberMatcher.
36
Lara Scheideggere7db0042012-03-16 15:59:09 +000037March 16th, 2012: libphonenumber-4.7
38* Bug fixes
39 - Now return "too long" for input that is longer than 250 chars when parsing
40* Metadata changes
41 - 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,
42 MK,NA,NE,NZ,SA,SB,SC,SE,SL,SN,UZ
Lara Scheideggerfd748002012-04-24 14:28:26 +000043* Refactoring of test classes so that tests requiring the test metadata to be loaded have a common
44 base class which handles this.
Lara Scheideggere7db0042012-03-16 15:59:09 +000045
Lara Scheidegger030071b2012-02-09 15:17:29 +000046February 9th, 2012: libphonenumber-4.6
47* Bug fixes
48 - Fix for formatByPattern to enable RFC formatting to work
49 - Fix for RFC formatting to work even when the international formatting rule starts with
50 punctuation
51 - Logging consistency changes - some warnings are no longer printed, others have become only
52 WARNINGS
53 - Fix for isValidNumberForRegion potentially throwing a NPE
54 - Parsing Israeli * numbers written in international format now works
55 - PhoneNumberMatcher doesn't match timestamps as phone-numbers
56* Metadata changes
57 - Updates for AN, AX, BF, BJ, BR, BS, DJ, FI, IN, LV, MW, RS, SC, VN
58 - New countries supported: SS (South Sudan), CW (CuraƧao) and BQ (Bonaire, Sint Eustatius and Saba)
59* Refactoring of the private formatting functions in PhoneNumberUtil to ensure names are more
60 descriptive and to reduce code duplication.
61
Shaopeng Jia9feb68c2012-01-19 15:41:56 +000062January 19th, 2012: libphonenumber-4.5
63* Code changes
64 - Support for non-geographical country calling codes (e.g. +800).
65 - Modify formatInOriginalFormat to not insert/remove/modify digits in the original number passed
66 in.
67 - Fix formatOutOfCountryKeepingAlphaChars to not throw a NPE.
68
69* Metadata changes
70 - Updates for AR, BH, CI, CN, CR, DE, GA, IL, JO, JP, KE, KZ, LB, LK, LT, MV, MW, MZ, NA, NL, NZ,
71 PL, RO, SA, SV, TM, UG, US
72 - New country calling codes: 800, 808, 883, 888, 979
73 - Geocoding data updates: AR, US
74
Lara Scheideggerc634f242011-12-09 23:02:55 +000075December 9th, 2011: libphonenumber-4.4
76* Code changes
77 - Support for Voicemail numbers
78 - Support prefixes "xt" and "xtn" to indicate extensions of phone numbers
79 - Change formatInOriginalFormat to use raw_input for numbers with incorrect leading zeroes, instead
80 of all invalid numbers.
81
82* Metadata changes
83 - Updates for AR, BD, CH, CI, IL, IR, IS, IT, JP, KW, LR, MM, NG, SA, SC, UZ
84
Shaopeng Jiafa45d4a2011-11-24 13:47:31 +000085November 24th, 2011: libphonenumber-4.3
86* Code changes
87 - Fix the problems with AYTF crashing for longer numbers entered with +CountryCode, and incorrectly
88 removing national prefix for some numbers.
89 - Improve PhoneNumberMatcher to not match numbers ending with '%'.
90 - Fix formatNumberForMobileDialing to handle Israeli star numbers, Peruvian and Colombian numbers.
91 - Modify formatInOriginalFormat to use the raw input if we don't have a formatting pattern for a
92 number.
93 - Simple offline geocoding function which takes into account the user's region.
94
95* Metadata changes
96 - Updates for CR, GN, JP, KE, PL, SG, SR, SX, TH, TK
97
Lara Scheidegger6f225c72011-11-10 13:02:10 +000098November 10th, 2011: libphonenumber-4.2
99* Code changes
100 - Providing an "exact match" isEmergencyNumber method
101 - Improvement to PhoneNumberMatcher: requires national prefix to be present
102 when matching national-format numbers, unless matching for a region where it
103 is explicitly marked in the metadata that they may be omitted. Applies to
104 leniency level VALID and higher.
105 - Change formatNumberForMobileDialing not to modify the phoneNumber passed in.
106
107* Metadata changes
108 - Emergency numbers added for all remaining countries
109 - Collected data on which numbers we format with a national prefix are
110 commonly written without one and added this
111 - Updates for AR, AT, BH, CZ, GR, IR, KM, LT, MX, PT, SE, SO, UG
112 - Addition of SX (Sint Maarten)
113
Philippe Liard42b959f2011-10-20 11:39:14 +0000114October 19th, 2011: libphonenumber-4.1
115* Code changes
116 - Update code and metadata for countries with IDD "8~10" to accept phone
117 numbers where the "~" is omitted.
118 - Modify formatInOriginalFormat to use raw_input (when present) when the number
119 is considered as invalid by the library.
120 - Add ShortNumberUtil to deal with international short phone numbers, such as
121 short codes and emergency numbers.
122 - Increase the maximum phone-number length accepted when parsing (now set to
123 16).
124
125* Metadata changes
126 - Updates: BF, BN, CN, DE, DK, DO, FR, IN, KI, KW, MC, MD, ML, PA, QA, SB, UK,
127 WS
128 - Emergency number information also added to: AE, AF, AL, AM, AR, AT, AU, BA,
129 BB, BD, BE, BG, BH, BO, BR, BY, CA, CH, CL, CN, CO, CR, CY, CZ, DE, DJ, DK,
130 DO, DZ, EC, EE, EG, ES, FI, FJ, FO, FR, GB, GE, GF, GH, GI, GL, GR, GT, GY,
131 HK, HN, HR, HU, ID, IE, IL, IN, IR, IS, IT, JM, JO, JP, KR, KW, KY, KZ, LB,
132 LK, LT, LU, LV, MA, MC, MD, ME, MK, ML, MM, MN, MO, MT, MU, MV, MX, MY, NG,
133 NI, NL, NO, NP, OM, PA, PE, PH, PK, PL, PM, PT, PY, QA, RO, RS, RU, RW, SA,
134 SB, SD, SE, SG, SI, SK, SL, SM, SR, SV, SY, TD, TH, TJ, TM, TN, TR, TT, TW,
135 UA, UG, US, UY, UZ, VA, VE, VN, VU, ZA, ZM, ZW
136
Lara Scheideggera2a91f22011-10-06 12:56:47 +0000137October 6th, 2011: libphonenumber-4.0
138* Code changes
139 - New function formatNumberForMobileDialing, which attempts to format a number in
140 such a way that the call can be connected from a mobile phone. If this is
141 impossible, for example for numbers that cannot be internationally dialled,
142 then an empty string is returned.
143 - Fallback functionality to English for non-CJK languages for geocoding
144
145* Metadata changes
146 - Collecting data for emergency numbers
147 - Updates: AR, AU, BR, CN, CZ, EG, GD, IE, IL, JM, KW, KH, SD, SO, TR, UG, UZ
148 - Geocoding data changes: AO, AR, AT, BJ, BR, CD, CG, CI, CL, CN, CV, DE, ES,
149 FR, GR, GW, HU, KM, MR, MZ, NL, PL, PT, SE, ST, SZ
150
Philippe Liarded810762011-09-13 10:41:17 +0000151September 13th, 2011: libphonenumber-3.9
152* Code changes
153 - Enable AsYouTypeFormatter to handle long IDD and NDD.
154 - Allow the presence of an IDD following a +.
155 - Fix formatting of phone numbers which contain only 0s in the national number.
156 - Refactored some code in geocoding including AreaCodeMap and the storage
157 strategies.
158
159* Metadata changes
160 - Updates: AM, BE, BH, BJ, BR, BT, BZ, CI, CL, CN, DE, DK, DM, DZ, EC, EG, FJ,
161 GR, HR, HT, IN, IQ, IS, JM, KE, KG, KH, KR, LA, LB, LR, MA, MD, ML, MO, MX,
162 MY, NE, NG, PG, PH, PK, PY, QA, SA, SD, SG, SN, TD, TG, TH, TN, TT, UG, YE,
163 ZA, ZM
164 - New geocoding data for: AC, CG, CU, CV, EG, ET, FI, FI, FI, GL, JP, KM, MA,
165 MA, MU, MU, MU, MZ, RS, SH, SH, SL, SO, ST, TG, TG, TG, UG, ZM
166 - Updated geocoding data for: AR, DE
167
Philippe Liard1cd62e22011-08-11 12:09:21 +0000168August 11th, 2011: libphonenumber-3.8
Lara Scheideggereedbf3a2011-08-10 10:53:53 +0000169* Code changes
170 - Fix to demo to not throw null-ptr exceptions for invalid NANPA numbers
171 - Fixed AYTF to not accept plus signs in the middle of input
172 - PhoneNumberMatcher improvements - added STRICT_GROUPING and EXACT_GROUPING
173 levels, numbers followed/preceded by a currency symbol will not match,
174 multiple numbers separated by phone-number punctuation will now match. ", "
175 is no longer accepted as an extension symbol when matching, only when
176 parsing. "x" is only accepted as a carrier code or extension marker, not
177 otherwise.
178 - Changes to handling of leading zeroes - these will not be silently ignored
179 anymore, but will be stored as part of the number.
180 - PhoneNumberOfflineGeocoder - new method to get the description of a number that assumes
181 the validity of the number has already been checked and will not re-verify it.
Philippe Liard1cd62e22011-08-11 12:09:21 +0000182 - Split geocoding US binary data into multiple files.
Lara Scheideggereedbf3a2011-08-10 10:53:53 +0000183
184* Metadata changes
Philippe Liard85bb14d2011-08-11 14:35:03 +0000185 - Updates: AR, AT, AU, AZ, BE, BF, BH, BY, CA, CN, CO, CR, HT, HU, IT, KG, KH,
186 LB, LI, ME, NC, RS, SE, TT, US, VG, ZA
Philippe Liard1cd62e22011-08-11 12:09:21 +0000187 - New geocoding data for: AL, AM, AO, BF, BJ, BW, CD, CI, CZ, DZ, EE, GH, GM,
188 GN, GR, GW, HU, IS, KE, LK, LS, LT, LU, LV, MD, MG, MR, NA, PE, QN, SD, SK,
189 SN, SZ, TN, VE, VN, ZA, ZW
Lara Scheideggereedbf3a2011-08-10 10:53:53 +0000190 - Updated geocoding data for: GB, PT, US
191 - Revised sorting of geocoding data
192
Shaopeng Jia7dca6e62011-07-05 09:16:31 +0000193July 5th, 2011
194* Code changes
195 - Refactored AreaCodeMap to minimize binary and memory footprint by using 2 different strategies.
196 - Refactored BuildMetadataFromXml.java and added unittests.
197
198* Metadata changes
199 - Regenerate binaries for all existing area code mapping data with smaller sizes.
200 - Added city-level area code data mapping for US and Canada.
201
Shaopeng Jiacfc1e0b2011-06-29 13:45:12 +0000202June 29th, 2011
203* Code changes
204 - Fixed issue 38, issue 39, issue 41 and issue 43
205
206* Metadata changes
207 - Added phone number area mapping files for
208 - JP in Japanese
209 - FR in French
210 - TW in English, Simplified and Traditional Chinese
211 - RU in English
212 - IT in English and Italian
213 - PT in Portuguese
214 - TR in English and Turkish
215 - CH in English, German, French and Italian
216 - Updates: CR, GE, IT, JP, KW, MH, MP, MU, PE, PM, RW, TG, TJ, TK
217
Shaopeng Jia13c78d32011-06-15 09:07:08 +0000218June 14th, 2011
219* Code changes
220 - Added PhoneNumberOfflineGeocoder, supporting classes and their unittests.
221 - Added GenerateAreaCodeData to transform phone number area mapping files from text files to binary
222 files.
223 - Modified PhoneNumberParserServlet.java and phonenumberparser.jsp to incorporate
224 PhoneNumberOfflineGeocoding in the appengine demo.
225
226* Metadata changes
227 - Added phone number area mapping files for NANPA countries and GB in English, NL in Dutch, AR, CL
228 and ES in Spanish, AT and DE in German, SE in Swedish, BR in Portuguese, KR in English, Korean,
229 Simplified and Traditional Chinese, and CN in Simplified Chinese.
230
Lara Scheideggeree1b3c92011-06-10 14:02:31 +0000231June 10th, 2011
232* Code changes:
233 - Fixes for PhoneNumberMatcher to be more restrictive in valid mode and not match numbers
234 surrounded by Latin characters. This ensures, for example, the string abc123456789acg will not be
235 marked as a phone numbers.
236 - Enable PhoneNumberUtil to handle all digits, rather than a subset
237 - Fix for AYTF issue36 and improvement for US AYTF behaviour.
238* Metadata changes:
239 - Updates: BG, EG, ES, GH, PF, SC, SY, VA
240
Lara Scheideggerc16963e2011-05-24 07:57:29 +0000241May 24th, 2011
242* Code changes:
243 - Phonenumber now implements Serializable.
244 - findNumbers doesn't accept numbers with mis-matched brackets as phone-numbers
245 - An offline phone number geocoder has been added. The current implementation just returns the
246 region name for the phone number; more detailed geocoding will be added later.
247* Metadata changes:
248 - New countries: GF, KP, NC, PA, PF, PW, PY, SB, SR, TO, UY, VU
249 - Updates: CY, CZ, ES, GB, GQ, JM, MQ, TN, VI
250
Lara Scheidegger08054c92011-05-09 08:02:59 +0000251May 9th, 2011
252* Code changes:
253 - Fixed potential for a null-ptr exception in getExampleNumber
254 - Potential speed improvement with replacement of StringBuffer with StringBuilder
255* Metadata changes
256 - Changed way that international formats are specified to make it easier to do so
257 - New countries: AX, CC, CX, WF
258 - Updates: AM, AR, AU, AW, CN, CO, CR, DM, EC, ET, FI, FJ, GH, IN, JP, KE, KM,
259 KN, LR, MD, MQ, MX, NP, PH, SC, SE, SM, SN, SY, UG, US, VC, VI, ZM
260
Shaopeng Jia3f782e72011-04-21 07:46:19 +0000261Apr 26th, 2011
262* Code changes:
263 - Improved PhoneNumberMatcher for cases with other numbers before or after the phone number.
264 - Improved AsYouTypeFormatter not to use formatting rules containing non-formatting characters
265 (e.g. '*' in Israeli star numbers).
266* Metadata changes:
267 - New countries: FJ, FM, GY, NF, NI, NR, TV.
268 - Updates: AM, AZ, BF, BW, BZ, CI, CR, GB, GP, HK, JM, KH, LB, LY, MV, PE, PK, SZ, TJ, US.
269* Minor documentation updates
270
Shaopeng Jia6dda1bb2011-04-11 07:02:57 +0000271Apr 11th, 2011
272* Bug fixes:
273 - Adding date exclusion pattern in PhoneNumberMatcher.
274 - Fixing bug with selecting a suitable region for numbers with leading zeros where mutiple regions
275 for that country code are possible.
276* Metadata changes:
277 - Updates: AG, AI, AS, BB, BM, BS, CA, DM, DO, ET, FO, GD, GE, GU, IN, JM, KN, KY, LC, MN, MP, MR,
278 MS, NO, PR, TC, TR, TT, US, VC, VG, VI
279 - New countries: CK, FK, GT, IO, KI, SJ, SV
280* Documentation updates and some small refactoring to AsYouTypeFormatter
281
Lara Scheidegger52534892011-03-31 12:21:45 +0000282Mar 31st, 2011
283* New functionality:
284 - Can parse and format numbers in RFC-3966 format.
285 - Added isAlphaNumber to check to see if a number is a "vanity" or "alpha" number
286 - Can format a number made up of alpha-characters in an "out-of-country" format (e.g. 0011 1
287 800-SIX-FLAG to dial an American alpha-number from Australia).
288* Code changes:
289 - Renamed private vars, private methods and fixed comments to try and differentiate between country
290 (calling) codes and region codes.
291 == Non-backwards-compatible API changes: ==
292 - Renamed getSupportedCountries to getSupportedRegions, as this more accurately reflects that the
293 library is based around region codes.
294 - getNationalSignificantNumber is no longer a static method, but is instead an instance method.
295* Metadata changes:
296 - Bug-fixes and updates for AU, AZ, EE, FI, IN, JO, KW, KZ, MV, RU, RR, VA
297 - New country: ME
298
Lara Scheidegger5bfa8342011-03-22 15:21:43 +0000299Mar 22nd, 2011
300* Metadata changes:
301 - New mobile-number pattern for AU
302
Shaopeng Jia3b91ae42011-03-10 10:08:19 +0000303Mar 10th, 2011
Lara Scheidegger0c1ad332011-03-10 10:19:54 +0000304* New functionality:
305 - New function to format a number with the preferred domestic carrier code used when parsing,
306 falling back to a default calling code otherwise (formatNationalNumberWithPreferredCarrierCode).
307 - We now store the preferred domestic carrier code used when the user calls parseAndKeepRawInput
308 - New functionality to extract phone-numbers from text (findNumbers). This is just the first
309 version - it does not extract ALPHA numbers such as 0800 CALL ME, or numbers where alternate
310 endings are specified (such as 03-331 6005/6006).
311* Code changes:
312 - Tidying up the test file to use several pre-defined phone number constants
313 - Fixing several lint errors
314 - Added javadoc to formatNationalNumberWithCarrierCode
315 - Fixed bug where a null pointer exception was thrown when getAsYouTypeFormatter was called with an
316 invalid region code
317 - Improved AsYouTypeFormatter to deal with countries with variable-length patterns such as LU
318* Metadata changes:
319 - Bug-fixes and updates for the following countries: BF, BO, BR, CL, CO, CR, DK, FO, GE, KR, KW,
320 LA, LU, MU, SC, SH, TR, VE
321 - New country: SH
322
323Mar 10th, 2011
Shaopeng Jia3b91ae42011-03-10 10:08:19 +0000324* Code changes:
325 - releasing the code to run the demo on localhost or appengine.
326
Lara Scheidegger0c1ad332011-03-10 10:19:54 +0000327Mar 7th, 2011
Lara Scheidegger426483a2011-03-07 13:01:58 +0000328* Metadata changes:
329 - Adding support for AC
330
Shaopeng Jia99128692011-02-11 10:30:56 +0000331Feb 11th, 2011
332* Metadata changes:
333 - Update UAN number ranges for IM and JE.
334
Lara Scheideggerb48ba182011-02-09 13:05:37 +0000335Feb 9th, 2011
336* Code changes:
337 - Better isNumberMatch method. This will now recognise numbers starting with a national prefix as
338 an NSN_MATCH, instead of SHORT_NSN_MATCH.
339 == Note Non-backwards-compatible API change here! ==
340 This will no longer throw a NumberParseException - instead we will return NOT_A_NUMBER if one
341 or other of the numbers provided do not match.
342 - New number-type UAN now supported in the code. This represents Company Numbers or Universally
343 Accessible Numbers.
344* Metadata changes:
345 - Bug-fixes and updates for the following countries: AG, AZ, BA, BE, CA, CU, ES, FI, GB, GD, GG,
346 IE, IL, IM, IN, IR, IT, JE, JP, KR, KW, NG, NZ, PK, PS, PT, RU, SE, SG, SY, US
347 - New countries: CO, LU, LY, MC, SM
348 - Addition of "Personal Number" ranges to all NANPA countries
349
Lara Scheidegger5a31de42011-01-31 10:03:01 +0000350Jan 31st, 2011
Lara Scheidegger42d5b0d2011-01-31 10:05:17 +0000351* Code changes:
Lara Scheidegger5a31de42011-01-31 10:03:01 +0000352 - Introducing equals() and hashCode() methods for the Phonenumber.PhoneNumber class
353
Lara Scheidegger80dc3b72011-01-28 08:35:00 +0000354Jan 28th, 2011
355* Code changes:
356 - Fixing critical bug with non-Android-compatible code. isEmpty() was being used and CANON_EQ in
357 reg-ex matches.
358
Lara Scheidegger9b5fab12011-01-20 14:26:34 +0000359Jan 20th, 2011
360* Code improvements:
361 - Handle null phone-numbers when parsing by throwing a NumberParseException.
362 - Handle extension written with an accented "o", as per Spanish, when parsing.
363 - Handle U+30FC dashes as phone-number punctuation.
364 - Allow "ZZ" or null regions to be specified for numbers starting with a full-width "+" symbol, or
365 with other characters (such as whitespace) before the leading +.
366 - new getLengthOfNationalDestinationCode function
367* Metadata changes:
368 - New types of numbers introduced: UAN (universal or "company" numbers) and short codes. Note that
369 "generalDesc" patterns do not encompass short-codes. No code-support for these has been
370 introduced as of yet. We are also now enabling the collection of data for information such as
371 area-code-optional, and no-international-dialling ranges.
372 - Data updates as per ITU notifications/bug fixes for the following countries: AM, BH, CD, CG, CR,
373 DE, DJ, EE, GB, GN, HU, IE, JO, JP, LB, LR, MA, MK, MN, MR, NA, PG, SC, SG, SO, SZ, VN, ZA, ZW
374 - Data added for the following countries: BZ, CU, EC, FO, GI, HN, HT, LK, MT, MV, NU, PS, SD
375 - Indentation fixes in reg-exes for the following countries: BG, GB
376 - Allow nationalPrefixForParsing to be specified for countries with no national prefix, to handle
377 possible carrier prefixes
378
Lara Scheideggerf1b667f2011-01-03 13:06:09 +0000379Jan 3rd, 2011
380* Metadata changes:
381 - Updates to JE
382 - Updated comments for GB/GG/IM/JE
383
Shaopeng Jia34610e12010-11-25 15:47:28 +0000384November 25th, 2010
385* Metadata changes:
386 - Updates to existing countries: AD, AG, AI, AN, AS, BB, BG, BM, BS, BW, CA, DM, DO, GD, GH, GM,
387 GU, IN, JM, KN, KY, KZ, LB, LC, MP, MS, PR, SY, TC, TT, TZ, US, VC, VG, VI.
388 - Reorganize reg-exes for better readability.
389 - Updated comments.
390
Lara Scheideggerd563a0a2010-10-22 23:15:24 +0000391October 22nd, 2010
392* Metadata changes:
393 - Updates to existing countries: AE, GB, GG, IM, JE
394
Lara Scheidegger3c39b532010-10-15 11:39:34 +0000395October 15th, 2010
396* Code improvements:
397 - Allowed parsing of numbers that start with "++" or a full-width "+" symbol
Shaopeng Jia34610e12010-11-25 15:47:28 +0000398 - Allowed reg-exes for national and possible number patterns to have white space in them in the
399 source XML file
Lara Scheidegger3c39b532010-10-15 11:39:34 +0000400 - Added a more useful toString method for the phone number proto class
401* Metadata changes:
402 - Updates to existing countries: AF, BF, BO, ES, GB, GG, IM, IS, JE, JE, JP, KR, PE, PT, RU, SE,
403 TT, ZW
404* Bug fixes:
405 - Parsing empty strings with invalid region codes no longer throws a null pointer exception
406
Shaopeng Jia5f08baa2010-09-06 06:36:46 +0000407September 4th, 2010
408* Code improvement:
409 - Added new phone number type: pager
410* Metadata change:
411 - update to existing country: GG, IM, JE, RS, RU
412* Bug fixes:
413 - ArrayOutOfBoundException in AsYouTypeFormatter.getRememberedPosition()
414 - AsYouTypeFormatter for UK childline number
415
Shaopeng Jiaa5151932010-09-01 19:44:50 +0000416September 1st, 2010
417* Bug fix on KZ metadata.
418
Shaopeng Jia92aff122010-08-18 08:27:37 +0000419August 17th, 2010
420* Code improvement:
421 - Refactored BuildMetadataProtoFromXml.java into BuildMetadataFromXml.java and
422 BuildMetadataProtoFromXml.java
423 - Added BuildMetadataProtoFromXml.java and JSArrayBuilder.java
424 - Refactored CountryCodeToRegionCodeMap and CountryCodeToRegionCodeMapForTesting into separate
425 files.
426
Shaopeng Jiac3a6f832010-08-17 06:14:53 +0000427August 16th, 2010
428* Bug fixes
429 - AsYouTypeFormatter for formatting Chinese geographical numbers entered in national format.
430 - AsYouTypeFormatter for formatting Chinese 400/800 numbers entered in national format.
431* Metadata change:
432 - new countries: AM, AN, BH, GL, IS
433 - adding national prefix 1 to all NANPA countries.
434 - update to existing countries: BF, FR, UK, PK, RE
435
Shaopeng Jiab38f0e52010-08-09 04:32:31 +0000436August 4th, 2010
Shaopeng Jiab38f0e52010-08-09 04:32:31 +0000437* Further improve startup performance
438 - Preload no country specific metadata at startup.
439 - Stop creating the file containing mapping from country calling code to region code
440 and loading it at startup; instead, do the initialization in PhoneNumberUtil.
441
Shaopeng Jia4ca3b5b2010-07-31 08:29:46 +0000442July 31th, 2010
443
444* Improve startup performance
445 - Separate generated metadata binary file to one file per region
446 - Preload US at start up, and load other region at the time when needed
447 - Create a file containing mapping from country calling code to region code,
448 and load it at startup
449 - Same change also applied to unittests
450
Shaopeng Jia59379762010-07-30 14:47:20 +0000451July 30th, 2010
Shaopeng Jia59379762010-07-30 14:47:20 +0000452* Metadata change:
453 - new country: TL
454 - update to existing country: AZ, CN, FR, GH, JO, LA, PG, PK, QA, SZ, UA, VN
455
456* Code improvement
457 - China local number formatting for AsYouTypeFormatter
Lara Scheidegger3c39b532010-10-15 11:39:34 +0000458 - improve extension parsing to handle number in the form of +1 (645) 123 1234 ext. 910#