Vigia

Aktualizacja @react-native-firebase/messaging z 26.x do 27.x

Porównanie publicznego API @react-native-firebase/messaging 26.4.0 i 27.0.0, obliczone automatycznie na podstawie typów TypeScript. Zmieniona sygnatura to możliwa zmiana niekompatybilna, a nie pewność.

Podsumowanie

Usunięte ścieżki importu0
Usunięte eksporty0
Zmienione sygnatury1
Usunięte składowe klas lub interfejsów0
Zmienione składowe klas lub interfejsów0
Nowo wycofane6
Zmiany wymagań (engines, zależności peer)1
Nowe eksporty8

Usunięte eksporty

Nie wykryto.

Zmienione sygnatury

exportPrzedPo
@react-native-firebase/messaging · SDK_VERSION"26.4.0""27.0.0"

Usunięte składowe klas lub interfejsów

Nie wykryto.

Zmienione składowe klas lub interfejsów

Nie wykryto.

Nowo wycofane

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 …

Zmiany wymagań (engines, zależności peer)

PrzedPo
peerDependencies.@react-native-firebase/app26.4.027.0.0
Nowe eksporty (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 między tymi wersjami

Tekst opublikowany przez autorów pakietu, pokazany bez zmian.

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

Przekaż te dane swojemu agentowi AI

Vigia to darmowy serwer MCP: Twój agent programistyczny sprawdza wersje, zmiany łamiące zgodność i podatności, zanim napisze kod. Bez rejestracji i klucza API.

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Dodaj do CursorDodaj do VS Code★ Gwiazdka na GitHubie

Dowolny inny klient MCP
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Skill dla agentów (SKILL.md): mówi agentowi, kiedy używać Vigii · GitHub Action dla pull requestów

Najczęściej zadawane pytania

Jakie są zmiany niekompatybilne przy aktualizacji @react-native-firebase/messaging z 26 do 27?

Między @react-native-firebase/messaging 26.4.0 a 27.0.0 Vigia znalazła 0 usuniętych eksportów, 1 zmienionych sygnatur i 0 usuniętych lub zmienionych składowych klas lub interfejsów.

Co zostało wycofane w @react-native-firebase/messaging 27?

6 eksportów lub składowych oznaczono w @react-native-firebase/messaging 27.0.0 jako wycofane.

Dla agentów

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