Skip to content

Latest commit

 

History

History
208 lines (163 loc) · 8.3 KB

CHANGELOG.md

File metadata and controls

208 lines (163 loc) · 8.3 KB

CHANGELOG

2.3.2 ( see diff )

Docs

  • Added LICENSE ( MIT )

Components

  • Added <gridHelper> ( #60 )
  • <React3/>:
    • Added canvasRef property for easier access to the canvas
  • <ambientLight/>:
    • Add intensity prop ( #110 )

Testing

  • Added production testing

2.3.1 ( see diff )

Core

  • Restore compatibility with react@~15.3.1

2.3.0 ( see diff )

Core

  • Restore compatibility with react@~15.3.0

2.2.1 ( see diff )

Components

Documentation

  • Add notes for default values for attributes
  • Reorder some properties in the <react3/> and <boxGeometry/> documentation to make more sense
  • Clarify documentation for lookAt property for <object3D/> and its subclasses
  • Add missing default properties for some components
  • Whitespace fixes

2.2.0 ( see diff )

Core

  • Restore compatibility with react@~15.2.0

2.1.4 ( see diff )

Core

  • Fixed bug which would cause a crash while mounting certain components with certain props that would trigger a remount ( #86 )

2.1.3 ( see diff )

Core

  • Fixed bug which would cause a crash when a component needs to update refs and it needs to remount ( déjà vu )

2.1.2 ( see diff )

Core

  • Fixed bug which would cause a crash when a child component needs to update refs and its parent needs to remount

2.1.1 ( see diff )

Core

  • Fixed bug which would prevent multiple React3 components in the same page

2.1.0 ( see diff )

Breaking changes

  • Lights
    • <directionalLight> and <pointLight> used to point to the origin by default, but from 2.1.0 they will look forward. If you would like to restore this behaviour you can do:
  // initialisation
  origin = new THREE.Vector3(0,0,0);
  // and within render 
  <directionalLight ... lookAt={origin}/>

Components

  • Added <lineSegments> geometry descriptor ( #68 ) ( @Nopik )
  • Lights
    • Fixed <directionalLight> and <pointLight> rotation updates ( #65, #73 )
    • Fixed shadow bugs for materials which did not declare a side property
  • Fixed updating of all arrow/axis helper props ( #59, #72 )
  • Allowing updating of geometry properties in subclasses for geometry ( #76 ) ( @jardakotesovec )

Core

  • Fixed compatibility with react@~15.1.0
  • Fixed compatibility with three@>=0.74.0 < 0.78.0

2.0.1 ( see diff )

Core

  • Adds CanvasRenderer fallback when WebGl support is not available #53
  • Fixed crashes that happen when returning null from composite components
  • Fixed crashes that happen when replacing composite components

Testing

  • Improved testing:
    • made faster and easier to debug

Documentation

  • Moved wiki files into repository to get rid of submodule

2.0.0 ( see diff )

Core

  • Should work with React 15 ✨
    • This version should work with react@^15.0.0
    • For react@^0.14.7, please install react-three-renderer@^0
    • This is because React is increasing separation between its core and react-dom, therefore the tricks used to make react-three-renderer needed to change as well.
  • Lots of the core has been rewritten to stay in sync with React 15 but that means there will probably be new bugs appearing.
  • Convert to a proper version system
  • Upgrade other npm packages

0.1.2 ( see diff )

Components

  • Add <sprite/> component ( #39 )
  • Add uniforms property to <shaderMaterial> and <rawShaderMaterial> ( #36 ).
  • Allow reordering of components within the <resources> component ( #40 )

Documentation

  • Improve <module> documentation ( Thanks @DelvarWorld )
  • Improve commenting for materialDescriptorBase

0.1.1

Fixes

  • core
    • Fixed a bug which would crash when the return type from a composite component would change e.g.:
    class Wrapper extends React.Component {
      static propTypes = {
        internal: React.PropTypes.bool,
        res: React.PropTypes.bool,
      };
    
      render() {
        if (this.props.internal) {
          return (<scene/>);
        }
    
        if (this.props.res) {
          return (<MyResources/>);
        }
    
        return (<MyScene/>);
      }
    }

Tests

  • Added tests for the above case

Documentation

  • Small documentation fixes

0.1.0

Components

Documentation

  • Improve README.md
  • Add CHANGELOG.md
  • Fix view source links
  • Add docs for shared properties in geometries and materials
  • Add cross-links between shape and extrude geometry

Project

  • Move tests into main repository