0.12.0 (2024-10-17)
✨ Features
- Move
HybridObjectSwift -> C++ bridge to Swift and call safely (nowHybridObject?/[HybridObject]works!) (#232) (a624a0a), closes #237 - Prettify Prototype names (#229) (2f24d28)
- Use more precise C++ std errors (e.g.
invalid_argument) (#179) (5f4d61e)
💨 Performance Improvements
🐛 Bug Fixes
- Add
_Nonnullmodifier tovoid*types for Swift (#231) (6803be8) - Add
packagingOptions.excludesto template (c0ae25b) - Add more guards to nitrogen (#208) (c44c2c1)
- Add nullability modifier for Closure (ef135f2)
- Allow functions as properties again (#228) (9e70d3f)
- Also prefix
iwith__(#207) (0d77241) - Also run bridge conversion in
std::optionaltype helper (#230) (26de266) - Enable
DEFINES_MODULEfor stricter modular headers (#235) (b9bfb24) - Fix
sedcommand on CI on Linux (c712fb7) - Fix Array of enums not properly using
.rawValue(#209) (7218700) - Fix custom
hermesCommandlocation for monorepo setup for release builds (#223) (f2e86d3) - Make
ArrayBufferHolderaccept a_Nonnullpointer (660de52) - Make Nitro core compile on non-react-native environments (#195) (57e7f26)
- Prefix all nitrogenerated variable names with
__(#205) (668245e) - Properly deal with non-arrays in
podspec(#234) (96c8a32) - Regenerate nitro specs (4f1bf61)
- Use
anyfor protocol conformance in Swift (#206) (ec81637) - Wrap
any TSpecin braces in Swift to allow for optionals in future (c1bcb46)
📚 Documentation
- Add minimum requirements (08f4935)
- Create robots.txt (6a8b4c6)
- Create Troubleshooting guide (#220) (4dd2669)
- Explain Inheritance in Hybrid Object docs (#183) (95553fe)
- Explain that you need an example app for the library template (#201) (3eb39b8)
- Fix
/nitro/baseUrl replacement for Algolia (56ad78c) - Fix brief 404 page flashing in docs (#194) (2bf4e61)
- Fix broken link in markdown table (c101fb2)
- Fix favicon? kinda (35ddd6e)
- More precise base methosd (2b5899f)
- Update comparison.md fixing a broken link (#198) (b730a9a)
- Update Inheritance docs to be easier to follow (#216) (3a8ea7c)
- Update meta tags (97a6dd8)
- Update minimum requirements (f6785e1)