See also LiteDB/releases
LiteDB 5.0.21
LiteDB 5.0.20
LiteDB 5.0.19
LiteDB 5.0.18
LiteDB 5.0.17
LiteDB 5.0.16
LiteDB 5.0.15
LiteDB 5.0.14
LiteDB 5.0.13
Maintenance: master -> main, update links.
Build for netstandard2.0. This fixes PS v7 issues (some "method not found").
- PowerShell 5.1
- LiteDB 5.0.12
New-LiteDatabase
, Use-LiteDatabase
:
- changed parameter
Stream
to named - new parameters:
Connection
,ReadOnly
,Upgrade
Maintenance.
LiteDB 5.0.11
LiteDB 5.0.10
LiteDB 5.0.9
LiteDB 5.0.8
LiteDB 5.0.7
Use configurable BsonMapper.Global.MaxDepth
.
LiteDB 5.0.5
Retire workarounds not needed in LiteDB 5.0.5.
LiteDB 5.0.4
Tidy up and simplify data conversion to documents.
Removed parameters Bulk
. It turns out using transactions gives practically
the same performance improvement as using bulk operations (apparently due to
bulk automatic transactions). Besides, in Ldbc bulks require more memory.
New switch Transaction
of Use-LiteDatabase
tells to use a transaction.
This makes using transactions easier, e.g. for better "bulks" performance.
Temporary workaround for inserting documents with default ids which types are different from the collection auto id type. So far it was not possible to add ids 0, 0L, Guid.Empty, ObjectId.Empty.
Improve help, reflect recent changes.
Update-LiteData
- new parameterById
.Get-LiteData
-Order
withoutOrderBy
implies_id
.
LiteDB 5.0.3
Test-LiteData
- new parameter ById
.
Parametrized expressions - support both parameters and arguments notations:
# expression followed by IDictionary with named parameters
X-LiteData .. -Where ('x = @x AND y = @y', @{x = 1; y = 2})
# expression followed by indexed positional arguments
X-LiteData .. -Where ('x = @0 AND y = @1', 1, 2)
Get-LiteData
- New parameter
Include
for references. - Parameter set
ById
includesSelect
.
Get-LiteData
, Remove-LiteData
- new parameter ById
.
New cmdlet Register-LiteType
for PowerShell friendly custom serialization.
Renamed parameters Filter
to Where
(~ LiteDB and PowerShell style).
Simplified internal data conversion to documents.
Work around #1483.
Add-LiteData
, Set-LiteData
serialize complex types using the default mapper.
As a result, in particular, it is now possible to work with PowerShell classes.
See examples in Class.test.ps1.
Parameters As
of Get-LiteData
and Invoke-LiteCommand
support all suitable
types, including PowerShell classes. For now, the default global mapper is used.
Added implicit converters to wrapped types to Ldbc.Dictionary
and Ldbc.Collection
.
Get-LiteData
- new parametersSelect
,OrderBy
,Order
Invoke-LiteCommand
- new parametersAs
(and[ref] Collection
for special cases)
*-LiteDatabase
- resolve relative file pathsLdbc.Dictionary.Print()
- improve JSON formatting
LiteDB 5.0.2
Get-LiteData
- New parameters:
First
,Last
,Skip
. - New parameter
As
, for now just "PS" for PS custom objects.
Add-LiteData
, Set-LiteData
- Rename
Batch
switches to more idiomaticBulk
.
- New cmdlet
Test-LiteData
- New switch
Count
ofGet-LiteData
- New switch
Batch
ofAdd-LiteData
,Set-LiteData
(~50% faster)
- New cmdlets
Set-LiteData
,Update-LiteData
- New helper
Ldbc.Expression
, wrapper ofLiteDB.BsonExpression
- Cmdlet expression parameters are specified as
object[]
, see help
- New cmdlet
Get-LiteCollection
Add-LiteData
,Get-LiteData
,Remove-LiteData
use collection instances instead of names
LiteDB 5.0.1
Cmdlets:
- Add-LiteData
- Get-LiteData
- Invoke-LiteCommand
- New-LiteDatabase
- Remove-LiteData
- Use-LiteDatabase
- Use-LiteTransaction