Skip to content

Develop - #72

Merged
engineering87 merged 8 commits into
mainfrom
develop
Oct 28, 2026
Merged

engineering87 merged 8 commits into
mainfrom
develop

Conversation

@engineering87

Copy link
Copy Markdown
Owner

Summary

Release 5.0.0: makes behavior consistent across all connectors, fixes several bugs, adds two features and rewrites the documentation.

Changes

  • Consistent semantics on every backend:
    • Insert/InsertMany are upserts;
    • Update returns false when the key does not exist;
    • Delete returns true only when an item was actually removed;
    • expired items are filtered out even on backends without native TTL.
  • Connector fixes:
    • Cassandra: contact point parsing, TTL and paging;
    • Memcached: server list parsing;
    • Couchbase: authentication and disposal;
    • ArangoDB: upserts;
    • MongoDB and LiteDB: unique index on Key.
  • Reliability: the sync methods of async-only drivers (DynamoDB, ArangoDB, Couchbase) now run the async call on the thread pool, to avoid deadlocks.
  • Configuration validation: invalid or incomplete RavenDB and DynamoDB settings throw ArgumentException.
  • New features:
    • Redis KeyPrefix;
    • RavenDB client certificate authentication (CertificatePath, CertificatePassword).
  • CI: builds and tests the whole solution in Release on .NET 9 and 10; commitlint runs on pull requests.
  • Docs: README rewritten, with a configuration reference and an upgrade guide.
  • Version: bumped to 5.0.0, with release notes in the package.

⚠️ Breaking changes

  • AddSharpConnectorServices* no longer calls AddControllers(). Host applications must call it themselves.
  • RavenDB and DynamoDB configurations are validated when the client is created.
  • Update and Delete now return false on missing keys on every backend.

@engineering87
engineering87 merged commit 38c21a9 into main Oct 28, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant