Releases: margelo/react-native-filament
Releases · margelo/react-native-filament
Release 0.7.1
Release 0.7.0
0.7.0 (2024-03-12)
✨ Features
- Add
isPaused
prop touseEngine
(#41) (bbb8d58) - Create
Dispatcher
- a Platform specific interface for awaitable UI or Background Threading dispatches (#45) (dd577b2) - Make asset loading asynchronous and introduce hooks (#42) (6c41639)
- Make asset loading asynchronous and introduce hooks (#44) (3b5a958)
- Support natively async functions through
std::future<T>
(returnsjsi::Promise<T>
) (#37) (faac44f)
🐛 Bug Fixes
- Create
reportError
for RN error utils (c85b9fe) - Delay ctor initialization for
WithJNIScope
(24c4225) - don't fail if asset is null already (ffcb5f9)
- Don't return
Engine
inuseRenderCallback
(29ea8e8) - iOS: Remove DisplayLinkListener properly (#38) (3f76500)
- Update Filament Animator patch to be more reliable (#46) (4c37b70)
- update resources while rendering (#39) (0e29e0f)
Release 0.4.0
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>
toJSIConverter
(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
andReferences<T>::adoptEngineRef
(#10) (7aaf536) - Create memory-safe C++
ManagedBuffer
(#26) (344d5e1) - Expose
getRuntime()
andgetCallInvoker()
inFilamentProxy
(#12) (b51ee83) - Make
HybridObject
shareable withshared_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 ofenum
inTestEnum
(be67eec)