You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix issue where Firestore would produce `undefined` for document snapshot data if using IndexedDB persistence and "clear site data" (or equivalent) button was pressed in the web browser.
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/bug_report_v2.yaml
+24-16Lines changed: 24 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Copyright 2023 Google LLC
1
+
# Copyright 2024 Google LLC
2
2
#
3
3
# Licensed under the Apache License, Version 2.0 (the "License");
4
4
# you may not use this file except in compliance with the License.
@@ -21,8 +21,8 @@ body:
21
21
id: before-you-start
22
22
attributes:
23
23
value: |
24
-
*[READ THIS]:* to evaluate if you are in the right place?
25
-
- For issues or feature requests related to __the code in this repository__, file a Github issue.
24
+
*[READ THIS]:* Are you in the right place?
25
+
- For issues or feature requests related to __the code in this repository__, file a GitHub issue.
26
26
- If this is a __feature request__, make sure the issue title starts with "FR:".
27
27
- For general technical questions, post a question on [StackOverflow](http://stackoverflow.com/) with the firebase tag.
28
28
- For general Firebase discussion, use the [firebase-talk](https://groups.google.com/forum/#!forum/firebase-talk) google group.
@@ -31,38 +31,39 @@ body:
31
31
id: operating-system
32
32
attributes:
33
33
label: Operating System
34
-
description: Describe your operating system
35
-
placeholder: ex. iOS 16.4
34
+
description: Describe the operating system(s) where you are experiencing the issue.
35
+
placeholder: ex. iOS 16.4, macOS Ventura 13.4, Windows 11
36
36
validations:
37
37
required: true
38
38
- type: input
39
-
id: browser-version
39
+
id: environment
40
40
attributes:
41
-
label: Browser Version
42
-
description: Describe your browser version
43
-
placeholder: ex. Safari/604.1
41
+
label: Environment (if applicable)
42
+
description: Describe the environment where you are experiencing the issue. This could include the browser and its version, Node.js version, or any other relevant environment details.
description: The Firebase JS SDK version you're using.
51
51
placeholder: ex. 9.16.0
52
52
validations:
53
53
required: true
54
54
- type: dropdown
55
55
id: firebase-sdk-products
56
56
attributes:
57
-
label: 'Firebase SDK Product:'
58
-
description: Which Firebase Products are used in your app?
57
+
label: Firebase SDK Product(s)
58
+
description: Select the Firebase product(s) relevant to your issue. You can select multiple options in the dropdown.
59
59
multiple: true
60
60
options:
61
61
- Analytics
62
62
- AppCheck
63
63
- Auth
64
64
- Component
65
65
- Database
66
+
- DataConnect
66
67
- Firestore
67
68
- Functions
68
69
- Installations
@@ -77,16 +78,21 @@ body:
77
78
- type: textarea
78
79
id: project-tooling
79
80
attributes:
80
-
label: Describe your project's tooling
81
+
label: Project Tooling
81
82
description: Describe the tooling your app is built with
82
83
placeholder: React app with Webpack and Jest
83
84
validations:
84
85
required: true
85
86
- type: textarea
86
87
id: describe-your-problem
87
88
attributes:
88
-
label: Describe the problem
89
-
description: Describe what you were trying to do and what occurred
89
+
label: Detailed Problem Description
90
+
description: |
91
+
Please provide a clear and concise description of the problem. Include:
92
+
- What you were trying to achieve.
93
+
- What actually happened.
94
+
- Any error messages or unexpected behavior you observed.
95
+
- Relevant log snippets or console output (if available).
90
96
placeholder: |
91
97
What were you trying to accomplish? What happened? This should include a background description, log/console output, etc.
92
98
validations:
@@ -95,6 +101,8 @@ body:
95
101
id: reproduce-code
96
102
attributes:
97
103
label: Steps and code to reproduce issue
98
-
description: Please provide a description of how to replicate your issue. Copy and paste any relevant code here to reproduce the problem or links to code to reproduce it.
104
+
description: |
105
+
If possible, provide a minimal, self-contained code snippet or steps that consistently reproduce the issue.
Copy file name to clipboardExpand all lines: .github/workflows/check-docs.yml
+31-18Lines changed: 31 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -22,21 +22,34 @@ jobs:
22
22
runs-on: ubuntu-latest
23
23
24
24
steps:
25
-
- name: Checkout Repo
26
-
uses: actions/checkout@master
27
-
with:
28
-
# get all history for the diff
29
-
fetch-depth: 0
30
-
- name: Set up Node (20)
31
-
uses: actions/setup-node@v3
32
-
with:
33
-
node-version: 20.x
34
-
- name: Yarn install
35
-
run: yarn
36
-
- name: Run doc generation
37
-
run: yarn docgen:all
38
-
- name: Check for changes in docs-devsite dir (fail if so)
39
-
run: git diff --exit-code docs-devsite
40
-
- name: Reference documentation needs to be updated. See message below.
41
-
if: ${{ failure() }}
42
-
run: echo "Changes in this PR affect the reference docs. Run \`yarn docgen:all\` locally to regenerate docs and add them to this PR."
25
+
- name: Checkout Repo
26
+
uses: actions/checkout@v4
27
+
with:
28
+
# get all history for the diff
29
+
fetch-depth: 0
30
+
- name: Set up Node (20)
31
+
uses: actions/setup-node@v4
32
+
with:
33
+
node-version: 22.10.0
34
+
- name: Yarn install
35
+
run: yarn
36
+
- name: Run doc generation
37
+
run: yarn docgen:all
38
+
# Fail first if there are docs-devsite changes since running yarn docgen:all
39
+
# will also regenerate any API report changes.
40
+
- name: Check for changes in docs-devsite dir (fail if so)
41
+
run: |
42
+
if [[ -n "$(git status docs-devsite --porcelain)" ]]; then
43
+
echo "Unstaged changes detected in docs-devsite/:"
44
+
git status -s
45
+
echo "Changes in this PR affect the reference docs or API reports. Run \`yarn docgen:all\` locally to regenerate the changed files and add them to this PR."
46
+
exit 1
47
+
fi
48
+
- name: Check for changes in common/api-review dir (fail if so)
49
+
run: |
50
+
if [[ -n "$(git status common/api-review --porcelain)" ]]; then
51
+
echo "Unstaged changes detected in api-report(s):"
52
+
git status -s
53
+
echo "Changes in this PR affect the API reports. Run \`yarn build\` locally to regenerate the API reports and add them to this PR."
0 commit comments