@hatiolab/things-scene 10.0.0 → 10.0.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +27 -1
  2. package/package.json +4 -2
package/CHANGELOG.md CHANGED
@@ -1,11 +1,37 @@
1
1
  # Change Log
2
2
 
3
- ## [v10.0.0] — Unreleased
3
+ ## [Unreleased]
4
+
5
+ ### Bug Fixes
6
+
7
+ - **Packaging — restore sub-path access to the published type declarations.** The `exports` map
8
+ declared `"."` only, which made `dist-types/**` unreachable through any package specifier. Any
9
+ consumer compiling with `declaration: true` and extending a things-scene mixin
10
+ (`class X extends RectPath(Shape)`) then failed with **TS2742** — "the inferred type of 'X'
11
+ cannot be named without a reference to `.../dist-types/components/component`" — because
12
+ TypeScript had no portable specifier for the mixin's base declaration and fell back to a
13
+ relative path into `node_modules`. `"./dist-types/*"` and `"./package.json"` are now exported
14
+ alongside `"."`, so the conditional `node` / `import` / `require` entries are preserved while
15
+ deep type references resolve as `@hatiolab/things-scene/dist-types/...` again.
16
+
17
+ This restores the sub-path type access that was intentionally enabled in v10.0.0-beta.2 and
18
+ regressed when the `exports` map was reintroduced in `85764a61` (2026-05-07, beta.100).
19
+ Affected consumers: `@operato/scene-*` packages (base, basic, integration, grist, google-map,
20
+ baidu-map, indoor-map, openlayers).
21
+
22
+ Note for anyone diagnosing this: `tsconfig.tsbuildinfo` caches the diagnostics, so an
23
+ incremental rebuild can keep reporting TS2742 after the fix, and can equally keep reporting
24
+ success before it. Remove the `.tsbuildinfo` files (or run the workspace's `clean`) before
25
+ judging the result.
26
+
27
+ ## [v10.0.0](https://github.com/hatiolab/things-scene/releases/tag/v10.0.0) (2026-07-29)
4
28
 
5
29
  Consolidated release notes for the v9 → v10 major upgrade. This section summarizes the
6
30
  significant, consumer-facing changes by theme; the per-beta entries below remain as the
7
31
  detailed historical record (beta.11 and earlier).
8
32
 
33
+ Full release notes: [`docs/release-notes/v10.0.0.md`](./docs/release-notes/v10.0.0.md).
34
+
9
35
  ### Highlights
10
36
 
11
37
  - **Unified 2D + 3D rendering** — a single component model renders to both HTML5 Canvas
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hatiolab/things-scene",
3
- "version": "10.0.0",
3
+ "version": "10.0.1",
4
4
  "description": "A high-performance 2D/3D scene graph library for building interactive visual editors, combining HTML5 Canvas and Three.js to enable facility visualization, data-driven animations, and real-time monitoring dashboards",
5
5
  "main": "things-scene-min.js",
6
6
  "module": "things-scene.mjs",
@@ -13,7 +13,9 @@
13
13
  "import": "./things-scene.mjs",
14
14
  "require": "./things-scene-min.js",
15
15
  "default": "./things-scene-min.js"
16
- }
16
+ },
17
+ "./dist-types/*": "./dist-types/*",
18
+ "./package.json": "./package.json"
17
19
  },
18
20
  "files": [
19
21
  "things-scene-min.js",