Skip to content

Release 0.4.0

Compare
Choose a tag to compare
@hannojg hannojg released this 11 Mar 13:17
· 376 commits to main since this release

0.4.0 (2024-03-11)

💨 Performance Improvements

  • Allow const T& for all hybrid methods (#17) (7017b83)
  • Use const & for JSIConverter to avoid copy allocations (#16) (59daab0)

✨ Features

  • Add MutableRawBuffer (e14a9cf)
  • Add std::optional<T> to JSIConverter (c30f97b)
  • Add API for controlling the scene (#15) (#27) (12dec30)
  • Add enums to the HybridObject (#7) (ba2313a)
  • Add FilamentView's onViewReady event (#32) (dccc9db)
  • Add function support to JSIConverter (e09d924)
  • Allow User to extend enums (#8) (194ac66)
  • Asset loading (#13) (58984d7)
  • Build iOS and link filament (6477edc)
  • Create Choreographer (#11) (da82108)
  • Create HybridObject base for type-safe and compile-time JSI <-> C++ conversion (#1) (c93a117)
  • Create ListenerManager to safely unregister listeners (d7a2afb)
  • Create margelo::Logger (#29) (74717ec)
  • Create References<T>::adoptRef and References<T>::adoptEngineRef (#10) (7aaf536)
  • Create memory-safe C++ ManagedBuffer (#26) (344d5e1)
  • Expose getRuntime() and getCallInvoker() in FilamentProxy (#12) (b51ee83)
  • Make HybridObject shareable with shared_from_this (#4) (43b1489)
  • Use JS Thread for Surface events (#28) (6be738f)

🐛 Bug Fixes

  • android: onViewReady callback not being invoked (1d966ee)
  • crashes with applyAnimation and fix memory leaks (#33) (bc342ca)
  • export type animator (4c8be32)
  • Fix JSIConverter<function>::fromJSI (1/2) (2797b91)
  • Fix JSIConverter<function>::fromJSI (2/2) (644383f)
  • Fix crash after a few seconds because of reference deletion (#31) (12e9a70)
  • Fix crash on android when deleting swapchain (8bde18d)
  • Fix logger (0f3cf12)
  • Fix logger and surface listener (#30) (388526a)
  • Fix TS error (d0f033c)
  • ios: fix crash when reloading app (#36) (6511773)
  • listener removal (+ cleaning up all resources in full render example) (#34) (9d5f12d)
  • Safely capture this as weak_ptr (a34f852)
  • Use enum class instead of enum in TestEnum (be67eec)