Releases: PhilippMolitor/react-unity-renderer
Releases · PhilippMolitor/react-unity-renderer
2021.0.0
- ⬆️ Support Unity 2021
- ✨ Add new instance config options
matchWebGLToCanvasSize
anddevicePixelRatio
- 📜 Update and improve readme documentation
- 🏠 Updated underlying type dependencies and tooling to new versions
- 🏠 Removed React 16 enyzme tests and replaced them with
@testing-library
- 🐛 Fix missing instance config variables for
memoryMap
andsymbolsUrl
2020.2.0
- 📜 improved the documentation once again! it now covers some more examples and has better explanations as well as hints
- 🚀 added
UnityContext.off(event: string)
which removes a previously registered event listener - 🚀 reworked the loader script system: it now uses a custom hook
useScript
to reliably instantiate the Unity loader script - 🗑️ removed
modules
config key from the loader config as it is not officially documented - 🐛 removed the dependency cycle issue in the
index
/UnityContext
module - 🐛 reworked the
UnityRenderer
to not use double references to thecanvas
element - 🤖 added codecov to the project
- 🤖 enhanced unit tests a lot. they now cover 90% all together!
2020.1.0
- 🚀 add GitHub actions: automatic CI/testing and npm publishing!
- 🚀 add new event handling system which allows:
- multiple instances of the renderer to handle events of the same type
- unregister events with
UnityContext.off(name: string)
- 🚧 add lots of unit tests for the
UnityContext
class
2020.0.3
- 🐛 fix a bug where changing the context without setting it to
undefined
in between causes the instance to not unload or trigger corresponding events
2020.0.2
- 🐛 fix bug that would allow early unmounting of the component
- 🚀 make
context
prop optional and unload the instance when there is no context given - 🚧 add typescript module augmentation and auto completion for
UnityContext.on(...)
- 📜 add documentation for module augmentation
- 📜 improve JSDoc and fix typos
2020.0.1
- 🚧 added better typings for the Unity loader script
- 🚧 added Jest + Enzyme for unit testing
- 🚧 added basic unit tests
- 🚧 lint-staged not makes sure all unit tests pass pre-commit
- 🚧 refactored project structure
2020.0.0
🚀 Initial release!