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