Skip to content

Release 0.22.0

Compare
Choose a tag to compare
@mrousavy mrousavy released this 03 Feb 13:54
· 14 commits to main since this release

0.22.0 (2025-02-03)

✨ Features

  • Add a .gitattributes file into nitrogen/generated (#473) (f527c84)
  • Create HybridView code generator base (#494) (3387184)
  • Create React Native ViewManager (+ Props + State) for HybridViews (#500) (baed798)
  • Make memorySize optional in Kotlin as well (default = 0) (#472) (0d6b836)
  • Specify RN version as compiler flag (#490) (bbbeeaf)
  • Update memorySize when a HybridObject makes a round-trip (#510) (d62dbfb)

πŸ’¨ Performance Improvements

  • Move updateNative(...) into a protected override to seal it (#499) (d4cfc2b)

πŸ› Bug Fixes

  • Default-implement memorySize via Swift extension (#497) (3f04c15)
  • Fix Record<string, number | boolean> (map of variants) breaking on Swift and Kotlin (#517) (2618246)
  • Fix unordered_map subscript operator causing ldc++ duplicate symbols (#519) (7a288e4)
  • Log all hybrid object names as joined string to help user (#508) (98575fd)
  • Mark Java HybridObjectRegistry as deprecated (#491) (ad29b24)
  • Move ExtendableHybridClass to it's own file with explanation (#493) (d5dd70c)
  • Pin to react-native 0.76.6 (646a346)
  • Rename HybridObjectSpec -> HybridObject protocol (#492) (4b513bf)
  • Rename TypeInfo.hpp to NitroTypeInfo.hpp (#498) (b387586)
  • Return JMap instead of JHashMap in typed map converter (Record<string, T>) (#518) (e5925a3)

πŸ“š Documentation