0.12.0 (2024-10-17)
✨ Features
- Move
HybridObject
Swift -> 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
_Nonnull
modifier tovoid*
types for Swift (#231) (6803be8) - Add
packagingOptions.excludes
to template (c0ae25b) - Add more guards to nitrogen (#208) (c44c2c1)
- Add nullability modifier for Closure (ef135f2)
- Allow functions as properties again (#228) (9e70d3f)
- Also prefix
i
with__
(#207) (0d77241) - Also run bridge conversion in
std::optional
type helper (#230) (26de266) - Enable
DEFINES_MODULE
for stricter modular headers (#235) (b9bfb24) - Fix
sed
command on CI on Linux (c712fb7) - Fix Array of enums not properly using
.rawValue
(#209) (7218700) - Fix custom
hermesCommand
location for monorepo setup for release builds (#223) (f2e86d3) - Make
ArrayBufferHolder
accept a_Nonnull
pointer (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
any
for protocol conformance in Swift (#206) (ec81637) - Wrap
any TSpec
in 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)