Skip to content

Commit dc808b5

Browse files
committed
Merge branch 'main' into pipeline_queries_approved
2 parents 3f9b65f + 7f96290 commit dc808b5

Some content is hidden

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

57 files changed

+1873
-244
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)