altium-toolkit 1.2.0 → 1.2.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/README.md CHANGED
@@ -28,6 +28,10 @@ members remain under `altium-toolkit/extensions`, alongside the 37 shared
28
28
  source-neutral extension helpers, with the exhaustive native mapping in the
29
29
  [migration guide](docs/migration.md).
30
30
 
31
+ Version 1.2.1 keeps Three.js as an example-only development dependency. The
32
+ published parser and CircuitJSON services do not install a second, unused
33
+ Three.js runtime into host applications.
34
+
31
35
  Default `extensions: 'canonical'` keeps compact Altium summary metadata.
32
36
  Request the complete native read model with `extensions: 'full'`,
33
37
  `preserveRaw: true`, or `extensions: ['altium.native-model']`. Project batches
@@ -195,6 +199,7 @@ const legacyCircuitJson = AltiumParser.parseArrayBuffer(file.name, arrayBuffer)
195
199
  - [API](docs/api.md)
196
200
  - [Capabilities](docs/capabilities.md)
197
201
  - [Migration from 1.1.41](docs/migration.md)
202
+ - [1.2.1 release notes](docs/release-notes-v1.2.1.md)
198
203
  - [1.2.0 release notes](docs/release-notes-v1.2.0.md)
199
204
  - [Model Format](docs/model-format.md)
200
205
  - [Normalized Model Schema](docs/schemas/altium_toolkit/normalized_model_a1.schema.json)
@@ -0,0 +1,15 @@
1
+ <!--
2
+ SPDX-FileCopyrightText: 2026 André Fiedler
3
+ SPDX-License-Identifier: CC-BY-SA-4.0
4
+ -->
5
+
6
+ # Altium Toolkit 1.2.1
7
+
8
+ Version 1.2.1 removes an unused Three.js runtime dependency from the published
9
+ package. Altium parsing, canonical CircuitJSON projection, rendering contracts,
10
+ and every 1.2.0 API remain unchanged.
11
+
12
+ Three.js remains a development dependency for the repository-owned browser
13
+ examples. Consumers now install only the runtime dependencies used by the
14
+ library, avoiding a second Three.js version when the host or 3D viewer owns its
15
+ scene runtime.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "altium-toolkit",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Altium document parsing and non-interactive rendering utilities",
5
5
  "keywords": [
6
6
  "altium",
@@ -68,11 +68,11 @@
68
68
  },
69
69
  "dependencies": {
70
70
  "circuitjson-toolkit": "^1.1.0",
71
- "fflate": "^0.8.2",
72
- "three": "^0.184.0"
71
+ "fflate": "^0.8.2"
73
72
  },
74
73
  "devDependencies": {
75
- "prettier": "^3.4.2"
74
+ "prettier": "^3.4.2",
75
+ "three": "^0.183.2"
76
76
  },
77
77
  "engines": {
78
78
  "node": ">=20"