Add support for operators "!=", "in" and "not_in" in datastore (#18401)
2.2.4 / 2022-01-11
Documentation
Update contributing docs
2.2.3 / 2021-10-21
Documentation
Add documentation for quota_project Configuration attribute
2.2.2 / 2021-09-21
Documentation
Fix typo in Emulator guide links
2.2.1 / 2021-07-08
Documentation
Update AUTHENTICATION.md in handwritten packages
2.2.0 / 2021-03-10
Features
Drop support for Ruby 2.4 and add support for Ruby 3.0
2.1.0 / 2020-09-17
Features
quota_project can be set via library configuration (#7630)
2.0.0 / 2020-08-06
This is a major update that removes the "low-level" client interface code, and
instead adds the new google-cloud-datastore-v1 gem as a dependency.
The new dependency is a rewritten low-level client, produced by a next-
generation client code generator, with improved performance and stability.
This change should have no effect on the high-level interface that most users
will use. The one exception is that the (mostly undocumented) client_config
argument, for adjusting low-level parameters such as RPC retry settings on
client objects, has been removed. If you need to adjust these parameters, use
the configuration interface in google-cloud-datastore-v1.
Substantial changes have been made in the low-level interfaces, however. If you
are using the low-level classes under the Google::Cloud::Datastore::V1 module,
please review the docs for the new google-cloud-datastore-v1 gem. In
particular:
Some classes have been renamed, notably the client class itself.
The client constructor takes a configuration block instead of configuration
keyword arguments.
All RPC method arguments are now keyword arguments.
1.8.2 / 2020-05-28
Documentation
Fix a few broken links
1.8.1 / 2020-05-19
Bug Fixes
Adjusted some default timeout and retry settings
1.8.0 / 2020-03-11
Features
Support separate project setting for quota/billing
1.7.3 / 2020-01-23
Documentation
Update year
1.7.2 / 2019-12-12
Bug Fixes
Update some positional params to keyword args in the lower-level API to match the backend service.
1.7.1 / 2019-11-06
Bug Fixes
Update minimum runtime dependencies
1.7.0 / 2019-10-29
This release requires Ruby 2.4 or later.
Documentation
Clarify which Google Cloud Platform environments support automatic authentication
1.6.0 / 2019-08-23
Features
Support overriding of service endpoint
Documentation
Update documentation
1.5.5 / 2019-07-12
Update #to_hash to #to_h for compatibility with google-protobuf >= 3.9.0
1.5.4 / 2019-07-08
Support overriding service host and port for low-level API.
1.5.3 / 2019-06-12
Enable grpc.service_config_disable_resolution
Use VERSION constant in GAPIC client
1.5.2 / 2019-04-29
Add AUTHENTICATION.md guide.
Update generated documentation.
Extract gRPC header values from request.
1.5.1 / 2019-02-13
Add ReadOnlyTransaction convenience methods:
Add ReadOnlyTransaction#query
Add ReadOnlyTransaction#gql
Add ReadOnlyTransaction#key
1.5.0 / 2019-02-01
Make use of Credentials#project_id
Use Credentials#project_id
If a project_id is not provided, use the value on the Credentials object.
This value was added in googleauth 0.7.0.
Loosen googleauth dependency
Allow for new releases up to 0.10.
The googleauth devs have committed to maintaining the current API
and will not make backwards compatible changes before 0.10.
1.4.4 / 2018-09-20
Update documentation.
Change documentation URL to googleapis GitHub org.
Fix circular require warning.
1.4.3 / 2018-09-12
Update documentation.
Add missing documentation files to package.
1.4.2 / 2018-09-10
Fix issue where client_config was not being passed when connecting to the
datastore emulator.
Update documentation.
1.4.1 / 2018-08-21
Update documentation.
1.4.0 / 2018-02-27
Support Shared Configuration.
1.3.0 / 2017-12-19
Support Read-Only Transactions
Add ReadOnlyTransaction class.
Add Dataset#read_only_transaction.
Dataset#transaction now automatically retries on error,
Add Dataset#transaction previous_transaction and deadline arguments,
Update google-gax dependency to 1.0.
1.2.1 / 2017-11-21
Remove warning when connecting to Datastore Emulator.
1.2.0 / 2017-11-14
Add Google::Cloud::Datastore::Credentials class.
Rename constructor arguments to project_id and credentials.
(The previous arguments project and keyfile are still supported.)
Document Google::Auth::Credentials as credentials value.
Update GAPIC configuration to exclude UNAVAILABLE errors from automatic retry.
Update gem spec homepage links.
1.0.1 / 2017-05-06
Update google-protobuf to the previous known working version
1.0.0 / 2017-03-31
Release 1.0
Updated documentation
Automatic retry on UNAVAILABLE errors
0.24.2 / 2017-03-03
No public API changes.
Update GRPC header value sent to the Datastore API.
0.24.1 / 2017-03-01
No public API changes.
Update GRPC header value sent to the Datastore API.
0.24.0 / 2017-02-21
Add emulator_host parameter
Fix GRPC retry bug
The client_config data structure has replaced retry_codes/retry_codes_def with retry_codes
Update GRPC/Protobuf/GAX dependencies
0.23.0 / 2016-12-8
Many documentation improvements
Add documentation for Low Level API
0.21.0 / 2016-10-20
New service constructor Google::Cloud::Datastore.new
New constructor argument client_config
Entity properties can now be accessed with symbols as well as strings
0.20.1 / 2016-09-02
Fix an issue with the GRPC client and forked sub-processes
0.20.0 / 2016-08-26
This gem contains the Google Cloud Datastore service implementation for the google-cloud gem. The google-cloud gem replaces the old gcloud gem. Legacy code can continue to use the gcloud gem.
Namespace is now Google::Cloud
The google-cloud gem is now an umbrella package for individual gems
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["Version latestkeyboard_arrow_down\n\n- [2.13.0 (latest)](/ruby/docs/reference/google-cloud-datastore/latest/CHANGELOG)\n- [2.12.0](/ruby/docs/reference/google-cloud-datastore/2.12.0/CHANGELOG)\n- [2.11.0](/ruby/docs/reference/google-cloud-datastore/2.11.0/CHANGELOG)\n- [2.10.0](/ruby/docs/reference/google-cloud-datastore/2.10.0/CHANGELOG)\n- [2.9.0](/ruby/docs/reference/google-cloud-datastore/2.9.0/CHANGELOG)\n- [2.8.0](/ruby/docs/reference/google-cloud-datastore/2.8.0/CHANGELOG)\n- [2.7.1](/ruby/docs/reference/google-cloud-datastore/2.7.1/CHANGELOG)\n- [2.6.0](/ruby/docs/reference/google-cloud-datastore/2.6.0/CHANGELOG)\n- [2.5.0](/ruby/docs/reference/google-cloud-datastore/2.5.0/CHANGELOG)\n- [2.4.0](/ruby/docs/reference/google-cloud-datastore/2.4.0/CHANGELOG)\n- [2.3.1](/ruby/docs/reference/google-cloud-datastore/2.3.1/CHANGELOG)\n- [2.2.4](/ruby/docs/reference/google-cloud-datastore/2.2.4/CHANGELOG) \n\nRelease history for google-cloud-datastore\n==========================================\n\n### 2.13.0 (2025-07-24)\n\n#### Features\n\n- add explain query features to aggregate query in Cloud Datastore ([#30704](https://github.com/googleapis/google-cloud-ruby/issues/30704))\n\n### 2.12.0 (2025-07-15)\n\n#### Features\n\n- query explanation features for Cloud Datastore ([#30588](https://github.com/googleapis/google-cloud-ruby/issues/30588))\n\n### 2.11.0 (2025-03-04)\n\n#### Features\n\n- Update minimum Ruby version to 3.0 ([#29261](https://github.com/googleapis/google-cloud-ruby/issues/29261))\n\n### 2.10.0 (2024-07-09)\n\n#### Features\n\n- compatibility with GA releases of underlying versioned clients ([#26361](https://github.com/googleapis/google-cloud-ruby/issues/26361))\n\n### 2.9.0 (2024-03-10)\n\n#### Features\n\n- Update minimum supported Ruby version to 2.7 ([#25298](https://github.com/googleapis/google-cloud-ruby/issues/25298))\n\n### 2.8.0 (2023-09-12)\n\n#### Features\n\n- Support sum \\& avg aggregate functions ([#22884](https://github.com/googleapis/google-cloud-ruby/issues/22884))\n\n### 2.7.1 (2023-05-18)\n\n#### Documentation\n\n- Fixed broken links in authentication documentation ([#21619](https://github.com/googleapis/google-cloud-ruby/issues/21619))\n\n### 2.7.0 (2023-04-12)\n\n#### Features\n\n- Support OR filter ([#21002](https://github.com/googleapis/google-cloud-ruby/issues/21002))\n\n### 2.6.0 (2023-02-13)\n\n#### Features\n\n- Added support for snapshot read ([#19422](https://github.com/googleapis/google-cloud-ruby/issues/19422))\n\n### 2.5.0 (2023-02-09)\n\n#### Features\n\n- Added support for multiple database ([#20038](https://github.com/googleapis/google-cloud-ruby/issues/20038))\n\n### 2.4.0 (2023-02-02)\n\n#### Features\n\n- Support query count for Datastore ([#20039](https://github.com/googleapis/google-cloud-ruby/issues/20039))\n\n### 2.3.1 (2022-12-14)\n\n#### Bug Fixes\n\n- fixed request limit\n\n### 2.3.0 (2022-06-28)\n\n#### Features\n\n- Add support for operators \"!=\", \"in\" and \"not_in\" in datastore ([#18401](https://github.com/googleapis/google-cloud-ruby/issues/18401))\n\n### 2.2.4 / 2022-01-11\n\n#### Documentation\n\n- Update contributing docs\n\n### 2.2.3 / 2021-10-21\n\n#### Documentation\n\n- Add documentation for quota_project Configuration attribute\n\n### 2.2.2 / 2021-09-21\n\n#### Documentation\n\n- Fix typo in Emulator guide links\n\n### 2.2.1 / 2021-07-08\n\n#### Documentation\n\n- Update AUTHENTICATION.md in handwritten packages\n\n### 2.2.0 / 2021-03-10\n\n#### Features\n\n- Drop support for Ruby 2.4 and add support for Ruby 3.0\n\n### 2.1.0 / 2020-09-17\n\n#### Features\n\n- quota_project can be set via library configuration ([#7630](https://www.github.com/googleapis/google-cloud-ruby/issues/7630))\n\n### 2.0.0 / 2020-08-06\n\nThis is a major update that removes the \"low-level\" client interface code, and\ninstead adds the new `google-cloud-datastore-v1` gem as a dependency.\nThe new dependency is a rewritten low-level client, produced by a next-\ngeneration client code generator, with improved performance and stability.\n\nThis change should have no effect on the high-level interface that most users\nwill use. The one exception is that the (mostly undocumented) `client_config`\nargument, for adjusting low-level parameters such as RPC retry settings on\nclient objects, has been removed. If you need to adjust these parameters, use\nthe configuration interface in `google-cloud-datastore-v1`.\n\nSubstantial changes have been made in the low-level interfaces, however. If you\nare using the low-level classes under the `Google::Cloud::Datastore::V1` module,\nplease review the docs for the new `google-cloud-datastore-v1` gem. In\nparticular:\n\n- Some classes have been renamed, notably the client class itself.\n- The client constructor takes a configuration block instead of configuration keyword arguments.\n- All RPC method arguments are now keyword arguments.\n\n### 1.8.2 / 2020-05-28\n\n#### Documentation\n\n- Fix a few broken links\n\n### 1.8.1 / 2020-05-19\n\n#### Bug Fixes\n\n- Adjusted some default timeout and retry settings\n\n### 1.8.0 / 2020-03-11\n\n#### Features\n\n- Support separate project setting for quota/billing\n\n### 1.7.3 / 2020-01-23\n\n#### Documentation\n\n- Update year\n\n### 1.7.2 / 2019-12-12\n\n#### Bug Fixes\n\n- Update some positional params to keyword args in the lower-level API to match the backend service.\n\n### 1.7.1 / 2019-11-06\n\n#### Bug Fixes\n\n- Update minimum runtime dependencies\n\n### 1.7.0 / 2019-10-29\n\nThis release requires Ruby 2.4 or later.\n\n#### Documentation\n\n- Clarify which Google Cloud Platform environments support automatic authentication\n\n### 1.6.0 / 2019-08-23\n\n#### Features\n\n- Support overriding of service endpoint\n\n#### Documentation\n\n- Update documentation\n\n### 1.5.5 / 2019-07-12\n\n- Update #to_hash to #to_h for compatibility with google-protobuf \\\u003e= 3.9.0\n\n### 1.5.4 / 2019-07-08\n\n- Support overriding service host and port for low-level API.\n\n### 1.5.3 / 2019-06-12\n\n- Enable grpc.service_config_disable_resolution\n- Use VERSION constant in GAPIC client\n\n### 1.5.2 / 2019-04-29\n\n- Add AUTHENTICATION.md guide.\n- Update generated documentation.\n- Extract gRPC header values from request.\n\n### 1.5.1 / 2019-02-13\n\n- Add `ReadOnlyTransaction` convenience methods:\n - Add `ReadOnlyTransaction#query`\n - Add `ReadOnlyTransaction#gql`\n - Add `ReadOnlyTransaction#key`\n\n### 1.5.0 / 2019-02-01\n\n- Make use of Credentials#project_id\n - Use Credentials#project_id If a project_id is not provided, use the value on the Credentials object. This value was added in googleauth 0.7.0.\n - Loosen googleauth dependency Allow for new releases up to 0.10. The googleauth devs have committed to maintaining the current API and will not make backwards compatible changes before 0.10.\n\n### 1.4.4 / 2018-09-20\n\n- Update documentation.\n - Change documentation URL to googleapis GitHub org.\n- Fix circular require warning.\n\n### 1.4.3 / 2018-09-12\n\n- Update documentation.\n- Add missing documentation files to package.\n\n### 1.4.2 / 2018-09-10\n\n- Fix issue where client_config was not being passed when connecting to the datastore emulator.\n- Update documentation.\n\n### 1.4.1 / 2018-08-21\n\n- Update documentation.\n\n### 1.4.0 / 2018-02-27\n\n- Support Shared Configuration.\n\n### 1.3.0 / 2017-12-19\n\n- Support Read-Only Transactions\n - Add ReadOnlyTransaction class.\n - Add Dataset#read_only_transaction.\n- Dataset#transaction now automatically retries on error,\n- Add Dataset#transaction previous_transaction and deadline arguments,\n- Update google-gax dependency to 1.0.\n\n### 1.2.1 / 2017-11-21\n\n- Remove warning when connecting to Datastore Emulator.\n\n### 1.2.0 / 2017-11-14\n\n- Add `Google::Cloud::Datastore::Credentials` class.\n- Rename constructor arguments to `project_id` and `credentials`. (The previous arguments `project` and `keyfile` are still supported.)\n- Document `Google::Auth::Credentials` as `credentials` value.\n- Updated `google-gax` (`grpc`, `google-protobuf`), `googleauth` dependencies.\n\n### 1.1.0 / 2017-07-11\n\n- Update GAPIC configuration to exclude `UNAVAILABLE` errors from automatic retry.\n- Update gem spec homepage links.\n\n### 1.0.1 / 2017-05-06\n\n- Update google-protobuf to the previous known working version\n\n### 1.0.0 / 2017-03-31\n\n- Release 1.0\n- Updated documentation\n- Automatic retry on `UNAVAILABLE` errors\n\n### 0.24.2 / 2017-03-03\n\n- No public API changes.\n- Update GRPC header value sent to the Datastore API.\n\n### 0.24.1 / 2017-03-01\n\n- No public API changes.\n- Update GRPC header value sent to the Datastore API.\n\n### 0.24.0 / 2017-02-21\n\n- Add emulator_host parameter\n- Fix GRPC retry bug\n- The client_config data structure has replaced retry_codes/retry_codes_def with retry_codes\n- Update GRPC/Protobuf/GAX dependencies\n\n### 0.23.0 / 2016-12-8\n\n- Many documentation improvements\n- Add documentation for Low Level API\n\n### 0.21.0 / 2016-10-20\n\n- New service constructor Google::Cloud::Datastore.new\n- New constructor argument client_config\n- Entity properties can now be accessed with symbols as well as strings\n\n### 0.20.1 / 2016-09-02\n\n- Fix an issue with the GRPC client and forked sub-processes\n\n### 0.20.0 / 2016-08-26\n\nThis gem contains the Google Cloud Datastore service implementation for the `google-cloud` gem. The `google-cloud` gem replaces the old `gcloud` gem. Legacy code can continue to use the `gcloud` gem.\n\n- Namespace is now `Google::Cloud`\n- The `google-cloud` gem is now an umbrella package for individual gems\n\n#### Changes\n\n- Upgraded to V1\n- Fix issue with embedded entities (@Dragor2)"]]