Skip to content

Commit acbaf65

Browse files
authored
Merge pull request #1915 from firebase/next
release: January
2 parents 861c2e6 + cca40bf commit acbaf65

File tree

16 files changed

+62
-43
lines changed

16 files changed

+62
-43
lines changed

.github/workflows/readmes-updated.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Set up Node.js
3333
uses: actions/setup-node@v3
3434
with:
35-
node-version: 16
35+
node-version: 18
3636
cache: "npm"
3737
cache-dependency-path: "**/functions/package-lock.json"
3838

.github/workflows/test.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,16 @@ name: Testing
22

33
on:
44
push:
5-
branches:
6-
- "**"
5+
branches: [next]
76
pull_request:
8-
branches:
9-
- "**"
7+
branches: ["**"]
108

119
jobs:
1210
nodejs:
1311
runs-on: ubuntu-latest
1412
strategy:
1513
matrix:
16-
node: ["14", "16"]
14+
node: ["16", "18"]
1715
name: node.js_${{ matrix.node }}_test
1816
steps:
1917
- uses: actions/checkout@v3

.github/workflows/validate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Setup node
1414
uses: actions/setup-node@v3
1515
with:
16-
node-version: 14
16+
node-version: 18
1717
- name: NPM install
1818
run: SKIP_POSTINSTALL=yes npm i
1919
- name: Prettier Lint Check

delete-user-data/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## Version 0.1.20
2+
3+
fix - update regex for RTDB instance param
4+
15
## Version 0.1.19
26

37
chore(delete-user-data): remove firebase-tools dependency

delete-user-data/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ For example, if you have the collections `users` and `admins`, and each collecti
4343

4444
* Cloud Firestore delete mode: (Only applicable if you use the `Cloud Firestore paths` parameter.) How do you want to delete Cloud Firestore documents? To also delete documents in subcollections, set this parameter to `recursive`.
4545

46-
* Realtime Database instance: From which Realtime Database instance do you want to delete data keyed on a user ID?
46+
* Realtime Database instance: What is the ID of the Realtime Database instance from which you want to delete user data (keyed on user ID)?
4747

4848

4949
* Realtime Database location: (Only applicable if you provided the `Realtime Database instance` parameter.) From which Realtime Database location do you want to delete data keyed on a user ID?

delete-user-data/extension.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
name: delete-user-data
16-
version: 0.1.19
16+
version: 0.1.20
1717
specVersion: v1beta
1818

1919
displayName: Delete User Data
@@ -116,11 +116,11 @@ params:
116116
- param: SELECTED_DATABASE_INSTANCE
117117
label: Realtime Database instance
118118
description: >
119-
From which Realtime Database instance do you want to delete data keyed on a user ID?
119+
What is the ID of the Realtime Database instance from which you want to delete user data (keyed on user ID)?
120120
type: string
121121
example: my-instance
122-
validationRegex: ^([0-9a-z_.-]*)$
123-
validationErrorMessage: Invalid database instance
122+
validationRegex: ^[^\.\$\#\]\[\/\x00-\x1F\x7F]+$
123+
validationErrorMessage: Invalid database instance. Make sure that you have entered just the instance ID, and not the entire database URL.
124124
required: false
125125

126126
- param: SELECTED_DATABASE_LOCATION

docs/firestore-bigquery-export/Clustering.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Through the extension, adding clustering is as simple as adding a comma-separate
1212

1313
Clustering allows up to a maximum of four fields and can be configured similar to
1414

15-
`document_id, timestamp, event_id, data`
15+
`document_id, document_name, timestamp, event_id, data`
1616

1717
![example](/docs/firestore-bigquery-export/media/clustering.png)
1818

docs/firestore-bigquery-export/get-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ During installation, you will be prompted to specify a number of configuration p
8989

9090
This parameter will allow you to set up Clustering for the BigQuery Table
9191
created by the extension. (for example: `data,document_id,timestamp`- no whitespaces). You can select up to 4 comma-separated fields(order matters).
92-
Available schema extensions table fields for clustering: `document_id, timestamp, event_id, operation, data`.
92+
Available schema extensions table fields for clustering: `document_id, document_name, timestamp, event_id, operation, data`.
9393

9494
- **Backup Collection Name:**
9595

firestore-bigquery-export/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## Version 0.1.44
2+
3+
fix - apply the task queue configurations in `syncBigQuery` and set max attempts to 5
4+
fix - MAX_DISPATCHES_PER_SECOND is now set to take effect based on user's configuration
5+
16
## Version 0.1.43
27

38
fix - correctly partition when only "timestamp" is selected for partition options

firestore-bigquery-export/PREINSTALL.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ The extension creates and updates a [dataset](https://cloud.google.com/bigquery/
55
- A [table](https://cloud.google.com/bigquery/docs/tables-intro) of raw data that stores a full change history of the documents within your collection. This table includes a number of metadata fields so that BigQuery can display the current state of your data. The principle metadata fields are `timestamp`, `document_name`, and the `operation` for the document change.
66
- A [view](https://cloud.google.com/bigquery/docs/views-intro) which represents the current state of the data within your collection. It also shows a log of the latest `operation` for each document (`CREATE`, `UPDATE`, or `IMPORT`).
77

8+
*Warning*: A BigQuery table corresponding to your configuration will be automatically generated upon installing or updating this extension. Manual table creation may result in discrepancies with your configured settings.
9+
810
If you create, update, delete, or import a document in the specified collection, this extension sends that update to BigQuery. You can then run queries on this mirrored dataset.
911

1012
Note that this extension only listens for _document_ changes in the collection, but not changes in any _subcollection_. You can, though, install additional instances of this extension to specifically listen to a subcollection or other collections in your database. Or if you have the same subcollection across documents in a given collection, you can use `{wildcard}` notation to listen to all those subcollections (for example: `chats/{chatid}/posts`).

0 commit comments

Comments
 (0)