Skip to content

Releases: trytriplex/triplex

0.70.39

27 May 09:41
Compare
Choose a tag to compare

Note

Triplex for VS Code is now in open Beta! Get started now.


New features

  • Add a helper for the XROrigin component from @react-three/xr.
  • The XROrigin component is now disabled when in edit state or looking through the editor camera.

Bug fixes

  • Fix component environment check using @react-three/drei hooks to prevent accidentally loading a three fiber environment when a react dom environment should have been loaded.
  • Fix function props being marked as required when they actually were optional.
  • Transform controls now reads the initial state from props instead of the scene fixing some edge cases affecting Triplex users, such as transforming decal meshes.
  • Elements that have associated helpers now also render children when the helper is rendered.

Chores

  • Upgrade typescript dependencies.
  • Upgrade react-three dependencies.
  • Upgrade vite dependencies.

0.70.36

12 May 22:36
Compare
Choose a tag to compare

New features

  • Replace custom camera helper with the standard Three.js camera helper.
  • Add GitHub pages deployments to starter templates.

Bug fixes

Chores

  • Cleanup camera_pp_fix feature gate.
  • Cleanup camera_helper_original feature gate.

0.70.32

01 May 04:26
Compare
Choose a tag to compare

Start building a 3D React.js component in 30 seconds.

New features

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

16 Apr 04:16
Compare
Choose a tag to compare

Bug fixes

  • Fix regression to camera previews caused by feature gate camera_pp_fix.
  • IPs are now capped to 3000 range.

0.70.25

31 Mar 00:47
Compare
Choose a tag to compare

Chores

  • Fix the feature gate environment being development instead of production (oops!).

0.70.24

30 Mar 10:47
Compare
Choose a tag to compare

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

25 Mar 11:02
Compare
Choose a tag to compare

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

22 Feb 04:46
Compare
Choose a tag to compare

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

10 Feb 23:58
Compare
Choose a tag to compare

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

25 Jan 05:39
Compare
Choose a tag to compare

Bug fixes

  • Fixed a critical regression where the scene wouldn't be updated when modifying basically anything. Scenarios affected include: adding an element, undo, redo. Tests have been added to ensure this never regresses again. Apologies!