Vigia

@react-native-firebase/messaging を 26.x から 27.x へアップグレード

@react-native-firebase/messaging 26.4.0 と 27.0.0 の公開 API を、TypeScript の型から自動的に比較したものです。シグネチャの変更は破壊的変更の候補であり、確定ではありません。

概要

削除されたインポートパス0
削除されたエクスポート0
変更されたシグネチャ1
削除されたクラス/インターフェースのメンバー0
変更されたクラス/インターフェースのメンバー0
新たに非推奨6
要件の変更(engines、peer 依存関係)1
新しいエクスポート8

削除されたエクスポート

検出されませんでした。

変更されたシグネチャ

export変更前変更後
@react-native-firebase/messaging · SDK_VERSION"26.4.0""27.0.0"

削除されたクラス/インターフェースのメンバー

検出されませんでした。

変更されたクラス/インターフェースのメンバー

検出されませんでした。

新たに非推奨

export@deprecated
@react-native-firebase/messaging · getTokenFirebase JS 12.14+, Android Messaging 25.1+, and Apple 12.18+ deprecated FCM token APIs (`getToken`, `deleteToken`, `onTokenRefresh`) in favor of FID registration (`register` / `onRegistered`). Prefer {@link register} and {@link onRegistered} after opting in to Installation ID messaging. Token APIs …
@react-native-firebase/messaging · Messaging.getTokenFirebase JS 12.14+, Android Messaging 25.1+, and Apple 12.18+ deprecated FCM token APIs (`getToken`, `deleteToken`, `onTokenRefresh`) in favor of FID registration (`register` / `onRegistered`). Prefer {@link Messaging.register} and {@link Messaging.onRegistered} after opting in to Installation ID me…
@react-native-firebase/messaging · Messaging.deleteTokenFirebase JS 12.14+, Android Messaging 25.1+, and Apple 12.18+ deprecated FCM token APIs (`getToken`, `deleteToken`, `onTokenRefresh`) in favor of FID registration (`unregister` / `onUnregistered`). Prefer {@link Messaging.unregister} and {@link Messaging.onUnregistered}after opting in to Installatio…
@react-native-firebase/messaging · Messaging.onTokenRefreshFirebase JS 12.14+, Android Messaging 25.1+, and Apple 12.18+ deprecated FCM token APIs (`getToken`, `deleteToken`, `onTokenRefresh`) in favor of FID registration (`register` / `onRegistered`). Prefer {@link Messaging.register} and {@link Messaging.onRegistered} after opting in to Installation ID me…
@react-native-firebase/messaging · deleteTokenFirebase JS 12.14+, Android Messaging 25.1+, and Apple 12.18+ deprecated FCM token APIs (`getToken`, `deleteToken`, `onTokenRefresh`) in favor of FID registration (`unregister` / `onUnregistered`). Prefer {@link unregister} and {@link onUnregistered} after opting in to Installation ID messaging. Tok…
@react-native-firebase/messaging · onTokenRefreshFirebase JS 12.14+, Android Messaging 25.1+, and Apple 12.18+ deprecated FCM token APIs (`getToken`, `deleteToken`, `onTokenRefresh`) in favor of FID registration (`register` / `onRegistered`). Prefer {@link register} and {@link onRegistered} after opting in to Installation ID messaging. Token APIs …

要件の変更(engines、peer 依存関係)

変更前変更後
peerDependencies.@react-native-firebase/app26.4.027.0.0
新しいエクスポート (8)
importexportkind
@react-native-firebase/messagingNextFntype
@react-native-firebase/messagingObserverinterface
@react-native-firebase/messagingregisterfunction
@react-native-firebase/messagingunregisterfunction
@react-native-firebase/messagingUnsubscribetype
@react-native-firebase/messagingonRegisteredfunction
@react-native-firebase/messagingonUnregisteredfunction
@react-native-firebase/messagingRegisterOptionsinterface

これらのバージョン間の changelog

パッケージ作者が公開したテキストをそのまま表示しています。

27.0.0
### ⚠ BREAKING CHANGES

