v2.0.0
·
173 commits
to master
since this release
Improvements
- Queries": Complete rewrite.
Async/await
operations are supported natively and so areCancellationTokens
; - Queries": Support for multiple
Where
calls; - Queries": Support for
Min
,Max
,Sum
,Average
,Any
,All
,Last
methods (async); - Changes Feed: Support for realtime document changes with
IAsyncEnumerable
; - Authentication: Support for
Proxy
andJTW
authentication; - CouchDatabase::
CouchDatabase
now implementsIQueryable
; - CouchDatabase::
NewRequest
method exposed; - CouchContext: New
CouchContext
class to have an experience similar to EF Core; - Dependency Injection: New NuGet package to help with DI;
- Local Documents: New
LocalDocuments
property inCouchDatabase
; - Generic:
ICouchClient
andICouchDatabase
interfaces introduced; - Generic:
async
methods supportCancellationTokens
; - Builds: Build definition move to YAML files.
Breaking Changes
- Settings:
CouchSettings
replaced withCouchOptions
andCouchOptionsBuilder
; - Queries: Methods that cannot be converted to queries throw exceptions;
- CouchDatabase:
GetDatabase
doesn't create the DB if not found anymore. UseGetOrCreateDatabaseAsync
instead; - CouchDatabase: Create, CreateOrUpdate and Delete documents are renamed to Add, AddOrUpdate and Remove.
Bug Fixes
- FindMany: Fix crash when document does not exist.