Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Tresjs/tres
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.4.2
Choose a base ref
...
head repository: Tresjs/tres
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3.0.0
Choose a head ref
  • 3 commits
  • 39 files changed
  • 3 contributors

Commits on Jul 29, 2023

  1. feat: 331 new context for state (#333)

    * feat: tres context provider
    
    * feat: useContextProvider onMounted
    
    * feat: revert width height composables
    
    * feat: fixed renderer watch for aspectRatio changes
    
    * chore: clean up
    
    * feat: refactor raycaster
    
    * feat: 331 new context for state  tino (#340)
    
    * feat: refactored composables; seperated logic from TresCanvas
    
    * chore: more changes concerning renderer composable
    
    * feat: made window size reactive
    
    * chore: made compasable params more uniform
    
    * chore: refactored useRenderer
    
    * chore: type cleanup
    
    * feat: added user data key for active cameras
    
    * feat: made renderer constructor params reactive
    
    * feat: made multiple cameras work
    
    * feat: made camera handling work properly and fixed event handler problem
    
    * feat: added option to set a camera active by it's uuid and the object itself
    
    * chore: moved composable to composables
    
    * chore: removed obsolete todo comments
    
    * chore: set antialias to be true by default in TresCanvas
    
    * chore: fix debugUI playground
    
    * chore: pnpm lock
    
    * chore: added localOrbitControls
    
    * chore: made render loop start initially
    
    * chore: changes concerning PR review
    
    * chore: changes concerning PR review
    
    * chore: remove camera test for now
    
    * chore: release v2.4.0-next.4
    
    * chore: ci update for pnpm actions
    
    * chore: correct typo on test action name
    
    * chore: restored reactivity of renderer composable
    
    * chore: replaced userData handling in keys.ts by types
    
    * chore: made tests temporarily work
    
    * chore: disabled test temporarily
    
    * chore: removed readonly on scene for post-processing
    
    * chore: release v2.4.0-next.5
    
    * chore: restored readonly on scene and removed it from renderer
    
    * chore: release v2.4.0-next.6
    
    * chore: fixed hmr
    
    * chore: made usePointerEventHandler more uniform to other composables
    
    * feat: made renderer presets have less priority than explicitly defined props
    
    ---------
    
    Co-authored-by: Tino Koch <[email protected]>
    Co-authored-by: alvarosabu <[email protected]>
    
    * chore: release v2.4.0-next.7
    
    * feat: remove readonly for scene on state context
    
    * chore: release v2.4.0-next.8
    
    * feat: add defaults props for trescanvas to match renderer ones
    
    * chore: release v2.4.0-next.9
    
    * feat: changed camera behavior so that the first added camera is always the active one
    
    * chore: release v2.4.0-next.10
    
    * docs: updated docs concerning useTresContext composable
    
    * feat: added useTres alias for useTresContext
    
    * chore: changed useTresContext to useTres in the docs
    
    * chore: removed wrong dependency
    
    * fix: fixed issue caused by merge of main
    
    * chore: switched camera from ref to shallowRef
    
    * chore: removed obsolete comment
    
    * fix: revert shallorRef for cameras
    
    ---------
    
    Co-authored-by: Tino Koch <[email protected]>
    Co-authored-by: Tino Koch <[email protected]>
    3 people authored Jul 29, 2023
    Configuration menu
    Copy the full SHA
    0e66f43 View commit details
    Browse the repository at this point in the history
  2. docs: explain state breaking changes

    BREAKING CHANGE: UseTres is now useTresContext. Instead of using a store like in v2, we now use a context provider based on `provide/inject`.
    alvarosabu committed Jul 29, 2023
    Configuration menu
    Copy the full SHA
    4757da9 View commit details
    Browse the repository at this point in the history
  3. chore: release v3.0.0

    alvarosabu committed Jul 29, 2023
    Configuration menu
    Copy the full SHA
    38b383a View commit details
    Browse the repository at this point in the history
Loading