Skip to content

Releases: musehq/spacesvr

v2.12.2

11 May 23:51
7126b12
Compare
Choose a tag to compare

changes

  • remove NodeJS namespace type

migrations

n/a

v2.12.1

11 May 23:38
14bb8bf
Compare
Choose a tag to compare

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

01 May 08:50
7e7ca61
Compare
Choose a tag to compare

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

12 Apr 19:37
f3a3555
Compare
Choose a tag to compare

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 with xxxGeometry, both on the programmatic side and the declarative side
  • when using three's Color, use its newly exported types of ColorRepresentation, HexColorString, etc

v2.10.6

08 Feb 09:03
71faa27
Compare
Choose a tag to compare

changes

  • rewrite world lights logic
  • fix warning
  • slight performance improvement

migrations

n/a

v2.10.5

08 Feb 05:02
6c24a2b
Compare
Choose a tag to compare

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 for Tool 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

31 Jan 07:54
39e145f
Compare
Choose a tag to compare

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

21 Jan 01:57
3aa7edf
Compare
Choose a tag to compare

changes

  • set background idea on layout effect
  • increase LookAtPlayer slerp speed

migrations

n/a

v2.10.2

20 Jan 18:35
2b11bd0
Compare
Choose a tag to compare

changes

  • fix LookAtPlayer logic

migrations

n/a

v2.10.1

20 Jan 00:52
29d47d3
Compare
Choose a tag to compare

changes

  • remove need to pass WebGLRenderer instance to asset preload and clear functions

migrations

  • any preload or clear calls from useImage or useModel should be cleared of the second argument, and likely moved outside of the component body