Notas de la versión

En esta página, se documentan las actualizaciones de producción de Datastore. Puedes revisar esta página de forma periódica para ver anuncios sobre características nuevas o actualizadas, correcciones de errores, problemas comunes y funciones obsoletas.

Puedes ver las últimas actualizaciones de productos de todo Google Cloud en la página Notas de la versión de Google Cloud.

Para recibir las últimas actualizaciones de productos, agrega la URL de esta página a tu lector de feeds, o agrega directamente la URL del feed: https://cloud.google.com/feeds/datastore-release-notes.xml

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
  • Document how to run system tests against the emulator. (#963) (47db5b9)
  • Note to use functools.wrap instead of utils.wrapping. (#966) (5e9f3d6)
  • Tell users of utils.wrapping to use functools.wraps (#967) (042645b)

Java

Changes for google-cloud-datastore

2.18.6 (2024-03-18)

Bug Fixes
  • deps: Update the Java code generator (gapic-generator-java) to 2.37.0 (#1355) (bcc5668)
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
  • Remove @BetaApi annotations from get/setDatabaseId methods (#1272) (2bd9a51)
Dependencies
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.21.0 (#1280) (ac253dc)
  • Update dependency com.google.errorprone:error_prone_core to v2.24.1 (#1274) (86cd785)

January 10, 2024

The ability to create multiple databases per project is now supported at the General Availability level.

January 02, 2024

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
  • Change tests to use new filter and use gax warn for warning just once (#1185) (532711b)
  • deps: Update dependency sinon to v17 (#1183) (52adb5e)

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 of retry 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
  • Remove deprecated databaseId field in DatastoreOptions (#1237) (05e25e5)
Dependencies
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.20.0 (#1247) (c4e3533)
  • Update dependency org.junit.vintage:junit-vintage-engine to v5.10.1 (#1230) (05c7fc6)

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
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.19.0 (#1226) (970ac96)

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
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.17.0 (#1206) (2ad068b)

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
  • Make aggregation query requests run properly inside a transaction (#1166) (263804b)

8.2.0 (2023-10-02)

Features
  • Support for using multiple databases in datastore (#1090) (10ce563)
Bug Fixes
  • Allow users to set environment variable to connect to emulator running on docker (#1164) (a41741b)
  • Check property existence for exclude from indexes with wildcard (#1114) (e6b8ef7)
  • deps: Update dependency sinon to v16 (#1150) (0d8b715)

Go

Changes for datastore/admin/apiv1

1.15.0 (2023-10-06)

Features
  • datastore: Adding dynamic routing header (#8364) (d235a42)
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
  • query: Document deprecation of Query.default_options (#915) (a656719), closes #880

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
  • Simplify logic for HTTP/1.1 REST fallback option (#1138) (4cefaea)

Python

Changes for google-cloud-ndb

2.2.1 (2023-09-15)

Bug Fixes
Documentation
  • Mark database argument for get_by_id and its async counterpart as ignored (#905) (b0f4310)

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
  • Marking AggregationResult#get as Obsolete (#1185) (252f854)

September 11, 2023

A weekly digest of client library updates from across the Cloud SDK.

Python

Changes for google-cloud-datastore

2.18.0 (2023-09-05)

Features
  • Add support for Sum and Avg aggregation query (#437) (e99120d)
Documentation
  • Update property requirement specifications (#470) (795ce81)

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 in Index 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
  • Update property requirement specifications (#1169) (c908837)

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

Python

Changes for google-cloud-datastore

2.17.0 (2023-08-09)

Documentation
  • Minor formatting in Datastore Admin API (cfcd0c2)
  • Specify limit for properties in Index message in Datastore Admin API (cfcd0c2)

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
  • Specify limit for properties in Index message in Datastore Admin API (#1149) (00a696d)
Dependencies
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.14.0 (#1159) (fcf07d4)
  • Update dependency com.google.errorprone:error_prone_core to v2.21.0 (#1158) (08dbb3a)

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
  • query: Fix Py2-style print statements (#878) (a3a181a)

Java

Changes for google-cloud-datastore

2.16.2 (2023-07-25)

Dependencies
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.13.1 (#1136) (f4d66af)
  • Update dependency org.junit.vintage:junit-vintage-engine to v5.10.0 (#1139) (a170611)

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-datastore

2.15.1 (2023-07-28)

Dependencies
Documentation

July 17, 2023

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-datastore

2.16.1 (2023-07-10)

Documentation
Dependencies
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.13.0 (#1130) (2181847)

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
  • datastore: Return error from RunAggregationQuery (#8222) (a9b67cf)

Python

Changes for google-cloud-datastore

2.16.1 (2023-07-05)

Bug Fixes
  • Add async context manager return types (#452) (05f20dc)

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

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
  • Remove BetaApi annotation from OR query API (#1118) (b08dc9a)
Dependencies
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.12.0 (#1121) (65dd46d)
  • Update dependency com.google.errorprone:error_prone_core to v2.20.0 (#1115) (381d76e)
  • Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.23 (#1114) (7f58868)

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
  • Add some missing annotations and fix equals/hashcode for DatastoreOptions (#1106) (c4a79ef)
Dependencies
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.11.0 (#1104) (fc9b091)

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
  • Remove @BetaApi annotations for count aggregations (#1051) (b8bdaa2)

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
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.7.0 (#1044) (3ecd20a)
  • Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.21 (#1045) (d18ff7c)
  • Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.21 (#1046) (0d3f78e)

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
  • Fix formatting of request arg in docstring (#428) (da86a02)
  • Improve query API documentation (#430) (915daf5)

Java

Changes for google-cloud-datastore

2.14.2 (2023-03-29)

Documentation
Dependencies
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.6.0 (#1035) (b2f4cb3)
  • Update gapic-generator-java to 2.16.0 (8c96c55)

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.

Python

Changes for google-cloud-ndb

2.1.1 (2023-02-28)

Bug Fixes
  • Query options were not respecting use_cache (#873) (802d88d), closes #752
Documentation
  • Note that we support Python 3.11 in CONTRIBUTING file (#872) (982ee5f)
  • Use cached versions of Cloud objects.inv files (#863) (4471e2f), closes #862

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
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.4.0 (#1001) (a230e03)

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
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.3.0 (#994) (ce8df48)
  • Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.20 (#989) (f71ccd9)
  • Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.20 (#990) (5e984c8)

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
  • deps: Roll back dependency @google-cloud/datastore to ^7.2.0 (#1069) (1677c53)

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
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.2.0 (#975) (f94bd37)

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
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.1.2 (#966) (78e9e8e)

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
Bug Fixes

Python

Changes for google-cloud-datastore

2.13.0 (2023-01-14)

Features
  • Add dynamic routing header annotation to DatastoreV1 (#400) (1043ba3)
  • New transaction options for datastoreV1 (#402) (906d026)

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
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.1.1 (#953) (fdffe1e)
  • Update dependency com.google.errorprone:error_prone_core to v2.18.0 (#951) (ac5c83e)
  • Update dependency org.junit.vintage:junit-vintage-engine to v5.9.2 (#954) (b0b72bb)

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
  • Update dependency com.google.errorprone:error_prone_core to v2.17.0 (#944) (b0fd082)
  • Update dependency org.easymock:easymock to v5.1.0 (#945) (7774aac)

December 19, 2022

Support for the australia-southeast2 (Melbourne) region.

A weekly digest of client library updates from across the Cloud SDK.

Python

Changes for google-cloud-ndb

2.1.0 (2022-12-15)

Features
Bug Fixes
  • zlib: Accomodate different Zlib compression levels (#852) (c1ab83b)

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
  • Correct access to SerializeToString, CopyFrom, and MergeFromString (12bbcb5)
  • Fix enum namespaces (12bbcb5)
  • Update API capitalization/casing (12bbcb5)
  • Update datastore stub creation (12bbcb5)
  • Update module imports (12bbcb5)

Java

Changes for google-cloud-datastore

2.13.0 (2022-12-06)

Features
  • Next release from main branch is 2.13.0 (#917) (1f12435)
Bug Fixes
  • #355 Explicitly passing --project argument when starting emulator (#923) (ef4065d)
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
  • fix changelog header to consistent size (#773) (7bb4e5a)

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
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
  • Update dependency org.easymock:easymock to v5.0.1 (#896) (0382c3d)

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
  • Add datastore aggregation query APIs (#306) (96d98e5)
Bug Fixes

Java

Changes for google-cloud-datastore

2.2.11 (2022-10-17)

Dependencies
  • Regenerating with new Protobuf (2.2.x) (#873) (9b3d60b)

2.12.2 (2022-10-21)

Dependencies
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.5 (#891) (1f32176)

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.

Python

Changes for google-cloud-datastore

2.8.3 (2022-10-10)

Bug Fixes

2.8.3 (2022-10-10)

Bug Fixes

October 11, 2022

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
  • sample: Add a top-level Datastore samples README (#790) (d3884dc)
Dependencies
  • update dependency com.google.cloud:google-cloud-shared-dependencies to v3 (#805) (ad467ef)
  • update dependency com.google.errorprone:error_prone_core to v2.15.0 (#810) (fc8cd15)
  • update dependency org.junit.vintage:junit-vintage-engine to v5.9.0 (#804) (6caafd8)

July 19, 2022

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

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

June 14, 2021

Support for the following additional locations:

  • asia-southeast1 Singapore
  • us-west1 Oregeon
  • asia-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

March 11, 2020

February 13, 2020

November 18, 2019

April 18, 2019

April 15, 2019

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

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

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

October 31, 2017

September 05, 2017

August 30, 2017

Initial Beta release of the Cloud Datastore Administration API v1.

Additions to the API definition:

Additions to the gcloudcommand-line tool effective in version 169.0.0:

  • gcloud beta datastore export has been added to support exporting entities
  • gcloud beta datastore import has been added to support importing entities
  • gcloud beta datastore operations cancel has been added to support canceling long-running operations
  • gcloud beta datastore operations delete has been added to support deleting long-running operations
  • gcloud beta datastore operations describe has been added to support describing a completed long-running operation
  • gcloud beta datastore operations list has been added to support listing active long-running operations

August 01, 2017

July 18, 2017

June 06, 2017

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 returned INVALID_ARGUMENT.
  • Attempting to update an entity that does not exist will return error code NOT_FOUND. In v1beta3, it returned INVALID_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, and datastore.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 and name in message PathElement.
        • The value fields in message Value.
        • Fields composite_filter and property_filter in type Filter.
        • Fields value and cursor in message GqlQueryParameter.
        • Fields upsert, update, upsert, and delete in message Mutation.
    • 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 now filters.
      • In message QueryResultBatch, entity_result is now entity_results.
      • In message LookupRequest, key is now keys.
      • In message AllocateIdsRequest, key is now keys.
      • In message AllocateIdsResponse, key is now keys.
    • The proto package name now includes the API version.
    • In message PartitionId:
    • In message Key, field path_element is now path.
    • In message Value:
      • Null values are represented by explicitly setting field null_value with type com.protobuf.NullValue. This fixes https://github.com/GoogleCloudPlatform/google-cloud-datastore/issues/41.
      • Field timestamp_microseconds_value is now timestamp_value with type google.protobuf.Timestamp. In JSON, the field dateTimeValue is now timestampValue. 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 field string_value in the v1beta3 API.
      • Field geo_point_value of type google.type.LatLng is added.
      • Repeated field list_value is replaced with array_value of type ArrayValue.
      • Field indexed, which defaulted to true, is now exclude_from_indexes, which defaults to false.
    • Message Property is removed. In message Entity, repeated field property is now field properties which is a map from string to Value.
    • Message PropertyExpression is now Projection.
    • Message EntityResult adds a field cursor of type bytes.
    • In message Query:
      • Field group_by is now distinct_on.
      • Field limit is now of type google.protobuf.Int32Value.
    • In message PropertyExpression, enum AggregationFunction and field aggregation_function are removed.
    • In messages CompositeFilter and PropertyFilter, field operator is now op.
    • In message GqlQuery:
      • Field allow_literal is now allow_literals.
      • Repeated field name_arg is now map field named_bindings.
      • Field number_arg is now positional_bindings.
    • Message GqlQueryArg is now GqlQueryParameter. Field name is removed.
    • Enum MoreResultsType adds a new value MORE_RESULTS_AFTER_CURSOR.
    • Message QueryResultBatch adds field skipped_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 and update mutations now support auto ID allocation.
      • Field force is removed.
    • In message MutationResult:
      • Field index_updates is moved to message CommitResponse.
      • Repeated field insert_auto_id_key is now key and is no longer repeated.
    • Message RunQueryResponse adds field query. When a RunQueryRequest message sets field gql_query, the RunQueryResponse message sets field query to the parsed form of the GqlQuery message from the request.
    • In message BeginTransactionRequest, enum IsolationLevel and field isolation_level are removed. All transactions are now serializable.
    • In message CommitRequest, field mutation is now repeated field mutations.
    • In message CommitResponse, field mutation_result is now repeated field mutation_results.
  • 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, and deferred in message to LookupResponse are not included when they are empty.
      • Field entity_result in message QueryResultBatch is not included when it is empty.
      • Field skipped_results in message QueryResultBatch is not included when it is 0.
  • 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 the errors list.
    • Errors resulting from requests with a content type of application/x-protobuf are now a serialized google.rpc.Status message.
  • Changes to GQL:
    • In synthetic literal KEY, DATASET is now PROJECT.
    • The BLOBKEY synthetic literal is removed.
    • The FIRST aggregator is removed.
    • The GROUP BY clause is replaced with DISTINCT ON.
    • Fully-qualified property names are now supported.
    • Query filters on timestamps prior to the epoch are now supported.
  • 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 in RunQueryRequests, key normalization will never set partition_id.namespace_id, as it previously did under some circumstances. If a key should reference that partition its partition_id.namespace_id must be explicitly set.
    • Key objects with empty path and empty or unset partition_id are no longer normalized.
  • 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 message QueryResultBatch 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. The updateindexes and vacuumindexes 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.

September 01, 2013

  • Initial release of Cloud Datastore API v1beta2.
  • Changes to the API:
    • BlindWrite method merged into Commit.
    • Added list_value to Value and changed value to a non-repeated field in Property.
    • In the JSON API, string constants are now uppercase and underscore-separated instead of camel-cased (e.g. LESS_THAN_OR_EQUAL instead of lessThanOrEqual).
  • Changes to GQL:
    • New synthetic literals: BLOB, BLOBKEY, DATETIME, KEY.
    • Support for IS NULL.
    • Fixed partition ID handling for binding arguments.
  • 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 to updateindexes).
    • New create command and simplified start command.
    • Improved integration with existing App Engine applications.

May 01, 2013

  • Initial public beta release (v1beta1) of the Cloud Datastore API.