Releases: musehq/spacesvr
Releases · musehq/spacesvr
v2.12.2
v2.12.1
changes
- fix pointer events for tool switch overlay
- fix logic for opening tool switch overlay that got it stuck open
migrations
n/a
v2.12.0
changes
- new Tool Overlay for visual feedback when switching tools. pass in an image url as the
icon
prop to have it show up, recommend 250x250 - pin @react-three/xr to 5.4.1
- remove node-fetch
- add __spacesvr id to spacesvr container
- remove default quicksand font, font size
- roughly scale z-indexes by 10 (0-200 --> 0-20)
- add setActiveTool by name, gotchu @benjaminha14
migrations
- if you had logic that relied on a newer version of @react-three/xr, you'll have to either pin the library yourself or solve the conflicts
- if you relied on our styling for any html, you'll have to add the styles back yourself or pick a good font
v2.11.0
changes
- allow camera to be opened with shift+c
- upgrade @react-three/drei to
v9.65.3
- upgrade @react-three/fiber to
v8.12.0
- upgrade @react-three/xr to
v5.4.1
- upgrade three to
v0.151.3
- move three from peer dep to actual dep
migrations
- remove
three
from your local package json - replace all
xxxBufferGeometry
withxxxGeometry
, both on the programmatic side and the declarative side - when using
three
's Color, use its newly exported types ofColorRepresentation
,HexColorString
, etc
v2.10.6
changes
- rewrite world lights logic
- fix warning
- slight performance improvement
migrations
n/a
v2.10.5
changes
- fix
VisualWorld
idea to update color on prop change - preload Tools on mount
- wrap
Tool
modifier contents with Suspense - memoize useDrag hook callbacks
- forward
Hitbox
Ref - wrap
Physics
Layer in suspense, explained in the comments - some minor refactors
- increase mobile tool swipe detection range
- add
Toolbelt
Layer lighting options (world for copying in world lighting, local for a basic directional + ambient lighting) - remove notion of
Tool
swiping vertically - VERY KEY
useHudDims
hook for getting a dynamic size based on user's screen, useful forTool
UX - complete
Camera
Tool revamp, much better mobile flow
migrations
- Toolbelt world lighting is true by default, you may want to disable that or the local lighting if together they're too strong
v2.10.4
changes
- look at text input when you select it on mobile
- add disable draggable prop for tool modifier
- kill the bottom up swipe for tools, constrain tool edge swipe to top half of screen
- fix chrome mobile input locking controls
- fix touchfps camera hook deps
migrations
n/a
v2.10.3
changes
- set background idea on layout effect
- increase LookAtPlayer slerp speed
migrations
n/a
v2.10.2
changes
- fix LookAtPlayer logic
migrations
n/a
v2.10.1
changes
- remove need to pass WebGLRenderer instance to asset preload and clear functions
migrations
- any preload or clear calls from
useImage
oruseModel
should be cleared of the second argument, and likely moved outside of the component body