Skip to content

Releases: maxmind/GeoIP2-dotnet

5.2.0

05 Dec 23:52
Compare
Choose a tag to compare
  • .NET 5.0 has been removed as a target as it has reach its end of life.
    However, if you are using .NET 5.0, the .NET Standard 2.1 target should
    continue working for you.
  • .NET 7.0 and .NET 8.0 have been added as a target.
  • The IsAnycast property was added to MaxMind.GeoIP2.Model.Traits. This
    returns true if the IP address belongs to an anycast
    network
    . This is available for the
    GeoIP2 Country, City Plus, and Insights web services and the GeoIP2 Country,
    City, and Enterprise databases.

5.1.0

04 Feb 23:45
Compare
Choose a tag to compare
  • Update System.Text.Json to 6.0.1 for .NET Standard 2.0 and 2.1.

5.0.0

04 Feb 23:29
Compare
Choose a tag to compare
  • This library no longer targets .NET 4.6.1.
  • .NET 6.0 was added as a target.
  • On .NET 5.0+, HttpClient is now used for synchronous requests instead of
    WebRequest.

4.1.0

19 Nov 23:04
b7e66e8
Compare
Choose a tag to compare
  • Support for mobile country code (MCC) and mobile network codes (MNC) was
    added for the GeoIP2 ISP and Enterprise databases as well as the GeoIP2
    City and Insights web services. The MobileCountryCode and
    MobileNetworkCode properties were added to MaxMind.GeoIP2.Responses.IspResponse
    for the GeoIP2 ISP database and MaxMind.GeoIP2.Model.Traits for the
    Enterprise database and the GeoIP2 City and Insights web services. We expect
    this data to be available by late January, 2022.

4.0.1

19 Nov 22:35
Compare
Choose a tag to compare
  • This release fixes an issue with 4.0.0 where the synchronous web service
    methods could cause an unexpected JSON decoding error. There are no other
    changes. The async WebServiceClient methods and the DatabaseReader were
    not affected by the issue.

4.0.0

17 Nov 18:42
d718fc8
Compare
Choose a tag to compare
  • This library now requires .NET Framework 4.6.1 or greater or .NET Standard
    2.0 or greater.
  • .NET 5.0 was added as a target framework.
  • System.Text.Json is now used for deserialization of web service requests.
    Newtonsoft.Json is no longer supported for serialization or
    deserialization.
  • The Names properties on NamedEntity models are now
    IReadOnlyDictionary<string, string>.
  • The Subdivisions property on CityResponse and InsightsResponse is now
    an IReadOnlyList<Subdivision>.
  • GeoNameId properties on NamedEntity models are now long? rather than
    int? to match the underlying database.
  • The httpMessageHandler argument is now correctly initialized by the
    WebServiceClient constructor.
  • The Metadata property was added to IGeoIP2DatabaseReader. Pull request
    by Mihai Valentin Caracostea. GitHub #134 & #135.

3.3.0

25 Sep 19:02
Compare
Choose a tag to compare
  • The IsResidentialProxy property has been added to
    MaxMind.GeoIP2.Responses.AnonymousIPResponse and
    MaxMind.GeoIP2.Model.Traits.

3.2.0

28 Apr 17:23
Compare
Choose a tag to compare
  • You may now create WebServiceClient as Typed Client with
    IHttpClientFactory in .NET Core 2.1+. Pull Request by Bojan Nikolić.
    GitHub #115 & #117.
  • The WebServiceClient constructor now supports an optional
    httpMessageHandler parameter. This is used in creating the HttpClient
    for asynchronous requests.

3.1.0

06 Dec 23:14
Compare
Choose a tag to compare
  • This library has been updated to support the nullable reference types
    introduced in C# 8.0.
  • A Network property has been added to the various response models. This
    represents the largest network where all the fields besides the IP
    address are the same.
  • The StaticIPScore property has been added to MaxMind.GeoIP2.Model.Traits.
    This output is available from GeoIP2 Precision Insights. It is an indicator
    of how static or dynamic an IP address is.
  • The UserCount property has been added to MaxMind.GeoIP2.Model.Traits.
    This output is available from GeoIP2 Precision Insights. It is an
    estimate of the number of users sharing the IP/network over the past
    24 hours.
  • Updated documentation of anonymizer properties - IsAnonymousVpn and
    IsHostingProvider - to be more descriptive.
  • netstandard2.1 was added as a target framework.

3.0.0

11 Apr 14:45
Compare
Choose a tag to compare
  • The userId constructor parameter for WebServiceClient was renamed to
    accountId and support was added for the error codes ACCOUNT_ID_REQUIRED
    and ACCOUNT_ID_UNKNOWN.
  • The exception classes are no longer serializable when using the .NET
    Framework. This eliminates a difference between the .NET Framework
    assemblies and the .NET Standard ones.
  • The AutonomousSystemNumber properties on MaxMind.GeoIP2.Model.Traits,
    MaxMind.GeoIP2.Responses.AsnResponse, and
    MaxMind.GeoIP2.Responses.IspResponse are now long? to match the underlying
    types in the databases.
  • MaxMind.Db was upgraded to 2.4.0. This adds a new file mode enum value for
    the database reader, FileAccessMode.MemoryMappedGlobal. When used, this will
    open the file in global memory map mode. This requires the "create global
    objects" right.