René's URL Explorer Experiment


Title: build!: require Angular 22 and compile with TypeScript 6 by armando-navarro · Pull Request #3801 · angular/angularfire · GitHub

Open Graph Title: build!: require Angular 22 and compile with TypeScript 6 by armando-navarro · Pull Request #3801 · angular/angularfire

X Title: build!: require Angular 22 and compile with TypeScript 6 by armando-navarro · Pull Request #3801 · angular/angularfire

Description: Checklist Issue number for this PR: #3696 Docs included?: no. The AngularFire 22 upgrade guide and the docs' version strings follow in their own pull requests once the remaining v22 decisions are made. Test units included?: yes. A browser spec for screen tracking, ported from #3741. Breaking change?: yes. BREAKING CHANGE: footer in the commit, ! in the subject. In a clean directory, yarn install, yarn test run successfully? yes, with npm: npm ci, npm run build, npm run lint, npm run test:node (381 specs) and npm run test:chrome-headless (112 specs) all pass. Description Moves AngularFire to Angular 22 and TypeScript 6. This is the first 22 commit on main, so it also moves the package version to 22.0.0, which makes the canaries publish as 22.0.0-canary.*. Reimplements #3741 by @EthanSK, who is co-author on the commit. His replacement for the removed ComponentFactoryResolver and his screen-tracking spec are kept as written. The rest changed under him: main moved to Angular 21.2 and "type": "commonjs", and ng-packagr 22.2 switched its typings bundler, so the branch was rebuilt on today's main instead of rebased. Changes Peers: @angular/common, @angular/core and @angular/platform-browser at ^22.0.0 typescript at >=6.0 <6.1 the @angular-devkit and @schematics/angular dependencies at 22. The built package needs nothing newer than 22.0.0 (its linker minVersion values are 12.0.0 and 14.0.0), so the peer is the major, not the minor the repo compiles with. ComponentFactoryResolver is gone from Angular 22. Both screen-tracking services read the routed component's selector with reflectComponentType(component)?.selector, and ɵscreenViewEvent loses its third parameter. Every compiled component has a selector, so nothing changes for apps. TypeScript 6: tsconfig.build.json, which compiles the build script tools/build.ts, gets an explicit rootDir and keeps TypeScript 6's strict default. tsconfig.base.json sets strict: false to keep TypeScript 5 behavior for the library and specs, drops downlevelIteration, and drops the deprecated baseUrl. src/schematics/tsconfig.json moves from the deprecated moduleResolution: node to bundler. src/test.ts is deleted. The Karma builder injects its own entry file and never ran it, and TypeScript 6 started reporting its three zone.js/dist/* imports, paths zone.js no longer ships. Lint: eslint.config.js loads the angular-eslint umbrella package, since @angular-eslint/eslint-plugin 22 no longer exports its preset rule sets. @angular/animations, deprecated in 22 and imported nowhere, leaves the devDependencies. CI runs on Node >=22.22.3 <23, >=24.15.0 <25 and 26, Angular 22's engines. Node 20 reached end of life on 2026-04-30. Behavior to know Going forward, AngularFire 21 fixes will be carried on the 21.0.x branch. ng update @angular/core@22 @angular/cli@22 alone refuses on an app with AngularFire 21 installed (incompatible peer dependency to "@angular/common"). Using @angular/fire@22 in the same command works, and that is what the upgrade guide will document. Apps coming from 21.0.0-rc.x see the v21 migration run once more and report no changes, because 21.0.0 lies between their version and 22.0.0. Not in this PR: moving angular.json off the deprecated @angular-devkit/build-angular builders the sample app a migration-v22 the firebase range compiling the library under strict the docs. Verification Build, lint, test:node (381 specs) and test:chrome-headless (112 specs, one more than main: the ported screen-tracking spec) pass on Angular 22.2.3, TypeScript 6.0.3, ng-packagr 22.2.4, zone.js 0.16.3. A fresh Angular 22 app (ng new with CLI 22) takes the packed tarball through ng add, including the interactive setup against a real Firebase project, and builds. Served in Chrome, it reads auth state and a Firestore collection with a clean console. An SSR app on Angular 21.2 with 21.0.0-rc.2 installed moves to Angular 22 with one ng update @angular/core@22 @angular/cli@22 @angular/fire@22 (the 22.0.0 package served from a local registry). It builds, and the served page hydrates with no errors from AngularFire. Refs #3737

Open Graph Description: Checklist Issue number for this PR: #3696 Docs included?: no. The AngularFire 22 upgrade guide and the docs' version strings follow in their own pull requests once the remaining v22 decisions ...

X Description: Checklist Issue number for this PR: #3696 Docs included?: no. The AngularFire 22 upgrade guide and the docs&#39; version strings follow in their own pull requests once the remaining v22 decisi...

