Skip to content

Releases: mrousavy/nitro

Release 0.34.0

26 Feb 20:22

Choose a tag to compare

0.34.0 (2026-02-26)

❗️ JNI OnLoad (cpp-adapter.cpp) change

For library authors: In your JNI OnLoad function (often in cpp-adapter.cpp), you should migrate to the new initialization API:

 JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM* vm, void*) {
-  return margelo::nitro::$$androidNamespace$$::initialize(vm);
+  return facebook::jni::initialize(vm, []() {
+    margelo::nitro::$$androidNamespace$$::registerAllNatives();
+  });
 }

Nothing really changes if you don't register any custom native JNI classes/functions, and it will also not break if you don't migrate. But it is recommended either way, as this new API allows you to create custom C++ native JNI classes/functions and register them.

✨ Features

  • Add createNativeArrayBuffer(size) to NitroModulesProxy (#1226) (c2b4ba4)
  • Add lambda argument for custom JNI registrations in initialize…(...) (#1222) (8dde8b8)

🐛 Bug Fixes

  • Fall back to ByteBuffer copy if HardwareBuffer copy fails (513a50b)
  • Fix has*/is* property names being simplified on Swift/Kotlin (#1223) (47e867d)
  • Fix AnyMap canConvert to check values instead of keys (#1163) (23cccba)
  • Rename initialize() to registerAllNatives() to be more aligned with fbjni (#1225) (3d4070b)
  • Test both C++ and Swift/Kotlin Test Objects with Harness (#1224) (c3d7839)
  • Throw if HardwareBuffer-backed ArrayBuffer is non-CPU-readable (#1227) (63aa30c)
  • Use AHARDWAREBUFFER_USAGE_CPU_WRITE_OFTEN instead of AHARDWAREBUFFER_USAGE_CPU_WRITE_MASK (044b7fd)

Release 0.33.9

12 Feb 11:01

Choose a tag to compare

0.33.9 (2026-02-12)

🐛 Bug Fixes

  • Fix optional<double> failing to build in release in Swift (#1215) (e29f58c)

📚 Documentation

  • add react-native-google-maps-plus to awesome nitro modules list (#1211) (abb96d4)

Release 0.33.8

10 Feb 18:46

Choose a tag to compare

0.33.8 (2026-02-10)

✨ Features

  • Expose Int64 and UInt64 - deprecate bigint (#1212) (a42b35e)

🐛 Bug Fixes

  • Fix accidentally converting bigints to double (6728fbf)

📚 Documentation

Release 0.33.7

04 Feb 19:32

Choose a tag to compare

0.33.7 (2026-02-04)

🐛 Bug Fixes

Release 0.33.6

04 Feb 19:23

Choose a tag to compare

Release 0.33.6 Pre-release
Pre-release

0.33.6 (2026-02-04)

🐛 Bug Fixes

  • Fix AnyMap not overwriting keys (#1204) (7c5666c)
  • Fix PropNameIDCache not overwriting stale values in cache (#1203) (52ae0c2)

Release 0.33.5

03 Feb 16:01

Choose a tag to compare

0.33.5 (2026-02-03)

🐛 Bug Fixes

  • Run ThreadUtils::setThreadName(...) under jni::ThreadScope (#1200) (ecc8c2d)

Release 0.33.4

03 Feb 12:21

Choose a tag to compare

0.33.4 (2026-02-03)

💨 Performance Improvements

  • Set isDirty to false to avoid JNI roundtrips (#1195) (67d45a4)

🐛 Bug Fixes

  • Fix NitroModulesSpec.h import for use_frameworks (#1196) (281afe8)

Release 0.33.3

02 Feb 10:14

Choose a tag to compare

0.33.3 (2026-02-02)

✨ Features

  • Automatically install a UI-Thread Dispatcher (#1192) (992e32e)

💨 Performance Improvements

🐛 Bug Fixes

  • Fix potential deadlocks by releasing JSICacheReference earlier (#1191) (d67af12)
  • Fix the slickest typo ever (43d7a6e)

📚 Documentation

  • Update worklets docs now that react-native-worklets works (#1169) (d52bbff)

Release 0.33.2

16 Jan 22:01

Choose a tag to compare

0.33.2 (2026-01-16)

✨ Features

  • Allow using all HybridObjects in worklets (react-native-worklets) (#1166) (5cbd1ad)

💨 Performance Improvements

  • Make BoxedHybridObject a tiny bit faster via PropNameIDCache (#1156) (be0e024)

🐛 Bug Fixes

  • Use static methods for autolinking instead of nested classes for Xcode 16.4 compatibility (#1165) (4d62b92), closes #1164

📚 Documentation

  • add more projects to awesome modules (#1151) (3898da5)
  • add nitro-ota, nitro-player and nitro-fetch to awesome modules (#1148) (c3e60fb)

Release 0.33.1

13 Jan 11:25

Choose a tag to compare

0.33.1 (2026-01-13)

🐛 Bug Fixes

  • Rename autolinked class to prevent overlap with hybrid object name (#1146) (e4e82c1)