v1.0.0
What's Changed
Rebranding
We have officially rebranded EventStoreDB to KurrentDB. As part of this transition:
EventStoreDBClienthas been renamed toKurrentDBClient.- The connection protocol now supports
kurrentdband existing protocols such asesdb,esdb+discoverare still supported.
The rebranded client is registered as a new package on Nuget as KurrentDB.Client
Breaking Changes ⚠️
v1.0.0 introduces breaking changes. Ensure you address these changes to prevent application failures.
Creating a Client
- var client = new EventStoreClient(EventStoreClientSettings.Create("esdb://admin:changeit@localhost:2113?tls=false&tlsVerifyCert=false"));
+ var client = new KurrentDBClient(KurrentDBClientSettings.Create("kurrentdb://admin:changeit@localhost:2113?tls=false&tlsVerifyCert=false"));You no longer need to install the separate EventStore.Client.Grpc.PersistentSubscriptions package to create a persistent subscriptions client. You can import the client directly from the KurrentDB.Client namespace. The same applies to the projection management client as well.
Persistent Subscriptions Client
- await using var client = new EventStorePersistentSubscriptionsClient(
EventStoreClientSettings.Create("esdb://localhost:2113?tls=false&tlsVerifyCert=false")
);
+ await using var client = new KurrentDBPersistentSubscriptionsClient(
KurrentDBClientSettings.Create("esdb://localhost:2113?tls=false&tlsVerifyCert=false")
);Projection Management Client
- await using var client = new EventStoreProjectionManagementClient(
EventStoreClientSettings.Create("esdb://localhost:2113?tls=false&tlsVerifyCert=false")
);
+ await using var client = new KurrentDBProjectionManagementClient(
KurrentDBClientSettings.Create("esdb://localhost:2113?tls=false&tlsVerifyCert=false")
);Move ExpectedRevision to StreamState
await client.AppendToStreamAsync(
"concurrency-stream",
- StreamRevision.None,
+ StreamState.None,
new[] { new EventData(Uuid.NewUuid(), "-", ReadOnlyMemory<byte>.Empty) }
);The ExpectedStreamRevision field in WrongExpectedVersionException clas has been renamed to ExpectedStreamState.