LiteDB

LiteDB - A .NET NoSQL Document Store in a single data file

MIT License

Stars
8.2K

Bot releases are hidden (Show)

LiteDB - v5.0.19 Latest Release

Published by mbdavid 8 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/mbdavid/LiteDB/compare/v5.0.18...v5.0.19

LiteDB - v5.0.18

Published by mbdavid 8 months ago

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: https://github.com/mbdavid/LiteDB/compare/v5.0.17...v5.0.18

LiteDB - v5.0.17

Published by mbdavid about 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/mbdavid/LiteDB/compare/v5.0.16...v5.0.17

LiteDB - v5.0.16

Published by mbdavid over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/mbdavid/LiteDB/compare/v5.0.15...v5.0.16

LiteDB -

Published by mbdavid almost 2 years ago

LiteDB -

Published by mbdavid almost 2 years ago

  • Fix PR #2227 (thanks to @rainman-306)
LiteDB -

Published by mbdavid almost 2 years ago

  • Fix security vulnerability in deserialize bad json in .NET 4.5
LiteDB - v5.0.12

Published by mbdavid over 2 years ago

  • 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
LiteDB - v5.0.11

Published by lbnascimento about 3 years ago

Bugfixes

  • #1275
  • #1772
  • #1956
  • #2021
  • #2023
LiteDB - v5.0.10

Published by mbdavid almost 4 years ago

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.
LiteDB - v5.0.9

Published by lbnascimento about 4 years ago

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
LiteDB - v5.0.8

Published by lbnascimento over 4 years ago

Bug fixes

  • #1630
  • #1633
  • #1636
  • #1638
  • #1650
  • #1651
  • #1656
  • #1664
  • #1665
  • #1668
  • #1678
  • #1681
LiteDB - v5.0.7

Published by lbnascimento over 4 years ago

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
LiteDB - v5.0.5

Published by lbnascimento over 4 years ago

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
LiteDB - v5.0.4

Published by lbnascimento over 4 years ago

Bugfixes

  • #1551
  • #1546
  • #1538
  • #1537
LiteDB - v5.0.3

Published by mbdavid over 4 years ago

Bugfixes

  • #1468
  • #1491
  • #1473
  • #1469
  • #1459
LiteDB - v5.0.2

Published by mbdavid over 4 years ago

Bugfixes

  • #1458
  • #1452
  • #1445
  • #1429
LiteDB -

Published by mbdavid over 4 years ago

Bugfix

  • #1431 - No save changes
  • #1427 - FindById
LiteDB - v5-rc

Published by mbdavid over 4 years ago

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

LiteDB - v5-beta

Published by mbdavid almost 5 years ago

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