René's URL Explorer Experiment


Title: fix(deploy): target Node 22 and the firebase-functions/v1 API in generated Cloud Functions by armando-navarro · Pull Request #3743 · angular/angularfire · GitHub

Open Graph Title: fix(deploy): target Node 22 and the firebase-functions/v1 API in generated Cloud Functions by armando-navarro · Pull Request #3743 · angular/angularfire

X Title: fix(deploy): target Node 22 and the firebase-functions/v1 API in generated Cloud Functions by armando-navarro · Pull Request #3743 · angular/angularfire

Description: Checklist Issue number for this PR: #3742 (required) Docs included?: yes Test units included?: no. The existing Node suite passes (117 specs). The change is to generated-code templates with no spec file today, and it was verified by generating the function from the built templates and loading it against a real firebase-functions 6 install: the old template throws TypeError: functions.region is not a function, the fixed one loads. In a clean directory, yarn install, yarn test run successfully?: yes Description Fixes #3742. Three fixes to what ng deploy generates for Cloud Functions: DEFAULT_NODE_VERSION goes from 14 to 22. Node 14 was decommissioned by Cloud Functions in early 2025, so the generated function could not deploy at all. 22 is the newest runtime Cloud Functions supports. It satisfies the engines ranges of @angular/core (^20.19.0 || ^22.12.0 || >=24.0.0) and firebase-admin (>=18). Node 20 would also deploy today, but its security support ended 2026-04-30. The same constant picks the Cloud Run base image, so that path moves from the stale node:14-slim to node:22-slim. The gen 1 template requires firebase-functions/v1. On firebase-functions 6 the v1 API moved off the package root, so the generated functions.region(...) call threw TypeError: functions.region is not a function on cold start. The /v1 subpath is present on both firebase-functions 6 and 7. The docs example asks for functionsNodeVersion: 22 instead of the decommissioned 12. These defects also affect the v20 line and are planned for cherry-pick onto the 20.0.x release branch after this lands.

Open Graph Description: Checklist Issue number for this PR: #3742 (required) Docs included?: yes Test units included?: no. The existing Node suite passes (117 specs). The change is to generated-code templates with no spe...

