@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.
Files changed (33) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/components.needle.json +1 -1
  3. package/dist/{needle-engine.bundle-CwycbG-K.umd.cjs → needle-engine.bundle-BPvphEEJ.umd.cjs} +75 -75
  4. package/dist/{needle-engine.bundle-DLNQOFNZ.js → needle-engine.bundle-CNoLozgc.js} +1744 -1703
  5. package/dist/{needle-engine.bundle-yYWZqy6w.min.js → needle-engine.bundle-DNW6Q7aB.min.js} +83 -83
  6. package/dist/needle-engine.d.ts +14 -1
  7. package/dist/needle-engine.js +2 -2
  8. package/dist/needle-engine.min.js +1 -1
  9. package/dist/needle-engine.umd.cjs +1 -1
  10. package/lib/engine/physics/workers/mesh-bvh/GenerateMeshBVHWorker.js +1 -1
  11. package/lib/engine/physics/workers/mesh-bvh/GenerateMeshBVHWorker.js.map +1 -1
  12. package/lib/engine-components/DragControls.d.ts +7 -0
  13. package/lib/engine-components/DragControls.js +19 -0
  14. package/lib/engine-components/DragControls.js.map +1 -1
  15. package/lib/engine-components/OrbitControls.js +16 -11
  16. package/lib/engine-components/OrbitControls.js.map +1 -1
  17. package/lib/engine-components/ui/Text.d.ts +8 -1
  18. package/lib/engine-components/ui/Text.js +29 -14
  19. package/lib/engine-components/ui/Text.js.map +1 -1
  20. package/lib/engine-components/web/CursorFollow.js +21 -12
  21. package/lib/engine-components/web/CursorFollow.js.map +1 -1
  22. package/package.json +2 -2
  23. package/plugins/common/worker.js +9 -4
  24. package/plugins/vite/asap.js +17 -8
  25. package/plugins/vite/dependencies.js +29 -0
  26. package/plugins/vite/local-files-core.js +3 -3
  27. package/plugins/vite/local-files-utils.d.ts +3 -1
  28. package/plugins/vite/local-files-utils.js +29 -5
  29. package/src/engine/physics/workers/mesh-bvh/GenerateMeshBVHWorker.js +1 -1
  30. package/src/engine-components/DragControls.ts +18 -2
  31. package/src/engine-components/OrbitControls.ts +18 -9
  32. package/src/engine-components/ui/Text.ts +43 -18
  33. 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