Releases: litedb-org/LiteDB
Releases · litedb-org/LiteDB
v3.0.0-beta3
News
- Back support for shared mode - multi process (can open multiple instances) - (not supported in NetStandard)
- Removed checkpoint cache
- Support
Include
using string path - Datafile upgrade support from v2
- Support PredicateBuilder
- Bugfixes
v3.0.0-beta2
News
- Change compiler do C# 4.0 to be compatible with Unity3D
- Add Upsert in LiteCollection
- Add missing LiteDatabase method (RenameCollection, Shrink, DropCollection, GetCollectionNames)
BugFix
- Fix Unbox in NetStandard
v3.0.0-beta
New Features
- Thread Safe - share your LiteDatabase instance across threads
- MultiKey index - support index in array field
- Faster than ever - compare results with SQLite here
- LiteEngine - new simple class to access your documents
- New checkpoint cache to support large transactions using journal file
- BsonDocument implements IDictionary, BsonArray implements IList
- Autocommit disabled support
- Less 96 bytes per document
- New: Upsert, FindIndex, Query.Not(Query), Query.Where(Func<>)
- New BsonMapper class: support Fields and NonPublic members
- FileStorage now supports OpenWrite("fileId")
- Virtual index fields -.Index("total", x => x.Products.Sum(p => p.Price))
- [BsonRefAttribute]
- Shrink with change password
- Open datafile in ReadOnly mode
- LiteDB.Core was removed - LiteDB.dll is now NETStandard 1.4 (Supports UWP, Xamarin, Core, Mono)
Changes
- Some methods are moved from
LiteDatabase
toLiteEngine
(GetCollectionNames
,CollectionExists
,DropCollection
,RenameCollection
,Shrink
). To access, use:db.Engine.GetCollectionNames()
. - New datafile version - no update yet
Roadmap to final release
- Bugfixes
- Upgrade datafile from v1.x and v2.x to 3
- API be more compatible with 2.x (using [Obsolate])
- LiteEngine.Dump
- Update Wiki/Site
- Write some code examples
v2.0.4
v2.0.2
v2.0.1
v2.0.0
New features in v2
- Portable version: LiteDB.Core (Supports UWP 8.1/10, Xaramin.iOS and Xaramin.Android)
- Generic data access layer - can use any
Stream
or you can write your own disk access layer - Database encription option (using
password=
in connection string) - New memory cache manager (do not consume too memory in large inserts/updates)
- Better mapping class from your entity to
BsonDocument
(like Configurations in EntityFramework) - Better cross reference with
DbRef
mapping (see unit tests examples) - Lazy engine load (open datafile only when run a command)
- Reduce your database size with
shrink()
- Support for
Initial Size
andLimit Size
database (connection string) - Complete re-write engine classes width full debug logger
- Complete stats about data/index usage
- Dump file to Import/Export your data using shell commands
- Full documentation for v2 on Wiki
- See more examples in http://www.litedb.org/
Changes
- New datafile - to update, check here: https://github.com/mbdavid/LiteDB/wiki/Update-Datafile
- Transaction API changes (now transaction is a class, use:
using(var transaction = db.BeginTrans()) { ... }
InsertBulk
is onlyInsert
- No more datafile version control (still have a
UserVersion
to dev make your own version control) - Removed
DbRef<T>
class, see: https://github.com/mbdavid/LiteDB/wiki/DbRef
v2.0.0-rc2: Merge pull request #214 from mbdavid/szurgot
New features in RC2
- Portable version: NuGet package:
Lite.Core
that support PCL/UWP - New disk access (for safe concurrency) implementation
- Transactions are back
- No more ThreadSafe (only ProcessSafe). Always create
LiteDatabase
instances. - Close datafile after each command execution
BsonMapper.Global
are backRegisterAutoId<T>
are back
Changes in RC2
- To implement new disk read/write access, new datafile version was required.
- Removed
OnModelCreating
. UseBsonMapper.Global
instance - Removed
UserVersion
update checking. NowUserVersion
is only anint
stored in header page (update version must be developed in your solution)
v2.0.0-rc
New features in RC
- Datafile encryption: now you can use password to protect your datafile (uses DES cryptography)
- Database upgrade from v.0.9.0 and 1.0.x (use
LiteDB.Shell.exe myold.db --upgrade mynew.db
) - Export database as dump file (insert commands)
- Added collections stats (data/index pages, disk usage, ...) shell:
db.collection.stats
Changes in RC
- Remove virtual fields
- Better concurrency support
- Better memory manager: using disk cache/journal in big transactions. Now LiteDB avoid too many memory consume when are reading/writing too long data loop in a collection.
Roadmap to v2
- Compile in Portable Class Library
- Only bug fixes
v2.0.0-beta
New features in v2.0.0-beta
- Generic data access layer - can use any
Stream
or you can write your own disk access layer - Better mapping class from your entity to
BsonDocument
(like Configurations in EntityFramework) - Virtual property (Formula) as index field
- Better cross reference with
DbRef
mapping (see unit tests examples) - ThreadSafe / ProcessSafe
- Lazy engine load (open datafile only when run a command)
- Reduce your database size with
shrink()
- Support for
Initial Size
andLimit Size
database (connection string) - Complete re-write engine classes width full debug logger
- See more examples in http://www.litedb.org/
Breaking changes
- Datafile version changed
InsertBulk
is onlyInsert
- There is no more transactions (
begin
,commit
androllback
) - Removed
UserVersion
- There are more minor details that will be in wiki document with a "upgrade from 1.0 to 2.0" before release final version
This version is beta and can be changed before final release.
Roadmap to v2
- A new implementation of
UserVersion
- CLIent tool (with shell support) for common tasks, like Import/Export/Shrink with of old versions (v0.9, v1.0.x) supports and data migrations
- Update all wiki documentation (move to readme.io)
- Compile in Portable Class Library (PCL) for mobile