Skip to content

Commit 35ccb83

Browse files
committed
Merge branch 'next' of github.com:firebase/firebase-tools into universal_maker
2 parents db9f107 + 6a427ea commit 35ccb83

26 files changed

Lines changed: 1055 additions & 143 deletions

File tree

.github/workflows/node-test.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
name: CI Tests
22

33
on:
4-
- pull_request
5-
- push
6-
- merge_group
4+
pull_request:
5+
branches:
6+
- main
7+
- next
8+
push:
9+
merge_group:
710

811
env:
912
CI: true
@@ -180,7 +183,7 @@ jobs:
180183

181184
integration:
182185
needs: unit
183-
if: contains(fromJSON('["push", "merge_group"]'), github.event_name)
186+
if: contains(fromJSON('["push", "merge_group"]'), github.event_name) || (github.event_name == 'pull_request' && github.base_ref == 'next')
184187
runs-on: ubuntu-22.04
185188

186189
env:
@@ -247,7 +250,7 @@ jobs:
247250

248251
integration-windows:
249252
needs: unit
250-
if: contains(fromJSON('["push", "merge_group"]'), github.event_name)
253+
if: contains(fromJSON('["push", "merge_group"]'), github.event_name) || (github.event_name == 'pull_request' && github.base_ref == 'next')
251254
runs-on: windows-latest
252255

253256
env:

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,7 @@ dev/
3535
clean/
3636
.gemini/
3737
.env
38+
39+
# Dart/Flutter
40+
.dart_tool/
41+
**/pubspec.lock

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
- Suppressed the 'punycode' deprecation warning during `firebase deploy` on Node 22. (#10385)
2+
- Fixed an issue where hosting deploy allowed publishing to a site in a different project. (#10376)
3+
- Added 'firebase_deploy' and 'firebase_deploy_status' MCP tools.
4+
- Added SSE mode support to `firebase mcp`. To use it, run `firebase mcp --mode=sse --port=3000`, and connect your client on `http://localhost:3000`.
5+
- Update the valid Python runtimes for functions. Default Python runtime is now Python 3.14.

npm-shrinkwrap.json

Lines changed: 100 additions & 44 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@
185185
"@angular-devkit/architect": "^0.1402.2",
186186
"@angular-devkit/core": "^14.2.2",
187187
"@google/events": "^5.1.1",
188+
"@modelcontextprotocol/ext-apps": "^1.3.2",
188189
"@types/archiver": "^6.0.0",
189190
"@types/async-lock": "^1.4.2",
190191
"@types/body-parser": "^1.17.0",

schema/firebase-config.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"python310",
1313
"python311",
1414
"python312",
15-
"python313"
15+
"python313",
16+
"python314"
1617
],
1718
"type": "string"
1819
},
@@ -965,7 +966,8 @@
965966
"python310",
966967
"python311",
967968
"python312",
968-
"python313"
969+
"python313",
970+
"python314"
969971
],
970972
"type": "string"
971973
},

scripts/publish/cloudbuild.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,27 @@ steps:
159159
echo "Skipping firepit build for preview version."
160160
fi
161161
162+
# Tag the previous version of the docker image
163+
- name: "gcr.io/google.com/cloudsdktool/cloud-sdk:slim"
164+
entrypoint: "bash"
165+
args:
166+
- "-c"
167+
- |
168+
if [ "${_VERSION}" != "preview" ]; then
169+
IMAGE_NAME="us-docker.pkg.dev/${_ARTIFACT_REGISTRY_PROJECT}/us/firebase"
170+
TAGS=$(gcloud container images list-tags $${IMAGE_NAME} --filter="tags:latest" --format="value(tags)")
171+
echo "Tags for latest: $${TAGS}"
172+
PREVIOUS_VERSION=$(echo $${TAGS} | tr ',' '\n' | grep -E '^[0-9]+\.[0-9]+\.[0-9]+$$' | head -n 1)
173+
echo "Detected previous version: $${PREVIOUS_VERSION}"
174+
if [ -n "$${PREVIOUS_VERSION}" ]; then
175+
gcloud container images add-tag $${IMAGE_NAME}:latest $${IMAGE_NAME}:no-new-use-public-image-$${PREVIOUS_VERSION} --quiet
176+
else
177+
echo "Could not detect previous version tag. Skipping tagging."
178+
fi
179+
else
180+
echo "Skipping for preview version."
181+
fi
182+
162183
# Publish the Firebase docker image
163184
- name: "gcr.io/cloud-builders/docker"
164185
entrypoint: "bash"

0 commit comments

Comments
 (0)