Skip to content

chore(deps): bump the nitro group across 2 directories with 2 updates#70

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/nitro-0759016f7e
Closed

chore(deps): bump the nitro group across 2 directories with 2 updates#70
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/nitro-0759016f7e

Conversation

@dependabot
Copy link
Contributor

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

Bumps the nitro group with 2 updates in the / directory: nitrogen and react-native-nitro-modules.
Bumps the nitro group with 1 update in the /example directory: react-native-nitro-modules.

Updates nitrogen from 0.31.10 to 0.35.0

Release notes

Sourced from nitrogen'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

Updates react-native-nitro-modules from 0.31.10 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

Updates react-native-nitro-modules from 0.31.10 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 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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the nitro group with 2 updates in the / directory: [nitrogen](https://github.com/mrousavy/nitro) and [react-native-nitro-modules](https://github.com/mrousavy/nitro).
Bumps the nitro group with 1 update in the /example directory: [react-native-nitro-modules](https://github.com/mrousavy/nitro).


Updates `nitrogen` from 0.31.10 to 0.35.0
- [Release notes](https://github.com/mrousavy/nitro/releases)
- [Commits](mrousavy/nitro@v0.31.10...v0.35.0)

Updates `react-native-nitro-modules` from 0.31.10 to 0.35.0
- [Release notes](https://github.com/mrousavy/nitro/releases)
- [Commits](mrousavy/nitro@v0.31.10...v0.35.0)

Updates `react-native-nitro-modules` from 0.31.10 to 0.35.0
- [Release notes](https://github.com/mrousavy/nitro/releases)
- [Commits](mrousavy/nitro@v0.31.10...v0.35.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 9, 2026

Labels

The following labels could not be found: dependencies, nitro-core, nitrogen, typescript. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 13, 2026

Superseded by #73.

@dependabot dependabot bot closed this Mar 13, 2026
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/nitro-0759016f7e branch March 13, 2026 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants