Skip to content

Commit

Permalink
chore(*): bump all functions to nodejs20 runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
cabljac committed Feb 11, 2025
1 parent d7bdc93 commit 6cab0a6
Show file tree
Hide file tree
Showing 16 changed files with 49 additions and 17 deletions.
4 changes: 4 additions & 0 deletions delete-user-data/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## Version 0.1.24

feat - move to Node.js 20 runtimes

## Version 0.1.23

fixed - bump dependencies to fix vulnerabilities
Expand Down
6 changes: 3 additions & 3 deletions delete-user-data/extension.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,23 +64,23 @@ resources:
Authentication's User ID) from Realtime Database, Cloud Firestore, and/or
Cloud Storage.
properties:
runtime: nodejs18
runtime: nodejs20
eventTrigger:
eventType: providers/firebase.auth/eventTypes/user.delete
resource: projects/${param:PROJECT_ID}

- name: handleSearch
type: firebaseextensions.v1beta.function
properties:
runtime: nodejs18
runtime: nodejs20
eventTrigger:
eventType: google.pubsub.topic.publish
resource: projects/${PROJECT_ID}/topics/ext-${EXT_INSTANCE_ID}-discovery

- name: handleDeletion
type: firebaseextensions.v1beta.function
properties:
runtime: nodejs18
runtime: nodejs20
eventTrigger:
eventType: google.pubsub.topic.publish
resource: projects/${PROJECT_ID}/topics/ext-${EXT_INSTANCE_ID}-deletion
Expand Down
4 changes: 4 additions & 0 deletions firestore-bigquery-export/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## Version 0.1.58

feat - move to Node.js 20 runtimes

## Version 0.1.57

feat - add basic materialized views support, incremental and non-incremental.
Expand Down
8 changes: 4 additions & 4 deletions firestore-bigquery-export/extension.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ resources:
Listens for document changes in your specified Cloud Firestore collection,
then exports the changes into BigQuery.
properties:
runtime: nodejs18
runtime: nodejs20
eventTrigger:
eventType: providers/cloud.firestore/eventTypes/document.write
resource: projects/${param:PROJECT_ID}/databases/(default)/documents/${param:COLLECTION_PATH}/{documentId}
Expand All @@ -69,7 +69,7 @@ resources:
description: >-
A task-triggered function that gets called on BigQuery sync
properties:
runtime: nodejs18
runtime: nodejs20
taskQueueTrigger:
rateLimits:
maxConcurrentDispatches: 500
Expand All @@ -83,7 +83,7 @@ resources:
description: >-
Runs configuration for sycning with BigQuery
properties:
runtime: nodejs18
runtime: nodejs20
taskQueueTrigger:
retryConfig:
maxAttempts: 15
Expand All @@ -94,7 +94,7 @@ resources:
description: >-
Runs configuration for sycning with BigQuery
properties:
runtime: nodejs18
runtime: nodejs20
taskQueueTrigger:
retryConfig:
maxAttempts: 15
Expand Down
4 changes: 4 additions & 0 deletions firestore-counter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## Version 0.2.12

feat - move to Node.js 20 runtimes

## Version 0.2.11

fixed - updated vulnerable dependencies
Expand Down
6 changes: 3 additions & 3 deletions firestore-counter/extension.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ resources:
This scheduled function either aggregates shards itself, or it schedules
and monitors workers to aggregate shards.
properties:
runtime: nodejs18
runtime: nodejs20
maxInstances: 1
scheduleTrigger:
schedule: "every ${param:SCHEDULE_FREQUENCY} minutes"
Expand All @@ -64,7 +64,7 @@ resources:
Listens for changes on counter shards that may need aggregating. This
function is limited to max 1 instance.
properties:
runtime: nodejs18
runtime: nodejs20
maxInstances: 1
timeout: 120s
eventTrigger:
Expand All @@ -78,7 +78,7 @@ resources:
or more worker functions running at any point in time. The controllerCore
function is responsible for scheduling and monitoring these workers.
properties:
runtime: nodejs18
runtime: nodejs20
eventTrigger:
eventType: providers/cloud.firestore/eventTypes/document.write
resource: projects/${param:PROJECT_ID}/databases/(default)/documents/${param:INTERNAL_STATE_PATH}/workers/{workerId}
Expand Down
4 changes: 4 additions & 0 deletions firestore-send-email/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## Version 0.1.36

