Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5a8eda3

Browse files
committed
Squashed commit of the following:
commit 0ff25c1 Merge: dc5b5ac 22b558c Author: Daniel Sanche <[email protected]> Date: Mon Jun 9 14:38:14 2025 -0700 Merge branch 'pipeline_queries_1_stubs' into pipeline_queries_2_query_parity commit 22b558c Merge: b46bdc1 dc808b5 Author: Daniel Sanche <[email protected]> Date: Mon Jun 9 14:16:25 2025 -0700 Merge branch 'pipeline_queries_approved' into pipeline_queries_1_stubs commit dc808b5 Merge: 3f9b65f 7f96290 Author: Daniel Sanche <[email protected]> Date: Mon Jun 9 13:43:53 2025 -0700 Merge branch 'main' into pipeline_queries_approved commit 7f96290 Author: Daniel Sanche <[email protected]> Date: Fri Jun 6 11:14:43 2025 -0700 chore: enable mypy testing (#1057) commit d8e3af1 Author: Kevin Zheng <[email protected]> Date: Wed Jun 4 13:59:27 2025 -0400 feat: Added read_time as a parameter to various calls (synchronous/base classes) (#1050) * feat: Added read_time as a parameter to various calls (synchronous/base classes) * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * fixed tests + added system tests * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * Removed specific system test assertions * added system test with python datetimes * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * revised type hints * linting * feat: Added read_time as a parameter to various calls (async classes) (#1059) * feat: Added read_time as a parameter to various calls (async classes) * used TYPE_CHECKING; fixed unit tests * linting + fixing cover * final linting * TYPE_CHECKING * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * Update client.py fix no cover comment * fixed async system test --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Daniel Sanche <[email protected]> commit 437e233 Author: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Date: Wed May 28 09:56:14 2025 -0700 chore(main): release 2.21.0 (#1055) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> commit 0fb4f2d Author: Daniel Sanche <[email protected]> Date: Fri May 23 14:31:46 2025 -0700 chore: update renovate.json (#1058) commit 6c81626 Author: Jing <[email protected]> Date: Fri May 23 09:46:58 2025 -0700 feat: Support Sequence[float] as query_vector in FindNearest (#908) commit b01a03c Author: Daniel Sanche <[email protected]> Date: Thu May 22 17:42:51 2025 -0700 chore(tests): system test for unicode characters (#1003) commit f8bf2af Author: Daniel Sanche <[email protected]> Date: Thu May 22 16:16:19 2025 -0700 chore: add java 21 to fix emulator tests (#1056) commit 5a279b2 Author: gcf-owl-bot[bot] <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed May 21 06:35:29 2025 -0400 chore: Update gapic-generator-python to 1.25.0 (#1043) * chore: Update gapic-generator-python to 1.25.0 PiperOrigin-RevId: 755914147 Source-Link: googleapis/googleapis@97a83d7 Source-Link: googleapis/googleapis-gen@a9977ef Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYTk5NzdlZmVkYzgzNmNjZWNlMWYwMWQ1MjliMDMxNWUxZWZlNTJhZCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> commit 043d9ef Author: Jeff Verkoeyen <[email protected]> Date: Tue May 20 17:37:28 2025 -0700 fix: Add missing DocumentReference return value to .document (#1053) commit dc5b5ac Merge: 5beee36 b46bdc1 Author: Daniel Sanche <[email protected]> Date: Thu May 15 16:49:40 2025 -0700 Merge branch 'pipeline_queries_1_stubs' into pipeline_queries_2_query_parity commit 5beee36 Author: Daniel Sanche <[email protected]> Date: Thu May 15 16:47:24 2025 -0700 ran blacken commit c8cfcee Author: Daniel Sanche <[email protected]> Date: Thu May 15 16:44:30 2025 -0700 added tests commit f22f11e Author: Daniel Sanche <[email protected]> Date: Thu May 15 16:35:40 2025 -0700 support tuples in pipelin_source.collection commit 63b83b8 Author: Daniel Sanche <[email protected]> Date: Thu May 15 15:43:31 2025 -0700 added tests for expressions commit c4cd995 Author: Daniel Sanche <[email protected]> Date: Tue May 13 17:31:55 2025 -0700 added tests for filter conditions commit 2775da2 Author: Daniel Sanche <[email protected]> Date: Tue May 13 17:04:20 2025 -0700 improve FilterCondition repr commit a9368b3 Author: Daniel Sanche <[email protected]> Date: Tue May 13 15:58:09 2025 -0700 added stages unit tests commit 28fd42d Author: Daniel Sanche <[email protected]> Date: Tue May 13 15:28:04 2025 -0700 added tests commit b46bdc1 Author: Daniel Sanche <[email protected]> Date: Tue May 13 15:02:46 2025 -0700 fixed test issues commit d2babd2 Merge: 2d286bb 3f9b65f Author: Daniel Sanche <[email protected]> Date: Tue May 13 11:25:51 2025 -0700 Merge branch 'pipeline_queries_approved' into pipeline_queries_1_stubs commit 3f9b65f Author: Daniel Sanche <[email protected]> Date: Thu May 8 14:07:16 2025 -0700 chore: updated gapic layer for execute_query
1 parent 9a783d7 commit 5a8eda3

Some content is hidden

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

72 files changed

+3204
-409
lines changed

.github/workflows/system_emulated.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@ jobs:
1919
with:
2020
python-version: '3.7'
2121

22+
# firestore emulator requires java 21+
23+
- name: Setup Java
24+
uses: actions/setup-java@v4
25+
with:
26+
distribution: temurin
27+
java-version: '21'
28+
2229
- name: Setup GCloud SDK
2330
uses: google-github-actions/[email protected]
2431

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "2.20.2"
2+
".": "2.21.0"
33
}

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@
55
[1]: https://pypi.org/project/google-cloud-firestore/#history
66

