Skip to content

Releases: CoreyKaylor/Lightning.NET

v0.19.1

20 Oct 13:42

Choose a tag to compare

Bug Fixes

  • Fixed string marshalling issue in native LMDB path handling (#187)
    • Added proper null terminators to path strings in mdb_env_open, mdb_env_copy, and mdb_env_copy2 functions
    • Ensures correct interop with native LMDB library when passing file paths

v0.19.0

22 Sep 16:15

Choose a tag to compare

New Features

  • Windows ARM64 Support: Added native support for Windows on ARM64 architecture
    • Thanks to #186 and the inspiration from @bulpet
    • Includes native binaries and build script updates for win-arm64 platform

Other Changes

  • Added NuGet publish workflow for automated package publishing

v0.18.1

27 May 16:04

Choose a tag to compare

This release includes a minor improvement on the finalizer path for LightningDatabase that could cause a system crash even when close on dispose is set to false.

More native lib additions, better comments, more tests

03 Mar 18:30

Choose a tag to compare

This release largely ensured there is better coverage with the native methods available in the LMDB available in this library.

  • Added overloads for Copy that include FileStream (file descriptor in the native lib)
  • Ability to set environment flags and get existing flags
  • A LOT more test coverage providing much better examples of different use-cases
  • Improved many of the XML doc comments throughout

Minor binaries fixes and stats addition

15 Jan 19:03

Choose a tag to compare

  • Database stats addition from @DecoyFish
  • Recompile native binaries to fix duplicate binaries issue in linux/arm targets
  • Updating target framework versions to remove netcoreapp3.1

LMDB 0.9.33 and remove event delegates 😯

27 Nov 23:05

Choose a tag to compare

  • Remove some debug code from compiled native binaries
  • Update LMDB native binaries to 0.9.33
  • Return key/value pairs in several missing cursor methods (related to older design modifications)
  • No longer support Windows auto-resize DLL. You can compile it yourself or grab the older binaries, but has been unsupported for a long time in the native project
  • Updated to net9.0 and language v13
  • BREAKING: Sorry, but I have done away with the convoluted internals using .NET event delegates to handle event, tx, child tx scenarios for you. If you were relying previously for this library to handle those for you, it will not require you to manage the correct order of things

Mobile binaries and fixes

11 Oct 20:27

Choose a tag to compare

Adds native binaries for Android and iOS targets.
Adds mdb_cursor_count from @adamfur
Fixes CopyTo swallowed error from @DecoyFish
Fixes string marshalling for paths in .NET 6 from @Sonix

net7.0 & C# 11 & LMDB 0.9.29

04 Feb 20:43

Choose a tag to compare

  • Updated all LMDB native binaries to 0.9.29 or equivalent commit from master for auto-grow on Windows
  • Added binary for osx-arm64
  • Fixed Windows x86 native binary when auto-grow is enabled
  • All binaries are produced deterministically with repository script now
  • Fixed spelling errors on TransactionState (breaking but simple)
  • Simplified targets file for .NET framework references
  • Added target for net7.0
  • Use LibraryImport over DllImport for net7.0
  • Fixed bug that closed cursor when it was already closed for us @4deeptech @sebastienros @AlgorithmsAreCool @pepelev
  • Fixed for net7.0 environment path now marshalling as UTF8
  • CI build simplified and now uses binaries in repo for all OS's for better coverage on binary script
  • Updated code-style for C# 11 and fixed many inconsistencies in code

.NET 6 and Auto-Resize on Windows Fix

04 Jan 22:04

Choose a tag to compare

Long overdue due to all the typical excuses (day jobs and all).

  • Adds target for .NET 6
  • Fix for auto-resize on startup via @valeriob

v0.14.0

06 Sep 13:01

Choose a tag to compare

  • Windows now supports auto-grow as an optional environment setting.
    • Works only on netcoreapp3.1 and net5.0
  • Linux binaries are now included in the published nuget package via @ubercellogeek
  • Fix for silent failure on AsEnumerable
  • Added XML doc comments to nuget package via @mralexes
  • Fix for arithmetic overflow via @pepelev
  • Optionally omit closing database handle via @adamfur