@google-cloud/datastore
Advanced tools
Comparing version 8.2.0 to 8.2.1
@@ -466,3 +466,6 @@ "use strict"; | ||
} | ||
if (isTransaction && (method === 'lookup' || method === 'runQuery')) { | ||
if (isTransaction && | ||
(method === 'lookup' || | ||
method === 'runQuery' || | ||
method === 'runAggregationQuery')) { | ||
if (reqOpts.readOptions && reqOpts.readOptions.readConsistency) { | ||
@@ -469,0 +472,0 @@ throw new Error('Read consistency cannot be specified in a transaction.'); |
@@ -7,2 +7,9 @@ # Changelog | ||
## [8.2.1](https://github.com/googleapis/nodejs-datastore/compare/v8.2.0...v8.2.1) (2023-10-03) | ||
### Bug Fixes | ||
* Make aggregation query requests run properly inside a transaction ([#1166](https://github.com/googleapis/nodejs-datastore/issues/1166)) ([263804b](https://github.com/googleapis/nodejs-datastore/commit/263804b768322de39bf87b4c5265c303a2bda173)) | ||
## [8.2.0](https://github.com/googleapis/nodejs-datastore/compare/v8.1.0...v8.2.0) (2023-10-02) | ||
@@ -9,0 +16,0 @@ |
{ | ||
"name": "@google-cloud/datastore", | ||
"version": "8.2.0", | ||
"version": "8.2.1", | ||
"description": "Cloud Datastore Client Library for Node.js", | ||
@@ -68,3 +68,3 @@ "keywords": [ | ||
"jsdoc": "^4.0.0", | ||
"jsdoc-fresh": "^2.0.0", | ||
"jsdoc-fresh": "^3.0.0", | ||
"jsdoc-region-tag": "^3.0.0", | ||
@@ -71,0 +71,0 @@ "linkinator": "^5.0.0", |
Sorry, the diff of this file is not supported yet
4042164
69019