Skip to content

Comments

Bump LiteDB from 4.1.4 to 5.0.13#1

Open
dependabot[bot] wants to merge 1 commit intoacmebot-net6from
dependabot/nuget/src/examples/ACMEForms/LiteDB-5.0.13
Open

Bump LiteDB from 4.1.4 to 5.0.13#1
dependabot[bot] wants to merge 1 commit intoacmebot-net6from
dependabot/nuget/src/examples/ACMEForms/LiteDB-5.0.13

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Jan 27, 2026

Updated LiteDB from 4.1.4 to 5.0.13.

Release notes

Sourced from LiteDB's releases.

5.0.13

  • Fix security vulnerability in deserialize bad json in .NET 4.5

5.0.12

  • Made DiskWriterQueue more reliable so that it can handle multiple back calls better
  • Fix missing _type when serializing a covariant collection
  • Fix reload last index node after some page defrag
  • Replace ToUpper to ToUpperInvariant
  • Fix monitor transaction leaking
  • Fix minor bugs

5.0.11

Bugfixes

  • #​1275
  • #​1772
  • #​1956
  • #​2021
  • #​2023

5.0.10

Bugfixes

  • Fix invalid multi-page CString reader
  • Fixed issue when checkpoint soft limit not applied for manual transaction

ENSURE in Release mode

  • This new 5.0.10 contains an adicional test layer called ENSURE used in all storage/cache layer. Until now, this tests was executed only in DEBUG mode but now we add into RELEASE mode too. If any ENSURE are violated a system exception will be throwed (prefix message "LiteDB ENSURE:"). This will better for detect and prevent data corruption database and much better diagnostics and bugfixes. Complex tests (like check if a byffer is empty) still run in DEBUG mode only to avoid performance down.

5.0.9

Changes

  • The LiteDatabase ctor that takes a Stream for its data storage now takes another Stream as log storage. LiteDB can now be used with custom storage solutions (as long as it implements Stream).
  • Custom serializers and deserializers can now be used even with basic BSON types. This is useful if you don't want to lose precision when storing DateTime.

Bug fixes

  • #​1684
  • #​1685
  • #​1695
  • #​1701
  • #​1735
  • #​1740
  • #​1754
  • #​1761
  • #​1774
  • #​1777

5.0.8

Bug fixes

  • #​1630
  • #​1633
  • #​1636
  • #​1638
  • #​1650
  • #​1651
  • #​1656
  • #​1664
  • #​1665
  • #​1668
  • #​1678
  • #​1681

5.0.7

New

  • Maximum index key length increased to 1023 bytes
  • Upgrade option in ConnectionString is now a bool again (DataOnly no longer needed because index key length was increased)
  • Id field in resolved includes are now stored with $id key (instead of _id)

Bug fixes

  • #​1586
  • #​1589
  • #​1597
  • #​1607
  • #​1611
  • #​1613
  • #​1626

5.0.5

New

  • Max document size raised to 16MB
  • Queries can now correctly use index over array field
  • Upgrade option in ConnectionString is now an enum

Bug fixes

  • #​1552
  • #​1580
  • #​1585

5.0.4

Bugfixes

  • #​1551
  • #​1546
  • #​1538
  • #​1537

5.0.3

Bugfixes

  • #​1468
  • #​1491
  • #​1473
  • #​1469
  • #​1459

5.0.2

Bugfixes

  • #​1458
  • #​1452
  • #​1445
  • #​1429

5.0.1

Bugfix

  • #​1431 - No save changes
  • #​1427 - FindById

5-rc

New

  • Collation: define culture and sort comparer options to your database
  • Shrink was renamed to Rebuild with change password/change collation option
  • Move some engine options to Pragmas
  • Rename ConnectionMode.Embedded to ConnectionType.Direct
  • Adding EnsureIndex method in Repository pattern
  • Support JsonEx syntax for special data types in BsonExpression parser
  • Create $page_list and $dump(pageID) system collections
  • Do not allow current document in aggregation expressions
  • Lot of bugfixes

BREAKING: Datafiles created with v5-alpha/beta are not compatible with this version. You must re-create your datafile using v5-rc

5-beta

New

  • Be compatible with NETStandard 1.3
  • Add back UserVersion for LiteEngine and LiteDatabase
  • Support for ISet<T>
  • Implement EnumAsInteger in BsonMapper for better LINQ support
  • Shell tool in netcore3.0
  • Upgrade to VS2019

5-alpha2

New

  • Removed LiteDB.Studio (moved to another repo)
  • Added back LiteDB.Shell (netcore tool) for SQL commands
  • Implement Shrink
  • Create MAP and FILTER expression methods:
    • MAP(children => age)
    • FILTER(items => price > 100)
  • Add expression methods: REMOVE_KEYS, OID_CREATIONDATE, TO_LOCAL, TO_UTC, DISTINCT, UNION, EXCEPT, TOP
  • Added support for custom ctor in classes to BsonDocument mapper
    • public People(string name) { this.Name = name; }
  • Remove LINQ GroupBy<T, K> (must use BsonExpression)
  • Added transaction monitor to manage how memory LiteDB pages will use in transactions
  • Implement first SharedConnection to keep database closed after each command (can be used for multiple processes in same machine)
  • BugFixes (see commit log)

5-alpha

Here is the new alpha version of LiteDB v5. It's an alpha version, so that means it's not ready for production yet! The API may change and data format can also change before final release. But we would be very pleased if you could test the new version and give feedback or report any issues that you stumble upon.

New major version

  • Complete new engine - WAL (Write Ahead Log)
  • MultiVersion Concurrency Control (Snapshots & Checkpoint)
  • Full transaction support
  • Support for multiple readers without locking
  • Write lock on collection-level instead of database-level
  • Doubled the amount of indexes per collection, now up to 32 indexes per collection
  • New FileStorage with custom Id type
  • New BsonExpressions: transform, filter, map, reduce, ..
  • New Query Pipe inside engine
  • Simple upgrade of existing LiteDB v4 databases (use upgrade=true in connection string)
  • New Linq visitor (with support for more expressions)
  • New fluent Query
  • And more than one year of hard working!!

SQL Support

  • New SQL language support - very similar to ANSI SQL
  • Select, Insert, Update, Delete, Create Index, Drop Index, Drop Collection, Explain
  • Support for GroupBy, Having, Limit, Offset, OrderBy, Includes, ...
  • System collections (get information about the database)
  • Support to system function (import/export CSV/JSON)

LiteDB Studio

  • New GUI for Windows
  • Multi tab, multi thread, multi transactions
  • Interact with your database and collections using SQL statements

Know issues

  • Missing Shrink method and UserVersion property
  • Curretly not completely compatible with LinqKit PredicateBuilder
  • Only single process for now (with multi thread support) - no multi process yet

Commits viewable in compare view.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code labels Jan 27, 2026
---
updated-dependencies:
- dependency-name: LiteDB
  dependency-version: 5.0.13
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot changed the base branch from acmebot to acmebot-net6 January 28, 2026 14:13
@dependabot dependabot bot force-pushed the dependabot/nuget/src/examples/ACMEForms/LiteDB-5.0.13 branch from 3e6a9c8 to a822fb6 Compare January 28, 2026 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants