From 56da625c71a92b698ae3c1a02d9c0507a254a7ae Mon Sep 17 00:00:00 2001 From: mbdavid Date: Wed, 20 Jul 2016 20:34:45 -0300 Subject: [PATCH] Update to rc2 --- .../LiteDB.Tests.Android/TestPlatform.cs | 2 +- .../LiteDB.Tests.iOS/TestPlatform.cs | 2 +- README.md | 19 +++++++++++++------ 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/LiteDB.Platform/LiteDB.Tests.Android/TestPlatform.cs b/LiteDB.Platform/LiteDB.Tests.Android/TestPlatform.cs index 2981b199f..7d6afb6e9 100644 --- a/LiteDB.Platform/LiteDB.Tests.Android/TestPlatform.cs +++ b/LiteDB.Platform/LiteDB.Tests.Android/TestPlatform.cs @@ -16,7 +16,7 @@ public class TestPlatform { public static string GetFullPath(string filename) { - return Path.GetFullPath(Path.GetTempPath()) + filename; + return Path.GetFullPath(Path.GetTempPath()) + filename; } public static long GetFileSize(string filename) diff --git a/LiteDB.Platform/LiteDB.Tests.iOS/TestPlatform.cs b/LiteDB.Platform/LiteDB.Tests.iOS/TestPlatform.cs index 6e54f1bc7..247af92fa 100644 --- a/LiteDB.Platform/LiteDB.Tests.iOS/TestPlatform.cs +++ b/LiteDB.Platform/LiteDB.Tests.iOS/TestPlatform.cs @@ -16,7 +16,7 @@ public class TestPlatform { public static string GetFullPath(string filename) { - return Path.GetFullPath(Path.GetTempPath()) + filename; + return Path.GetFullPath(Path.GetTempPath()) + filename; } public static long GetFileSize(string filename) diff --git a/README.md b/README.md index 76639dc30..19a8ee09e 100644 --- a/README.md +++ b/README.md @@ -7,11 +7,11 @@ LiteDB is a small, fast and lightweight NoSQL embedded database. - Serverless NoSQL Document Store - Simple API similar to MongoDB - 100% C# code for .NET 3.5 in a single DLL (less than 200kb) -- Support for Portable UWP/PCL (thanks to @szurgot) +- Support for Portable UWP/PCL (thanks to @negue and @szurgot) - ACID transactions - Data recovery after write failure (journal mode) - Datafile encryption using DES (AES) cryptography -- Map your POCO classes to `BsonDocument` +- Map your POCO classes to `BsonDocument` using attributs or fluent API - Store files and stream data (like GridFS in MongoDB) - Single data file storage (like SQLite) - Index document fields for fast search (up to 16 indexes per collection) @@ -19,16 +19,20 @@ LiteDB is a small, fast and lightweight NoSQL embedded database. - Shell command line - [try this online version](http://www.litedb.org/#shell) - Open source and free for everyone - including commercial use - Install from NuGet: `Install-Package LiteDB` +- Install portable verion from NuGet: `Install-Package LiteDB.Core` -## New features in v2.0.0 -- Generic data access - can use any `Stream` +## New features in v2.0.0-rc2 +- Generic data access - can use any `Stream` as datafile - Better mapping of classes from your entity to `BsonDocument` (like EntityFramework) - Better cross reference with `DbRef` mapping - Lazy engine load (open the datafile only when running a command) - Reduce your database size with shrink - Support for `Initial Size` and `Limit Size` databases - Complete re-write of engine classes with full debug logger -- See more examples at http://www.litedb.org/ +- Complete re-write disk operation to be more safe +- Back transaction control +- Back `Mapper.Global` class mapper definition +- See more examples at http://www.litedb.org/ and unit tests ## Try online @@ -94,7 +98,6 @@ using(var db = new LiteDatabase(@"C:\Temp\MyData.db")) - One database **per account/user** data store - Few concurrent write operations - ## Changelog Change details for each release are documented in the [release notes](https://github.com/mbdavid/LiteDB/releases). @@ -104,3 +107,7 @@ Change details for each release are documented in the [release notes](https://gi [MIT](http://opensource.org/licenses/MIT) Copyright (c) 2016 - MaurĂ­cio David + +## Thanks + +A special thanks to @negue and @szurgot helping with portable version. \ No newline at end of file