Releases: mbdavid/LiteDB
v5.0.19
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
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
- Fixed left side IndexNode pointer to tail
- Added
readonly
to fields whose values are never modified or used asref
arguments by @Lehonti in #2352 - Clarify LiteDB.FSharp version support by @TeaDrivenDev in #2389
- Bugfix for #2385 Also adds full record support by fixing this bug. by @athendrix in #2384
- ResolveMember Extension by @pjy612 in #2236
- Fix Rebuild so that it truncates the database file correctly by @hizume in #2413
- Fix all kind of typos by @ltetak in #2410
- Simplified DiskWriterQueue with blocking concurrency by @ltetak in #2411
- Disk problems by @ltetak in #2412
- chore: throw exception when encounter unpaired surrogate instead of replace with U+FFFD by @anatawa12 in #2415
- New updates from master by @mbdavid in #2420
- v5.0.18 by @mbdavid in #2425
New Contributors
- @Lehonti made their first contribution in #2352
- @TeaDrivenDev made their first contribution in #2389
- @athendrix made their first contribution in #2384
- @hizume made their first contribution in #2413
- @ltetak made their first contribution in #2410
- @anatawa12 made their first contribution in #2415
Full Changelog: v5.0.17...v5.0.18
v5.0.17
What's Changed
- Fix AesStream Invalid Password exception in corrupted files by @anurakt27 in #2344
- Update LockService.cs to fix "The read lock is being released without being held" error. Fix for #641, 1637, 1993, 2017 by @mathis1337 in #2280
- Ambigous match found by @Luigi6821 in #2332
- Fix for issue: #2307 by @m-omerovic in #2317
- Fix #2300 issue with big collection sort by @matsakiv in #2302
- Update README.md by @namigop in #2296
- Added Seek and Position setter for LiteFileStream.Read by @mr-sven in #2148
- Added unique error codes to encryption-related exceptions by @arcanelab in #2259
New Contributors
- @anurakt27 made their first contribution in #2344
- @mathis1337 made their first contribution in #2280
- @Luigi6821 made their first contribution in #2332
- @m-omerovic made their first contribution in #2317
- @matsakiv made their first contribution in #2302
- @namigop made their first contribution in #2296
- @mr-sven made their first contribution in #2148
- @arcanelab made their first contribution in #2259
Full Changelog: v5.0.16...v5.0.17
v5.0.16
What's Changed
- use only mutex for Shared engine open and close synchronization and remove locks by @dev-joshi in #2293
- Fix Min(Func<T,TResult>) handling by @gcrossland-cosworth in #2287
- Change return type of ILiteRepository.Insert to match ILiteDatabase.Insert by @InvisiblePhil in #2260
- Fixed typo by @iArmanKarimi in #2267
- try fix SqlLike by @pjy612 in #2235
New Contributors
- @dev-joshi made their first contribution in #2293
- @gcrossland-cosworth made their first contribution in #2287
- @InvisiblePhil made their first contribution in #2260
- @iArmanKarimi made their first contribution in #2267
- @pjy612 made their first contribution in #2235
Full Changelog: v5.0.15...v5.0.16
v5.0.15
v5.0.14
v5.0.13
v5.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
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.