Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Sep 22, 2025

This PR contains the following updates:

Package Change Age Confidence
@tresjs/core (source) ^4.3.6 -> ^5.1.1 age confidence

Release Notes

Tresjs/tres (@​tresjs/core)

v5.1.1

Compare Source

🩹 Fixes
  • logger: remove unnecessary eslint directive for explicit any in runtime mode resolution (5b06cc1d)
  • core: enhance runtime mode resolution for both browser and Node environments (2f9c55c2)
🧱 Updated Dependencies
❤️ Thank You

v5.1.0

Compare Source

🚀 Features
  • linter fixes (2632eb90)
  • add documentation and remove console log (88c7abc9)
  • support components written in kebab-case (be92464d)
🩹 Fixes
  • utils: update import paths for types in index.ts and tres.ts (42f9e914)
🧱 Updated Dependencies
❤️ Thank You

v5.0.3

Compare Source

🧱 Updated Dependencies

v5.0.2

Compare Source

Bug Fixes

What's Changed

New Contributors

Full Changelog: Tresjs/tres@5.0.1...5.0.2

v5.0.1

Compare Source

Bug Fixes

What's Changed

Full Changelog: Tresjs/tres@5.0.0...5.0.1

v5.0.0

Compare Source

⚠ BREAKING CHANGES

ESM Only
  • Tres is now ESM only - Removed UMD build configuration from package.json and adjusted exports to only include ES module
  • Updated vite.config.ts to specify the output format as ES, enhancing compatibility with modern module systems
Event System Overhaul
  • New event system based on pmdrs/pointer-events - Only first element intersected will trigger the pointer event, no more need to stop propagation on occlusion
  • Replaced raycaster with events system throughout the codebase
Loop System Refactoring
  • onAfterRender has been renamed to onRender
  • onBeforeRender renamed to onBeforeLoop, then back to onBeforeRender
  • onLoop renamed to onRender
  • Removed deprecated loop implementation and updated related composables
Context API Changes
  • useTresReady is no longer available - replaced by isReady in the renderer in the context
  • onTresReady is no longer available - renderer.isReady should be leveraged instead
  • camera ctx property is now an object with the camera manager instead of the active camera
  • useRenderer now returns invalidate and advance - useTresContextProvider no longer contains render state
  • invalidate, advance, canBeInvalidated and the renderer instance are now accessed through the context via renderer
  • The renderer instance in the context is now readonly
  • Removed emit from useTresContextProvider and useTresEventManager
  • The types EmitEventName and EmitEventFn are no longer exported from @​tresjs/core
Composables Removed/Deprecated
  • useTexture composable moved to @​tresjs/cientos package
  • useSeek is deprecated and removed
Loader Changes
  • useLoader API changed - no longer returns the plain object, now returns an object with reactive data (resource|s), isLoading, error) and a load method, can be used both sync and async (suspense)

🚀 New Features

Core Features
  • WebGPU native support - Added support for WebGPU rendering
  • New useTres composable - Provides access to the Tres context
  • Enhanced useLoop and useRenderLoop - Completely refactored with better event handling
  • Expose render mode - Made render mode accessible to users
  • Make utility methods available - Some utility methods are now exposed for user consumption
  • Model and animation recipe - Added comprehensive model and animation examples
Developer Experience
  • Tres Devtools integration - Added context inspector for better debugging
  • Warning system - Warn user if the canvas has no area
  • Enhanced Nuxt configuration - Include package version in AppHeader
Performance & Reliability
  • Improved texture loading - Added initial value support to useLoader
  • Better event handling - Enhanced pointer events system with occlusion handling
  • Optimized rendering loop - More efficient render loop management

🐛 Bug Fixes

  • Fixed elapsed time retrieval in useCreateRafLoop to use the latest clock property
  • Avoided pierced props to setScalar when numerical
  • Fixed docs SSG 404 issues
  • Removed development exports from package.json
  • Added forgotten ready emit
  • Fixed multiple playground experiences and examples
  • Improved scene object handling in Tres Devtools
  • Enhanced orthographic camera setup and controls
  • Fixed camera manual check and projection matrix updates

🔧 Refactoring & Code Improvements

Major Refactors
  • useRenderer refactoring - Moved renderer logic from useTresContextProvider to useRenderer
  • Context system overhaul - Complete restructuring of the context API
  • Event system rewrite - Based on pmdrs/pointer-events for better performance
  • Camera management - Enhanced camera handling with Three.js Camera type
  • Performance state removal - Removed performance state from useTresContextProvider
Code Quality
  • Improved type safety throughout the codebase
  • Enhanced readability and maintainability
  • Cleaned up unused code and comments
  • Better error handling and edge case management
  • Streamlined component implementations

📚 Documentation Updates

  • Updated documentation to reflect all breaking changes
  • Added migration guides for deprecated composables
  • Enhanced examples in the cookbook
  • Fixed import documentation
  • Added community resources section
  • Updated API documentation for new composables

👥 Contributors

Special thanks to all contributors who made v5.0.0 possible:

🔗 Related Pull Requests

Key PRs that shaped v5.0.0:


This release represents a major milestone for TresJS, bringing significant improvements in performance, developer experience, and API consistency. While there are breaking changes, the new architecture provides a much more robust foundation for future development.

For migration assistance, please refer to our updated documentation and migration guides.

Full Changelog: Tresjs/tres@4.3.6...5.0.0


Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), 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.

@netlify
Copy link

netlify bot commented Sep 22, 2025

Deploy Preview for vue-devtools-docs canceled.

Name Link
🔨 Latest commit 4ec9c60
🔍 Latest deploy log https://app.netlify.com/projects/vue-devtools-docs/deploys/691d1190a4c9820009a96655
@pkg-pr-new
Copy link

pkg-pr-new bot commented Sep 22, 2025

Open in StackBlitz

@vue/devtools-applet

npm i https://pkg.pr.new/@vue/devtools-applet@969 

@vue/devtools-core

npm i https://pkg.pr.new/@vue/devtools-core@969 

@vue/devtools

npm i https://pkg.pr.new/@vue/devtools@969 

@vue/devtools-api

npm i https://pkg.pr.new/@vue/devtools-api@969 

@vue/devtools-kit

npm i https://pkg.pr.new/@vue/devtools-kit@969 

vite-plugin-vue-devtools

npm i https://pkg.pr.new/vite-plugin-vue-devtools@969 

commit: 4ec9c60

@renovate renovate bot force-pushed the renovate/tresjs-core-5.x branch 2 times, most recently from 645bb1c to 15d5cc9 Compare September 24, 2025 13:40
@renovate renovate bot force-pushed the renovate/tresjs-core-5.x branch 2 times, most recently from c5028c8 to b11a851 Compare October 10, 2025 18:44
@renovate renovate bot force-pushed the renovate/tresjs-core-5.x branch 2 times, most recently from e4df11b to b0c1f2d Compare October 21, 2025 21:45
@renovate renovate bot force-pushed the renovate/tresjs-core-5.x branch from b0c1f2d to e56df09 Compare November 10, 2025 15:56
@renovate renovate bot force-pushed the renovate/tresjs-core-5.x branch from e56df09 to 0c14a1a Compare November 17, 2025 16:19
@renovate renovate bot force-pushed the renovate/tresjs-core-5.x branch from 0c14a1a to 4ec9c60 Compare November 19, 2025 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

1 participant