Memperbarui @react-native-firebase/app dari 26.x ke 27.x
Perbandingan API publik @react-native-firebase/app 26.4.0 dan 27.0.0, dihitung otomatis dari tipe TypeScript-nya. Tanda tangan yang berubah adalah kemungkinan perubahan tidak kompatibel, bukan kepastian.
Ringkasan
| Jalur impor yang dihapus | 0 |
|---|---|
| Ekspor yang dihapus | 0 |
| Tanda tangan yang berubah | 1 |
| Anggota kelas atau antarmuka yang dihapus | 0 |
| Anggota kelas atau antarmuka yang berubah | 2 |
| Baru ditandai usang | 0 |
| Perubahan persyaratan (engines, dependensi peer) | 1 |
| Ekspor baru | 2 |
Ekspor yang dihapus
Tidak ada yang terdeteksi.
Tanda tangan yang berubah
| export | Sebelum | Sesudah |
|---|---|---|
@react-native-firebase/app/dist/module/internal · SharedEventEmitter | EventEmitter | ReactNativeFirebaseEventEmitter |
Anggota kelas atau antarmuka yang dihapus
Tidak ada yang terdeteksi.
Anggota kelas atau antarmuka yang berubah
| member | Sebelum | Sesudah |
|---|---|---|
FirebaseModule.emitter | EventEmitter | ReactNativeFirebaseEventEmitter |
RNFBAppModuleInterface.initializeApp | (options: FirebaseAppOptions, appConfig: FirebaseAppConfig): Promise<void> | (options: FirebaseAppOptions, appConfig: FirebaseAppConfig): Promise<void | { options?: FirebaseAppOptions | undefined; appConfig?: FirebaseAppConfig | undefined; }> |
Baru ditandai usang
Tidak ada yang terdeteksi.
Perubahan persyaratan (engines, dependensi peer)
| Sebelum | Sesudah | |
|---|---|---|
peerDependencies.react-native | * | >=0.60.0-0 |
Ekspor baru (2)
| import | export | kind |
|---|---|---|
@react-native-firebase/app/dist/module/internal | getReactNativeModule | function |
@react-native-firebase/app/dist/module/internal | setReactNativeModule | function |
Changelog di antara versi ini
Teks yang diterbitkan oleh penulis paket, ditampilkan apa adanya.
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 importBerikan fakta ini ke agen AI Anda
Vigia adalah server MCP gratis: agen coding Anda memeriksa versi, perubahan yang merusak kompatibilitas, dan kerentanan sebelum menulis kode. Tanpa pendaftaran, tanpa kunci API.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Tambahkan ke CursorTambahkan ke VS Code★ Bintang di GitHub
Klien MCP lainnya
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Skill agen (SKILL.md): memberi tahu agen kapan memakai Vigia · GitHub Action untuk pull request
Pertanyaan umum
Apa saja perubahan tidak kompatibel saat memperbarui @react-native-firebase/app dari 26 ke 27?
Antara @react-native-firebase/app 26.4.0 dan 27.0.0, Vigia menemukan 0 ekspor yang dihapus, 1 tanda tangan yang berubah, dan 2 anggota kelas atau antarmuka yang dihapus atau berubah.
Apa yang ditandai usang di @react-native-firebase/app 27?
0 ekspor atau anggota baru ditandai usang di @react-native-firebase/app 27.0.0.
Untuk agen
GET https://vigia.coredls.cloud/v1/packages/npm/@react-native-firebase/app/upgrade?from=26.4.0&to=27.0.0