René's URL Explorer Experiment


Title: build: require Angular 21.2 and compile with its toolchain by armando-navarro · Pull Request #3763 · angular/angularfire · GitHub

Open Graph Title: build: require Angular 21.2 and compile with its toolchain by armando-navarro · Pull Request #3763 · angular/angularfire

X Title: build: require Angular 21.2 and compile with its toolchain by armando-navarro · Pull Request #3763 · angular/angularfire

Description: Checklist Issue number for this PR: none, release coordination for the 21.0.0-rc.1 cut Docs included?: one line in the v21 upgrade guide, which stated the old peer range Test units included?: no new specs. The build's own schematics-load check covers the new build step, and it now also fails an entry point that loads while exporting nothing. In a clean directory, install and test run successfully?: yes, with npm ci and npm test. The repo has no yarn.lock and CI installs with npm ci. Description Raises the minimum supported Angular to 21.2. Angular 21 entered long-term support on 2026-06-03, and long-term support ships only critical fixes and security patches, so 21.2 is the last 21.x minor there will be. Requiring it therefore costs 21.x users nothing in future, and ^21.2.0 still admits every 21.x patch to come. The raise is release coordination for the TransferState work (#3757), whose signal-based reading functions build on resourceFromSnapshots, absent from @angular/core 21.0 and 21.1 and present in 21.2. Changes The four Angular peer entries in src/package.json move to ^21.2.0. The repo's own Angular build packages move to ^21.2.0, and @angular-devkit/architect moves to ~0.2102.0 so the repo's own copy stays consistent with the rest of the toolchain (lockfile regenerated). The old ~0.2100.0 range still resolves and still builds. @schematics/angular moves with them. It already resolved to the same 21.2.x as its devkit siblings, so no resolved version changes. The two @angular-eslint entries stay at ^21.0.0, since that project's 21.x minors do not track Angular's. The devkit and schematics entries in src/package.json deliberately stay at ^21.0.0 rather than moving with the repo's own. Only the @angular/* peers there carry a real 21.2 requirement, so the published package keeps asking for the least it needs. Declares "type": "commonjs" in src/package.json. ng-packagr 21.2 defaults the built manifest to "type": "module" (introduced in ng-packagr#3263), which makes Node read the CommonJS schematics bundles as ES modules and breaks ng add and ng deploy. It sets the field with packageJson.type ??= 'module', so an explicit value in the source manifest is left alone and nothing has to be undone afterwards. The schematics-load check still covers it: removing this line fails the build with ReferenceError: module is not defined in ES module scope. The published manifest gains a "type" field that earlier releases did not carry. For Node it is equivalent to the field's absence, and the library's own entry points are .mjs, which is unambiguous either way. Two hardening changes in tools/build.ts, from review: replacePackageCoreVersion() now fails the build when its placeholder is not found, matching what writeVersionOverPlaceholder already does for the compiled schematics. Without it, a package whose version never got substituted ships as ANGULARFIRE2_VERSION with a green build. The schematics-load check now fails an entry point that loads with no exports, not only one that throws. docs/version-21-upgrade.md said AngularFire 21 peers @angular/* ^21.0.0. That file is copied into the published package, so it now matches the manifest beside it. Verification Full build passes, the built package.json reads "type": "commonjs", and all six compiled schematic entry points load with their real exports. The regenerated entry points differ from the 21.0 build only in the version string Angular's partial compiler writes into them, and in .d.ts import ordering, so nothing the package exposes changes. Of 176 files, 67 differ: 27 .mjs on that version string alone, their 27 source maps on the shifted mappings alone, 12 .d.ts on import order alone, and package.json on the peer ranges this PR changes. 331 specs, 0 failures, lint clean. @angular/core 21.2.22 declares engines of ^20.19.0 || ^22.12.0 || >=24.0.0. AngularFire declares none of its own. The two CI jobs that build run on Node 20, and the test matrix still covers Node 20, 22 and 24. The sample app already installs @angular/core 21.2.18, so it needs no change to satisfy the new peer range.

Open Graph Description: Checklist Issue number for this PR: none, release coordination for the 21.0.0-rc.1 cut Docs included?: one line in the v21 upgrade guide, which stated the old peer range Test units included?: no n...

X Description: Checklist Issue number for this PR: none, release coordination for the 21.0.0-rc.1 cut Docs included?: one line in the v21 upgrade guide, which stated the old peer range Test units included?: no n...

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

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:e36d186b-4a73-177d-312b-a4f10e8165ce
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCDD8:2526B:9FDCBD:C9DDF8:6B0364AB
html-safe-nonce0bfae9c2bbb7529e339f69d466f69af016dba30f1efbad9fa59983d9f67543d4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDREQ4OjI1MjZCOjlGRENCRDpDOURERjg6NkIwMzY0QUIiLCJ2aXNpdG9yX2lkIjoiNDQyOTk5NjE2MDQzNDAwNTE2MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacdc37024bc345f806cdc1af8d2ee6f4b8cb30b4e126961361aa998d0709f18785
hovercard-subject-tagpull_request:4482996219
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/3763/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: none, release coordination for the 21.0.0-rc.1 cut Docs included?: one line in the v21 upgrade guide, which stated the old peer range Test units included?: no n...
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/3763/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangularfire%2Fpull%2F3763%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%2F3763%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/3763/files
Reloadhttps://github.com/angular/angularfire/pull/3763/files
Reloadhttps://github.com/angular/angularfire/pull/3763/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:angular-minimum-21.2https://github.com/armando-navarro/angularfire/tree/angular-minimum-21.2
Conversation 2 https://github.com/angular/angularfire/pull/3763
Commits 3 https://github.com/angular/angularfire/pull/3763/commits
Checks 24 https://github.com/angular/angularfire/pull/3763/checks
Files changed https://github.com/angular/angularfire/pull/3763/files
Please reload this pagehttps://github.com/angular/angularfire/pull/3763/files
build: require Angular 21.2 and compile with its toolchain https://github.com/angular/angularfire/pull/3763/files#top
Show all changes 3 commits https://github.com/angular/angularfire/pull/3763/files
3b177eb build: require Angular 21.2, the final 21.x minor line armando-navarro Sep 9, 2026 https://github.com/angular/angularfire/pull/3763/commits/3b177ebc86cd6b83d054ddee2c1b301e3dd5b20a
c8aebe1 build: compile with the Angular 21.2 toolchain, dropping ng-packagr's… armando-navarro Sep 9, 2026 https://github.com/angular/angularfire/pull/3763/commits/c8aebe1d19460e5074de0a1dd7d00a19eeb7d9ae
40a82c6 build: declare the package type instead of removing it after packaging armando-navarro Sep 21, 2026 https://github.com/angular/angularfire/pull/3763/commits/40a82c63471b8dee5708bae4b018ac964b071344
Clear filters https://github.com/angular/angularfire/pull/3763/files
Please reload this pagehttps://github.com/angular/angularfire/pull/3763/files
Please reload this pagehttps://github.com/angular/angularfire/pull/3763/files
version-21-upgrade.md https://github.com/angular/angularfire/pull/3763/files#diff-97e0e61da19fe9f4d918df3038ddffddf70a56ea26b53a9650fcdb6e97c1f4b5
package-lock.json https://github.com/angular/angularfire/pull/3763/files#diff-053150b640a7ce75eff69d1a22cae7f0f94ad64ce9a855db544dda0929316519
package.json https://github.com/angular/angularfire/pull/3763/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
package.json https://github.com/angular/angularfire/pull/3763/files#diff-cc5a2f170768969f124108ad3be7fdbcbed774c11774d99a87a3a78fef4ab97b
build.ts https://github.com/angular/angularfire/pull/3763/files#diff-1a7c808f53c100a839513de5b7bffe4aec260620e6f444071f92a143816de975
docs/version-21-upgrade.mdhttps://github.com/angular/angularfire/pull/3763/files#diff-97e0e61da19fe9f4d918df3038ddffddf70a56ea26b53a9650fcdb6e97c1f4b5
View file https://github.com/armando-navarro/angularfire/blob/40a82c63471b8dee5708bae4b018ac964b071344/docs/version-21-upgrade.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angularfire/pull/3763/{{ revealButtonHref }}
https://github.com/angular/angularfire/pull/3763/files#diff-97e0e61da19fe9f4d918df3038ddffddf70a56ea26b53a9650fcdb6e97c1f4b5
Please reload this pagehttps://github.com/angular/angularfire/pull/3763/files
Please reload this pagehttps://github.com/angular/angularfire/pull/3763/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.