Releases: litedb-org/LiteDB
Releases · litedb-org/LiteDB
v5.0.11
v5.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.
v5.0.9
Changes
- The
LiteDatabase
ctor that takes aStream
for its data storage now takes anotherStream
as log storage. LiteDB can now be used with custom storage solutions (as long as it implementsStream
). - 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
v5.0.7
New
- Maximum index key length increased to 1023 bytes
Upgrade
option inConnectionString
is now abool
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
)