v3.0.2
This does not change our bundled build, so most users will see no change compared to v3.0.1. This changes how our dependencies are represented in npm, which is important for developers that are incorporating <model-viewer>
into a larger TS/JS project. Specifically:
- Removed lottie-web dependency - the
animation
object of aLottieTexture
is now markedany
, so please cast it withimage.animation as import('lottie-web').AnimationItem;
if you want type info. #4132 - Switched three.js to a peer dependency, allowing it to be shared within a project. This could be construed as a breaking change, but we're bundling it up as part of v3.0 since that was so recent. Just make sure
three
is installed and the build should continue to work. #4135