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