@cclabsnz/sf-core 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -12,6 +12,24 @@ CycloneDX SBOM for the build.
12
12
 
13
13
  Nothing yet.
14
14
 
15
+ ## [0.5.1] — 2026-09-09
16
+
17
+ ### Fixed
18
+
19
+ - **The unsupported-schema-version finding offered a remedy that does not exist.** Its `fix` read
20
+ "Re-extract the graph with this version of the tool, or run the migration to 1.2.0", and no
21
+ migration was ever written — `docs/` in the consuming repo explicitly declines to write one. A
22
+ reader hitting it went looking for a command that is not there, unsure whether they had missed a
23
+ step or the tool was wrong.
24
+
25
+ It survived because it was unreachable. `SUPPORTED_GRAPH_SCHEMA_VERSION` was set once and never
26
+ moved, so no document could disagree with it and the finding could not fire; 0.5.0's bump to
27
+ `1.2.0` was the first thing that made it reachable, in the same release that first published it
28
+ to a second consumer. The existing test asserted only that `fix` was non-empty, which is the
29
+ letter of that field's contract — "a finding a reader cannot act on is a bug report" — and could
30
+ not tell an action apart from a promise. A test now pins that the fix does not direct anyone to
31
+ run a migration, while still allowing it to say that none exists, which is worth saying.
32
+
15
33
  ## [0.5.0] — 2026-09-09
16
34
 
17
35
  **The canonical org graph, and a merge that refuses to state something false.**
@@ -48,7 +48,10 @@ export function validateGraph(doc) {
48
48
  id: 'document',
49
49
  message: `schemaVersion is ${String(candidate.schemaVersion)}; this build supports ` +
50
50
  `${SUPPORTED_GRAPH_SCHEMA_VERSION}.`,
51
- fix: `Re-extract the graph with this version of the tool, or run the migration to ${SUPPORTED_GRAPH_SCHEMA_VERSION}.`,
51
+ // Re-extraction is the only remedy, so it is the only one offered. This previously also
52
+ // promised a migration, which was never written -- and the promise went unnoticed because
53
+ // the finding was unreachable until the schema version first moved.
54
+ fix: `Re-extract the graph with a build that writes ${SUPPORTED_GRAPH_SCHEMA_VERSION}. There is no in-place migration between schema versions.`,
52
55
  },
53
56
  ];
54
57
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cclabsnz/sf-core",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "Shared platform layer for CloudCounsel Salesforce sf plugins — API clients, org context, event log pull, report shell, and versioned IR schemas.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",