IRI.Maptor.Infrastructure.Versioning 3.0.0

dotnet add package IRI.Maptor.Infrastructure.Versioning --version 3.0.0
                    
NuGet\Install-Package IRI.Maptor.Infrastructure.Versioning -Version 3.0.0
                    
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="IRI.Maptor.Infrastructure.Versioning" Version="3.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="IRI.Maptor.Infrastructure.Versioning" Version="3.0.0" />
                    
Directory.Packages.props
<PackageReference Include="IRI.Maptor.Infrastructure.Versioning" />
                    
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 IRI.Maptor.Infrastructure.Versioning --version 3.0.0
                    
#r "nuget: IRI.Maptor.Infrastructure.Versioning, 3.0.0"
                    
#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 IRI.Maptor.Infrastructure.Versioning@3.0.0
                    
#: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=IRI.Maptor.Infrastructure.Versioning&version=3.0.0
                    
Install as a Cake Addin
#tool nuget:?package=IRI.Maptor.Infrastructure.Versioning&version=3.0.0
                    
Install as a Cake Tool

IRI.Maptor.Infrastructure.Versioning

EF Core persistence for IRI.Maptor.Core.Versioning (feature-level spatial versioning with competitive review). A consuming DbContext opts in with one call:

protected override void OnModelCreating(ModelBuilder modelBuilder)
{
    modelBuilder.AddMaptorVersioning(); // schema "versioning" by default
}

The provider plugin from IRI.Maptor.Infrastructure.EfCore (UseMaptorGeometry()) must be active on the context — proposal/history geometry columns are typed geography (matching typical live SHAPE columns byte-for-byte, and letting the overlap scan run STIntersects directly against live data) and materialize into Geometry<Point> through it.

Contents:

  • Configurations/ — one IEntityTypeConfiguration per entity. Workflow constraints are enforced by the database itself via filtered unique indexes: at most one Open and one Resolved competition per feature, and one active proposal per editor + feature.
  • CanonicalAttributeSerializer — attribute dictionaries ⇄ canonical JSON (ordinally sorted keys, invariant culture, ISO-8601 dates) so stored state is diffable and stable.
  • EfSchemaSignatureCalculator — computes a layer's schema signature from EF model metadata (call at API startup and stamp into VersionedLayer).

Notes:

  • The spatial index on Proposal.ProposedGeometry / FeatureHistory.Geometry cannot be declared through EF — add CREATE SPATIAL INDEX statements to the migration by hand (geography grid; no bounding box required).
  • Services (submission, review, commit, inbox, history) arrive with milestone M2+ of docs/features/spatial-versioning/06-implementation-plan.md.
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.0.0 78 8/23/2026
3.0.0-alpha 81 8/22/2026