Opengraph URL: https://github.com/angular/angularfire/pull/3801

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:5d181dbf-47dd-5eb8-dbdb-5a6634588ee7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE0CA:B4652:8A8986:B02AAE:6B036079
html-safe-nonce0762d0270f3139e8bab3ae0d21f36d36399e23b37f162b5b5acbf22f329599f0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMENBOkI0NjUyOjhBODk4NjpCMDJBQUU6NkIwMzYwNzkiLCJ2aXNpdG9yX2lkIjoiODg1NjkzMDI2NDA2NzE5NjA5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaccd286ed5e5818fb0d5bbca3d346b042ddb8930c60d45dab79f3baf7de1e2e105
hovercard-subject-tagpull_request:4978229194
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/angular/angularfire/pull/3801/files
twitter:imagehttps://avatars.githubusercontent.com/u/13904589?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/13904589?s=400&v=4
og:image:altChecklist Issue number for this PR: #3696 Docs included?: no. The AngularFire 22 upgrade guide and the docs' version strings follow in their own pull requests once the remaining v22 decisions ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/angular/angularfire git https://github.com/angular/angularfire.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id49453413
octolytics-dimension-repository_nwoangular/angularfire
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49453413
octolytics-dimension-repository_network_root_nwoangular/angularfire
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/angular/angularfire/pull/3801/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangularfire%2Fpull%2F3801%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangularfire%2Fpull%2F3801%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=angular%2Fangularfire
Reloadhttps://github.com/angular/angularfire/pull/3801/files
Reloadhttps://github.com/angular/angularfire/pull/3801/files
Reloadhttps://github.com/angular/angularfire/pull/3801/files
angularhttps://github.com/angular
angularfirehttps://github.com/angular/angularfire
Codehttps://github.com/angular/angularfire
Issues162 (162)https://github.com/angular/angularfire/issues
Pull requests5 (5)https://github.com/angular/angularfire/pulls
Discussionshttps://github.com/angular/angularfire/discussions
Actionshttps://github.com/angular/angularfire/actions
Projectshttps://github.com/angular/angularfire/projects
Security and qualityhttps://github.com/angular/angularfire/security
Insightshttps://github.com/angular/angularfire/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fangular%2Fangularfire%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fangular%2Fangularfire%2Fissues%2Fnew%2Fchoose
armando-navarrohttps://github.com/armando-navarro
angular:mainhttps://github.com/angular/angularfire/tree/main
armando-navarro:a69-angular-22-bumphttps://github.com/armando-navarro/angularfire/tree/a69-angular-22-bump
Conversation 1 https://github.com/angular/angularfire/pull/3801
Commits 2 https://github.com/angular/angularfire/pull/3801/commits
Checks 24 https://github.com/angular/angularfire/pull/3801/checks
Files changed https://github.com/angular/angularfire/pull/3801/files
Please reload this pagehttps://github.com/angular/angularfire/pull/3801/files
build!: require Angular 22 and compile with TypeScript 6 https://github.com/angular/angularfire/pull/3801/files#top
Show all changes 2 commits https://github.com/angular/angularfire/pull/3801/files
dec5ada style: use the optional chains typescript-eslint 8.71 asks for armando-navarro Oct 7, 2026 https://github.com/angular/angularfire/pull/3801/commits/dec5ada36620aead6f5467062690d6d105fc1ee9
3de3e31 build!: require Angular 22 and compile with TypeScript 6 armando-navarro Oct 23, 2026 https://github.com/angular/angularfire/pull/3801/commits/3de3e31fd26727b9a2c67a0ad9b45cb7c6527077
Clear filters https://github.com/angular/angularfire/pull/3801/files
Please reload this pagehttps://github.com/angular/angularfire/pull/3801/files
Please reload this pagehttps://github.com/angular/angularfire/pull/3801/files
test.yml https://github.com/angular/angularfire/pull/3801/files#diff-faff1af3d8ff408964a57b2e475f69a6b7c7b71c9978cccc8f471798caac2c88
eslint.config.js https://github.com/angular/angularfire/pull/3801/files#diff-a32a0887ed9d1d707bbb3b845b7df7fd40e673c47e7b60a3ebd896b68d3b8839
package-lock.json https://github.com/angular/angularfire/pull/3801/files#diff-053150b640a7ce75eff69d1a22cae7f0f94ad64ce9a855db544dda0929316519
package.json https://github.com/angular/angularfire/pull/3801/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
screen-tracking.service.spec.ts https://github.com/angular/angularfire/pull/3801/files#diff-a2c3ba2bf797436bc3375abf0f9298dad33c8aaec81019138499ec9866d542f9
screen-tracking.service.ts https://github.com/angular/angularfire/pull/3801/files#diff-94f5fb4f3998d3e4db1ceab5d923d6f5c3ef53072a80ce69564ffcc7f44fd86a
app.module.ts https://github.com/angular/angularfire/pull/3801/files#diff-502d295b435b10ba99f5377504ca51149312e3cbebbbaa78ac5d925cb04cbfb0
screen-tracking.service.ts https://github.com/angular/angularfire/pull/3801/files#diff-d74c31d3a3af7efc4c1ff6ce63f2812c53391d19d55f17325db22fa900a6fbca
firebase.app.module.ts https://github.com/angular/angularfire/pull/3801/files#diff-2942dff9f002c3d6504b2af9177e8c128257aace8c10850f303744df728c90e2
package.json https://github.com/angular/angularfire/pull/3801/files#diff-cc5a2f170768969f124108ad3be7fdbcbed774c11774d99a87a3a78fef4ab97b
tsconfig.json https://github.com/angular/angularfire/pull/3801/files#diff-049909c363c970b3deea06a2eb0e8b1797c2731034abb5a0cc8ea058fb4c64d1
test.ts https://github.com/angular/angularfire/pull/3801/files#diff-81188fa6e8155e286766a6f3ca74e3eaf1e65e4aca7c0c2788e588b32c591288
build.ts https://github.com/angular/angularfire/pull/3801/files#diff-1a7c808f53c100a839513de5b7bffe4aec260620e6f444071f92a143816de975
tsconfig.base.json https://github.com/angular/angularfire/pull/3801/files#diff-0b280a445be167f54cd916c0718c952b8e0d4ca9621903d05eec25efd4c6ed6d
tsconfig.build.json https://github.com/angular/angularfire/pull/3801/files#diff-3ae20d611c1c7263a9c1bce0449291ebfea1c5d578b3fcdbb596353ad885db25
tsconfig.json https://github.com/angular/angularfire/pull/3801/files#diff-b55cdbef4907b7045f32cc5360d48d262cca5f94062e353089f189f4460039e0
tsconfig.spec.json https://github.com/angular/angularfire/pull/3801/files#diff-c4fa395a2a65bfcfe1605c3bf167f320dfec010a7c2ec613c627f2ee58a08a0f
.github/workflows/test.ymlhttps://github.com/angular/angularfire/pull/3801/files#diff-faff1af3d8ff408964a57b2e475f69a6b7c7b71c9978cccc8f471798caac2c88
View file https://github.com/armando-navarro/angularfire/blob/3de3e31fd26727b9a2c67a0ad9b45cb7c6527077/.github/workflows/test.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angularfire/pull/3801/{{ revealButtonHref }}
https://github.com/angular/angularfire/pull/3801/files#diff-faff1af3d8ff408964a57b2e475f69a6b7c7b71c9978cccc8f471798caac2c88
https://github.com/angular/angularfire/pull/3801/files#diff-faff1af3d8ff408964a57b2e475f69a6b7c7b71c9978cccc8f471798caac2c88
https://github.com/angular/angularfire/pull/3801/files#diff-faff1af3d8ff408964a57b2e475f69a6b7c7b71c9978cccc8f471798caac2c88
https://github.com/angular/angularfire/pull/3801/files#diff-faff1af3d8ff408964a57b2e475f69a6b7c7b71c9978cccc8f471798caac2c88
https://github.com/angular/angularfire/pull/3801/files#diff-faff1af3d8ff408964a57b2e475f69a6b7c7b71c9978cccc8f471798caac2c88
https://github.com/angular/angularfire/pull/3801/files#diff-faff1af3d8ff408964a57b2e475f69a6b7c7b71c9978cccc8f471798caac2c88
https://github.com/angular/angularfire/pull/3801/files#diff-faff1af3d8ff408964a57b2e475f69a6b7c7b71c9978cccc8f471798caac2c88
https://github.com/angular/angularfire/pull/3801/files#diff-faff1af3d8ff408964a57b2e475f69a6b7c7b71c9978cccc8f471798caac2c88
https://github.com/angular/angularfire/actions/runs/39905365824/job/120256118134?pr=3801
https://github.com/angular/angularfire/pull/3801/files#diff-faff1af3d8ff408964a57b2e475f69a6b7c7b71c9978cccc8f471798caac2c88
eslint.config.jshttps://github.com/angular/angularfire/pull/3801/files#diff-a32a0887ed9d1d707bbb3b845b7df7fd40e673c47e7b60a3ebd896b68d3b8839
View file https://github.com/armando-navarro/angularfire/blob/3de3e31fd26727b9a2c67a0ad9b45cb7c6527077/eslint.config.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angularfire/pull/3801/{{ revealButtonHref }}
https://github.com/angular/angularfire/pull/3801/files#diff-a32a0887ed9d1d707bbb3b845b7df7fd40e673c47e7b60a3ebd896b68d3b8839
https://github.com/angular/angularfire/pull/3801/files#diff-a32a0887ed9d1d707bbb3b845b7df7fd40e673c47e7b60a3ebd896b68d3b8839
https://github.com/angular/angularfire/pull/3801/files#diff-a32a0887ed9d1d707bbb3b845b7df7fd40e673c47e7b60a3ebd896b68d3b8839
Please reload this pagehttps://github.com/angular/angularfire/pull/3801/files
Please reload this pagehttps://github.com/angular/angularfire/pull/3801/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.