Releases: maxmind/GeoIP2-dotnet
Releases · maxmind/GeoIP2-dotnet
5.4.1
5.4.0
- .NET 10.0 has been added as a target.
- A new
Anonymizerobject has been added toInsightsResponse. 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
IpRiskSnapshotproperty has been added toMaxMind.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.Traitshave been marked
Obsoleteand users should migrate to using theAnonymizerobject on the
response instead:IsAnonymous,IsAnonymousVpn,IsHostingProvider,
IsPublicProxy,IsResidentialProxy, andIsTorExitNode. These properties
will continue to work but are deprecated in favor of the newAnonymizer
object. - A new
MaxMind.GeoIP2.Model.Anonymizerclass 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+ asDateOnly).ProviderName- The name of the VPN provider associated with the network.
5.3.0
- Support for the GeoIP Anonymous Plus database has been added. To do a
lookup in this database, use theAnonymousPlusAndTryAnonymousPlus
methods onDatabaseReader. - .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.
MetroCodeinMaxMind.GeoIP2.Model.Locationhas been markedObsolete.
The code values are no longer being maintained.
5.2.0
- .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
IsAnycastproperty was added toMaxMind.GeoIP2.Model.Traits. This
returnstrueif 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
5.0.0
4.1.0
- 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. TheMobileCountryCodeand
MobileNetworkCodeproperties were added toMaxMind.GeoIP2.Responses.IspResponse
for the GeoIP2 ISP database andMaxMind.GeoIP2.Model.Traitsfor 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
4.0.0
- 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.Jsonis now used for deserialization of web service requests.
Newtonsoft.Jsonis no longer supported for serialization or
deserialization.- The
Namesproperties onNamedEntitymodels are now
IReadOnlyDictionary<string, string>. - The
Subdivisionsproperty onCityResponseandInsightsResponseis now
anIReadOnlyList<Subdivision>. GeoNameIdproperties onNamedEntitymodels are nowlong?rather than
int?to match the underlying database.- The
httpMessageHandlerargument is now correctly initialized by the
WebServiceClientconstructor. - The
Metadataproperty was added toIGeoIP2DatabaseReader. Pull request
by Mihai Valentin Caracostea. GitHub #134 & #135.