feat - move to Node.js 20 runtimes

## Version 0.1.35

feat - add SendGrid category support
Expand Down
2 changes: 1 addition & 1 deletion firestore-send-email/extension.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ resources:
delivers emails, and updates the document with delivery status
information.
properties:
runtime: nodejs18
runtime: nodejs20
eventTrigger:
eventType: providers/cloud.firestore/eventTypes/document.write
resource: projects/${param:PROJECT_ID}/databases/(default)/documents/${param:MAIL_COLLECTION}/{id}
Expand Down
4 changes: 4 additions & 0 deletions firestore-shorten-urls-bitly/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## Version 0.1.18

feat - move to Node.js 20 runtimes

## Version 0.1.17

fixed - bump dependencies, fix vulnerabilities
Expand Down
2 changes: 1 addition & 1 deletion firestore-shorten-urls-bitly/extension.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ resources:
collection, shortens the URLs, then writes the shortened form back to the
same document.
properties:
runtime: nodejs18
runtime: nodejs20
eventTrigger:
eventType: providers/cloud.firestore/eventTypes/document.write
resource: projects/${param:PROJECT_ID}/databases/(default)/documents/${param:COLLECTION_PATH}/{documentId}
Expand Down
4 changes: 4 additions & 0 deletions firestore-translate-text/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## Version 0.1.22

feat - move to Node.js 20 runtimes

## Version 0.1.21

feat - update docs and config setup for AI Translations with Gemini
Expand Down
4 changes: 2 additions & 2 deletions firestore-translate-text/extension.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ resources:
collection, translates the strings, then writes the translated strings
back to the same document.
properties:
runtime: nodejs18
runtime: nodejs20
eventTrigger:
eventType: providers/cloud.firestore/eventTypes/document.write
resource: projects/${param:PROJECT_ID}/databases/(default)/documents/${param:COLLECTION_PATH}/{messageId}
Expand All @@ -72,7 +72,7 @@ resources:
translates the strings into any missing languages, then writes the
translated strings back to the same document.
properties:
runtime: nodejs18
runtime: nodejs20
availableMemoryMb: 1024
timeout: 540s
taskQueueTrigger: {}
Expand Down
4 changes: 4 additions & 0 deletions rtdb-limit-child-nodes/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## Version 0.1.15

feat - move to Node.js 20 runtimes

## Version 0.1.14

fixed - bump dependencies to fix vulnerabilities
Expand Down
2 changes: 1 addition & 1 deletion rtdb-limit-child-nodes/extension.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ resources:
checks if the max count has been exceeded, then deletes the oldest nodes
first, as needed to maintain the max count.
properties:
runtime: nodejs18
runtime: nodejs20
eventTrigger:
eventType: providers/google.firebase.database/eventTypes/ref.create
resource: projects/_/instances/${param:SELECTED_DATABASE_INSTANCE}/refs/${param:NODE_PATH}/{messageid}
Expand Down
4 changes: 4 additions & 0 deletions storage-resize-images/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## Version 0.2.7

feat - move to Node.js 20 runtimes

## Version 0.2.6

fixed - bump dependencies, fix vulnerabilities
Expand Down
4 changes: 2 additions & 2 deletions storage-resize-images/extension.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ resources:
resizes the images, then stores the resized images in the same bucket.
Optionally keeps or deletes the original images.
properties:
runtime: nodejs18
runtime: nodejs20
availableMemoryMb: ${param:FUNCTION_MEMORY}
eventTrigger:
eventType: google.storage.object.finalize
Expand All @@ -68,7 +68,7 @@ resources:
description: >-
Handles tasks from startBackfill to resize existing images.
properties:
runtime: nodejs18
runtime: nodejs20
availableMemoryMb: ${param:FUNCTION_MEMORY}
taskQueueTrigger: {}

Expand Down

0 comments on commit 6cab0a6

Please sign in to comment.