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
<PackageReference Include="IRI.Maptor.Infrastructure.Versioning" Version="3.0.0" />
<PackageVersion Include="IRI.Maptor.Infrastructure.Versioning" Version="3.0.0" />
<PackageReference Include="IRI.Maptor.Infrastructure.Versioning" />
paket add IRI.Maptor.Infrastructure.Versioning --version 3.0.0
#r "nuget: IRI.Maptor.Infrastructure.Versioning, 3.0.0"
#:package IRI.Maptor.Infrastructure.Versioning@3.0.0
#addin nuget:?package=IRI.Maptor.Infrastructure.Versioning&version=3.0.0
#tool nuget:?package=IRI.Maptor.Infrastructure.Versioning&version=3.0.0
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/— oneIEntityTypeConfigurationper 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 intoVersionedLayer).
Notes:
- The spatial index on
Proposal.ProposedGeometry/FeatureHistory.Geometrycannot be declared through EF — addCREATE SPATIAL INDEXstatements 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 | Versions 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. |
-
net8.0
- IRI.Maptor.Core.Versioning (>= 3.0.0)
- Microsoft.EntityFrameworkCore.SqlServer (>= 9.0.2)
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 |