@needle-tools/engine 5.0.5 → 5.0.6-next.bb467e1
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 +7 -0
- package/components.needle.json +1 -1
- package/dist/{needle-engine.bundle-CwycbG-K.umd.cjs → needle-engine.bundle-BPvphEEJ.umd.cjs} +75 -75
- package/dist/{needle-engine.bundle-DLNQOFNZ.js → needle-engine.bundle-CNoLozgc.js} +1744 -1703
- package/dist/{needle-engine.bundle-yYWZqy6w.min.js → needle-engine.bundle-DNW6Q7aB.min.js} +83 -83
- package/dist/needle-engine.d.ts +14 -1
- package/dist/needle-engine.js +2 -2
- package/dist/needle-engine.min.js +1 -1
- package/dist/needle-engine.umd.cjs +1 -1
- package/lib/engine/physics/workers/mesh-bvh/GenerateMeshBVHWorker.js +1 -1
- package/lib/engine/physics/workers/mesh-bvh/GenerateMeshBVHWorker.js.map +1 -1
- package/lib/engine-components/DragControls.d.ts +7 -0
- package/lib/engine-components/DragControls.js +19 -0
- package/lib/engine-components/DragControls.js.map +1 -1
- package/lib/engine-components/OrbitControls.js +16 -11
- package/lib/engine-components/OrbitControls.js.map +1 -1
- package/lib/engine-components/ui/Text.d.ts +8 -1
- package/lib/engine-components/ui/Text.js +29 -14
- package/lib/engine-components/ui/Text.js.map +1 -1
- package/lib/engine-components/web/CursorFollow.js +21 -12
- package/lib/engine-components/web/CursorFollow.js.map +1 -1
- package/package.json +2 -2
- package/plugins/common/worker.js +9 -4
- package/plugins/vite/asap.js +17 -8
- package/plugins/vite/dependencies.js +29 -0
- package/plugins/vite/local-files-core.js +3 -3
- package/plugins/vite/local-files-utils.d.ts +3 -1
- package/plugins/vite/local-files-utils.js +29 -5
- package/src/engine/physics/workers/mesh-bvh/GenerateMeshBVHWorker.js +1 -1
- package/src/engine-components/DragControls.ts +18 -2
- package/src/engine-components/OrbitControls.ts +18 -9
- package/src/engine-components/ui/Text.ts +43 -18
- package/src/engine-components/web/CursorFollow.ts +21 -13
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,13 @@ All notable changes to this package will be documented in this file.
|
|
|
4
4
|
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
|
5
5
|
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [5.0.6] - 2026-04-29
|
|
8
|
+
- Fix: UI Text font URLs now resolve correctly when loading GLBs from external hosts (e.g. CDN or absolute URLs)
|
|
9
|
+
- Add: UI Text default static font served from Needle CDN, allowing users to provide absolute font URLs
|
|
10
|
+
- Add: `DragControls` EventList support
|
|
11
|
+
- Fix: `OrbitControls` lookBounds lerp
|
|
12
|
+
- Fix: `CursorFollow` no longer hits objects in self; fixed snapToSurface raycast
|
|
13
|
+
|
|
7
14
|
## [5.0.5] - 2026-04-28
|
|
8
15
|
- Add: `AudioSource` spatial blend support via blend nodes
|
|
9
16
|
- Fix: `AudioSource` rolloff factor for spatial audio
|