Compze.TypeIdentifiers.Interning
0.4.0-alpha
Prefix Reserved
See the version list below for details.
dotnet add package Compze.TypeIdentifiers.Interning --version 0.4.0-alpha
NuGet\Install-Package Compze.TypeIdentifiers.Interning -Version 0.4.0-alpha
<PackageReference Include="Compze.TypeIdentifiers.Interning" Version="0.4.0-alpha" />
<PackageVersion Include="Compze.TypeIdentifiers.Interning" Version="0.4.0-alpha" />
<PackageReference Include="Compze.TypeIdentifiers.Interning" />
paket add Compze.TypeIdentifiers.Interning --version 0.4.0-alpha
#r "nuget: Compze.TypeIdentifiers.Interning, 0.4.0-alpha"
#:package Compze.TypeIdentifiers.Interning@0.4.0-alpha
#addin nuget:?package=Compze.TypeIdentifiers.Interning&version=0.4.0-alpha&prerelease
#tool nuget:?package=Compze.TypeIdentifiers.Interning&version=0.4.0-alpha&prerelease
Compze.TypeIdentifiers.Interning
Database-local integer interning for stable type identity. Maps a Compze TypeId to a small, per-database int and back, so storage tables can reference a type with a 4-byte int instead of a GUID or a long string — durably linking every spelling a type has been persisted as (reclassification and renames) behind a small, storage-agnostic provider interface. Depends only on Compze.TypeIdentifiers.
What is Compze?
Compze is a .NET framework for building expressive domains through Teventive programming and Typermedia APIs. Learn more
Installation
dotnet add package Compze.TypeIdentifiers.Interning
License
Apache-2.0
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Compze.TypeIdentifiers (>= 0.6.0-alpha)
NuGet packages (17)
Showing the top 5 NuGet packages that depend on Compze.TypeIdentifiers.Interning:
| Package | Downloads |
|---|---|
|
Compze.Tessaging.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.Tessaging.MicrosoftSql for SQL Server, Compze.Tessaging.PostgreSql for PostgreSQL or Compze.Tessaging.MySql for MySQL. For Compze internal use only. Do not take a direct dependency on this package. SQLite inbox/outbox backend for Compze messaging. |
|
|
Compze.Tessaging.PostgreSql
For Compze internal use only. Do not take a direct dependency on this package. PostgreSQL inbox/outbox backend for Compze messaging. |
|
|
Compze.Tessaging.MicrosoftSql
For Compze internal use only. Do not take a direct dependency on this package. SQL Server inbox/outbox backend for Compze messaging. |
|
|
Compze.Tessaging.MySql
For Compze internal use only. Do not take a direct dependency on this package. MySQL inbox/outbox backend for Compze messaging. |
|
|
Compze.TypeIdentifiers.Interning.PostgreSql
PostgreSQL backend for Compze type-id interning: a PostgreSQL ITypeIdInternerPersistence implementation for Compze.TypeIdentifiers.Interning. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.5.0-alpha | 546 | 12/3/2026 |
| 0.4.0-alpha | 156 | 12/3/2026 |
| 0.3.0-alpha | 322 | 12/2/2026 |
| 0.2.0-alpha | 1,133 | 11/14/2026 |
| 0.1.1-alpha | 251 | 7/24/2026 |
| 0.1.0-alpha | 283 | 6/4/2026 |
- **Breaking for persistence providers.** Implement `InternerSnapshot IInternerWriteSession.LoadAll()` on the connection holding the write lock. Before minting a new id the interner checks whether another deployment has already stored the same type under another spelling, and links the current spelling to its original id. Upgrade every writer before overlapping deployments that use different spellings.
- If spellings of one stored id resolve to different types, loading stops and reports the id, spellings and types. An unresolved stored identity with the same current name also prevents minting.
- Type-filtered reads now find rows another deployment wrote under a different spelling after this deployment started. A missing current spelling triggers a read of all stored ids and spellings.
- Loading a stored type spelling now propagates type-map and assembly-load failures before a new database id can be minted. After the failure is repaired, the type keeps its original id and data stored under it remains readable.
- **Requires newer minor versions of other Compze packages:** Compze.TypeIdentifiers 0.6.0-alpha (was 0.5.0-alpha). Upgrading to this version upgrades each package listed here too, so their changelogs apply to this upgrade as well.