Skip to content

Releases: Tresjs/tres

v5.0.0-alpha.0

21 Aug 15:55
Compare
Choose a tag to compare
v5.0.0-alpha.0 Pre-release
Pre-release

5.0.0-alpha.0 (2025-08-21)

Features

  • 1047 warn user if the canvas has no area (#1048) (4c06603)
  • enhance Nuxt configuration and AppHeader to include package version (7a8b53f)
  • make some of the utility methods available to users (#1068) (a225230)

Bug Fixes

  • avoid pierced props to setScalar when numerical (#1073) (4e7ba85)

Reverts

v5.0.0-next.6

22 Jun 10:19
Compare
Choose a tag to compare
v5.0.0-next.6 Pre-release
Pre-release

5.0.0-next.6 (2025-06-22)

Bug Fixes

  • update elapsed time retrieval in useCreateRafLoop to use the latest clock property (#1046) (1b3971c)

What's Changed

  • refactor: 1043 render function triggers too often by @Tinoooo in #1044
  • refactor: 1045 remove unescessary call to getelapsedtime by @Tinoooo in #1046
  • refactor: 983 refactor usetrescontextprovider to use createinjectionstate by @Tinoooo in #1042

Full Changelog: 5.0.0-next.5...5.0.0-next.6

v5.0.0-next.5

20 Jun 16:58
Compare
Choose a tag to compare
v5.0.0-next.5 Pre-release
Pre-release

5.0.0-next.5 (2025-06-20)

What's Changed

Full Changelog: 5.0.0-next.4...5.0.0-next.5

v5.0.0-next.4

20 Jun 14:49
Compare
Choose a tag to compare
v5.0.0-next.4 Pre-release
Pre-release

5.0.0-next.4 (2025-06-20)

⚠ BREAKING CHANGES

  • onAfterRender has been renamed to onRender

  • refactor: type improvements in createPriorityEventHook

  • refactor: remove deprecated loop implementation and update related composables

  • Removed the old useCreateRenderLoop and its associated tests.
  • Updated useLoop to utilize the new useRenderLoop for better event handling.
  • Commented out OrbitControls in relevant Vue components for potential future use.
  • Cleaned up unused code and comments in useTresContextProvider.
  • added some todos

  • refactor: removed redundant eventhook

  • refactor: simplify renderer setup by removing loop parameter

  • refactor: enhance useRenderLoop to accept notifyFrameRendered callback

  • chore: removed obsolete comment

  • chore: made TresCanvas use correct event hook

  • refactor!: omitted frame in render manager return

  • refactor: restored renderEventHook

  • chore: added comments after meeting

  • refactor: made render loop more generic in it's naming

  • refactor: made useLoop use useTres context

  • chore: added jsdoc description for useLoop

  • refactor: rename LoopContext to RafLoopContext and update related references

  • refactor: replaced setTimeout with useTimeout

  • refactor: update useLoop tests to use useCreateRafLoop and adjust rendering logic

  • test: enhance useLoop tests with fake timers and add new callback functionality

  • chore: removed debug code

  • fix: initialize frames based on renderMode to ensure correct rendering behavior

  • refactor: fixed multiple playgrounds

  • feat: added loop and beforeLoop events to canvas

  • fix: fixed playground experience
    rafactor: renamed replaceCycleFunction to replaceLoopFunction

  • fix: fixed some more playgrounds

  • fixed some more playgrounds

  • refactor!: renamed onBeforeRender to onBeforeLoop and onRender to onLoop
    fix: fixed playgrounds

  • fixed test

  • refactor: tiny code styling improvement

  • refactor: omitted export of useCreateRafLoop

  • linting fixes

  • refactor: tiny improvement for fbo demo

  • refactor: rename fboRef to groupRef for clarity in FBO demo

  • refactor: renamed onBeforeLoop back to onBeforeRender and onLoop back to onRender

  • restored usage of orbit controls

  • more restoring of orbitcontrols usages

  • refactor: updated loop handling by renaming onLoop to onRender in TakeOverRenderExperience.vue and adjusted related emit definitions in TresCanvas.vue

  • removed obsolete comment

Features

What's Changed

  • refactor: useLoop and useRenderLoop refactoring by @Tinoooo in #1035

Full Changelog: 5.0.0-next.3...5.0.0-next.4

v5.0.0-next.3

15 Jun 14:22
Compare
Choose a tag to compare
v5.0.0-next.3 Pre-release
Pre-release

5.0.0-next.3 (2025-06-15)

Features

What's Changed

Full Changelog: 5.0.0-next.2...5.0.0-next.3

5.0.0-next.2

15 Jun 10:52
Compare
Choose a tag to compare
5.0.0-next.2 Pre-release
Pre-release

What's Changed

Full Changelog: 5.0.0-next.1...5.0.0-next.2

5.0.0-next.1

06 Jun 13:55
Compare
Choose a tag to compare
5.0.0-next.1 Pre-release
Pre-release

What's Changed

  • chore: type checking in ci by @Tinoooo in #988
  • refactor: reorganize devtools setup and imports by @alvarosabu in #991
  • feat!: deprecate useSeek composable and update documentation by @alvarosabu in #990
  • chore: update-cientos-next-for-playground-docs by @alvarosabu in #996
  • refactor!: 979 move renderer logic from usetrescontextprovider to userenderer 2 by @Tinoooo in #993
  • refactor!: 992 removal of emit from usetrescontextprovider composable by @Tinoooo in #999
  • refactor!: removed useTresReady, added isReady to the renderer in the… by @Tinoooo in #1000
  • fix: add initial value support to useLoader for improved UX by @alvarosabu in #1007
  • feat!: 986 remove usetexture by @alvarosabu in #1008
  • fix(patchProp): harden props inference by @CodyJasonBennett in #1006
  • docs: add contribution guide link to docs and for different languages by @colinscz in #958
  • refactor!: context camera is now a state by @alvarosabu in #1004
  • fix: make sure key is camelCase when reached else on conditional by @alvarosabu in #1011
  • refactor!: removal of performance state from useTresContextProvider by @Tinoooo in #1003
  • feat: introduce useTres composable and update related documentation by @alvarosabu in #1017
  • feat: 1012 add context inspector devtools by @alvarosabu in #1013
  • refactor: remove redundant error check in invalidate function of useRendererManager by @alvarosabu in #1023

New Contributors

Full Changelog: 5.0.0-next.0...5.0.0-next.1

v4.3.6

06 Jun 14:02
Compare
Choose a tag to compare

4.3.6 (2025-06-06)

Full Changelog: 4.3.5...4.3.6

v4.3.5

16 May 13:29
Compare
Choose a tag to compare

4.3.5 (2025-05-16)

Bug Fixes

  • make sure key is camelCase when reached else on conditional (#1011) (2902d05)

What's Changed

  • docs: add contribution guide link to docs and for different languages by @colinscz in #958
  • fix: make sure key is camelCase when reached else on conditional by @alvarosabu in #1011

Full Changelog: 4.3.4...4.3.5

v4.3.4

13 May 13:24
Compare
Choose a tag to compare

4.3.4 (2025-05-13)

Bug Fixes

  • patchProp: harden props inference (#1006) (6cdf28b)
  • revert improve type safety in retargeting proxy setter (#930) (0a95764)

Reverts

  • Revert "fix: improve typing pixel ratio handling in setPixelRatio utility" (#929) (9e76010), closes #929

What's Changed

New Contributors

Full Changelog: 4.3.3...4.3.4