Skip to content

Releases: maxmind/GeoIP2-dotnet

5.4.1

24 Nov 22:06
Immutable release. Only release title and notes can be modified.
c435847

Choose a tag to compare

  • First release via Trusted Publishing.

5.4.0

20 Nov 22:25

Choose a tag to compare

  • .NET 10.0 has been added as a target.
  • A new Anonymizer object has been added to InsightsResponse. This object
    provides anonymizer-related data including VPN confidence scoring, provider
    name detection, and network last seen date. This data is available from the
    GeoIP2 Insights web service.
  • A new IpRiskSnapshot property has been added to MaxMind.GeoIP2.Model.Traits.
    This provides a risk score associated with the IP address, ranging from 0.01
    to 99. Higher scores indicate greater risk. This is available from the GeoIP2
    Insights web service.
  • The following properties in MaxMind.GeoIP2.Model.Traits have been marked
    Obsolete and users should migrate to using the Anonymizer object on the
    response instead: IsAnonymous, IsAnonymousVpn, IsHostingProvider,
    IsPublicProxy, IsResidentialProxy, and IsTorExitNode. These properties
    will continue to work but are deprecated in favor of the new Anonymizer
    object.
  • A new MaxMind.GeoIP2.Model.Anonymizer class has been added with the
    following properties:
    • Confidence - A score ranging from 1 to 99 representing percent confidence
      that the network is currently part of an actively used VPN service.
    • IsAnonymous - Indicates whether the IP belongs to any sort of anonymous
      network.
    • IsAnonymousVpn - True if the IP is registered to an anonymous VPN provider.
    • IsHostingProvider - True if the IP belongs to a hosting or VPN provider.
    • IsPublicProxy - True if the IP belongs to a public proxy.
    • IsResidentialProxy - True if the IP is on a suspected anonymizing network
      and belongs to a residential ISP.
    • IsTorExitNode - True if the IP belongs to a Tor exit node.
    • NetworkLastSeen - The last day the network was sighted in analysis of
      anonymized networks (available on .NET 6.0+ as DateOnly).
    • ProviderName - The name of the VPN provider associated with the network.

5.3.0

05 May 18:30

Choose a tag to compare

  • Support for the GeoIP Anonymous Plus database has been added. To do a
    lookup in this database, use the AnonymousPlus And TryAnonymousPlus
    methods on DatabaseReader.
  • .NET 6.0 and .NET 7.0 have been removed as targets as they have both
    reach their end of support from Microsoft. If you are using these versions,
    the .NET Standard 2.1 target should continue working for you.
  • .NET 9.0 has been added as a target.
  • MetroCode in MaxMind.GeoIP2.Model.Location has been marked Obsolete.
    The code values are no longer being maintained.

5.2.0

05 Dec 23:52

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

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

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

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

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

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

Choose a tag to compare

  • The IsResidentialProxy property has been added to
    MaxMind.GeoIP2.Responses.AnonymousIPResponse and
    MaxMind.GeoIP2.Model.Traits.