Skip to content

feat(functions)!: convert functions to New Arch / drop functions Old Arch#8874

Open
mikehardy wants to merge 5 commits intomainfrom
@mikehardy/revert-functions-turbomodules-revert
Open

feat(functions)!: convert functions to New Arch / drop functions Old Arch#8874
mikehardy wants to merge 5 commits intomainfrom
@mikehardy/revert-functions-turbomodules-revert

Conversation

@mikehardy
Copy link
Collaborator

Description

This is a re-application of the changes that were already working well in 23.8.4 but were inadvertently breaking

We do not intend to support both old and new architecture but dropping old architecture for a module is a breaking change, so we pulled it and will re-issue now as a major version

I have also added deprecation warnings for dropping old architecture in general, and throw an error if a new-arch module is loaded in an old-arch app to improve the DX and communication a bit

Related issues

Release Summary

It should generate a major version with the ! on the conventional commit tag

Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
    • Yes
  • My change supports the following platforms;
    • Android
    • iOS
    • Other (macOS, web)
  • My change includes tests;
    • e2e tests added or updated in packages/\*\*/e2e
    • jest tests added or updated in packages/\*\*/__tests__
  • I have updated TypeScript types that are affected by my change.
  • This is a breaking change;
    • Yes
    • No

Test Plan

Try this version in an old arch app to see the deprecation notice, and try functions to see an error


Think react-native-firebase is great? Please consider supporting the project with any of the below:

@vercel
Copy link

vercel bot commented Feb 4, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
react-native-firebase Ready Ready Preview, Comment Feb 4, 2026 5:26pm

Request Review

@mikehardy mikehardy force-pushed the @mikehardy/revert-functions-turbomodules-revert branch from 50f62fc to 454c7a8 Compare February 4, 2026 02:16
…ons old architecture

Revert "fix(functions): revert TurboModules implementation / restore old architecture compatibility"

This reverts commit fb0787c.

BREAKING CHANGE: you must enable new architecture to use the functions module
All modules will be converted to new architecture soon, old architecture support
is deprecated in general for react-native-firebase
… module requires

this should ease the transition in general and fail-fast specifically for functions
…r needed

definitely was needed for react-native-macos 0.74 but no longer needed for
later versions
I always attempt `yarn tests:macos:test` before remembering that platform
should be `test-cover`. Adding `test` so it just works for time and there
is no platform difference
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.

1 participant