Compze.Teventive.TeventStore.Abstractions 0.7.0-alpha

Prefix Reserved
This is a prerelease version of Compze.Teventive.TeventStore.Abstractions.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Compze.Teventive.TeventStore.Abstractions --version 0.7.0-alpha
                    
NuGet\Install-Package Compze.Teventive.TeventStore.Abstractions -Version 0.7.0-alpha
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Compze.Teventive.TeventStore.Abstractions" Version="0.7.0-alpha" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Compze.Teventive.TeventStore.Abstractions" Version="0.7.0-alpha" />
                    
Directory.Packages.props
<PackageReference Include="Compze.Teventive.TeventStore.Abstractions" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Compze.Teventive.TeventStore.Abstractions --version 0.7.0-alpha
                    
#r "nuget: Compze.Teventive.TeventStore.Abstractions, 0.7.0-alpha"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Compze.Teventive.TeventStore.Abstractions@0.7.0-alpha
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Compze.Teventive.TeventStore.Abstractions&version=0.7.0-alpha&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Compze.Teventive.TeventStore.Abstractions&version=0.7.0-alpha&prerelease
                    
Install as a Cake Tool

Compze.Teventive.TeventStore.Abstractions

Abstractions and ports for the Compze Teventive event store: the store API, its SQL-layer, tevent-publisher and serializer ports, query-model generator and migration contracts.

License

Apache-2.0

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (7)

Showing the top 5 NuGet packages that depend on Compze.Teventive.TeventStore.Abstractions:

Package Downloads
Compze.Teventive.TeventStore.MySql

For Compze internal use only. Do not take a direct dependency on this package. MySQL tevent-store backend for Compze.

Compze.Teventive.TeventStore.PostgreSql

For Compze internal use only. Do not take a direct dependency on this package. PostgreSQL tevent-store backend for Compze.

Compze.Teventive.TeventStore.MicrosoftSql

For Compze internal use only. Do not take a direct dependency on this package. SQL Server tevent-store backend for Compze.

Compze.Serialization.SystemTextJson

Compze's serializer on System.Text.Json, for Tessaging, Typermedia, the tevent store, the document db and taggregate snapshots.

Compze.Teventive.TeventStore.Sqlite

Discontinued: this is its last version. Compze no longer supports SQLite: it runs one writer at a time, so it could never be a fully supported persistence layer. Use Compze.Teventive.TeventStore.MicrosoftSql for SQL Server, Compze.Teventive.TeventStore.PostgreSql for PostgreSQL or Compze.Teventive.TeventStore.MySql for MySQL. For Compze internal use only. Do not take a direct dependency on this package. SQLite tevent-store backend for Compze.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.12.0-alpha 0 12/5/2026
0.11.0-alpha 23 12/5/2026
0.10.0-alpha 665 12/1/2026
0.9.0-alpha 116 11/29/2026
0.8.0-alpha 328 11/27/2026
0.7.0-alpha 160 11/19/2026
0.6.0-alpha 139 11/14/2026
0.5.0-alpha 225 7/24/2026
0.4.0-alpha 163 7/15/2026
0.3.1-alpha 105 7/6/2026
0.3.0-alpha 128 7/4/2026

- **`ITeventStoreUpdater` is gone: Compze.Teventive's `ITaggregateStoreUpdater` replaces it,** one updater for every taggregate store of a container. `Get` is `GetForUpdate`, `TryGet` is `TryGetForUpdate`, `Save` is `Add`, without a type parameter, and `Delete(id)` is gone: a taggregate is deleted by publishing an `ITaggregateDeletedTevent`, and the tevent store keeps its history. It isn't `IDisposable`: the unit of work's scope owns it.
- **`ITeventStoreReader.GetReadonlyCopy` is gone: Compze.Teventive's `ITaggregateStoreReader.Get` replaces it,** the one reader of every store's taggregates. Outside a unit of work, a taggregate of the tevent store comes back built from its history, read only: publishing on it throws. So does publishing on what `GetReadonlyCopyOfVersion` returns. `ITeventStoreReader` keeps only what the tevent store adds, `GetHistory` and `GetReadonlyCopyOfVersion`, which are as they were: code that also reads taggregates takes an `ITaggregateStoreReader` beside it.
- **A tevent store keeps only taggregates whose tevents have identity:** `ITeventStoreReader.GetReadonlyCopyOfVersion` constrains its taggregate to `ITaggregate<ITaggregateTeventWithIdentity>`, as does the declaration of the classes a tevent store keeps, so a taggregate whose tevents have none doesn't compile against them. Histories, migrations and the stream mutators are typed `ITaggregateTevent<ITaggregateTeventWithIdentity>`.
- **The failures of `Add` say add, not save,** as the method is now named: adding a taggregate the tevent store already has, or one with no history to persist. Nothing public changes.
- **Requires newer minor versions of other Compze packages:** Compze.DependencyInjection 0.10.0-alpha (was 0.9.0-alpha), Compze.Internals.SystemCE 0.9.0-internal (was 0.8.0-internal), Compze.Teventive 0.7.0-alpha (was 0.6.0-alpha). Upgrading to this version upgrades each package listed here too, so their changelogs apply to this upgrade as well.