Vigia

Nâng cấp @react-native-firebase/app từ 26.x lên 27.x

So sánh API công khai của @react-native-firebase/app 26.4.0 và 27.0.0, được tính tự động từ kiểu TypeScript. Chữ ký thay đổi là thay đổi có thể không tương thích, không phải điều chắc chắn.

Tóm tắt

Đường dẫn import bị xóa0
Export bị xóa0
Chữ ký thay đổi1
Thành viên lớp hoặc interface bị xóa0
Thành viên lớp hoặc interface thay đổi2
Mới bị ngừng hỗ trợ0
Thay đổi yêu cầu (engines, phụ thuộc peer)1
Export mới2

Export bị xóa

Không phát hiện.

Chữ ký thay đổi

exportTrướcSau
@react-native-firebase/app/dist/module/internal · SharedEventEmitterEventEmitterReactNativeFirebaseEventEmitter

Thành viên lớp hoặc interface bị xóa

Không phát hiện.

Thành viên lớp hoặc interface thay đổi

memberTrướcSau
FirebaseModule.emitterEventEmitterReactNativeFirebaseEventEmitter
RNFBAppModuleInterface.initializeApp(options: FirebaseAppOptions, appConfig: FirebaseAppConfig): Promise<void>(options: FirebaseAppOptions, appConfig: FirebaseAppConfig): Promise<void | { options?: FirebaseAppOptions | undefined; appConfig?: FirebaseAppConfig | undefined; }>

Mới bị ngừng hỗ trợ

Không phát hiện.

Thay đổi yêu cầu (engines, phụ thuộc peer)

TrướcSau
peerDependencies.react-native*>=0.60.0-0
Export mới (2)
importexportkind
@react-native-firebase/app/dist/module/internalgetReactNativeModulefunction
@react-native-firebase/app/dist/module/internalsetReactNativeModulefunction

Changelog giữa các phiên bản này

Văn bản do tác giả gói công bố, hiển thị nguyên trạng.

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

Cung cấp dữ liệu này cho tác tử AI của bạn

Vigia là máy chủ MCP miễn phí: tác tử lập trình của bạn kiểm tra phiên bản, thay đổi phá vỡ tương thích và lỗ hổng trước khi viết mã. Không cần đăng ký, không cần khóa API.

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

Thêm vào CursorThêm vào VS Code★ Gắn sao trên GitHub

Mọi ứng dụng MCP khác
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Kỹ năng cho tác tử (SKILL.md): cho tác tử biết khi nào dùng Vigia · GitHub Action cho pull request

Câu hỏi thường gặp

Nâng cấp @react-native-firebase/app từ 26 lên 27 có những thay đổi không tương thích nào?

Giữa @react-native-firebase/app 26.4.0 và 27.0.0, Vigia tìm thấy 0 export bị xóa, 1 chữ ký thay đổi và 2 thành viên lớp hoặc interface bị xóa hay thay đổi.

Những gì bị ngừng hỗ trợ trong @react-native-firebase/app 27?

0 export hoặc thành viên mới bị đánh dấu ngừng hỗ trợ trong @react-native-firebase/app 27.0.0.

Dành cho tác tử

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