Skip to content

Bump react-native-nitro-modules from 0.33.9 to 0.35.0 in /sample#441

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/sample/react-native-nitro-modules-0.35.0
Closed

Bump react-native-nitro-modules from 0.33.9 to 0.35.0 in /sample#441
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/sample/react-native-nitro-modules-0.35.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 9, 2026

Bumps react-native-nitro-modules from 0.33.9 to 0.35.0.

Release notes

Sourced from react-native-nitro-modules's releases.

Release 0.35.0

0.35.0 (2026-03-04)

❗️ Breaking Change

#1238 is the first breaking change after >1 year in Nitro. Unfortunately it is necessary, as it fixes a critical memory leak in Kotlin HybridObjects.

  • For app developers: Try upgrading to Nitro 0.35.x and attempt a build. If it fails due to anything looking like super.updateNative(...), JHybridObject, HybridBase, or AnyMapHolder, the Nitro library you are using needs to update to Nitro 0.35.x as well and re-generate their specs. Swift and C++ libraries will work fine, only Kotlin HybridObjects have a breaking change.
  • For library authors: Upgrade to Nitro 0.35.x (and nitrogen 0.35.x), and re-generate your specs. Follow these steps to migrate your library:
    1. Re-generating specs will automatically make your library compatible and implements the JHybridObject change.
    2. If you use bigint in your specs, replace it with either Int64 or UInt64:
       interface Math extends HybridObject<...> {
      -  calculateFibonacci(n: bigint): bigint
      +  calculateFibonacci(n: UInt64): UInt64
       }
      See mrousavy/nitro#1212 for more information.
    3. Replace your JNI initialization (cpp-adapter.cpp or JNIOnLoad.cpp) with this:
       JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM* vm, void*) {
      -  return margelo::nitro::$$androidNamespace$$::initialize(vm);
      +  return facebook::jni::initialize(vm, []() {
      +    margelo::nitro::$$androidNamespace$$::registerAllNatives();
      +  });
       }
    As an example, take a look at [react-native-nitro-image: PR #103](mrousavy/react-native-nitro-image#103) for a guideline on how to upgrade.

🐛 Bug Fixes

  • Remove a bunch of deprecated APIs (#1245) (0cd8eea)
  • Don't strip HybridSomeExternalObject (f9da753)
  • Fix Kotlin HybridObject jni::global_ref memory leak by separating CxxPart with weak_ptr (#1238) (32a4c86), closes #1239

Release 0.35.0-beta.0

0.35.0-beta.0 (2026-03-03)

❗️ Breaking Change

I think the change in JHybridObject is breaking. I will test (and potentially improve) this before making 0.35.0 stable. Library authors need to re-generate their specs to support 0.35.0 onwards.

🐛 Bug Fixes

  • Don't strip HybridSomeExternalObject (f9da753)
  • Fix Kotlin HybridObject jni::global_ref memory leak by separating CxxPart with weak_ptr (#1238) (32a4c86), closes #1239

📚 Documentation

  • Add new module react-native-nitro-version-check to the Nitro Modules documentation (#1230) (1a70829)

... (truncated)

Commits
  • ad570a5 chore: release 0.35.0
  • e1f080c chore: Deprecated note
  • 0cd8eea fix: Remove a bunch of deprecated APIs (#1245)
  • d8e81e6 chore: release 0.35.0-beta.0
  • cc07864 chore: Lockfiles
  • e150e16 ci: Make Android CI faster (#1241)
  • 24efe13 chore: bump futureware-tech/simulator-action from 4 to 5 (#1236)
  • fd1791d chore: bump satori from 0.19.2 to 0.21.0 in /docs (#1237)
  • 32a4c86 fix: Fix Kotlin HybridObject jni::global_ref memory leak by separating `Cxx...
  • f9da753 fix: Don't strip HybridSomeExternalObject
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [react-native-nitro-modules](https://github.com/mrousavy/nitro) from 0.33.9 to 0.35.0.
- [Release notes](https://github.com/mrousavy/nitro/releases)
- [Commits](mrousavy/nitro@v0.33.9...v0.35.0)

---
updated-dependencies:
- dependency-name: react-native-nitro-modules
  dependency-version: 0.35.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Mar 9, 2026
@dependabot dependabot bot requested a review from a team as a code owner March 9, 2026 04:13
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Mar 9, 2026
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 16, 2026

Superseded by #444.

@dependabot dependabot bot closed this Mar 16, 2026
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/sample/react-native-nitro-modules-0.35.0 branch March 16, 2026 04:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants