Releases: maxmind/GeoIP2-dotnet
Releases · maxmind/GeoIP2-dotnet
2.6.0-beta2
- Parameterless endpoint methods were added to
WebServiceClient
. These
return the record for the requesting IP address using theme
endpoint as
documented in the web services API documentation. - The target framework is now .NET 4.5 rather than 4.5.2 in order to work
better with Mono. GitHub #44.
2.6.0-beta1
- Upgrade MaxMindb.Db reader to 2.0.0-beta1. This includes significant
performance improvements.
2.5.0: Drop .NET 4.0 Support
- IMPORTANT: The target framework is now 4.5.2. Microsoft is ending support
for 4.0, 4.5, and 4.5.1 on January 12, 2016. Removing support for these
frameworks allows us to remove the dependency on the BCL libraries and fixes
several outstanding issues. Closes #38, #39, #40, and #42. - The assembly version was bumped to 2.5.0.
- Classes subclassing
NamedEntity
now have a default locale ofen
. This
allows theName
property to be used (for English names) when the object is
deserialized from JSON. Closes #41. - The
locale
parameter for theDatabaseReader
andWebServiceClient
constructors is now anIEnumerable<string>
rather than aList<string>
. - The tests now use NUnit 3.
2.4.0
2.4.0-beta1: Web Service Async Support, No RestSharp, Strong Name
- Async support was added to the
WebServiceClient
. Each web-service end
point now has a corresponding *Async(ip)` method. GitHub #1. - Use of RestSharp was replaced by
HttpWebRequest
for synchronous HTTP
requests andHttpClient
for asynchronous requests. Microsoft BCL libraries
are used to provideasync
/await
andHttpClient
support on .NET 4.0.
GitHub #33. - The library now has a strong name.
2.3.1: New MaxMind.Db version and exception serialization fix
- Upgrade to MaxMind.Db 1.1.0.
- Fix serialization on exceptions.
2.3.1-beta1: Update Dependencies
- Upgrade to Json.NET 7.0.1.
- Upgrade to MaxMind.Db 1.1.0-beta1. This release includes a number of
significant improvements for the memory-mapped file mode.
2.3.0
AverageIncome
andPopulationDensity
were added to theLocation
model for use with the new fields in GeoIP2 Insights.IsAnonymousProxy
andIsSatelliteProvider
inGeoIP2.Model.Traits
have
been deprecated. Please use our [GeoIP2 Anonymous IP
database](https://www.maxmind.com/en/geoip2-anonymous- ip-database) to
determine whether an IP address is used by an anonymizing service.
2.2.0
- All of the database methods in
DatabaseReader
and all of the web service
methods inWebServiceClient
now have a counterpart that takes an
IPAddress
instead of astring
. Pull request by Guillaume Turri. GitHub
#24. - The
JsonIgnore
attribute was added toNames
inNamedEntity
and
Subdivisions
inAbstractCityResponse
as these were already exposed to
JSON.NET through the private field backing them. Pull request by Dan Byrne
GitHub #21. - The interfaces
IGeoIP2DatabaseReader
andIGeoIP2WebServicesClient
were
added to facilitate dependency injection and mocking. Pull request by Naz
Soogund. GitHub #22. - A
HasCoordinates
getter was added to theLocation
class. This will
return true if both theLatitude
andLongitude
have values. Pull request
by Darren Hickling. GitHub #23. - All of the response and model properties now set the appropriate
JsonProperty
rather than relying an JSON.NET's automatic matching.
Serializing these objects should now product JSON much more similar to the
JSON returned by the web service and internal structure of the data in
database files. - Dependencies were updated to most recent versions.