Releases: Tresjs/tres
v5.0.0-alpha.0
v5.0.0-next.6
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
5.0.0-next.5 (2025-06-20)
What's Changed
- fix: build-graph utility types by @alvarosabu in #1041
Full Changelog: 5.0.0-next.4...5.0.0-next.5
v5.0.0-next.4
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 newuseRenderLoop
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
Full Changelog: 5.0.0-next.3...5.0.0-next.4
v5.0.0-next.3
5.0.0-next.3 (2025-06-15)
Features
What's Changed
- fix: expose render mode by @alvarosabu in #1032
Full Changelog: 5.0.0-next.2...5.0.0-next.3
5.0.0-next.2
What's Changed
- feat!: 997 refactor events 2 by @Tinoooo in #1026
- feat: 982 refactor userenderer by @alvarosabu in #1022
- feat: webgpu native support by @alvarosabu in #1029
Full Changelog: 5.0.0-next.1...5.0.0-next.2
5.0.0-next.1
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
- @CodyJasonBennett made their first contribution in #1006
Full Changelog: 5.0.0-next.0...5.0.0-next.1
v4.3.6
4.3.6 (2025-06-06)
Full Changelog: 4.3.5...4.3.6
v4.3.5
4.3.5 (2025-05-16)
Bug Fixes
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
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
- refactor(is): remove check for in, add tests by @andretchen0 in #927
- fix: revert typescript changes for use dpr by @alvarosabu in #929
- fix: revert improve type safety in retargeting proxy setter by @alvarosabu in #930
- chore(playground): add complex model and group event handling examples by @alvarosabu in #940
- chore(netlify): configure Node.js version and disable Corepack integr… by @alvarosabu in #942
- docs: correct link to tweakpane in english docs by @colinscz in #948
- chore(deps): update pnpm to v9.15.6 by @renovate in #951
- docs: Fix import of vLightHelper by @tobiaswaelde in #954
- chore(deps): update pnpm to v10 by @renovate in #926
- docs: update social and sponsor links for the team members by @colinscz in #972
- docs: fix missing documentation for lab section in french docs by @colinscz in #963
- fix(patchProp): harden props inference by @CodyJasonBennett in #1006
New Contributors
- @tobiaswaelde made their first contribution in #954
- @CodyJasonBennett made their first contribution in #1006
Full Changelog: 4.3.3...4.3.4