Compze.TypeIdentifiers.Interning 0.4.0-alpha

Prefix Reserved
This is a prerelease version of Compze.TypeIdentifiers.Interning.
There is a newer prerelease version of this package available.
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
                    
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.TypeIdentifiers.Interning" Version="0.4.0-alpha" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Compze.TypeIdentifiers.Interning" Version="0.4.0-alpha" />
                    
Directory.Packages.props
<PackageReference Include="Compze.TypeIdentifiers.Interning" />
                    
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.TypeIdentifiers.Interning --version 0.4.0-alpha
                    
#r "nuget: Compze.TypeIdentifiers.Interning, 0.4.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.TypeIdentifiers.Interning@0.4.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.TypeIdentifiers.Interning&version=0.4.0-alpha&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Compze.TypeIdentifiers.Interning&version=0.4.0-alpha&prerelease
                    
Install as a Cake Tool

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 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 (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.