Releases: trytriplex/triplex
Releases · trytriplex/triplex
0.70.36
New features
- Replace custom camera helper with the standard Three.js camera helper.
- Add GitHub pages deployments to starter templates.
Bug fixes
- Fix
react-router
Route components not working with Triplex, see: https://x.com/trytriplex/status/1921821761483522165. - Fix
.gitignore
not being prefixed with a dot in generated starter templates.
Chores
- Cleanup camera_pp_fix feature gate.
- Cleanup camera_helper_original feature gate.
0.70.32
Start building a 3D React.js component in 30 seconds.
New features
- A new config option "UNSAFE_viteConfig" is now available. Use it to declare custom bundler behavior that otherwise can't be handled by default behavior. See the docs here: https://triplex.dev/docs/api-reference/config-options/unsafe-vite-config.
Bug fixes
- Fix modules that have no React components being flagged as HMR boundaries breaking updates being flushed to owning components.
- Inline default exported components can now be opened in Triplex.
Chores
- Upgrade dependencies (react-compiler).
- Templates now don't share any common files.
0.70.29
0.70.25
0.70.24
Note
Triplex for VS Code is now in open Beta! Get started now.
Bug fixes
- Fix user declared post processing not working in 3D components, this will be slowly rolled out.
- Transform controls used in 3D components no longer mutates the Three.js scene, this will be slowly rolled out.
Please ping on Discord or GitHub if you see something out of the ordinary.
Chores
- Remove unwanted files from production build.
- Cleanup feature gates.
0.70.21
Breaking changes
- Component thumbnails have been disabled in editor and will be re-enabled at a later date.
- The default global provider has been deprecated and replaced with two named exports: CanvasProvider which is a 1:1 replacement, and GlobalProvider, which is placed at the root of the component tree.
- Basic and halloween templates have been removed.
New features
- The camera system has been replaced with one that gives you more control over what Canvas camera to view through, while also changing the default behavior for React DOM components to view through the default camera instead of the editor camera when initially opening.
- React Three Fiber dependencies are no longer needed to be installed when loading a project that doesn't use them.
- CanvasProvider exports from the declared provider module now show up in the provider panel.
Bug fixes
- Fix scene resolving to bundled renderer instead of local renderer when running local renderers.
- Remove object helper affecting camera fit scene behavior.
- Fix React DOM outline selections missing scroll offset.
- Fixed camera previews to only show through the editor camera.
- Fix three fiber selections selecting unexpected objects when hovered outside of the canvas.
- Loading a React component that doesn't have React imported in the module graph now open as expected.
- Fix delete element bleeding deleted state onto unexpecting sibling elements.
- Fix state changes clearing the camera unexpectedly.
- Deno projects that exclusively use deno.json instead of package.json can now be opened inside Triplex.
- Fix root analysis edge case where it would throw a "can't access root of undefined" error.
- Fix component meta being generated for components outside of module scope.
- Fix code transform exclusions not applying on Windows.
- All paths now have their drive casing normalized.
Chores
- Upgrade to latest React Three Fiber dependencies for templates.
0.70.12
Bug fixes
- Fix root analysis using locally defined components sourced from inside components, which are now ignored. This is because the component isn't in the module scope and can't be statically used prior to the component rendering.
- Fix edgecase where the Fragment named import wouldn't be imported when using shorthand fragments.
- Add edge case support for assuming a react-three-fiber root if a custom component was found that starts with "object3d".
- The selection system now harmoniously works between reconcilers, exactly as you'd expect.
- Fix React 19 warnings for using inert prop with strings.
- Fix React 19 warnings for accessing refs on Fragments.
- Canvas components no longer take up the entire space when rendered in userland but instead applying the default behaviour.
- Fix jsconfig paths not being respected by the scene environment.
Chores
- Update the package icon
0.70.8
New features
- React 19 / Three Fiber 9 are now supported.
- The camera settings menu in the floating scene controls panel have been moved into a new scene settings menu. Find it in the same spot with the "cog" icon.
- Scene controls and options will now be contextually shown depending if there is a Three Fiber canvas mounted to the scene.
Bug fixes
- Fixed literal union type labels not being resolved for some scenarios.
- String and number inputs now show their type as a placeholder even when a label is defined. For example previously it would show as "label", now it shows as "label (number)" / "label (string)" where appropriate.
- Fix logo curvature.
- Userland
createRoot()
calls are now stubbed out to prevent undefined behavior when opening.
Chores
- Revert disabling selecting when transform is enabled as it's annoying.
0.70.5
0.70.4
Note
Triplex for VS Code is in closed Beta! Find the link to install on Discord.
Bug fixes
- Fix sprites not being selectable in the scene
- Using 3E92 a Canvas component from @react-three/fiber along with other custom components are now correctly flagged as a "react" root instead of a "three-fiber" root.
- Fixed a long standing bug where rotation transforms weren't correctly marked where statically used as the code analysis was looking for "rotate" instead of "rotation".
- Hover selection indicators are now disabled when transform controls are visible.
- Fixed regression where transforms were affecting more than one scene object. This primarily affected custom components that had multiple child meshes.
Chores
- JavaScript based projects no-longer have a tsconfig.json generated when starting up in Triplex.
- A new loading indicator has been implemented.