0.19.0 (2024-12-18)
✨ Features
- Allow
std::futureto go bi-directional (using newPromiseimpl) (#411) (283f1f5) - Default-calculate
getSizeOf(...)so the user doesn't have to (#429) (5b510b8) - Implement callbacks that return a value in Swift/Kotlin 🥳 (#417) (4b54687)
- Implement proper type-erasure inheritance in Swift (#427) (50e0de3)
- Implement Swift errors 🥳 (#430) (5b3fa6c)
- Remove
hybridContextandmemorySizefrom Swift HybridObjects (make them optional) (#420) (6b85f08) - Remove
HybridContextfor simpler Swift bridges (#428) (70116b5) - Use
std::shared_ptr<Promise<T>>instead ofstd::future<T>for callbacks that return a value (#412) (ea2c070)
🐛 Bug Fixes
- Add workaround for error messages on Android (#408) (27e8cbb)
- Delete
HybridObjectcopy & move ctors (#402) (5147fc7) - Fix catching
std::runtime_erroron Android (a90e3e4) - Fix react and react-native dependency resolutions (#419) (518f2b2)
- Fix react being wildcarded to 19 (#416) (978c833)
- Only generate code if platform is actually used (#395) (fe96d24)
- Rename
TCxxtoT_cxxto better hide it from user (#424) (e8b01d0) - Use a glob for
ignorePaths(#409) (94e0214)