Skip to content

Release 0.19.0

Compare
Choose a tag to compare
@mrousavy mrousavy released this 18 Dec 15:59
· 67 commits to main since this release

0.19.0 (2024-12-18)

✨ Features

  • Allow std::future to go bi-directional (using new Promise impl) (#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 hybridContext and memorySize from Swift HybridObjects (make them optional) (#420) (6b85f08)
  • Remove HybridContext for simpler Swift bridges (#428) (70116b5)
  • Use std::shared_ptr<Promise<T>> instead of std::future<T> for callbacks that return a value (#412) (ea2c070)

🐛 Bug Fixes

  • Add workaround for error messages on Android (#408) (27e8cbb)
  • Delete HybridObject copy & move ctors (#402) (5147fc7)
  • Fix catching std::runtime_error on 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 TCxx to T_cxx to better hide it from user (#424) (e8b01d0)
  • Use a glob for ignorePaths (#409) (94e0214)

📚 Documentation

  • Fix function types (949266f)
  • Update npm run to npx for nitrogen (f58bf84)
  • Update docs to no longer use hybridContext (#426) (7149abf)