Skip to content

Releases: maxmind/MaxMind-DB-Reader-dotnet

4.1.0

05 Dec 23:31
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.
  • Minor performance improvements.

4.0.0

03 Feb 22:00
1fa735a
Compare
Choose a tag to compare
  • This library no longer targets .NET 4.6.1.
  • .NET 6.0 was added as a target.

3.0.0

16 Nov 23:06
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.
  • When decoding strings in a memory-mapped file, the reader no longer
    allocates a temporary byte[]. This significantly improves performance but
    requires the use of unsafe code.
  • FileAccessMode.MemoryMapped now works if the database path specified is
    a symbolic link to the actual database.

2.6.1

06 Dec 22:54
Compare
Choose a tag to compare
  • netstandard2.1 was added as a target framework.

2.6.0

06 Dec 21:59
Compare
Choose a tag to compare
  • This library has been updated to support the nullable reference types
    introduced in C# 8.0.

2.5.0

21 Nov 23:40
Compare
Choose a tag to compare
  • A FindAll method was added to the MaxMind.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 the Network 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

11 Apr 14:24
Compare
Choose a tag to compare
  • Added FileAccessMode.MemoryMappedGlobal. When used, this will open the file
    in global memory map mode. This requires the "create global objects" right.
    Pull request by David Warner. GitHub #43.

2.3.0

27 Oct 21:30
Compare
Choose a tag to compare
  • 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 the netstandard1.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.

2.2.0

08 May 20:50
Compare
Choose a tag to compare
  • Switch to the updated MSBuild .NET Core build system. Pull request by Adeel
    Mujahid. GitHub #35.
  • Move tests from NUnit to xUnit.net. GitHub #35.

2.1.3

22 Nov 17:31
Compare
Choose a tag to compare
  • Update for .NET Core 1.1.