v2.0.0
·
206 commits
to master
since this release
Improvements
- Queries": Complete rewrite.
Async/awaitoperations are supported natively and so areCancellationTokens; - Queries": Support for multiple
Wherecalls; - Queries": Support for
Min,Max,Sum,Average,Any,All,Lastmethods (async); - Changes Feed: Support for realtime document changes with
IAsyncEnumerable; - Authentication: Support for
ProxyandJTWauthentication; - CouchDatabase::
CouchDatabasenow implementsIQueryable; - CouchDatabase::
NewRequestmethod exposed; - CouchContext: New
CouchContextclass to have an experience similar to EF Core; - Dependency Injection: New NuGet package to help with DI;
- Local Documents: New
LocalDocumentsproperty inCouchDatabase; - Generic:
ICouchClientandICouchDatabaseinterfaces introduced; - Generic:
asyncmethods supportCancellationTokens; - Builds: Build definition move to YAML files.
Breaking Changes
- Settings:
CouchSettingsreplaced withCouchOptionsandCouchOptionsBuilder; - Queries: Methods that cannot be converted to queries throw exceptions;
- CouchDatabase:
GetDatabasedoesn't create the DB if not found anymore. UseGetOrCreateDatabaseAsyncinstead; - CouchDatabase: Create, CreateOrUpdate and Delete documents are renamed to Add, AddOrUpdate and Remove.
Bug Fixes
- FindMany: Fix crash when document does not exist.