Skip to content

fix: adopt firebase-js-sdk 12.12.1#9003

Merged
mikehardy merged 10 commits into
mainfrom
@mikehardy/dependency-updates
May 1, 2026
Merged

fix: adopt firebase-js-sdk 12.12.1#9003
mikehardy merged 10 commits into
mainfrom
@mikehardy/dependency-updates

Conversation

@mikehardy
Copy link
Copy Markdown
Collaborator

Description

The title of the PR (adopt firebase-js-sdk 12.12.1) is the real point of the commit stream

while in there I adopted all other javascript deps updates that I could in the process

most importantly I moved us to typescript 6 after a quick test showed it to be - seemingly - trivial

I also caught a bug where yarn tests:macos:build could fail and wouldn't return an error exit code because the | xcbeautify part of the run script ate it. I used an explicit bash subshell and set -o pipefail to remedy

Related issues

Nothing logged, but the goal is to have all the upstream SDKs updated here in main, then I can pick them for a stable release that gets folks up to date SDKs while we queue breaking changes on main

Release Summary

all conventional commits with good messages

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

yarn test:full locally and CI


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

@mikehardy mikehardy requested a review from russellwheatley May 1, 2026 01:28
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on a comprehensive dependency upgrade, primarily updating the firebase-js-sdk and migrating to TypeScript 6. These updates are crucial for maintaining compatibility, leveraging new features, and benefiting from performance and security enhancements in upstream libraries. Additionally, a specific issue affecting macOS test builds was addressed to improve the reliability of the CI/CD pipeline.

Highlights

  • Firebase SDK Update: The core firebase-js-sdk has been updated to version 12.12.1, ensuring the project uses the latest Firebase features and fixes.
  • TypeScript 6 Adoption: The project's TypeScript version has been upgraded to 6.0.3, allowing for the use of new language features and improved type checking.
  • Dependency Upgrades: Numerous other JavaScript dependencies across the project have been updated to their latest stable versions, improving overall stability and security.
  • macOS Test Build Fix: A bug in the yarn tests:macos:build script was resolved, ensuring that build failures are correctly reported by preventing xcbeautify from suppressing error exit codes.
Ignored Files
  • Ignored by pattern: .github/workflows/** (3)
    • .github/workflows/scripts/functions/package.json
    • .github/workflows/scripts/functions/tsconfig.json
    • .github/workflows/scripts/functions/yarn.lock
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request performs a broad update of dependencies across the repository, notably upgrading TypeScript to 6.0.3 and updating various Firebase, Expo, and build-related packages. It also streamlines TypeScript configurations by removing redundant baseUrl properties and adding explicit type definitions to several packages. Actionable feedback was provided to address an invalid version range for @react-native-async-storage/async-storage in packages/app/package.json and tests/package.json, as the 2.x version series is currently non-existent.

Comment thread packages/app/package.json
Comment thread tests/package.json
@mikehardy mikehardy force-pushed the @mikehardy/dependency-updates branch from 2f60d3c to 276db3b Compare May 1, 2026 03:42
@mikehardy
Copy link
Copy Markdown
Collaborator Author

emulator startup failures, strange - firebase-tools did upgrade across a semver major but it was working locally.
investigating

mikehardy added 8 commits May 1, 2026 13:22
- node types need explicit inclusion in compiler options now
- base path no longer needs to be specified if '.'
- rootDir must be carefully specified though
- need to disambiguate module name consts

all trivial cleanups
this one needs frequent work, and yarn2 has built in patching

this starts the conversion of our patches to built-in yarn2 style
…ments

- removes deprecation warnings about node20 still being in use (updates)
- incremental step to better software supply chain security (pinned SHAs)
…dening

this version adopts a default posture of disallowing package scripts to run
unless specifically configured to do so

we've followed that default posture here, and just allowed the specific packages
we expect to run scripts to do so

in addition the 2 separate sub-workspaces are now pointing to a single yarn
install in the root workspace, for easier upgrades in the future (or at least,
it won't be possible to upgrade them separately as the binary will disappear
and the sub-workspaces will error, highlighting the need to update their .yarnrc.yml
yarnPath entry and make sure they work)
@mikehardy mikehardy force-pushed the @mikehardy/dependency-updates branch from 0a3548f to 29acb7a Compare May 1, 2026 18:23
@mikehardy mikehardy added Workflow: Pending Merge Waiting on CI or similar and removed Needs Attention Workflow: Pending Merge Waiting on CI or similar labels May 1, 2026
@mikehardy mikehardy merged commit 9f0d6ed into main May 1, 2026
19 of 20 checks passed
@mikehardy mikehardy deleted the @mikehardy/dependency-updates branch May 1, 2026 19:28
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