Releases: TrevorPilley/phone-number-parser
2.14.3
Bug fixes
Kosovo - Corrected the subscriber number range for mobile numbers.
2.14.2
Bug fixes
Spain - corrects the NDC for Barcelona which unlike the rest of Spain (except Madrid) uses 2 digit NDCs of 83
and 93
.
2.14.1
Bug fixes
Spain - corrects the NDC for Madrid which unlike the rest of Spain uses 2 digit NDCs of 81
and 91
.
2.14.0
Features
This release adds support for Brazil and a ParseOptions
method to allow north american numbering plan countries.
Bug fixes
None
API changes
CountryInfo
+ public static CountryInfo Brazil { get; }
ParseOptions
+ public ParseOptions AllowNorthAmericanNumberingPlanCountries()
+ public ParseOptions AllowSouthAmericanCountries()
2.13.3
Bug fixes
United States - Corrected classification of personal numbers and added additional freephone ranges.
2.13.2
Bug fixes
American Samoa and Guam have the wrong continent assigned, both should be in Oceania.
2.13.1
Bug fixes
American Samoa, Canada, Guam, Puerto Rico, United States and United States Virgin Islands incorrectly had a trunk code set.
2.13.0
Features
This release splits out some countries which were incorrectly captured under United States phone numbers in 2.12.0. Other countries in the North American Numbering Plan are due to be introduced in future versions of the library.
It also includes improvements to the nuget package so it passes the health checks in NuGet Package Explorer.
Bug fixes
None
API changes
CountryInfo
+ public static CountryInfo AmericanSamoa { get; }
+ public static CountryInfo Guam { get; }
+ public static CountryInfo PuertoRico { get; }
+ public static CountryInfo UnitedStatesVirginIslands { get; }
2.12.1
This release corrects the central office codes for American Samoa
2.12.0
Features
This release adds support for Canada and United States phone numbers.
It also adds an RFC3966 formatter which is accessed via PhoneNumber.ToString(“RFC3966”)
and outputs in the tel:+44-114-272644
format.
Bug fixes
None
API changes
CountryInfo
+ public static CountryInfo Canada { get; }
+ public static CountryInfo UnitedStates { get; }
PhoneNumber
+ public string ToString("RFC3966")
ParseOptions
+ public ParseOptions AllowNorthAmericanCountries()