fix(transport): bump bundle schemaVersion 1.2 -> 1.3 for the additive instance AreaPath (TRN-8 follow-up, decision A)
Minor bumps mark additive fields (1.1 sites/connections/instances, 1.2 #118 Derivation). TRN-8 added InstanceDto.AreaPath without a bump. Exporter now stamps 1.3; ManifestValidator still gates only on bundleFormatVersion, so 1.0-1.2 bundles import unchanged and older importers accept a 1.3 bundle (ignoring AreaPath, leaf-name fallback). Theory pins 1.0-1.4 validating Ok; version-pinning tests read the constant. Component-Transport.md + CLAUDE.md.
This commit is contained in:
@@ -20,7 +20,10 @@ public sealed class ManifestBuilder
|
||||
// 1.1 → 1.2 (ScadaBridge#118): TemplateDto.Derivation marks derived composition-slot
|
||||
// templates. Additive — an older importer ignores the field (and imports the slot as
|
||||
// it always did), a 1.0/1.1 bundle has no derivations and imports unchanged.
|
||||
public const string CurrentSchemaVersion = "1.2";
|
||||
// 1.2 → 1.3 (TRN-8): InstanceDto.AreaPath carries the instance's root→leaf area path.
|
||||
// Additive — an older importer ignores the field and resolves the leaf AreaName as it
|
||||
// always did; a 1.0–1.2 bundle has no path and imports via the leaf-name fallback.
|
||||
public const string CurrentSchemaVersion = "1.3";
|
||||
|
||||
/// <summary>
|
||||
/// Builds a <see cref="BundleManifest"/> with the current format version, a SHA-256 content hash,
|
||||
|
||||
Reference in New Issue
Block a user