Releases: maxmind/MaxMind-DB-Reader-dotnet
Releases · maxmind/MaxMind-DB-Reader-dotnet
4.2.0
- .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.
- We now use a mutex rather than a lock statement when opening the
database. This is done to reduce the likelihood of a race condition
when process are opening a single database when using
FileAccessMode.MemoryMappedGlobal
. - Performance improvements. Pull requests by GrAcgoire. GitHub #210, #211
and #212.
4.1.0
4.0.0
3.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.
- When decoding strings in a memory-mapped file, the reader no longer
allocates a temporarybyte[]
. This significantly improves performance but
requires the use ofunsafe
code. FileAccessMode.MemoryMapped
now works if the database path specified is
a symbolic link to the actual database.
2.6.1
2.6.0
2.5.0
- A
FindAll
method was added to theMaxMind.Db.Reader
class. This returns
an enumerator that enumerates over the MaxMind DB database. Pull request by
Jeff Johnson. GitHub #47. - A
CreateAsync
static method was added to asynchronously created a
MaxMind.Db.Reader
object from database file. Pull request by David
Warner. GitHub #44. - When deserializing to a class, you may now instruct the reader to set a
constructor parameter to be the network associated with the record. To do
this, use theNetwork
attribute. The parameter must be of type
MaxMind.Db.Network
. GitHub #56. - As part of #44, the optimization to reduce allocations when loading from
a seekable stream was removed. The optimization could cause poor
performance in some instances and its behavior with regard to the stream
position differed from the documented behavior.
2.4.0
2.3.0
- Reduce the number of allocations when creating a
MaxMind.Db.Reader
from
a seekable stream. Pull request by Maarten Balliauw. GitHub #38. - A
netstandard2.0
target was added to eliminate additional dependencies
required by thenetstandard1.4
target. Pull request by Adeel Mujahid.
GitHub #39. - As part of the above work, the separate Mono build files were dropped. As
of Mono 5.0.0,msbuild
is supported.