This page documents production updates to Datastore. You can periodically check this page for announcements about new or updated features, bug fixes, known issues, and deprecated functionality.
You can see the latest product updates for all of Google Cloud on the Google Cloud page, browse and filter all release notes in the Google Cloud console, or programmatically access release notes in BigQuery.
To get the latest product updates delivered to you, add the URL of this page to your feed reader, or add the feed URL directly.
November 11, 2024
A weekly digest of client library updates from across the Cloud SDK.
November 06, 2024
You can now use the managed bulk delete service to delete entities in bulk. This feature is in Preview.
For more information, see Bulk delete data.
November 04, 2024
A weekly digest of client library updates from across the Cloud SDK.
Node.js
Changes for @google-cloud/datastore
9.2.0 (2024-10-30)
Features
- Add FindNearest API to the stable branch (#1333) (1d56433)
- Update Go Datastore import path (#1261) (bf3dafd)
Bug Fixes
Go
Changes for datastore/admin/apiv1
1.20.0 (2024-10-29)
Features
- datastore: Add FindNearest API to the stable branch (#10980) (f0b05e2)
- datastore: Support for field update operators in the Datastore API and resolution strategies when there is a conflict at write time (78d8513)
Bug Fixes
- datastore: Bump dependencies (2ddeb15)
- datastore: Do not delay on final transaction attempt (#10824) (0d732cc)
- datastore: Remove namespace from Key.String() (40229e6)
- datastore: Remove namespace from Key.String() (#10684) (#10823) (40229e6)
- datastore: Update google.golang.org/api to v0.203.0 (8bb87d5)
- datastore: Use local retryer in transactions (#11050) (3ef61a2)
- datastore: WARNING: On approximately Dec 1, 2024, an update to Protobuf will change service registration function signatures to use an interface instead of a concrete type in generated .pb.go files. This change is expected to affect very few if any users of this client library. For more information, see https://togithub.com/googleapis/google-cloud-go/issues/11020. (8bb87d5)
Java
Changes for google-cloud-datastore
2.24.1 (2024-10-28)
Dependencies
October 28, 2024
A weekly digest of client library updates from across the Cloud SDK.
Java
Changes for google-cloud-datastore
2.24.0 (2024-10-24)
Features
- Add FindNearest API to the stable branch (3512ba2)
Bug Fixes
Dependencies
October 21, 2024
A weekly digest of client library updates from across the Cloud SDK.
Java
Changes for google-cloud-datastore
2.23.0 (2024-10-14)
Features
- Support for field update operators in the Datastore API and resolution strategies when there is a conflict at write time (b299266)
Bug Fixes
- deps: Update the Java code generator (gapic-generator-java) to 2.46.1 (678eee2)
- deps: Update the Java code generator (gapic-generator-java) to 2.47.0 (b299266)
Dependencies
October 07, 2024
A weekly digest of client library updates from across the Cloud SDK.
Java
Changes for google-cloud-datastore
2.22.0 (2024-09-26)
Features
- Add sample code for multiple inequalities indexing consideration query (#1579) (1286792)
- Introducing Tracing with OpenTelemetry API #1537 (#1576) (5440c22)
Bug Fixes
- Update opentelemetry-sdk dependency to be test-only (#1595) (9d719e8)
- Update opentelemetry.version to 1.42.1 to match the BOM version (#1598) (23c5c26)
Dependencies
- Update dependency com.google.cloud:gapic-libraries-bom to v1.43.0 (#1584) (fae3b74)
- Update dependency com.google.cloud:sdk-platform-java-config to v3.36.0 (#1590) (2db9e43)
- Update dependency com.google.cloud:sdk-platform-java-config to v3.36.1 (#1602) (e1b7d4b)
- Update dependency com.google.guava:guava-testlib to v33.3.1-jre (#1592) (5d078a4)
- Update dependency com.google.testparameterinjector:test-parameter-injector to v1.17 (#1585) (8f74a49)
October 02, 2024
You can now use property transforms like increment
in the REST API. This feature is in Preview.
October 01, 2024
You can now use customer-managed encryption keys (CMEK) in Datastore to protect your data. This feature is generally available (GA) behind an allow-list.
For more information, see Customer-managed encryption keys (CMEK).
The Java client library for Firestore in Datastore mode now supports client-side tracing. This feature is in Preview.
September 16, 2024
A weekly digest of client library updates from across the Cloud SDK.
Java
Changes for google-cloud-datastore
2.21.3 (2024-09-11)
Dependencies
- Update dependency com.google.cloud:sdk-platform-java-config to v3.35.0 (#1561) (5a79fd8)
- Update dependency com.google.errorprone:error_prone_core to v2.31.0 (#1523) (8d3af32)
- Update dependency com.google.guava:guava-testlib to v33.3.0-jre (#1548) (18ba37f)
- Update dependency org.easymock:easymock to v5.4.0 (#1482) (ee788a1)
September 09, 2024
A weekly digest of client library updates from across the Cloud SDK.
Python
Changes for google-cloud-ndb
2.3.2 (2024-07-15)
Bug Fixes
August 26, 2024
A weekly digest of client library updates from across the Cloud SDK.
Go
Changes for datastore/admin/apiv1
1.19.0 (2024-08-22)
Features
1.18.0 (2024-08-21)
Features
- datastore: Add support for Go 1.23 iterators (84461c0)
- datastore: Start generating datastorepb protos (946a5fc)
Bug Fixes
Java
Changes for google-cloud-datastore
2.21.2 (2024-08-22)
Dependencies
August 19, 2024
A weekly digest of client library updates from across the Cloud SDK.
Python
Changes for google-cloud-datastore
2.20.1 (2024-08-14)
Bug Fixes
August 12, 2024
A weekly digest of client library updates from across the Cloud SDK.
Python
Changes for google-cloud-datastore
2.20.0 (2024-08-07)
Features
- Add new types ExplainOptions, ExplainMetrics, PlanSummary, ExecutionStats (#521) (dfbee2d)
- Add new_transaction support (#499) (43855dd)
- Implement query profiling (#542) (1500f70)
- New PropertyMask field which allows partial commits, lookups, and query results (7fd218b)
Bug Fixes
Java
Changes for google-cloud-datastore
2.21.1 (2024-08-06)
Dependencies
2.21.0 (2024-07-31)
Features
July 29, 2024
You can now apply range and inequality filters to multiple fields in a query. This feature is generally available (GA).
For more information, see Query with range and inequality filters on multiple fields overview.
July 01, 2024
A weekly digest of client library updates from across the Cloud SDK.
Node.js
Changes for @google-cloud/datastore
9.1.0 (2024-06-24)
Features
Bug Fixes
Java
Changes for google-cloud-datastore
2.20.2 (2024-06-28)
Dependencies
June 28, 2024
Scheduled backups are now available in GA.
June 17, 2024
A weekly digest of client library updates from across the Cloud SDK.
June 10, 2024
A weekly digest of client library updates from across the Cloud SDK.
Java
Changes for google-cloud-datastore
2.20.1 (2024-06-04)
Dependencies
June 03, 2024
A weekly digest of client library updates from across the Cloud SDK.
Node.js
Changes for @google-cloud/datastore
9.0.0 (2024-05-09)
⚠ BREAKING CHANGES
- An existing method
UpdateVehicleLocation
is removed from serviceVehicleService
(#1248)
Features
Bug Fixes
Java
Changes for google-cloud-datastore
2.20.0 (2024-05-27)
Features
Bug Fixes
May 20, 2024
A weekly digest of client library updates from across the Cloud SDK.
May 13, 2024
A weekly digest of client library updates from across the Cloud SDK.
Go
Changes for datastore/admin/apiv1
1.17.0 (2024-05-08)
Features
Java
Changes for google-cloud-datastore
2.19.2 (2024-05-03)
Bug Fixes
Dependencies
- Update dependency com.google.cloud:sdk-platform-java-config to v3.30.0 (#1426) (ac3a1c1)
- Update dependency com.google.errorprone:error_prone_core to v2.27.0 (#1411) (a3f5a2c)
- Update dependency com.google.errorprone:error_prone_core to v2.27.1 (#1421) (48d7daf)
- Update dependency com.google.guava:guava-testlib to v33.2.0-jre (#1422) (5a5dfdf)
May 06, 2024
A weekly digest of client library updates from across the Cloud SDK.
Go
Changes for datastore/admin/apiv1
1.16.0 (2024-04-29)
Features
- datastore: Adding BeginLater and transaction state (#8984) (5f8e21f)
- datastore: Adding BeginLater transaction option (#8972) (4067f4e)
- datastore: Adding reserve IDs support (#9027) (2d66de0)
- datastore: Configure both mTLS and TLS endpoints for Datastore client (#9653) (38bd793)
- datastore: Respect DATASTORE_EMULATOR_HOST setting (#9789) (7259373)
Bug Fixes
- datastore: Add explicit sleep before read time use (#9080) (0538be4)
- datastore: Adding tracing to run method (#9602) (a5e197c)
- datastore: Bump x/net to v0.24.0 (ba31ed5)
- datastore: Enable universe domain resolution options (fd1d569)
- datastore: Prevent panic on GetMulti failure (#9656) (55845ad)
- datastore: Update protobuf dep to v1.33.0 (30b038d)
April 29, 2024
A weekly digest of client library updates from across the Cloud SDK.
Java
Changes for google-cloud-datastore
2.19.1 (2024-04-19)
Dependencies
Firestore in Datastore mode now supports the us-south1
Dallas region.
For a full list of supported locations, see Locations.
April 08, 2024
Firestore in Datastore mode now supports the following additional locations:
africa-south1
Johannesburgeurope-north1
Finlandeurope-southwest1
Madrideurope-west10
Berlineurope-west12
Turineurope-west8
Milansouthamerica-west1
Santiagous-central1
Iowaus-east5
Columbus
For a full list of supported locations, see Locations.
April 05, 2024
Support for Customer-managed encryption keys (CMEK). This feature is in Preview.
April 01, 2024
A weekly digest of client library updates from across the Cloud SDK.
Node.js
Changes for @google-cloud/datastore
8.6.0 (2024-03-25)
Features
- Add new types ExplainOptions, ExplainMetrics, PlanSummary, ExecutionStats (#1241) (6c409d5)
- Nodejs transaction redesign feature branch (#1235) (1585d4a)
Bug Fixes
Java
Changes for google-cloud-datastore
2.19.0 (2024-03-25)
Features
March 27, 2024
Datastore now supports using range and inequality filters on multiple fields in a single query. This feature is in Preview.
Support for Query Explain. This feature is in Preview.
Query Explain lets you submit queries and receive detailed query plan, billing and performance statistics on query execution in return. It helps you understand how your queries are executed, showing you inefficiencies.
It functions like the EXPLAIN [ANALYZE]
operation in many relational database systems.
For more information, see the guide for Query Explain.
March 25, 2024
A weekly digest of client library updates from across the Cloud SDK.
Python
Changes for google-cloud-ndb
2.3.1 (2024-03-16)
Bug Fixes
- grpc: Fix large payload handling when using the emulator. (#975) (d9162ae)
- Remove uses of six. #913 (#958) (e17129a)
- Show a non-None error for core_exception.Unknown errors. (#968) (66e61cc)
Documentation
Java
Changes for google-cloud-datastore
2.18.6 (2024-03-18)
Bug Fixes
Dependencies
- Update dependency com.google.cloud:sdk-platform-java-config to v3.28.0 (#1372) (09db2a7)
- Update dependency com.google.cloud:sdk-platform-java-config to v3.28.1 (#1373) (c6e63e5)
- Update dependency com.google.errorprone:error_prone_core to v2.26.0 (#1361) (9442766)
- Update dependency com.google.errorprone:error_prone_core to v2.26.1 (#1363) (05fe5bc)
- Update dependency com.google.guava:guava-testlib to v33.1.0-jre (#1368) (0195345)
March 05, 2024
You can now use the Firestore emulator to test Firestore in Datastore mode behavior. Use gcloud emulators firestore start
with --database-mode=datastore-mode
.
March 04, 2024
A weekly digest of client library updates from across the Cloud SDK.
Python
Changes for google-cloud-ndb
2.3.0 (2024-03-01)
Features
- Add field information when raising validation errors. (#956) (17caf0b)
- Add Python 3.12 (#949) (b5c8477)
- Add support for google.cloud.ndb.version (#929) (42b3f01)
- Add support for server side NOT_IN filter. (#957) (f0b0724)
- Allow queries using server side IN. (#954) (2646cef)
- Introduce compatibility with native namespace packages (#933) (ccae387)
- Use server side != for queries. (#950) (106772f)
Bug Fixes
- Compressed repeated to uncompressed property (#772) (dab9edf)
- Repeated structured property containing blob property with legacy_data (#817) (#946) (455f860)
Documentation
January 29, 2024
Eventarc events and Firestore events for Cloud Functions (2nd gen) are now supported at the General Availability (GA) level.
January 15, 2024
A weekly digest of client library updates from across the Cloud SDK.
Java
Changes for google-cloud-datastore
2.18.0 (2024-01-08)
Features
Dependencies
January 10, 2024
The ability to create multiple databases per project is now supported at the General Availability level.
January 02, 2024
Support for the europe-west1 (Belgium) and me-central2 (Dammam) locations.
December 20, 2023
Index scans in Key Visualizer are now supported at the General Availability (GA) level.
December 18, 2023
A weekly digest of client library updates from across the Cloud SDK.
Node.js
Changes for @google-cloud/datastore
8.3.0 (2023-12-11)
Features
Bug Fixes
Python
Changes for google-cloud-datastore
2.19.0 (2023-12-10)
Features
- Add support for Python 3.12 (#498) (d1d60fa)
- Introduce compatibility with native namespace packages (#497) (87b3392)
Bug Fixes
- Use
retry_async
instead ofretry
in async client (4e15ce6)
Documentation
December 15, 2023
You can now create and delete non-default databases in the Google Cloud console.
December 04, 2023
A weekly digest of client library updates from across the Cloud SDK.
Java
Changes for google-cloud-datastore
2.17.6 (2023-11-30)
Bug Fixes
Dependencies
November 10, 2023
Support for Firestore in Datastore mode point-in-time recovery (PITR) feature that provides protection against accidental deletion or writes is now generally available (GA).
November 06, 2023
A weekly digest of client library updates from across the Cloud SDK.
Java
Changes for google-cloud-datastore
2.17.5 (2023-11-02)
Dependencies
October 30, 2023
A weekly digest of client library updates from across the Cloud SDK.
Java
Changes for google-cloud-datastore
2.17.4 (2023-10-23)
Dependencies
- Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.18.0 (#1215) (aa82f01)
- Update dependency com.google.errorprone:error_prone_core to v2.23.0 (#1213) (c57db43)
- Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.28 (#1216) (ce4eff2)
- Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.28 (#1217) (7d56b3c)
October 16, 2023
A weekly digest of client library updates from across the Cloud SDK.
Java
Changes for google-cloud-datastore
2.17.3 (2023-10-10)
Dependencies
October 09, 2023
A weekly digest of client library updates from across the Cloud SDK.
Node.js
Changes for @google-cloud/datastore
8.2.1 (2023-10-03)
Bug Fixes
8.2.0 (2023-10-02)
Features
Bug Fixes
Go
Changes for datastore/admin/apiv1
1.15.0 (2023-10-06)
Features
Bug Fixes
October 02, 2023
A weekly digest of client library updates from across the Cloud SDK.
Python
Changes for google-cloud-ndb
2.2.2 (2023-09-19)
Documentation
Raised the maximum number of composite indexes from 200 to 500 for projects with billing enabled. The limit is 200 for projects without billing enabled.
For more information about limits, see Limits.
A weekly digest of client library updates from across the Cloud SDK.
Java
Changes for google-cloud-datastore
2.17.2 (2023-09-26)
Bug Fixes
- Checksum format (#1178) (410b939)
- Deprecate
databaseId
on datastore-v1-proto-client DatastoreOptions (#1190) (12a3d27)
Dependencies
- Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.16.0 (#1195) (6f0cad7)
- Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.16.1 (#1198) (8062be9)
- Update dependency com.google.errorprone:error_prone_core to v2.22.0 (#1194) (b8f108a)
- Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.26 (#1176) (76e3a71)
- Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.27 (#1192) (aa3bca1)
- Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.26 (#1177) (7733004)
- Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.27 (#1193) (a628255)
- Update gapic-generator-java to 2.26.0 (#1197) (2540282)
September 25, 2023
September 18, 2023
A weekly digest of client library updates from across the Cloud SDK.
Node.js
Changes for @google-cloud/datastore
8.1.0 (2023-09-07)
Features
Bug Fixes
Python
Changes for google-cloud-ndb
2.2.1 (2023-09-15)
Bug Fixes
Documentation
Java
Changes for google-cloud-datastore
2.17.1 (2023-09-11)
Dependencies
- Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.15.0 (#1184) (6cbb795)
- Update dependency org.easymock:easymock to v5.2.0 (#1180) (3e62380)
Documentation
September 11, 2023
A weekly digest of client library updates from across the Cloud SDK.
August 28, 2023
The sum()
and avg()
aggregation functions are now available for Firestore in Datastore mode.
A weekly digest of client library updates from across the Cloud SDK.
Go
Changes for datastore/admin/apiv1
1.14.0 (2023-08-22)
Features
- datastore: SUM and AVG aggregations (#8307) (a9fff18)
- datastore: Support aggregation query in transaction (#8439) (37681ff)
Bug Fixes
- datastore: Correcting string representation of Key (#8363) (4cb1211)
- datastore: Fix NoIndex for array property (#7674) (01951e6)
Documentation
- datastore/admin: Specify limit for
properties
inIndex
message in Datastore Admin API (b890425)
Java
Changes for google-cloud-datastore
2.17.0 (2023-08-22)
Features
- Publish proto definitions for SUM/AVG in Datastore (#1157) (954320a)
- Sum and Avg aggregation feature (#1067) (56d1001)
Dependencies
- Update dependency com.google.errorprone:error_prone_core to v2.21.1 (#1163) (83158b6)
- Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.24 (#1165) (4094c70)
- Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.24 (#1166) (70cc371)
Documentation
August 25, 2023
You can now view and list multiple databases using the Google Cloud console. This feature is in Preview.
Scheduled backups now available in Preview.
August 14, 2023
A weekly digest of client library updates from across the Cloud SDK.
Node.js
Changes for @google-cloud/datastore
8.0.0 (2023-08-09)
⚠ BREAKING CHANGES
- upgrade to Node 14
Miscellaneous Chores
- Upgrade to Node 14 (b7904f1)
Python
Changes for google-cloud-datastore
2.17.0 (2023-08-09)
Documentation
August 07, 2023
A weekly digest of client library updates from across the Cloud SDK.
Java
Changes for google-cloud-datastore
2.16.3 (2023-08-02)
Documentation
Dependencies
You can now visualize heatmap pattern for entity keys and make better workload pattern predictions. To learn more, see Key Visualizer. This feature is in Preview.
July 31, 2023
A weekly digest of client library updates from across the Cloud SDK.
Go
Changes for datastore/admin/apiv1
1.13.0 (2023-07-26)
Features
Python
Changes for google-cloud-ndb
2.2.0 (2023-07-26)
Features
Documentation
Java
Changes for google-cloud-datastore
2.16.2 (2023-07-25)
Dependencies
A weekly digest of client library updates from across the Cloud SDK.
July 17, 2023
A weekly digest of client library updates from across the Cloud SDK.
July 14, 2023
Support for Firestore in Datastore mode point-in-time recovery (PITR) feature that provides protection against accidental deletion or writes is now available in Preview.
July 11, 2023
Support for the northamerica-northeast2 (Toronto) region.
July 10, 2023
A weekly digest of client library updates from across the Cloud SDK.
Go
Changes for datastore/admin/apiv1
1.12.1 (2023-07-07)
Bug Fixes
Python
Changes for google-cloud-datastore
2.16.1 (2023-07-05)
Bug Fixes
July 07, 2023
Multiple databases now available in Preview.
July 03, 2023
A weekly digest of client library updates from across the Cloud SDK.
Go
Changes for datastore/admin/apiv1
1.12.0 (2023-06-27)
Features
- datastore: Update all direct dependencies (b340d03)
Bug Fixes
- datastore: Change aggregation result to return generic value (#8167) (9d3d17b)
- datastore: Handling nil slices in save and query (#8043) (36f01e9)
- datastore: PKG:datastore TYPE:datastoreClient FUNC:RunAggregationQuery (#7803) (1f050ea)
- datastore: REST query UpdateMask bug (df52820)
- datastore: Update grpc to v1.55.0 (1147ce0)
June 27, 2023
Eventarc events and Firestore in Datastore mode events for Cloud Functions (2nd gen) now available in Preview.
June 26, 2023
A weekly digest of client library updates from across the Cloud SDK.
Python
Changes for google-cloud-datastore
2.16.0 (2023-06-21)
Features
Java
Changes for google-cloud-datastore
2.16.0 (2023-06-22)
Features
Dependencies
June 20, 2023
OR
queries are now supported at the General Availability level.
June 19, 2023
A weekly digest of client library updates from across the Cloud SDK.
Java
Changes for google-cloud-datastore
2.15.0 (2023-06-09)
Features
Bug Fixes
Dependencies
May 23, 2023
Support for the asia-south2 (Delhi) region.
May 01, 2023
A weekly digest of client library updates from across the Cloud SDK.
Java
Changes for google-cloud-datastore
2.14.5 (2023-04-27)
Bug Fixes
- Using namespace from DatastoreOptions if aggregation query is not configured with one. (#1055) (ac21ef6), closes #1054
2.14.4 (2023-04-26)
Dependencies
- Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.8.0 (#1052) (412be61)
- Update dependency org.junit.vintage:junit-vintage-engine to v5.9.3 (#1056) (2a871e2)
Documentation
April 24, 2023
count()
queries are now supported at the General Availability level.
April 17, 2023
A weekly digest of client library updates from across the Cloud SDK.
Node.js
Changes for @google-cloud/datastore
7.5.1 (2023-04-11)
Bug Fixes
Java
Changes for google-cloud-datastore
2.14.3 (2023-04-13)
Dependencies
April 14, 2023
The Firestore in Datastore mode documentation has been updated to include guidance on using regional endpoints. For details, see Regional endpoints.
April 03, 2023
A weekly digest of client library updates from across the Cloud SDK.
Python
Changes for google-cloud-datastore
2.15.1 (2023-03-24)
Documentation
Java
Changes for google-cloud-datastore
2.14.2 (2023-03-29)
Documentation
Dependencies
March 29, 2023
Firestore in Datastore mode no longer limits the number of entities that can be passed to a Commit
operation. Previously, the limit was 500. The limit for request size still applies.
March 24, 2023
OR
queries now available in Preview.
March 20, 2023
A weekly digest of client library updates from across the Cloud SDK.
March 13, 2023
Support for the europe-west4
(Netherlands) region.
March 06, 2023
A weekly digest of client library updates from across the Cloud SDK.
Python
Changes for google-cloud-datastore
2.14.0 (2023-02-28)
Features
- Enable "rest" transport in Python for services supporting numeric enums (6785908)
Documentation
- Minor documentation formatting and cleanup (6785908)
Java
Changes for google-cloud-datastore
2.13.6 (2023-03-02)
Dependencies
February 27, 2023
A weekly digest of client library updates from across the Cloud SDK.
Node.js
Changes for @google-cloud/datastore
7.3.2 (2023-02-17)
Bug Fixes
Java
Changes for google-cloud-datastore
2.13.5 (2023-02-17)
Dependencies
February 20, 2023
A weekly digest of client library updates from across the Cloud SDK.
Node.js
Changes for @google-cloud/datastore
7.3.1 (2023-02-17)
Bug Fixes
7.3.0 (2023-02-16)
February 13, 2023
A weekly digest of client library updates from across the Cloud SDK.
Node.js
Changes for @google-cloud/datastore
7.2.0 (2023-02-09)
Features
- Add dynamic routing header annotation to DatastoreV1 (b023ab4)
- Added Snooze API support (b023ab4)
- Added SuggestConversationSummary RPC (b023ab4)
- New transaction options for datastoreV1 (b023ab4)
Bug Fixes
Java
Changes for google-cloud-datastore
2.13.4 (2023-02-06)
Dependencies
January 30, 2023
A weekly digest of client library updates from across the Cloud SDK.
Python
Changes for google-cloud-datastore
2.13.2 (2023-01-23)
Bug Fixes
2.13.1 (2023-01-20)
Bug Fixes
- Add context manager return types (9cec031)
Documentation
- Add documentation for enums (9cec031)
Java
Changes for google-cloud-datastore
2.13.3 (2023-01-23)
Bug Fixes
Dependencies
January 23, 2023
A weekly digest of client library updates from across the Cloud SDK.
Node.js
Changes for @google-cloud/datastore
7.1.0 (2023-01-18)
Features
- Add datastore aggregation query APIs (#1008) (d5c2cb1)
- Add the count aggregate function (#972) (76adfc6)
- Snapshot reads (#963) (0ecca86)
- Support regapic LRO (#957) (99778fb)
Bug Fixes
- Allow passing gax instance to client constructor (#974) (386b9c7)
- Better support for fallback mode (#967) (0447d87)
- Bring back LRO mixin (#1009) (1d8de5f)
- Change import long to require (#968) (5e710f2)
- deps: Update dependency @google-cloud/promisify to v3 (#942) (7b35856)
- deps: Use google-gax v3.5.2 (#1013) (1753eae)
- Do not import the whole google-gax from proto JS (#1553) (#973) (9550bbc)
- Preserve default values in x-goog-request-params header (#979) (2b80e1e)
- Regenerated protos JS and TS definitions (#1016) (d0ae656)
- Remove pip install statements (#1546) (#970) (2225fc7)
- Use google-gax v3.3.0 (9550bbc)
Python
Changes for google-cloud-datastore
2.13.0 (2023-01-14)
Features
January 16, 2023
A weekly digest of client library updates from across the Cloud SDK.
Python
Changes for google-cloud-datastore
2.12.0 (2023-01-10)
Features
Java
Changes for google-cloud-datastore
2.13.2 (2023-01-10)
Dependencies
January 09, 2023
A weekly digest of client library updates from across the Cloud SDK.
Python
Changes for google-cloud-datastore
2.11.1 (2022-12-09)
Bug Fixes
- deps: Require google-api-core >=1.34.0, >=2.11.0 (6f6bb63)
- Drop usage of pkg_resources (6f6bb63)
- Fix timeout default values (6f6bb63)
Documentation
- samples: Snippetgen should call await on the operation coroutine before calling result (6f6bb63)
Java
Changes for google-cloud-datastore
2.13.1 (2023-01-03)
Dependencies
December 19, 2022
Support for the australia-southeast2
(Melbourne) region.
A weekly digest of client library updates from across the Cloud SDK.
December 12, 2022
A weekly digest of client library updates from across the Cloud SDK.
Python
Changes for google-cloud-ndb
2.0.0 (2022-12-06)
⚠ BREAKING CHANGES
- dependencies: Upgrade to google-cloud-datastore >= 2.7.2
Features
- dependencies: Upgrade to google-cloud-datastore >= 2.7.2 (12bbcb5)
Bug Fixes
Java
Changes for google-cloud-datastore
2.13.0 (2022-12-06)
Features
Bug Fixes
Dependencies
- Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.1.0 (#932) (1dbcea7)
- Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.18 (#924) (625e896)
- Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.19 (#930) (77285be)
- Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.18 (#925) (0c7539d)
- Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.19 (#931) (40b4011)
December 07, 2022
A weekly digest of client library updates from across the Cloud SDK.
Go
Changes for datastore/admin/apiv1
1.10.0 (2022-11-29)
Features
- datastore: start generating proto stubs (eed371e)
Python
Changes for google-cloud-ndb
1.12.0 (2022-11-29)
Bug Fixes
- Drop Python 2 support (90efd77)
- Drop Python 3.6 support (#829) (b110199)
- model: Ensure repeated props have same kind when converting from ds (#824) (29f5a85)
Documentation
- Add note in Django middleware documentation that it is unimplemented (#805) (aa7621d)
- Add note that ProtoRPC message classes are unimplemented (#819) (ae813e9)
- context: Note that several methods are no longer implemented. (#821) (34c2c38)
- CONTRIBUTING: Note the need for Redis/Memcached env vars in tests (#838) (19f8415), closes #836
- Fix bad import path in migration guide (#827) (7b44961)
- Fix typo in begin_transaction docstring (#822) (7fd3ed3)
- README: Syncronize supported version text with python-datastore (#837) (316f959)
- tasklets: Fix Py2-style print statement (#840) (0ebfaed)
Changes for google-cloud-datastore
2.11.0 (2022-11-30)
Features
November 21, 2022
A weekly digest of client library updates from across the Cloud SDK.
Python
Changes for google-cloud-ndb
1.12.0rc1 (2022-11-17)
Bug Fixes
- Drop Python 2 support (90efd77)
- Drop Python 3.6 support (#829) (b110199)
- model: Ensure repeated props have same kind when converting from ds (#824) (29f5a85)
Documentation
- Add note in Django middleware documentation that it is unimplemented (#805) (aa7621d)
- Add note that ProtoRPC message classes are unimplemented (#819) (ae813e9)
- context: Note that several methods are no longer implemented. (#821) (34c2c38)
- CONTRIBUTING: Note the need for Redis/Memcached env vars in tests (#838) (19f8415), closes #836
- Fix bad import path in migration guide (#827) (7b44961)
- Fix typo in begin_transaction docstring (#822) (7fd3ed3)
- README: Syncronize supported version text with python-datastore (#837) (316f959)
1.11.2 (2022-06-03)
Documentation
November 07, 2022
A weekly digest of client library updates from across the Cloud SDK.
Go
Changes for datastore/admin/apiv1
1.9.0 (2022-10-26)
Features
- datastore: Adds COUNT aggregation query (#6714) (27363ca)
- datastore: Adds snapshot reads (#6755) (9240741)
Documentation
Python
Changes for google-cloud-datastore
2.10.0 (2022-11-01)
Features
October 31, 2022
A weekly digest of client library updates from across the Cloud SDK.
Java
Changes for google-cloud-datastore
2.12.3 (2022-10-24)
Dependencies
October 24, 2022
A weekly digest of client library updates from across the Cloud SDK.
Python
Changes for google-cloud-datastore
2.9.0 (2022-10-18)
Features
Bug Fixes
Java
Changes for google-cloud-datastore
2.2.11 (2022-10-17)
Dependencies
2.12.2 (2022-10-21)
Dependencies
2.12.1 (2022-10-19)
Dependencies
- Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.16 (#885) (c8b7559)
- Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.16 (#886) (76df7ea)
2.12.0 (2022-10-17)
Features
Dependencies
- Update dependency com.google.errorprone:error_prone_core to v2.16 (#872) (b2a72ca)
- Update dependency org.easymock:easymock to v5 (#877) (ed816e2)
- Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.15 (#878) (831a92b)
- Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.15 (#879) (76a187a)
October 21, 2022
count()
queries are now available in Preview.
October 17, 2022
A weekly digest of client library updates from across the Cloud SDK.
October 11, 2022
Time-to-live (TTL) policies are now supported at the General Availability level.
September 30, 2022
In the Google Cloud console, updated the pages for editing an entity. See Edit an entity in the console.
August 15, 2022
A weekly digest of client library updates from across the Cloud SDK.
Java
Changes for google-cloud-datastore
2.11.0 (2022-08-04)
Features
Documentation
Dependencies
July 19, 2022
Time-to-live (TTL) policies now available in Preview.
June 29, 2022
Not-equal (!=), IN, and NOT_IN query filters now available in all client libraries:
- Java
- Python
- PHP
- Node.js
- C#
- Go
- Ruby
June 17, 2022
Datastore now supports the not-equal (!=
), IN
and NOT_IN
query filters.
The filters are now available in the Google Cloud console and the following client libraries:
- Java
- Python
- PHP
- Node.js
June 01, 2022
Support for VPC Service Controls is now available in General Availability.
April 28, 2022
The datastore.databases.getMetadata
permission now supports custom Identity and Access Management roles. You can use custom roles with this permission to unlink your database from App Engine.
January 12, 2022
Support for VPC Service Controls is now available in Preview.
December 15, 2021
Key Visualizer for Datastore is now generally available (GA).
November 04, 2021
DATA_READ
and DATA_WRITE
Data Access audit logs are now supported at the General Availability release level. See Datastore audit logging information.
September 02, 2021
Added DATA_READ
and DATA_WRITE
Data Access audit logs. See Firestore in Datastore mode audit logging information. This feature is available in Preview.
July 22, 2021
This feature was released on September 2, 2021.
The DATA_READ
and DATA_WRITE
Data Access audit logs feature has been moved to a future release. It is not currently available.
July 16, 2021
This feature release was moved to September 2, 2021.
Added DATA_READ
and DATA_WRITE
Data Access audit logs. See Firestore in Datastore mode audit logging information. This feature is available in Preview.
June 15, 2021
Support for Identity and Access Management custom roles.
June 14, 2021
Support for the following additional locations:
asia-southeast1
Singaporeus-west1
Oregeonasia-east1
Taiwan
See the full list of locations.
May 13, 2021
April 13, 2021
Support for the europe-central2
(Warsaw) region.
September 16, 2020
You can now use the goog-firestoremanaged
billing report label to view costs related to export and import operations.
September 14, 2020
The gcloud datastore index create
and gcloud datastore index cleanup
commands now require gcloud version 279.0.0 or greater. To update the gcloud CLI, use the gcloud components update
command.
June 08, 2020
Support for the asia-southeast2
(Jakarta) region.
April 20, 2020
Support for us-west4
region (Las Vegas).
March 11, 2020
February 13, 2020
You can now configure indexes with the REST API.
November 18, 2019
April 18, 2019
Support for asia-northeast2
region (Osaka).
April 15, 2019
Support for europe-west6
region (Zürich).
January 31, 2019
Cloud Firestore is now Generally Available. Cloud Firestore is the new version of Cloud Datastore and includes a backwards-compatible Datastore mode.
If you intend to use the Cloud Datastore API in a new project, use Cloud Firestore in Datastore mode. Existing Cloud Datastore databases will be automatically upgraded to Cloud Firestore in Datastore mode.
Except where noted, the Cloud Datastore documentation now describes behavior for Cloud Firestore in Datastore mode.
October 22, 2018
Support for asia-east2
region (Hong Kong).
Cloud Datastore will soon enforce IAM requirements for all App Engine apps, see Cloud Datastore permissions for App Engine. Previously, App Engine apps could always access Cloud Datastore instances in the same project.
Cloud Datastore IAM requirements for App Engine will apply to projects created after 09/03/2018 and will gradually rollout to existing projects. At a future date, all projects will enforce Cloud Datastore IAM requirements for App Engine.
October 08, 2018
You can now create a Cloud Firestore database in Datastore mode. Datastore mode allows you to use Cloud Datastore client libraries with an improved Cloud Firestore storage layer, removing eventual consistency limitations.
If you have an existing Cloud Datastore project, see this page on the automatic upgrade to Cloud Firestore.
July 10, 2018
Support for us-west2
region (Los Angeles).
February 28, 2018
General Availability release of the Cloud Datastore Administration API v1, previously in Beta. To learn more about using this service, see:
The Cloud Datastore Administration API v1beta1 is now deprecated.
The Cloud Datastore Admin backup feature is being phased out in favor of the managed export and import for Cloud Datastore. Please migrate to the managed export and import functionality at your earliest convenience. To help you make the transition, the Datastore Admin backup feature will continue to be available until February 28, 2019.
January 30, 2018
When you begin a transaction with the Cloud Datastore Data API, you can now use a TransactionOptions
object to specify whether the transaction is read-only or read-write.
When you begin a read-write transaction with the Cloud Datastore Data API, you can now specify a previousTransaction
that you are retrying.
Message BeginTransactionRequest
adds field transactionOptions
as part of the Data API.
January 10, 2018
Support for northamerica-northeast1
region (Montréal).
October 31, 2017
Support for asia-south1
region (Mumbai).
September 05, 2017
Support for southamerica-east1
region (São Paulo).
August 30, 2017
Initial Beta release of the Cloud Datastore Administration API v1.
Additions to the API definition:
- Methods for exporting and importing entities.
- Methods for managing long-running operations.
Additions to the gcloud
command-line tool effective in version 169.0.0:
gcloud beta datastore export
has been added to support exporting entitiesgcloud beta datastore import
has been added to support importing entitiesgcloud beta datastore operations cancel
has been added to support canceling long-running operationsgcloud beta datastore operations delete
has been added to support deleting long-running operationsgcloud beta datastore operations describe
has been added to support describing a completed long-running operationgcloud beta datastore operations list
has been added to support listing active long-running operations
August 01, 2017
Support for europe-west3
region (Frankfurt).
July 18, 2017
Support for australia-southeast1
region (Sydney).
June 06, 2017
Support for europe-west2
region (London).
August 16, 2016
Initial release of Cloud Datastore API v1.
Message EntityResult
adds field version
as part of API v1 and API v1beta3.
Error handling in Cloud Datastore API v1:
- Attempting to insert an entity that already exists will return error code
ALREADY_EXISTS
. In v1beta3, it returnedINVALID_ARGUMENT
. - Attempting to update an entity that does not exist will return error code
NOT_FOUND
. In v1beta3, it returnedINVALID_ARGUMENT
.
Because Cloud Datastore API v1 is released, Cloud Datastore API v1beta3 is now deprecated.
April 01, 2016
- Initial release of Cloud Datastore API v1beta3.
- Changes to the API definition:
- The API is now defined in three proto files:
entity.proto
,query.proto
, anddatastore.proto
. - The proto files now use proto3 syntax:
- Maps are used for several fields (see below for details).
- All enums add a value with suffix
_UNSPECIFIED
that is equal to 0. oneof
is used to prevent setting mutually-exclusive fields:- Fields
id
andname
in messagePathElement
. - The value fields in message
Value
. - Fields
composite_filter
andproperty_filter
in typeFilter
. - Fields
value
andcursor
in messageGqlQueryParameter
. - Fields
upsert
,update
,upsert
, anddelete
in messageMutation
.
- Fields
- All request messages add a top-level field
project_id
. This field is populated automatically for requests made over HTTP. - Several repeated fields now have plural names:
- In message
CompositeFilter
,filter
is nowfilters
. - In message
QueryResultBatch
,entity_result
is nowentity_results
. - In message
LookupRequest
,key
is nowkeys
. - In message
AllocateIdsRequest
,key
is nowkeys
. - In message
AllocateIdsResponse
,key
is nowkeys
.
- In message
- The proto package name now includes the API version.
- In message
PartitionId
:- Field
dataset_id
is nowproject_id
.project_id
never includes the app/project ID "prefix" (e.g. "s~"). This fixes https://github.com/GoogleCloudPlatform/google-cloud-datastore/issues/59. - Field
namespace
is nownamespace_id
.
- Field
- In message
Key
, fieldpath_element
is nowpath
. - In message
Value
:- Null values are represented by explicitly setting field
null_value
with typecom.protobuf.NullValue
. This fixes https://github.com/GoogleCloudPlatform/google-cloud-datastore/issues/41. - Field
timestamp_microseconds_value
is nowtimestamp_value
with typegoogle.protobuf.Timestamp
. In JSON, the fielddateTimeValue
is nowtimestampValue
. This field is still limited to microsecond precision. - Field
blob_key_value
is removed. Values that previously populated that field in the v1beta1 or v1beta2 APIs will instead populate fieldstring_value
in the v1beta3 API. - Field
geo_point_value
of typegoogle.type.LatLng
is added. - Repeated field
list_value
is replaced witharray_value
of typeArrayValue
. - Field
indexed
, which defaulted to true, is nowexclude_from_indexes
, which defaults to false.
- Null values are represented by explicitly setting field
- Message
Property
is removed. In messageEntity
, repeated fieldproperty
is now fieldproperties
which is a map fromstring
toValue
. - Message
PropertyExpression
is nowProjection
. - Message
EntityResult
adds a fieldcursor
of typebytes
. - In message
Query
:- Field
group_by
is nowdistinct_on
. - Field
limit
is now of typegoogle.protobuf.Int32Value
.
- Field
- In message
PropertyExpression
, enumAggregationFunction
and fieldaggregation_function
are removed. - In messages
CompositeFilter
andPropertyFilter
, fieldoperator
is nowop
. - In message
GqlQuery
:- Field
allow_literal
is nowallow_literals
. - Repeated field
name_arg
is now map fieldnamed_bindings
. - Field
number_arg
is nowpositional_bindings
.
- Field
- Message
GqlQueryArg
is nowGqlQueryParameter
. Fieldname
is removed. - Enum
MoreResultsType
adds a new valueMORE_RESULTS_AFTER_CURSOR
. - Message
QueryResultBatch
adds fieldskipped_cursor
. - In message
Mutation
:- A
Mutation
now describes one change to one single entity. Its fields are no longer repeated. - Field
insert_auto_id
is removed.insert
andupdate
mutations now support auto ID allocation. - Field
force
is removed.
- A
- In message
MutationResult
:- Field
index_updates
is moved to messageCommitResponse
. - Repeated field
insert_auto_id_key
is nowkey
and is no longer repeated.
- Field
- Message
RunQueryResponse
adds fieldquery
. When aRunQueryRequest
message sets fieldgql_query
, theRunQueryResponse
message sets fieldquery
to the parsed form of theGqlQuery
message from the request. - In message
BeginTransactionRequest
, enumIsolationLevel
and fieldisolation_level
are removed. All transactions are now serializable. - In message
CommitRequest
, fieldmutation
is now repeated fieldmutations
. - In message
CommitResponse
, fieldmutation_result
is now repeated fieldmutation_results
.
- The API is now defined in three proto files:
- Changes to the JSON API:
- Null values are now supported. This fixes https://github.com/GoogleCloudPlatform/google-cloud-datastore/issues/41.
- Fields set to their default values are not included in responses, for example:
- Fields
found
,missing
, anddeferred
in message toLookupResponse
are not included when they are empty. - Field
entity_result
in messageQueryResultBatch
is not included when it is empty. - Field
skipped_results
in messageQueryResultBatch
is not included when it is 0.
- Fields
- The API endpoint format has changed. For example, in v1beta2, a
RunQuery
is sent to:https://www.googleapis.com/datastore/v1beta2/datasets/<dataset-id>/runQuery
In v1beta3, it is sent to:https://datastore.googleapis.com/v1beta3/projects/<project-id>:runQuery
- Account domain restrictions no longer apply when accessing the API. This fixes https://github.com/GoogleCloudPlatform/google-cloud-datastore/issues/19.
- Errors:
- JSON errors add a
status
field and remove theerrors
list. - Errors resulting from requests with a content type of
application/x-protobuf
are now a serializedgoogle.rpc.Status
message.
- JSON errors add a
- Changes to GQL:
- In synthetic literal
KEY
,DATASET
is nowPROJECT
. - The
BLOBKEY
synthetic literal is removed. - The
FIRST
aggregator is removed. - The
GROUP BY
clause is replaced withDISTINCT ON
. - Fully-qualified property names are now supported.
- Query filters on timestamps prior to the epoch are now supported.
- In synthetic literal
- Empty array values are now supported.
- Indexing and querying properties inside of entity values is now supported. Values inside entity values are indexed by default.
- Key normalization:
- In
Key
objects inRunQueryRequest
s, key normalization will never setpartition_id.namespace_id
, as it previously did under some circumstances. If a key should reference that partition itspartition_id.namespace_id
must be explicitly set. Key
objects with emptypath
and empty or unsetpartition_id
are no longer normalized.
- In
- Writes of foreign partition IDs may now fail if the foreign project is not in an active state. For this reason, use of foreign partition IDs is discouraged.
- In a non-transactional
Commit
requests, no two mutations may affect the same entity. - In transactional
Commit
requests, mutations affecting the same entity are applied in the order in which they appear in the request. Certain sequences of mutations affecting the same entity are not permitted. - Field
more_results
in messageQueryResultBatch
is accurate in more cases. This fixes https://github.com/GoogleCloudPlatform/google-cloud-datastore/issues/48. - The typical number of results returned by a call to
RunQuery
is smaller due to a change in server-side batching. As before, clients should not rely on the batch size and instead use cursors to continue queries. - Scope
https://www.googleapis.com/auth/userinfo.email
is no longer required. - The API works for projects that have an App Engine domain restriction. This fixes https://github.com/GoogleCloudPlatform/google-cloud-datastore/issues/19.
gcd
tool:- Options
-d
,--dataset_id
, and--dataset_id_override
are now-p
,--project_id
, and--project_id_override
, respectively. - Option
--auth_mode
is removed. Theupdateindexes
andvacuumindexes
commands always use OAuth 2.0. - Option
--auto_generate_indexes
is now--store_index_configuration_on_disk
. - Index configuration for new projects is now stored in a YAML file:
<directory>/WEB-INF/index.yaml
. Index configuration for projects that previously used XML will continue to do so.
- Options
September 01, 2013
- Initial release of Cloud Datastore API v1beta2.
- Changes to the API:
BlindWrite
method merged intoCommit
.- Added
list_value
toValue
and changedvalue
to a non-repeated field inProperty
. - In the JSON API, string constants are now uppercase and underscore-separated instead of camel-cased (e.g.
LESS_THAN_OR_EQUAL
instead oflessThanOrEqual
).
- Changes to GQL:
- New synthetic literals:
BLOB
,BLOBKEY
,DATETIME
,KEY
. - Support for
IS NULL
. - Fixed partition ID handling for binding arguments.
- New synthetic literals:
- Fixed partition ID handling for query requests that include an explicit partition ID.
- Fixed scopes in discovery document. This fixes https://github.com/GoogleCloudPlatform/google-cloud-datastore/issues/9.
July 01, 2013
- GQL support.
- Metadata query support.
gcd
tool:- Microsoft Windows support (
gcd.cmd
). - Added testing mode option
--testing
, which doesn't store data or index configuration on disk and supports fully-consistent non-ancestor queries. This option is useful for unit and integration tests. - More intuitive
update_indexes
command (renamed toupdateindexes
). - New
create
command and simplifiedstart
command. - Improved integration with existing App Engine applications.
- Microsoft Windows support (
May 01, 2013
- Initial public beta release (v1beta1) of the Cloud Datastore API.