@react-native-firebase/app を 26.x から 27.x へアップグレード
@react-native-firebase/app 26.4.0 と 27.0.0 の公開 API を、TypeScript の型から自動的に比較したものです。シグネチャの変更は破壊的変更の候補であり、確定ではありません。
概要
| 削除されたインポートパス | 0 |
|---|---|
| 削除されたエクスポート | 0 |
| 変更されたシグネチャ | 1 |
| 削除されたクラス/インターフェースのメンバー | 0 |
| 変更されたクラス/インターフェースのメンバー | 2 |
| 新たに非推奨 | 0 |
| 要件の変更(engines、peer 依存関係) | 1 |
| 新しいエクスポート | 2 |
削除されたエクスポート
検出されませんでした。
変更されたシグネチャ
| export | 変更前 | 変更後 |
|---|---|---|
@react-native-firebase/app/dist/module/internal · SharedEventEmitter | EventEmitter | ReactNativeFirebaseEventEmitter |
削除されたクラス/インターフェースのメンバー
検出されませんでした。
変更されたクラス/インターフェースのメンバー
| member | 変更前 | 変更後 |
|---|---|---|
FirebaseModule.emitter | EventEmitter | ReactNativeFirebaseEventEmitter |
RNFBAppModuleInterface.initializeApp | (options: FirebaseAppOptions, appConfig: FirebaseAppConfig): Promise<void> | (options: FirebaseAppOptions, appConfig: FirebaseAppConfig): Promise<void | { options?: FirebaseAppOptions | undefined; appConfig?: FirebaseAppConfig | undefined; }> |
新たに非推奨
検出されませんでした。
要件の変更(engines、peer 依存関係)
| 変更前 | 変更後 | |
|---|---|---|
peerDependencies.react-native | * | >=0.60.0-0 |
新しいエクスポート (2)
| import | export | kind |
|---|---|---|
@react-native-firebase/app/dist/module/internal | getReactNativeModule | function |
@react-native-firebase/app/dist/module/internal | setReactNativeModule | function |
これらのバージョン間の changelog
パッケージ作者が公開したテキストをそのまま表示しています。
27.0.0
### ⚠ BREAKING CHANGES
- **ios:** drop CocoaPods Firebase matrix; SPM-only
- **app, sdk:** bump Firebase Android 35, Apple 13, and JS 13
- **ml:** remove discontinued @react-native-firebase/ml package
- **app, ios:** initializeApp now reads automaticDataCollectionEnabled as a
boolean. Previously any non-nil value (including JS false) enabled collection
via pointer cast; false, 0, null, and absent now disable it. See
docs/migrating-to-v27.mdx.
### Features
- **app, sdk:** bump Firebase Android 35, Apple 13, and JS 13 ([0ca03d1](https://github.com/invertase/react-native-firebase/commit/0ca03d11b0c271fb37cfbee8a0c3074a21969f0b))
- **app, sdk:** bump Firebase Android SDK to 34.19.0 ([ca054bc](https://github.com/invertase/react-native-firebase/commit/ca054bc2fdcb298575f1e7412aa8b02540d53def))
- **app, sdk:** bump Firebase iOS SDK to 12.19.0 ([95dca6a](https://github.com/invertase/react-native-firebase/commit/95dca6a4eeb849bc2910946e1477694635bee6b7))
- **app, sdk:** bump Firebase JS SDK to 12.18.0 ([5e2617d](https://github.com/invertase/react-native-firebase/commit/5e2617dcddfd55f10f441f2e9d83fe7b4681470e))
- **app, sdk:** bump Firebase JS SDK to 12.19.0 ([34d0318](https://github.com/invertase/react-native-firebase/commit/34d031849146527ab9b9ee3ba4fbd207bdab0803))
- **messaging:** add messaging_installation_id_enabled firebase.json opt-in ([e9c9741](https://github.com/invertase/react-native-firebase/commit/e9c9741a65a76cc102d2d27ff675c453fd506243))
- **ml:** remove discontinued @react-native-firebase/ml package ([58622b1](https://github.com/invertase/react-native-firebase/commit/58622b1a24a32008fd33ff56346cceb4f71bc29f))
### Bug Fixes
- **app, android:** bind nullable recent-task fields before use ([bed8c71](https://github.com/invertase/react-native-firebase/commit/bed8c71313cd3c0bf60bf9a9d86417ae550ec98f))
- **app, android:** harden RecentTaskInfo null and JSON parse ([908400b](https://github.com/invertase/react-native-firebase/commit/908400b230cfd5d7d4406da9bb350332d6bc8c4c))
- **app, expo:** match scene-based AppDelegate for Expo SDK 58 config plugin ([dce165d](https://github.com/invertase/react-native-firebase/commit/dce165d7283a30060c5b08066cf5841d9247105a))
- **app, ios:** clarify SPM static linkage error when use_frameworks is absent ([cdf99cd](https://github.com/invertase/react-native-firebase/commit/cdf99cde79d46be737b671096e1cc3af7a14f58f))
- **app, ios:** import ObjC NullSentinelDecoder in SharedUtils ([9a565c8](https://github.com/invertase/react-native-firebase/commit/9a565c879edc11c18b5c7ffca92c7f22e2b639e7))
- **app, ios:** pin SPM Firebase SDK and retain Measurement ObjC categories ([7e271af](https://github.com/invertase/react-native-firebase/commit/7e271afecab65ef150140056171265e9c9ca621c))
- **app, ios:** read automaticDataCollectionEnabled as a boolean ([cc18140](https://github.com/invertase/react-native-firebase/commit/cc181400e465895bdb012eff881209315adaed70))
- **app, ios:** tighten the dynamic Firebase probe and importこのデータを AI エージェントに渡す
Vigia は無料の MCP サーバーです。コーディングエージェントがコードを書く前に、バージョン・破壊的変更・脆弱性を確認できます。登録も API キーも不要です。
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Cursor に追加VS Code に追加★ GitHub でスターを付ける
その他の MCP クライアント
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }エージェント用スキル (SKILL.md):Vigia を使うタイミングをエージェントに伝えます · プルリクエスト用 GitHub Action
よくある質問
@react-native-firebase/app を 26 から 27 にアップグレードする際の破壊的変更は?
@react-native-firebase/app 26.4.0 と 27.0.0 の間で、Vigia は削除されたエクスポートを 0 件、変更されたシグネチャを 1 件、削除または変更されたクラス/インターフェースのメンバーを 2 件検出しました。
@react-native-firebase/app 27 で非推奨になったものは?
@react-native-firebase/app 27.0.0 では 0 件のエクスポートまたはメンバーが新たに非推奨になりました。
エージェント向け
GET https://vigia.coredls.cloud/v1/packages/npm/@react-native-firebase/app/upgrade?from=26.4.0&to=27.0.0