Title: Accept firebase 13 in @angular/fire 22 · Issue #3830 · angular/angularfire · GitHub
Open Graph Title: Accept firebase 13 in @angular/fire 22 · Issue #3830 · angular/angularfire
X Title: Accept firebase 13 in @angular/fire 22 · Issue #3830 · angular/angularfire
Description: 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...
Open Graph Description: 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 @ang...
X Description: 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 @ang...
Opengraph URL: https://github.com/angular/angularfire/issues/3830
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Accept firebase 13 in @angular/fire 22","articleBody":"\nfirebase 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:\n\n```\nnpm error ERESOLVE unable to resolve dependency tree\nnpm error peer firebase@\"^12.18.0\" from @angular/fire@22.0.0-rc.0\n```\n\n### Proposal\n\nI'd like `@angular/fire` 22.0.0 to accept `firebase ^12.18.0 || ^13.0.0`:\n\n- Apps on firebase 12 keep working with no change.\n- `rxfire` moves to `^6.3.0`, the first release whose peer range includes firebase 13.\n- When `ng add` or the v22 `ng update` migration writes a `firebase` entry, it writes the range of the major already installed:\n - `^13.0.0` when firebase 13 is installed.\n - `^12.18.0` otherwise.\n- 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.\n\n### Why the written range follows the installed major\n\nOn 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\".\n\n### What changes for an app that moves to firebase 13\n\n- `@angular/fire/ai` re-exports `firebase/ai`, so `VertexAIBackend` and the `ChatSession` class are no longer available.\n - `AgentPlatformBackend` replaces `VertexAIBackend`, and the v21 `ng update` migration already handles it.\n- firebase 13's packages declare Node 24.12 or newer.\n\nIf you're already on firebase 13 and run into something this doesn't cover, please comment here.\n\n","author":{"url":"https://github.com/armando-navarro","@type":"Person","name":"armando-navarro"},"datePublished":"2026-10-30T17:30:58Z","url":"https://github.com/angular/angularfire/issues/3830"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0b7c69f2-9588-71ae-473b-004b51bcef73 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C69E:35875C:77035E:98CC84:6B035C28 |
| html-safe-nonce | 4efe57d2a86d4bc93e1e04ea77d8a710c906a567b58872c9873a20798e8ba66c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjlFOjM1ODc1Qzo3NzAzNUU6OThDQzg0OjZCMDM1QzI4IiwidmlzaXRvcl9pZCI6IjY1MjU2OTUxMjE0NTgxNTg2MzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 30d0d862f32eaa7e41edf61ea3af69a6c8d77e9a76ac430f44fad10edbef5367 |
| hovercard-subject-tag | issue:6123931786 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angularfire/3830/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c9fc1b631a82ded9a21ef897203491a576cb648a1f4749a8a592644b7ff26a26/angular/angularfire/issues/3830 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c9fc1b631a82ded9a21ef897203491a576cb648a1f4749a8a592644b7ff26a26/angular/angularfire/issues/3830 |
| og:image:alt | 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 @ang... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | armando-navarro |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angularfire git https://github.com/angular/angularfire.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 49453413 |
| octolytics-dimension-repository_nwo | angular/angularfire |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49453413 |
| octolytics-dimension-repository_network_root_nwo | angular/angularfire |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width