77

8+
## [2.21.0](https://github.com/googleapis/python-firestore/compare/v2.20.2...v2.21.0) (2025-05-23)
9+
10+
11+
### Features
12+
13+
* Support Sequence[float] as query_vector in FindNearest ([#908](https://github.com/googleapis/python-firestore/issues/908)) ([6c81626](https://github.com/googleapis/python-firestore/commit/6c8162685eb82fc6f814f69741a2a51ddda4c2fa))
14+
15+
16+
### Bug Fixes
17+
18+
* Add missing DocumentReference return value to .document ([#1053](https://github.com/googleapis/python-firestore/issues/1053)) ([043d9ef](https://github.com/googleapis/python-firestore/commit/043d9ef59627e5ed7f1acb5ab0c9d47dfd2178c1))
19+
820
## [2.20.2](https://github.com/googleapis/python-firestore/compare/v2.20.1...v2.20.2) (2025-04-14)
921

1022

google/cloud/firestore/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "2.20.2" # {x-release-please-version}
16+
__version__ = "2.21.0" # {x-release-please-version}

google/cloud/firestore_admin_v1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "2.20.2" # {x-release-please-version}
16+
__version__ = "2.21.0" # {x-release-please-version}

google/cloud/firestore_admin_v1/services/firestore_admin/async_client.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
from google.api_core import retry_async as retries
3838
from google.auth import credentials as ga_credentials # type: ignore
3939
from google.oauth2 import service_account # type: ignore
40+
import google.protobuf
4041

4142

4243
try:
@@ -4342,5 +4343,8 @@ async def __aexit__(self, exc_type, exc, tb):
43424343
gapic_version=package_version.__version__
43434344
)
43444345

4346+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
4347+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
4348+
43454349

43464350
__all__ = ("FirestoreAdminAsyncClient",)

google/cloud/firestore_admin_v1/services/firestore_admin/client.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
from google.auth.transport.grpc import SslCredentials # type: ignore
4646
from google.auth.exceptions import MutualTLSChannelError # type: ignore
4747
from google.oauth2 import service_account # type: ignore
48+
import google.protobuf
4849

4950
try:
5051
OptionalRetry = Union[retries.Retry, gapic_v1.method._MethodDefault, None]
@@ -4837,5 +4838,7 @@ def cancel_operation(
48374838
gapic_version=package_version.__version__
48384839
)
48394840

4841+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
4842+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
48404843

48414844
__all__ = ("FirestoreAdminClient",)

google/cloud/firestore_admin_v1/services/firestore_admin/transports/base.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
from google.api_core import operations_v1
2727
from google.auth import credentials as ga_credentials # type: ignore
2828
from google.oauth2 import service_account # type: ignore
29+
import google.protobuf
2930

3031
from google.cloud.firestore_admin_v1.types import backup
3132
from google.cloud.firestore_admin_v1.types import database
@@ -43,6 +44,9 @@
4344
gapic_version=package_version.__version__
4445
)
4546

47+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
48+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
49+
4650

4751
class FirestoreAdminTransport(abc.ABC):
4852
"""Abstract transport class for FirestoreAdmin."""

google/cloud/firestore_admin_v1/services/firestore_admin/transports/rest.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
from google.api_core import rest_helpers
2424
from google.api_core import rest_streaming
2525
from google.api_core import gapic_v1
26+
import google.protobuf
2627

2728
from google.protobuf import json_format
2829
from google.api_core import operations_v1
@@ -69,6 +70,9 @@
6970
rest_version=f"requests@{requests_version}",
7071
)
7172

73+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
74+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
75+
7276

7377
class FirestoreAdminRestInterceptor:
7478
"""Interceptor for FirestoreAdmin.

google/cloud/firestore_bundle/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "2.20.2" # {x-release-please-version}
16+
__version__ = "2.21.0" # {x-release-please-version}

0 commit comments

Comments
 (0)