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