Skip to content

v0.2.3

Pre-release
Pre-release

Choose a tag to compare

@zeroheartbeat zeroheartbeat released this 26 Mar 13:01
· 16 commits to main since this release

Release Notes

πŸš€ DI-Based Client Model

This release introduces a modern dependency injection (DI) based
client model
for Clustron DKV.

✨ Highlights

  • Register and resolve clients via DI
  • Support for multiple stores in a single application
  • Unified configuration for InProc and Remote modes
  • Seamless transition from embedded to distributed setups
  • Alignment with modern .NET application patterns

πŸ”„ Migration

Old (Legacy):

var client = await DKVClient.InitializeInProc("demo");

New (Recommended):

services.AddClustronDkvStores(cfg =>
{
    cfg.AddStore("demo", s => s.UseInProc());
});

var client = await provider.GetAsync("demo");

⚠️ Note

Legacy initialization APIs are still supported but may be deprecated in
future releases.