Marc Rousavy and GitHub
176530872b
chore: Add tests for verifying Java GC leaks ( #1239 )
...
* chore: Add tests for verifying Java GC leaks
* feat: Add `debug_getTotalAllocatedHybridObjects()`
* chore: Update leak test
* fix: Fix allocation test
* fix: Require at least 10% GC cleanup
* Update HybridNitroModulesProxy.cpp
2026-03-03 15:54:31 +01:00
Marc Rousavy and GitHub
c2b4ba4932
feat: Add createNativeArrayBuffer(size) to NitroModulesProxy ( #1226 )
...
* feat: Add `createNativeArrayBuffer(size)` to NitroModulesProxy
* docs
* format js
2026-02-26 21:15:39 +01:00
Marc Rousavy and GitHub
2eb56b1b3a
docs: Fix it's -> its ( #1125 )
2025-12-23 12:55:57 +01:00
Marc Rousavy and GitHub
39b8915f9a
feat: Add NitroModules.isHybridObject(...) ( #828 )
...
* feat: Add `NitroModules.isHybridObject(...)`
* chore: Move down
2025-08-19 12:14:46 +02:00
Marc Rousavy and GitHub
d62dbfbed8
feat: Update memorySize when a HybridObject makes a round-trip ( #510 )
...
* feat: Update `memorySize` when a HybridObject makes a round-trip
* feat: Add `NitroModules.updateMemorySize(..)` to imperatively update mem size
* feat: Add test for `NitroModules.updateMemorySize`
* feat: Add some more tests for `NitroModules.*`
* feat: Add even more tests
* fix: Use `jsi::Object`
* fix: use `getObject`
* fix: Register `updateMemorySize()`
* Update HybridNitroModulesProxy.cpp
2025-01-22 15:00:01 +01:00
Marc Rousavy and GitHub
04e73d8c1d
feat: Add native NITRO_VERSION to C++ codebase and warn if it's out of sync ( #398 )
...
* feat: Add `NITRO_VERSION` to NitroDefines.hpp and update it post bump
* feat: Log warning if nitro versions don't match
2024-12-05 15:01:37 +01:00
Marc Rousavy and GitHub
c491d394c1
fix: Perform safer checks for toContain(..) in example, and add NitroModules.hasNativeState(value) ( #324 )
...
* chore: Perform safer checks for `toContain(..)` in example
* feat: Add `NitroModules.hasNativeState(value)` to avoid crashing eaxmple in release
* fix: Explicitly check for `toString()` if it has NativeState
2024-11-12 18:18:44 +01:00
Marc Rousavy and GitHub
dc8f8668f4
feat: Make Nitro itself a Nitro Module and add old-architecture support 🔥 ( #175 )
...
* feat: Create `HybridNitroModulesProxy`
* feat: Create `InstallNitro`
* docs: Create `entry-point.md` docs
* fix: Create `JSIConverter<HostObject>` (for BoxedHybridObject)
* Update NitroModulesProxy.ts
* feat: Refactor JS for new module
* feat: Refactor JS again
* feat: Create iOS TurboModule that installs Nitro
* feat: Implement `install()` for old arch (iOS)
* chore: Format
* feat: Implement TurboModule `install()` on Android
* fix: Use `CallInvokerHolderImpl`
* feat: Add CI that tests the build for old architecture
* fix: Fix iOS CI
* fix: Fix CI
* fix: Exclude RN `.so` libraries (like `libjsi.so`) from `packagingOptions`
2024-10-07 15:47:31 +02:00