X Description: Checklist Issue number for this PR: #3742 (required) Docs included?: yes Test units included?: no. The existing Node suite passes (117 specs). The change is to generated-code templates with no spe...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.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:7205daee-0da0-e977-ce14-1473d6920505
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCE98:D405E:A5A9F8:D27D44:6B03697D
html-safe-nonceede0935a8cc6cecdf4db8ae8c2ceee577ed6f162245c3d6e8416c1898c8a694e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTk4OkQ0MDVFOkE1QTlGODpEMjdENDQ6NkIwMzY5N0QiLCJ2aXNpdG9yX2lkIjoiMjUxODA4MTYwMzA3OTcyNzQ4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb1656764a46bd32836c8961ed7d9d23356902220d4c1a3d6b06c5258951764bf
hovercard-subject-tagpull_request:4256373401
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/3743/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: #3742 (required) Docs included?: yes Test units included?: no. The existing Node suite passes (117 specs). The change is to generated-code templates with no spe...
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/3743/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangularfire%2Fpull%2F3743%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%2F3743%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/3743/files
Reloadhttps://github.com/angular/angularfire/pull/3743/files
Reloadhttps://github.com/angular/angularfire/pull/3743/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:fix/generated-function-runtimehttps://github.com/armando-navarro/angularfire/tree/fix/generated-function-runtime
Conversation 2 https://github.com/angular/angularfire/pull/3743
Commits 3 https://github.com/angular/angularfire/pull/3743/commits
Checks 24 https://github.com/angular/angularfire/pull/3743/checks
Files changed https://github.com/angular/angularfire/pull/3743/files
Please reload this pagehttps://github.com/angular/angularfire/pull/3743/files
fix(deploy): target Node 22 and the firebase-functions/v1 API in generated Cloud Functions https://github.com/angular/angularfire/pull/3743/files#top
Show all changes 3 commits https://github.com/angular/angularfire/pull/3743/files
408e564 fix(deploy): target Node 22 and the firebase-functions/v1 API in gene… armando-navarro Aug 11, 2026 https://github.com/angular/angularfire/pull/3743/commits/408e564697efaba3021ee99098c8d83f4bb10cd2
3b29029 docs(site): update the functionsNodeVersion example in the site copy armando-navarro Aug 12, 2026 https://github.com/angular/angularfire/pull/3743/commits/3b2902954dd441203422dbf440fe3e38691dfb40
bb6d1a1 test(deploy): assert the generated template's require path and runtime armando-navarro Aug 12, 2026 https://github.com/angular/angularfire/pull/3743/commits/bb6d1a1f277a6edcbab444f3a61cb5d7007b7738
Clear filters https://github.com/angular/angularfire/pull/3743/files
Please reload this pagehttps://github.com/angular/angularfire/pull/3743/files
Please reload this pagehttps://github.com/angular/angularfire/pull/3743/files
getting-started.md https://github.com/angular/angularfire/pull/3743/files#diff-6ef65aaa3ee592af337ef7b348f7705ea6c8a180b0877e2c92a4efbcf2477d32
deploying.md https://github.com/angular/angularfire/pull/3743/files#diff-4f44afec29221d51f684b5a0fe64aeeeba57476a10e42c7ddbb4ff83ec8b6a48
functions-templates.jasmine.ts https://github.com/angular/angularfire/pull/3743/files#diff-deddde1be52297487511aec851a9e4713b01e8429d5a2e99347d90b60f0adff3
functions-templates.ts https://github.com/angular/angularfire/pull/3743/files#diff-2301a8d50d0fcfd37d45241a4dd245356c98e4a600709ea9b07cf9b73520f923
docs/deploy/getting-started.mdhttps://github.com/angular/angularfire/pull/3743/files#diff-6ef65aaa3ee592af337ef7b348f7705ea6c8a180b0877e2c92a4efbcf2477d32
View file https://github.com/armando-navarro/angularfire/blob/bb6d1a1f277a6edcbab444f3a61cb5d7007b7738/docs/deploy/getting-started.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angularfire/pull/3743/{{ revealButtonHref }}
https://github.com/angular/angularfire/pull/3743/files#diff-6ef65aaa3ee592af337ef7b348f7705ea6c8a180b0877e2c92a4efbcf2477d32
https://github.com/angular/angularfire/pull/3743/files#diff-6ef65aaa3ee592af337ef7b348f7705ea6c8a180b0877e2c92a4efbcf2477d32
site/src/get-started/deploying.mdhttps://github.com/angular/angularfire/pull/3743/files#diff-4f44afec29221d51f684b5a0fe64aeeeba57476a10e42c7ddbb4ff83ec8b6a48
View file https://github.com/armando-navarro/angularfire/blob/bb6d1a1f277a6edcbab444f3a61cb5d7007b7738/site/src/get-started/deploying.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angularfire/pull/3743/{{ revealButtonHref }}
https://github.com/angular/angularfire/pull/3743/files#diff-4f44afec29221d51f684b5a0fe64aeeeba57476a10e42c7ddbb4ff83ec8b6a48
https://github.com/angular/angularfire/pull/3743/files#diff-4f44afec29221d51f684b5a0fe64aeeeba57476a10e42c7ddbb4ff83ec8b6a48
src/schematics/deploy/functions-templates.jasmine.tshttps://github.com/angular/angularfire/pull/3743/files#diff-deddde1be52297487511aec851a9e4713b01e8429d5a2e99347d90b60f0adff3
View file https://github.com/armando-navarro/angularfire/blob/bb6d1a1f277a6edcbab444f3a61cb5d7007b7738/src/schematics/deploy/functions-templates.jasmine.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angularfire/pull/3743/{{ revealButtonHref }}
src/schematics/deploy/functions-templates.tshttps://github.com/angular/angularfire/pull/3743/files#diff-2301a8d50d0fcfd37d45241a4dd245356c98e4a600709ea9b07cf9b73520f923
View file https://github.com/armando-navarro/angularfire/blob/bb6d1a1f277a6edcbab444f3a61cb5d7007b7738/src/schematics/deploy/functions-templates.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angularfire/pull/3743/{{ revealButtonHref }}
https://github.com/angular/angularfire/pull/3743/files#diff-2301a8d50d0fcfd37d45241a4dd245356c98e4a600709ea9b07cf9b73520f923
https://github.com/angular/angularfire/pull/3743/files#diff-2301a8d50d0fcfd37d45241a4dd245356c98e4a600709ea9b07cf9b73520f923
https://github.com/angular/angularfire/pull/3743/files#diff-2301a8d50d0fcfd37d45241a4dd245356c98e4a600709ea9b07cf9b73520f923
Please reload this pagehttps://github.com/angular/angularfire/pull/3743/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.