Skip to content

Update dependency three-mesh-bvh to ^0.9.0#154

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/three-mesh-bvh-0.x
Open

Update dependency three-mesh-bvh to ^0.9.0#154
renovate[bot] wants to merge 1 commit intomainfrom
renovate/three-mesh-bvh-0.x

Conversation

@renovate
Copy link
Copy Markdown

@renovate renovate bot commented Mar 10, 2026

This PR contains the following updates:

Package Change Age Confidence
three-mesh-bvh ^0.8.2^0.9.0 age confidence

Release Notes

gkjohnson/three-mesh-bvh (three-mesh-bvh)

v0.9.9

Compare Source

Added
  • Add tests for ObjectBVH, SkinnedMeshBVH
  • ObjectBVH: Add "getObjectFromId", "getInstanceFromId" functions
  • Moved "ObjectBVH" and "SkinnedMeshBVH" to core. These classes are still in development and APIs may change.
Changed
  • BVHHelper: Handled case where the a root object does not have geometry.
Fixed
  • ParallelMeshBVHWorker: Fix failure when reporting progress.
  • ObjectBVH, SkinnedMeshBVH: Fix raycasting bugs for both classes
  • ObjectBVH: Fix case where the first BatchedMesh instance would be skipped

v0.9.8

Compare Source

Changed
  • Added deprecation warning when using "intersectsTriangle" without casting boundsTree.
Fixed
  • "onProgress" function not broadcasting percentages correctly.
Added
  • "ObjectBVH" to examples.

v0.9.7

Compare Source

Added
  • BVH: Added support for "bvhcast" callback
Fixed
  • BVHHelper: Rename "objectIndex" to "instanceId"
  • BVHHelper: Enable "instanceId" to be set to - 1 to ignore the instance transform.
Changed
  • MeshBVH: deprecated "maxLeafTris" option in favor of "maxLeafSize".
  • MeshBVHHelper: deprecated class in favor of "BVHHelper".
  • BVH: Changed internal shapecast callbacks

v0.9.6

Compare Source

Fixed
  • BVHHelper: Fix "clone" function not cloning all fields.
  • acceleratedRaycast: Fix case where raycasting will fail if "type" is modified.
  • Update types.
  • WGSL: Fix use of keyword as a variable.
Added
  • PointsBVH, LineBVH, LineLoopBVH, LineSegmentsBVH: Added support for "refit" function.
  • SkinnedMeshBVH for skinned meshes or morph target meshes to the examples directory.

v0.9.5

Compare Source

Added
  • Support for PointsBVH, LineBVH, LineSegmentsBVH, LineLoopBVH.
Fixed
  • Removed unnecessary PURE annotation.
  • Fixed typing

v0.9.4

Compare Source

Added
  • Docs for bvhcast function.
  • More usage of "PURE" annotations.
  • Added "version" field to serialized data.
  • Add support for "shiftTriangleOffsets" function.
Changed
  • Changed the internal storage of child indices from uint32 offsets to node indices. Old serialized data will continue to work via a "fixup" step while logging a warning.

v0.9.3

Compare Source

Fixed
  • Fixed dependencies on WebGPURenderer compute nodes.
  • Fixed MeshBVH.bvhcast passing "NaN" nodeIndex values to callbacks when more than one group was present.
  • Fixed triangles being included in the BVH when they were not included in a groups range (eg exclude triangles in group gaps).
  • Ensure "triangle bounds" buffer is limited to the size it needs to be to avoid unnecessary memory overhead.
  • Remove limitation preventing "indirect" BVHs from being generated for BatchedMesh instances.
  • Raycasting will now return the correct material index aligned with three.js' results including when geometry with overlapping groups are used.

v0.9.2

Compare Source

Added
  • Types for web workers.
  • Add tsl functions for running bvh raycasting and distance queries via compute shaders.
  • Add "three-mesh-bvh/worker" export.
  • Add "three-mesh-bvh/webgpu" export.
Fixed
  • Type definitions.
  • Case where raycasting results would not match three.js' behavior.
  • Case where "intersectsGeometry" would throw an error if a geometry without an index was provided.
  • MeshBVHHelper: fix types to align with docs.
  • MeshBVHHelper: fix case where "update" causes an error if "mesh" is not provided.
  • MeshBVH: Fixed case where generating a bvh for a sub geometry was significantly slower, impacting BatchedMesh generation.

v0.9.1

Compare Source

Fixed
  • Type definitions.

v0.9.0

Compare Source

Changed
  • Changed "bvhClosestPointToPoint" function signature to include "maxDistance" argument.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Copy Markdown
Author

renovate bot commented Mar 10, 2026

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: pnpm-lock.yaml
(node:5484) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabilities.
(Use `node --trace-deprecation ...` to show where the warning was created)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants