Skip to content

Conversation

renovate[bot]
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.0 age confidence

Release Notes

Tresjs/tres (@​tresjs/core)

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.

Copy link

netlify bot commented Sep 22, 2025

Deploy Preview for vue-devtools-docs canceled.

Name Link
🔨 Latest commit b11a851
🔍 Latest deploy log https://app.netlify.com/projects/vue-devtools-docs/deploys/68e953f78d29c300086d1f19

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: b11a851

@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 from 15d5cc9 to c5028c8 Compare October 4, 2025 21:59
@renovate renovate bot force-pushed the renovate/tresjs-core-5.x branch from c5028c8 to b11a851 Compare October 10, 2025 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants