altium-toolkit 1.4.1 → 1.4.2

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/README.md CHANGED
@@ -51,6 +51,12 @@ traces across input edits without changing parser, document, renderer, or
51
51
  native-extension contracts. See the
52
52
  [1.4.1 release notes](docs/release-notes-v1.4.1.md).
53
53
 
54
+ Version 1.4.2 rebuilds project-resolved canonical documents through the
55
+ toolkit-owned validation path and CircuitJSON Toolkit 1.4.2. Large native
56
+ extension graphs retain their proven ownership instead of repeating defensive
57
+ binary classification. See the
58
+ [1.4.2 release notes](docs/release-notes-v1.4.2.md).
59
+
54
60
  Default `extensions: 'canonical'` keeps compact Altium summary metadata.
55
61
  Request the complete native read model with `extensions: 'full'`,
56
62
  `preserveRaw: true`, or `extensions: ['altium.native-model']`. Project batches
@@ -218,6 +224,7 @@ const legacyCircuitJson = AltiumParser.parseArrayBuffer(file.name, arrayBuffer)
218
224
  - [API](docs/api.md)
219
225
  - [Capabilities](docs/capabilities.md)
220
226
  - [Migration from 1.1.41](docs/migration.md)
227
+ - [1.4.2 release notes](docs/release-notes-v1.4.2.md)
221
228
  - [1.4.1 release notes](docs/release-notes-v1.4.1.md)
222
229
  - [1.4.0 release notes](docs/release-notes-v1.4.0.md)
223
230
  - [1.3.0 release notes](docs/release-notes-v1.3.0.md)
@@ -0,0 +1,27 @@
1
+ # altium-toolkit 1.4.2
2
+
3
+ Version 1.4.2 removes redundant immutable-extension validation from canonical
4
+ project document rebuilding. Parser output, project resolution, extension
5
+ selection, and renderer contracts remain unchanged.
6
+
7
+ ## Faster project resolution
8
+
9
+ - `AltiumProjectDocumentResolver` rebuilds changed canonical documents through
10
+ the shared toolkit-owned `DocumentResult` boundary.
11
+ - Already proven and frozen native extension graphs retain their identity when
12
+ project parameters update canonical or retained-native schematic text.
13
+ - Defensive binary classification is no longer repeated across every record of
14
+ a large owned extension graph.
15
+
16
+ ## Dependency
17
+
18
+ - `circuitjson-toolkit` 1.4.2 supplies the owned-extension reuse and atomic
19
+ cooperative structured-clone finalization behavior.
20
+ - Arbitrary caller data still uses the defensive shared validation path.
21
+
22
+ ## Verification
23
+
24
+ - An inspector-backed regression bounds exception-driven binary brand probes
25
+ during a project rebuild.
26
+ - The complete package suite, formatting, performance, feature-preservation,
27
+ and npm dry-run gates verify the release.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "altium-toolkit",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "description": "Altium document parsing and non-interactive rendering utilities",
5
5
  "keywords": [
6
6
  "altium",
@@ -67,7 +67,7 @@
67
67
  "check:features": "node scripts/check-feature-preservation.mjs"
68
68
  },
69
69
  "dependencies": {
70
- "circuitjson-toolkit": "^1.4.1",
70
+ "circuitjson-toolkit": "^1.4.2",
71
71
  "fflate": "^0.8.2"
72
72
  },
73
73
  "devDependencies": {
@@ -239,13 +239,13 @@ export class AltiumProjectDocumentResolver {
239
239
  }
240
240
 
241
241
  /**
242
- * Rebuilds one canonical document through the validating shared boundary.
242
+ * Rebuilds one canonical document through the toolkit-owned shared boundary.
243
243
  * @param {object} document Existing canonical document.
244
244
  * @param {{ model?: object[], extensions?: object, statistics?: object }} fields Replacements.
245
245
  * @returns {object} Proven immutable document.
246
246
  */
247
247
  static #rebuild(document, fields) {
248
- return DocumentResult.createValidated(
248
+ return DocumentResult.createValidatedOwned(
249
249
  {
250
250
  id: document.id,
251
251
  model: fields.model || document.model,