Skip to content

Releases: TrevorPilley/phone-number-parser

2.14.3

09 Apr 20:12
eab126e
Compare
Choose a tag to compare

Bug fixes

Kosovo - Corrected the subscriber number range for mobile numbers.

2.14.2

06 Apr 11:04
Compare
Choose a tag to compare

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

04 Apr 17:36
Compare
Choose a tag to compare

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

28 Mar 20:14
Compare
Choose a tag to compare

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

24 Mar 10:20
965a702
Compare
Choose a tag to compare

Bug fixes

United States - Corrected classification of personal numbers and added additional freephone ranges.

2.13.2

21 Mar 21:19
Compare
Choose a tag to compare

Bug fixes

American Samoa and Guam have the wrong continent assigned, both should be in Oceania.

2.13.1

17 Mar 21:42
Compare
Choose a tag to compare

Bug fixes

American Samoa, Canada, Guam, Puerto Rico, United States and United States Virgin Islands incorrectly had a trunk code set.

2.13.0

14 Mar 13:54
5288c51
Compare
Choose a tag to compare

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

04 Mar 21:28
Compare
Choose a tag to compare

This release corrects the central office codes for American Samoa

2.12.0

03 Mar 11:28
Compare
Choose a tag to compare

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()