Skip to content

Commit e146415

Browse files
authored
Merge branch 'main' into shiqingp/accumulators-expressions
2 parents f5616f0 + 852162b commit e146415

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+4596
-346
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@firebase/ai': minor
3+
'firebase': minor
4+
---
5+
6+
Added automatic function calling capability when using `ChatSession`.

.changeset/eighty-ghosts-pull.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'firebase': minor
3+
'@firebase/firestore': minor
4+
---
5+
6+
Support added for the following string Pipeline expressions: `stringRepeat`, `stringReplaceOne`, `stringReplaceAll`, `stringIndexOf`, `ltrim`, `rtrim`.

.changeset/orange-bags-jog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'firebase': minor
3+
'@firebase/firestore': minor
4+
---
5+
6+
Add support for rand and trunc pipeline expressions

.github/workflows/canary-deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ on:
2222

2323
jobs:
2424
deploy:
25+
environment: release
2526
name: Canary Deploy
2627
runs-on: ubuntu-latest
2728

.github/workflows/check-changeset.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,14 @@ jobs:
5252
- name: Print changeset checker output
5353
run: |
5454
cat << 'eof_delimiter_that_will_never_occur_in_CHANGESET_ERROR_MESSAGE'
55-
${{steps.check-changeset.outputs.CHANGESET_ERROR_MESSAGE}}
55+
${STEPS_CHECK_CHANGESET_OUTPUTS_CHANGESET_ERROR_MESSAGE}
5656
eof_delimiter_that_will_never_occur_in_CHANGESET_ERROR_MESSAGE
57+
env:
58+
STEPS_CHECK_CHANGESET_OUTPUTS_CHANGESET_ERROR_MESSAGE: ${{steps.check-changeset.outputs.CHANGESET_ERROR_MESSAGE}}
5759
- name: Print blocking failure status
58-
run: echo "${{steps.check-changeset.outputs.BLOCKING_FAILURE}}"
60+
run: echo "${STEPS_CHECK_CHANGESET_OUTPUTS_BLOCKING_FAILURE}"
61+
env:
62+
STEPS_CHECK_CHANGESET_OUTPUTS_BLOCKING_FAILURE: ${{steps.check-changeset.outputs.BLOCKING_FAILURE}}
5963
- name: Find Comment
6064
# This commit represents v3.1.0
6165
uses: peter-evans/find-comment@3eae4d37986fb5a8592848f6a574fdf654e61f9e

.github/workflows/e2e-test.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,17 +52,20 @@ jobs:
5252
echo "export const config = $PROJECT_CONFIG; export const testAccount = $TEST_ACCOUNT" > firebase-config.js
5353
- name: Poll npm until version to test is available for install
5454
run: |
55-
echo "Polling npm for firebase@${{ github.event.client_payload.versionOrTag }}"
55+
echo "Polling npm for firebase@${GITHUB_EVENT_CLIENT_PAYLOAD_VERSIONORTAG}"
5656
node ./scripts/release/poll-npm-publish.js
5757
# run in root
5858
working-directory: '.'
5959
env:
6060
VERSION: ${{ github.event.client_payload.versionOrTag }}
61+
GITHUB_EVENT_CLIENT_PAYLOAD_VERSIONORTAG: ${{ github.event.client_payload.versionOrTag }}
6162
- name: Yarn install
6263
run: |
63-
echo "Installing firebase@${{ github.event.client_payload.versionOrTag }}"
64-
yarn add firebase@${{ github.event.client_payload.versionOrTag }}
64+
echo "Installing firebase@${GITHUB_EVENT_CLIENT_PAYLOAD_VERSIONORTAG}"
65+
yarn add firebase@${GITHUB_EVENT_CLIENT_PAYLOAD_VERSIONORTAG}
6566
yarn
67+
env:
68+
GITHUB_EVENT_CLIENT_PAYLOAD_VERSIONORTAG: ${{ github.event.client_payload.versionOrTag }}
6669
- name: Deploy "callTest" cloud function
6770
run: |
6871
pushd functions

.github/workflows/health-metrics-pull-request.yml

Lines changed: 0 additions & 74 deletions
This file was deleted.

.github/workflows/health-metrics-release.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

.github/workflows/prerelease-manual-deploy.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ on:
2525
required: true
2626
jobs:
2727
deploy:
28+
environment: release
2829
name: Prerelease Deploy
2930
runs-on: ubuntu-latest
3031

@@ -41,7 +42,7 @@ jobs:
4142
- name: Yarn install
4243
run: yarn
4344
- name: Deploy prerelease
44-
run: yarn release custom -p ${{ github.event.inputs.prereleaseName }} -t ${{ github.event.inputs.npmTag }}
45+
run: yarn release custom -p ${GITHUB_EVENT_INPUTS_PRERELEASENAME} -t ${GITHUB_EVENT_INPUTS_NPMTAG}
4546
env:
4647
NPM_TOKEN_ANALYTICS: ${{secrets.NPM_TOKEN_ANALYTICS}}
4748
NPM_TOKEN_ANALYTICS_INTEROP_TYPES: ${{secrets.NPM_TOKEN_ANALYTICS_INTEROP_TYPES}}
@@ -93,4 +94,6 @@ jobs:
9394
NPM_TOKEN_APP_CHECK_COMPAT: ${{ secrets.NPM_TOKEN_APP_CHECK_COMPAT }}
9495
NPM_TOKEN_API_DOCUMENTER: ${{ secrets.NPM_TOKEN_API_DOCUMENTER }}
9596
CI: true
96-
97+
GITHUB_EVENT_INPUTS_PRERELEASENAME: ${{ github.event.inputs.prereleaseName }}
98+
GITHUB_EVENT_INPUTS_NPMTAG: ${{ github.event.inputs.npmTag }}
99+

.github/workflows/release-pr.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ on:
2222

2323
jobs:
2424
release:
25+
environment: release
2526
name: Create Release PR
2627
runs-on: ubuntu-latest
2728
permissions:

0 commit comments

Comments
 (0)