Accept firebase 13 in @angular/fire 22
メンテナーはふだん 3 日以内に返信
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- angular, typescript
- 領域
- tooling
調査の方向性
A linked pull request is already open, so check its status before starting. The proposal identifies the package peer dependencies, the ng add and v22 ng update migration, generated wrappers, and CI specs as the areas to review; done means Firebase 12 remains supported, Firebase 13 is accepted and tested, and migrations write the installed major's range.
索引モデルが issue の本文から書いたものです。
説明
firebase 13.1.0 is now npm latest, and @angular/fire 22.0.0-rc.0 declares firebase ^12.18.0 as a peer dependency (#3805). So on a new Angular 22 app, running npm install firebase before ng add @angular/fire@next fails:
npm error ERESOLVE unable to resolve dependency tree
npm error peer firebase@"^12.18.0" from @angular/[email protected]
Proposal
I'd like @angular/fire 22.0.0 to accept firebase ^12.18.0 || ^13.0.0:
- Apps on firebase 12 keep working with no change.
rxfiremoves to^6.3.0, the first release whose peer range includes firebase 13.- When
ng addor the v22ng updatemigration writes afirebaseentry, it writes the range of the major already installed:^13.0.0when firebase 13 is installed.^12.18.0otherwise.
- The package keeps building against firebase 12, because the generated wrappers import each function by name from the installed firebase. A new CI job runs the specs against firebase 13.
Why the written range follows the installed major
On npm, ng add installs a missing firebase peer before its schematic runs, at the newest version the range allows. If the schematic then wrote ^12.18.0, the reinstall would downgrade firebase and leave two @firebase/app copies, and the app would fail at startup with "No Firebase App '[DEFAULT]' has been created".
What changes for an app that moves to firebase 13
@angular/fire/aire-exportsfirebase/ai, soVertexAIBackendand theChatSessionclass are no longer available.AgentPlatformBackendreplacesVertexAIBackend, and the v21ng updatemigration already handles it.
- firebase 13's packages declare Node 24.12 or newer.
If you're already on firebase 13 and run into something this doesn't cover, please comment here.
- 主要言語
- TypeScript
- スター
- 7.8k
- フォーク
- 2.2k
- 平均マージ
- 2日 12時間
- マージ済み PR(30日)
- 24
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
angular/angularfire のほかの issue
-
Document the 22.0.0-rc.1 changes対応中かも @armando-navarro が 3 日前に担当しました。 オープンcomp: docs type: chore
難易度 3/5 半日 初心者へのやさしさ 18/100
angular/angularfire#3834 ·
メンテナーはふだん 3 日以内に返信
-
comp: compat comp: ssr comp: zones type: feature version: current (v17+)
難易度 3/5 1〜2日 初心者へのやさしさ 74/100
angular/angularfire#3832 ·
メンテナーはふだん 3 日以内に返信
-
`ɵzoneWrap` ignores a handler passed as an observer object, and holds a wrapped promise forever once its injector is destroyed対応中かも @armando-navarro が 4 日前に担当しました。 オープンcomp: app-check comp: core comp: firestore comp: remote-config comp: zones type: bug version: current (v17+)
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
angular/angularfire#3828 ·
メンテナーはふだん 3 日以内に返信
-
Eleven wrapped callbacks and remote-config `isSupported` hold the app unstable until something that may never happen対応中かも @armando-navarro が 5 日前に担当しました。 オープンcomp: app-check comp: core comp: database comp: remote-config comp: ssr comp: zones type: bug version: current (v17+)
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
angular/angularfire#3826 ·
メンテナーはふだん 3 日以内に返信
-
comp: compat comp: firestore comp: storage type: chore
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
angular/angularfire#3822 ·
メンテナーはふだん 3 日以内に返信
angular/angularfire の issue をすべて見る
似ている issue
-
needs investigation
難易度 2/5 1〜3時間 初心者へのやさしさ 60/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
area:visualizer tech-debt
難易度 2/5 1時間未満 初心者へのやさしさ 66/100
jmbarzee/temporal-architect#292 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
riverqueue/river#1576 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
colbymchenry/codegraph#3228 ·
メンテナーはふだん 1 日以内に返信