Skip to content

Releases: EntglDb/BLite

v4.1.1

02 Apr 22:39

Choose a tag to compare

4.1.1 (2026-04-02)

Bug Fixes

  • Query, index and transaction optimizations (e7583cb)

BLite Studio v4.1.1

02 Apr 22:40

Choose a tag to compare

v4.1.0

01 Apr 23:44

Choose a tag to compare

4.1.0 (2026-04-01)

Features

  • complete async LINQ materialiser layer for IBLiteQueryable (#30) (2499054)

Bug Fixes

  • Add warm-start buffer sizing; remove WriteCString (90955bd)

BLite Studio v4.1.0

01 Apr 23:45

Choose a tag to compare

What's Changed

  • feat: complete async LINQ materialiser layer for IBLiteQueryable by @Copilot in #30

Full Changelog: v4.0.3...studio-v4.1.0

v4.0.3

31 Mar 10:13

Choose a tag to compare

4.0.3 (2026-03-31)

BLite Studio v4.0.3

31 Mar 10:08

Choose a tag to compare

What's Changed

Full Changelog: studio-v4.0.2...studio-v4.0.3

v4.0.2 — Async-Only API, Session Mode, OLAP & Storage Overhaul

30 Mar 19:47

Choose a tag to compare

What's New from v3.6.5 → v4.0.2

This release marks a major milestone for BLite. Here's a summary of everything that changed since v3.6.5.


🚨 Breaking Changes

v4.0.0 — Async-Only CRUD API

The synchronous CRUD methods have been removed. All insert, update, delete and query operations now require await. Update your code accordingly:

// Before (sync - no longer supported)
collection.Insert(entity);

// After (async only)
await collection.InsertAsync(entity);

✨ New Features

v3.8.0 — Session API & Server Mode

  • BLiteSession — per-connection isolated transaction context for server/multi-user scenarios
  • Server() base configuration — new fluent config entry point for server mode
  • BLiteMigration — built-in single ↔ multi-file database migration utility
  • KvGetWithExpiry — key-value retrieval with TTL/expiry support
  • ImportDictionary — bulk import from IDictionary sources
  • Session APIs, metadata lock — improved concurrency in multi-session environments

v3.7.0 — OLAP Query Optimizations

  • Significant performance improvements for analytical (OLAP) queries
  • Optimized GroupBy aggregation queries — up to several times faster on large datasets

v3.6.6–3.6.9 — Source Generator Hardening

  • Increased nested type traversal depth to 20 levels
  • BLITE001 build-time error for types skipped due to depth limits (no more silent failures)
  • BLITE003 build-time error when two entity types in the same context resolve to the same collection name — prevents silent data corruption
  • Fixed mapper name collisions when entity types share a simple class name across different namespaces
  • Fixed .ToCollection(name) parsing from OnModelCreating fluent chains (including const string references)

🐛 Bug Fixes

v4.0.1

  • ObjectId ordering — fixed comparison and sort for ObjectId fields
  • Execute deadlock — resolved a deadlock that could occur under concurrent Execute calls

v3.8.0 — Storage Layer

  • Replaced SemaphoreSlim with ReaderWriterLockSlim in PageFile — eliminates concurrent read/write races
  • Bit-tagged pageIds — collision-free multi-file page routing; fixes collection scans, WAL recovery, and path validation
  • Non-blocking checkpoints with deferred metadata writes — reduces write stalls
  • Lazy<PageFile> for collection files — avoids unnecessary file handles
  • Hardened PageFile post-dispose safety (volatile _disposed, ThrowIfDisposed, null fields on close)
  • Read lock on netstandard2.1 ReadPageAsync to prevent race with EnsureCapacityCore

v3.6.6

  • AddString EnsureCapacity now uses the actual UTF-8 byte count instead of character count — fixes buffer overruns with multi-byte characters

📦 NuGet Packages

Package Version
BLite 4.0.2
BLite.Bson 4.0.2
BLite.Caching 4.0.2
BLite.Core 4.0.2
BLite.SourceGenerators 4.0.2

Full Changelog: https://github.com/EntglDb/BLite/blob/main/CHANGELOG.md

BLite Studio v4.0.2

30 Mar 20:45

Choose a tag to compare

What's Changed

  • Fix FirstOrDefaultAsync(x => x.Id == value) always returning null on DocumentCollection<string, T> by @Copilot in #24

Full Changelog: v4.0.2...studio-v4.0.2

v4.0.1

26 Mar 11:14

Choose a tag to compare

4.0.1 (2026-03-26)

Bug Fixes

  • Support ObjectId ordering, fix Execute deadlock (609cb8a)

v4.0.0

25 Mar 15:34

Choose a tag to compare

4.0.0 (2026-03-25)

Features

  • Document async-only CRUD API & update samples (e13fe24)

Breaking Changes

  • Document async-only CRUD API & update samples (e13fe24)