Skip to content

Latest commit

 

History

History
244 lines (162 loc) · 11 KB

CHANGELOG.md

File metadata and controls

244 lines (162 loc) · 11 KB

3.6.1 (2024-04-23)

Bugs

  • Change feed: Fixed an issue causing an endless change notification for all documents under certain conditions (#200)

3.6.0 (2024-03-11)

Bugs

  • Change feed: Fixed automatic resume at last change in continuous feed (#198)

3.5.0 (2024-02-03)

Features

  • Find: Added support for fetching attachments with entire content (#194)

3.4.0 (2023-06-21)

Features

  • Database split: Configurable field for document discrimination (#150)
  • Find: Added all options and responses (#182)
  • Change feed: Adds support for database split (#187)
  • Replicas: Adds CreateTarget option (#189)

Bugs

  • Queries: Fix when In is called inside Any (#183)
  • Database split: Fix FirstOrDefault without filter queries (#185)

3.3.1 (2022-10-26)

Bug Fixes

  • Dependency Injection: Fix dependency injection packages references (#180)

3.3.0 (2022-10-20)

Features

  • Bulk Delete: Adds support to replication (#171)
  • Revision Support: Support for revisions in add and update (#170)
  • Deleted Flag: Added deleted flag on document (#154)

Bug Fixes

  • Replication: Added replication methods in ICouchDatabase interface (#173)
  • Document ID: Support IDs with special characters (#172)

3.2.0 (2022-07-03)

Features

  • Replication: Adds support to replication (#151)
  • Attachments: Adds DownloadAttachmentAsStreamAsync (#152)
  • IsMatch: Support multiline regex (#161)

Bug Fixes

  • ElementAt: Fixes query on .NET 6. (#156)
  • Attachments: Fixes attachments in FindAsync. (#159)
  • Attachments: Fixes attachments uploads (#159)
  • Attachments: Fixes Bad Request on attachment upload. (#164)
  • GetInfoAsync: Fixed 32-bit integer overflow. (#165)

3.1.1 (2021-10-14)

Bug Fixes

  • Query: Fix First/Last with conditions fail. (#142)
  • Query: Fix First/Last on splitted database. (#136)
  • Query: Throws exception on List.Count instead of wrong query. (#138)
  • Query: Fix multi thread call issues. (#133)
  • FindManyAsync: Filters out null results. (#141) Thanks AlexandrSHad
  • Continuous Changes: Fix multi thread issues. (#140)

3.1.0 (2020-03-20)

Features

  • Views: Possibility to query multiple views at once. (#126) Thanks Panos
  • Partitioned database: It's possible to create partitioned databases. (#122)

Bug Fixes

  • Views: CouchViewOptions are serialized correctly when overriding the serializer. (#125) Thanks Panos
  • PropertyCaseType: PropertyCaseType is not applied on internal properties anymore. (#127)

3.0.1 (2020-03-10)

Bug Fixes

  • Table Splitting: Fix discriminator. (#120)

3.0.0 (2020-03-09)

Breaking Changes

  • Update to Flurl 3. There should be no differences for the end user, but keep in mind.

Features

  • Table Splitting: Ability to use the same database for different document with automatic filtering. (#106)
  • Views: Ability to get views. Thanks to panoukos41

Improvements

  • Logical Expressions Prune: If expressions are constant booleans, they are removed automatically keeping the query valid. (#113)
  • IsUpAsync: Returns false on timeout and on not successful codes. (#107)
  • FindAsync: Faster when document is not found. (#92)

2.1.0 (2020-09-19)

Features

  • Indexes": Ability to create indexes. (#102)
  • Null values": New SetNullValueHandling method for CouchOptionsBuilder to set how to handle null values. (#101)
  • Query": New Select and Convert methods to select specific fields.

Bug Fixes

  • Conflicts: Fix the query parameter value to get conflicts. (#100)
  • Query: Fix queries when variables are used. (#104)

2.0.2 (2020-07-18)

Features

  • Users": Added ChangeUserPassword method for ICouchDatabase<CouchUser>.

Bug Fixes

  • IsMatch: Back to public instead of internal;
  • AddOrUpdate: Added Async postfix.

2.0.0 (2020-07-15)

Improvements

  • Queries": Complete rewrite. Async/await operations are supported natively and so are CancellationTokens;
  • 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 and JTW authentication;
  • CouchDatabase:: CouchDatabase now implements IQueryable;
  • 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 in CouchDatabase;
  • Generic: ICouchClient and ICouchDatabase interfaces introduced;
  • Generic: async methods support CancellationTokens;
  • Builds: Build definition move to YAML files.

Breaking Changes

  • Settings: CouchSettings replaced with CouchOptions and CouchOptionsBuilder;
  • Queries: Methods that cannot be converted to queries throw exceptions;
  • CouchDatabase: GetDatabase doesn't create the DB if not found anymore. Use GetOrCreateDatabaseAsync instead;
  • CouchDatabase: Create, CreateOrUpdate and Delete documents are renamed to Add, AddOrUpdate and Remove.

Bug Fixes

  • FindMany: Fix crash when document does not exist.

1.2.2 (2020-07-02)

Bug Fix

  • JSON content: Fix issue with purge_seq from into to string.

1.2.1 (2020-02-25)

Bug Fix

  • JSON content: Fix issue with JSON content as a value. (#PR59)

1.2.0 (2020-01-24)

Features

  • Attachments: Adds support for attachments. (#PR56)

1.1.5 (2019-12-19)

Bug Fixes

  • Database: Fixing special characters escaping in databases names. (#PR54)

1.1.4 (2019-08-19)

Bug Fixes

  • Queries: Fixing enums serialized as string instead of int bug. (#PR49)

1.1.3 (2019-06-14)

Bug Fixes

  • Exception: Fixing null reference exception and poor exception handling. (#PR45)

1.1.2 (2019-06-08)

Bug Fixes

  • Client: Prevent deadlocks when run against .NET Framework. (#PR43)

1.1.1 (2019-06-02)

Features

  • Single/SingleOrDefault: Methods implementated as composite supported methods (Where and Take(2)).

Bug Fixes

  • Queries: Implicit bools in nested methods. (#PR41)
  • FxCopAnalyzers: Removed from NuGet dependencies.

1.1.0 (2019-05-05)

Features

  • _find: IQueryable methods that are not supported by CouchDB are evaluated in-memory using the IEnumerable counterpart, if possible.

1.0.2 (2019-05-02)

Bug Fixes

  • _find: Boolean member expressions converted to binary expressions in Where (Fix #PR36).

1.0.1 (2019-04-27)

Bug Fixes

  • Everywhere: Flurl JSON serialization based on CouchSettings' PropertyCaseType.

1.0.1-beta.4 (2019-04-25)

Features

  • CouchClient: add FindManyAsync(ids) (#PR33).
  • CouchClient: add QueryAsync(someMangoJson) (#PR32).
  • CouchClient: add QueryAsync(someMangoObject) (b4dd1b2).

Bug Fixes

  • _find: removed T : IComparable from In() and Contains() methods (#PR31).
  • _find: fix single element array queries. (#PR34).

1.0.1-beta.3 (2019-04-03)

Breaking Changes

  • _find: from r.prop.FieldExists() to r.FieldExists("someprop").

Features

  • CouchClient: implements protected virtual void Dispose(bool disposing).

Improvements

  • Global: FxCop analizers add to the project.

1.0.1-beta.2 (2019-04-03)

Bug Fixes

  • _find: Guid support, and all other constants (#PR26)

1.0.0 (2019-03-30)

Features

Enjoy! 🎈