Compze.Teventive.TeventStore
0.13.0-alpha
Prefix Reserved
See the version list below for details.
dotnet add package Compze.Teventive.TeventStore --version 0.13.0-alpha
NuGet\Install-Package Compze.Teventive.TeventStore -Version 0.13.0-alpha
<PackageReference Include="Compze.Teventive.TeventStore" Version="0.13.0-alpha" />
<PackageVersion Include="Compze.Teventive.TeventStore" Version="0.13.0-alpha" />
<PackageReference Include="Compze.Teventive.TeventStore" />
paket add Compze.Teventive.TeventStore --version 0.13.0-alpha
#r "nuget: Compze.Teventive.TeventStore, 0.13.0-alpha"
#:package Compze.Teventive.TeventStore@0.13.0-alpha
#addin nuget:?package=Compze.Teventive.TeventStore&version=0.13.0-alpha&prerelease
#tool nuget:?package=Compze.Teventive.TeventStore&version=0.13.0-alpha&prerelease
Compze.Teventive.TeventStore
The tevent store: event-sourcing persistence for Compze taggregates.
What is Compze?
Compze is a .NET framework for building expressive domains through Teventive programming and Typermedia APIs. Learn more
What's in this package?
This package provides the tevent store that powers Compze's teventive (type-routed event) programming model:
- Tevent persistence —
TeventStorefor storing and retrieving taggregate tevent streams - Taggregate updates — through Compze.Teventive's
ITaggregateStoreUpdater, one for each unit of work, which serves every taggregate store of a container; the store declares the taggregate classes it keeps - Tevent caching —
ITeventCachefor in-memory tevent stream caching - Query model generation — Self-generating query models that automatically stay in sync with tevent streams
- Tevent migration — Support for tevent schema evolution and migration
- Taggregate history validation — Built-in validation of taggregate tevent stream consistency
Teventive programming
Tevents use the .NET type system to declare their meaning:
interface IUserTevent : ITaggregateTeventWithIdentity;
interface IUserRegistered : IUserTevent, ITaggregateCreatedTevent;
interface IUserImported : IUserRegistered;
The tevent store routes and stores these tevents based on type compatibility, enabling expressive domain modeling without manual routing.
A tevent store keeps a taggregate's tevents by their identity, so their root interface declares ITaggregateTeventWithIdentity, and it keeps only the taggregate classes declared for it, where it's composed: TeventStore(connectionName, store => store.Taggregate<User>()). The tevents are published within the process only, unless their root interface also declares a delivery guarantee, such as IExactlyOnceTevent, for other processes to receive them.
Installation
dotnet add package Compze.Teventive.TeventStore
Related packages
| Package | Description |
|---|---|
| Compze.Teventive | The Teventive programming model: taggregates, tevents and tevent dispatching |
| Compze.Tessaging | Messaging infrastructure |
| Compze.Tessaging.Hosting.Testing | Testing support |
License
Apache-2.0
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Compze.Contracts (>= 0.7.2)
- Compze.DependencyInjection (>= 0.13.0-alpha)
- Compze.DocumentDb (>= 0.6.0-alpha)
- Compze.Internals.Logging (>= 0.9.0-alpha)
- Compze.Internals.SystemCE (>= 0.18.0-internal)
- Compze.Tessaging (>= 0.23.0-alpha)
- Compze.Teventive (= 0.14.0-alpha)
- Compze.Teventive.TeventStore.Abstractions (= 0.10.0-alpha)
- Compze.Threading (>= 0.16.0-alpha)
- Compze.TypeIdentifiers.DependencyInjection (>= 0.2.0-alpha)
- Compze.Underscore (>= 0.6.0-beta)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Compze.Teventive.TeventStore:
| Package | Downloads |
|---|---|
|
Compze.Teventive.TeventStore.Typermedia
Typermedia API bridge for the Compze event store — exposes event store operations as Typermedia tueries and tommands. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.13.4-alpha | 0 | 12/5/2026 |
| 0.13.3-alpha | 0 | 12/5/2026 |
| 0.13.2-alpha | 20 | 12/5/2026 |
| 0.13.1-alpha | 86 | 12/4/2026 |
| 0.13.0-alpha | 69 | 12/4/2026 |
| 0.12.1-alpha | 55 | 12/3/2026 |
| 0.12.0-alpha | 69 | 12/3/2026 |
| 0.11.1-alpha | 81 | 12/2/2026 |
| 0.11.0-alpha | 66 | 12/1/2026 |
| 0.10.0-alpha | 69 | 11/29/2026 |
| 0.9.2-alpha | 62 | 11/28/2026 |
| 0.9.1-alpha | 66 | 11/28/2026 |
| 0.9.0-alpha | 75 | 11/27/2026 |
| 0.8.0-alpha | 65 | 11/27/2026 |
| 0.7.0-alpha | 118 | 11/19/2026 |
| 0.6.0-alpha | 81 | 11/14/2026 |
| 0.5.0-alpha | 169 | 7/24/2026 |
| 0.4.0-alpha | 97 | 7/15/2026 |
| 0.3.1-alpha | 101 | 7/6/2026 |
| 0.3.0-alpha | 112 | 7/4/2026 |
- **Breaking change.** A unit of work now refuses overlapping taggregate store calls before they can change a held taggregate or write its tevents. Await each call before starting another. Use `GetForUpdate` or `TryGetForUpdate` inside synchronous callbacks, including participation handlers.
- **Requires exact versions of the Compze packages whose internals it uses:** Compze.Teventive 0.14.0-alpha (was 0.13.0-alpha). Upgrading to this version upgrades each package listed here to exactly that version, so their changelogs apply to this upgrade as well.