- **app, sdk:** bump Firebase Android 35, Apple 13, and JS 13

### Features

- **app, sdk:** bump Firebase Android 35, Apple 13, and JS 13 ([0ca03d1](https://github.com/invertase/react-native-firebase/commit/0ca03d11b0c271fb37cfbee8a0c3074a21969f0b))
- **messaging:** add FID register and onRegistered ([ca301b2](https://github.com/invertase/react-native-firebase/commit/ca301b27673fbef5270d37fc6e49aa80df80069b))
- **messaging:** add messaging_installation_id_enabled firebase.json opt-in ([e9c9741](https://github.com/invertase/react-native-firebase/commit/e9c9741a65a76cc102d2d27ff675c453fd506243))

### Bug Fixes

- **analytics, messaging:** dedupe GoogleUtilities classes under SPM dynamic frameworks ([#9327](https://github.com/invertase/react-native-firebase/issues/9327)) ([b70ba88](https://github.com/invertase/react-native-firebase/commit/b70ba889e215df4b123aacb0c830551f18b14fe8)), closes [#9322](https://github.com/invertase/react-native-firebase/issues/9322) [#9322](https://github.com/invertase/react-native-firebase/issues/9322)
- **app,database:** resolve platform native module when bundlers apply package exports ([959d91f](https://github.com/invertase/react-native-firebase/commit/959d91fc79d7155d1d9a08e1f836789e6e6d6156))
- **messaging, ios:** guard AppDelegate window access for UIScene apps ([79c2d72](https://github.com/invertase/react-native-firebase/commit/79c2d72a7a61bccd41395e8c44b32ead9810d4bc))
- **messaging, ios:** hop notification permission APIs onto the main queue ([3fde064](https://github.com/invertase/react-native-firebase/commit/3fde064e34094760a1395e8fa9753ad4917eaec7))
- **messaging, ios:** hop remaining UIApplication register APIs onto main queue ([07e4562](https://github.com/invertase/react-native-firebase/commit/07e45624f6a7be8a8a47cfb46b3fd29a0553c003))
- **messaging, ios:** normalize sent time ([0b48006](https://github.com/invertase/react-native-firebase/commit/0b4800658e4aa535563abbcd8bb12b279ad9139b))
- **messaging, ios:** port UIScene window guard after rebase ([7cd8f14](https://github.com/invertase/react-native-firebase/commit/7cd8f14ac841d4f5378bf53454b34d50493a619b))
- **messaging, ios:** read isRegisteredForRemoteNotifications on main queue in getConstants ([87a30dc](https://github.com/invertase/react-native-firebase/commit/87a30dcf07882fab22a642946048ad50702ed967))
- **messaging, ios:** serialize notification badges as strings ([c6a8e85](https://github.com/invertase/react-native-firebase/commit/c6a8e85816186189e09ac33da19078d5a6845c8a))
- **messaging, ios:** validate sent-time format ([7b39040](https://github.com/invertase/react-native-firebase/commit/7b39040bf48abdc8d8c16af81c516c9ba449a767))
- **messaging:** detect the iOS APNs environment from the provisioning profile ([56a4141](https://github.com/invertase/react-native-firebase/commit/56a414144c87f467965952ad40d9afe6365800b3))
- **messaging:** nest iOS string sounds correctly ([a34ce00](https://github.com/invertase/react-native-firebase/co

このデータを 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/messaging を 26 から 27 にアップグレードする際の破壊的変更は?

@react-native-firebase/messaging 26.4.0 と 27.0.0 の間で、Vigia は削除されたエクスポートを 0 件、変更されたシグネチャを 1 件、削除または変更されたクラス/インターフェースのメンバーを 0 件検出しました。

@react-native-firebase/messaging 27 で非推奨になったものは?

@react-native-firebase/messaging 27.0.0 では 6 件のエクスポートまたはメンバーが新たに非推奨になりました。

エージェント向け

GET https://vigia.coredls.cloud/v1/packages/npm/@react-native-firebase/messaging/upgrade?from=26.4.0&to=27.0.0