Skip to content

Releases: mbdavid/LiteDB

v3.0.0-beta2

27 Nov 11:22
Compare
Choose a tag to compare
v3.0.0-beta2 Pre-release
Pre-release

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

20 Nov 11:00
Compare
Choose a tag to compare

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 to LiteEngine (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

07 Nov 22:36
Compare
Choose a tag to compare

Changes

  • Cache checkpoint removed
  • New parser ConnectionString

v2.0.2

25 Aug 00:06
Compare
Choose a tag to compare

Bugfix #284 - Revert connection string regex

v2.0.1

22 Aug 22:40
Compare
Choose a tag to compare

Bugfixes

  • Better error messages in deserialize #278
  • Connection string supports filename with "
  • Fix detect old version in shell
  • Tests missing password in encrypted datafile
  • Fix shrink bug
  • Adds FileHandler for UWP for better performance

v2.0.0

31 Jul 23:42
Compare
Choose a tag to compare

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 and Limit 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

v2.0.0-rc2: Merge pull request #214 from mbdavid/szurgot

20 Jul 23:47
Compare
Choose a tag to compare

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 back
  • RegisterAutoId<T> are back

Changes in RC2

  • To implement new disk read/write access, new datafile version was required.
  • Removed OnModelCreating. Use BsonMapper.Global instance
  • Removed UserVersion update checking. Now UserVersion is only an int stored in header page (update version must be developed in your solution)

v2.0.0-rc

23 Jul 15:31
Compare
Choose a tag to compare
v2.0.0-rc Pre-release
Pre-release

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

20 Nov 23:56
Compare
Choose a tag to compare
v2.0.0-beta Pre-release
Pre-release

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 and Limit 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 only Insert
  • There is no more transactions (begin, commit and rollback)
  • 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

v1.0.4

26 Oct 17:57
Compare
Choose a tag to compare

Changes

  • Bugfix #60 - Incorrect BsonIndex ctor
  • Bugifx #61 - Deserialize nullable values
  • #69 Sign assembly to NuGet