Skip to content

Commit 8660e21

Browse files
committed
chore: release v5.0.0-next.5
1 parent 2f04a85 commit 8660e21

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,34 @@
11
# Changelog
22

3+
## [5.0.0-next.5](https://github.com/Tresjs/cientos/compare/5.0.0-next.4...5.0.0-next.5) (2025-07-08)
4+
5+
### ⚠ BREAKING CHANGES
6+
7+
* useFBX no longer returns the plain obj, it now returns an object with reactive data (state, isLoading, error) and a load method.
8+
9+
- Updated `vue` to version `3.5.17` and `three` to version `0.178.0` in `package.json` for enhanced compatibility and features.
10+
- Upgraded `@vitejs/plugin-vue` to version `6.0.0` and `vite` to version `7.0.2` to leverage the latest improvements in the build process.
11+
- Enhanced the `useFBX` composable to provide a reactive state for loading FBX models, allowing for better handling of model properties and loading states.
12+
- Improved the `FBXModel` component to support shadow properties and added a new demo for better visualization of FBX model loading.
13+
- Updated documentation to reflect changes in the FBX model loading process and added examples for better clarity.
14+
15+
* fix(TheModel.vue): remove unused type import for improved clarity
16+
17+
- Removed the unused import of `Group` from TheModel.vue to enhance code clarity and maintainability. This change aligns with the ongoing effort to streamline type imports and improve type safety across the codebase.
18+
19+
* feat: expose model state in useFBX and useGLTF components
20+
21+
- Added `defineExpose` to both `useFBX` and `useGLTF` components to expose the reactive model state, allowing for better integration and access to the model instance in parent components.
22+
- This enhancement improves the usability of the components by providing a direct reference to the model state, facilitating more dynamic interactions and updates.
23+
24+
* fix(useFBX): add missing comma in defineExpose for model instance
25+
26+
- Added a missing comma in the `defineExpose` call within the `useFBX` component to ensure proper syntax and prevent potential runtime errors. This minor fix enhances code clarity and maintains consistency in the component's structure.
27+
28+
### Features
29+
30+
* refactor useFBX ([#628](https://github.com/Tresjs/cientos/issues/628)) ([d59ef26](https://github.com/Tresjs/cientos/commit/d59ef26ff9e1924c12188f458324b83f72196f96))
31+
332
## [5.0.0-next.4](https://github.com/Tresjs/cientos/compare/5.0.0-next.3...5.0.0-next.4) (2025-06-30)
433

534
### Bug Fixes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@tresjs/cientos",
33
"type": "module",
4-
"version": "5.0.0-next.4",
4+
"version": "5.0.0-next.5",
55
"packageManager": "[email protected]",
66
"description": "Collection of useful helpers and fully functional, ready-made abstractions for Tres",
77
"author": "Alvaro Saburido <[email protected]> (https://github.com/alvarosabu/)",

0 commit comments

Comments
 (0)