Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: litedb-org/LiteDB

v6.0.0-prerelease.0052

30 Sep 08:15
66ec615

Choose a tag to compare

Pre-release

πŸš€ LiteDB v6.0 Prerelease#52: Introducing Vector Search!

This release marks a significant milestone for LiteDB with the introduction of Vector Search! This powerful new feature enables you to build modern AI-powered applications, such as semantic search, recommendation engines, and Retrieval-Augmented Generation (RAG) systems, directly within LiteDB.

✨ Major New Feature: Vector Search

  • Native Vector Storage & Indexing: We've added a native BsonVector type (for float[]) and a high-performance vector index based on the HNSW algorithm. You can now perform fast Approximate Nearest Neighbor (ANN) searches using standard distance metrics: Cosine (default), Euclidean, and DotProduct.

  • New Fluent Query API: The query API has been extended with intuitive methods for vector operations.

    using LiteDB.Vector; // New namespace for vector extensions!
    
    // Create a vector index on your embedding property
    var docs = db.GetCollection<Document>("docs");
    docs.EnsureIndex(x => x.Embedding, new VectorIndexOptions(256));
    
    // Find the top 5 most similar documents to your query vector
    var results = docs.Query()
        .TopKNear(x => x.Embedding, queryVector, k: 5)
        .ToList();
  • SQL Support & Demo: Vector searches are also supported in SQL via the VECTOR_SIM() function. To see a complete, end-to-end example, check out the new LiteDB.Demo.Tools.VectorSearch project in the repository, which builds a semantic search engine using Google Gemini for embeddings.

πŸ› οΈ Other Improvements & Fixes

  • Reliability: Improved data integrity for external file storage (LiteFileStorage) by ensuring streams are correctly checkpointed on transaction commit.
  • Build: The build process has been optimized to better support shallow clones in CI/CD environments.

What's Changed

Full Changelog: v6.0.0-prerelease.0015...v6.0.0-prerelease.0052

v6.0.0-prerelease.0015

23 Sep 18:02

Choose a tag to compare

Pre-release

What's Changed

Full Changelog: v6.0.0-prerelease.9.10...v6.0.0-prerelease.0015

LiteDB 6.0.0-prerelease.9.10

21 Sep 21:19
fa00f17

Choose a tag to compare

Pre-release

What's Changed

Full Changelog: v6.0.0-prerelease.9...v6.0.0-prerelease.9.10

v5.0.21

05 Jul 16:26
8406508

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v5.0.20...v5.0.21

v5.0.20

04 Jun 19:44

Choose a tag to compare

Announcement

The LiteDB team is excited to announce that we have added two new maintainers to the project.
We are now working on more frequent releases, better stability and performance, and better communication with the community.
We are excited to see where this project goes and are looking forward to working with the community to make LiteDB the best it can be.

And if you haven't already, please join our Discord server:

What's Changed

New Contributors

Full Changelog: v5.0.19...v5.0.20

v5.0.19

21 Feb 16:38

Choose a tag to compare

What's Changed

  • Detect infinite loops in document or index node loops
  • Switch to using PackageLicenseExpression by @lahma in #2423
  • Add LiteDb.Migration to readme by @JKamsker in #2429
  • Fix issue: Id is null when anon. type is de/-serialized by @JKamsker in #2433

New Contributors

Full Changelog: v5.0.18...v5.0.19

v5.0.18

19 Feb 16:29

Choose a tag to compare

What's New

  • Added "AutoRebuild" option in Connection String

In this version, the Rebuild command has been completely redesigned to be able to recover a full or partial database in case of data corruption. When detecting a structural error (known as the ENSURE exception) the data file will be modified to indicate that this file may be corrupt. When reopening the database, a rebuild process can be performed recovering as much data as possible. Use the "auto-rebuild=true" option in the connection string to activate this functionality. Possible errors found during the rebuild process will be stored in a new collection called "_rebuild_errors". A backup of the original file is created with the "-backup" suffix

What's Changed

New Contributors

Full Changelog: v5.0.17...v5.0.18

v5.0.17

21 Jul 12:52
d13058f

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v5.0.16...v5.0.17

v5.0.16

09 Mar 20:01

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v5.0.15...v5.0.16

v5.0.15

23 Dec 23:00

Choose a tag to compare