Skip to content

Releases: mbdavid/LiteDB

v5.0.10

09 Jan 21:17
Compare
Choose a tag to compare

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.

v5.0.9

06 Aug 16:29
Compare
Choose a tag to compare

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

v5.0.8

13 May 16:17
Compare
Choose a tag to compare

v5.0.7

14 Apr 14:13
Compare
Choose a tag to compare

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

v5.0.5

26 Mar 13:59
Compare
Choose a tag to compare

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

v5.0.4

12 Mar 21:27
Compare
Choose a tag to compare

v5.0.3

21 Feb 19:15
Compare
Choose a tag to compare

v5.0.2

10 Feb 20:03
Compare
Choose a tag to compare

v5.0.1

03 Feb 19:51
Compare
Choose a tag to compare

Bugfix

v5-rc

19 Jan 12:22
Compare
Choose a tag to compare
v5-rc Pre-release
Pre-release

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