Skip to content

Releases: PhilippMolitor/react-unity-renderer

2021.0.0

09 Feb 18:06
Compare
Choose a tag to compare
  • ⬆️ Support Unity 2021
  • ✨ Add new instance config options matchWebGLToCanvasSize and devicePixelRatio
  • 📜 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 and symbolsUrl

2020.2.0

22 Mar 01:40
3191dae
Compare
Choose a tag to compare
  • 📜 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 the canvas element
  • 🤖 added codecov to the project
  • 🤖 enhanced unit tests a lot. they now cover 90% all together!

2020.1.0

07 Mar 17:20
29ea327
Compare
Choose a tag to compare
  • 🚀 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 UnityContextclass

2020.0.3

06 Mar 23:53
68ed0c6
Compare
Choose a tag to compare
  • 🐛 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

06 Mar 15:42
a0054e5
Compare
Choose a tag to compare
  • 🐛 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

03 Mar 23:58
9f01f09
Compare
Choose a tag to compare
  • 🚧 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

01 Mar 16:26
Compare
Choose a tag to compare

🚀 Initial release!