Skip to content

Commit 1aa0fbf

Browse files
chore(main): release 8.6.0 (#1237)
* chore(main): release 8.6.0 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 6c409d5 commit 1aa0fbf

File tree

5 files changed

+21
-9
lines changed

5 files changed

+21
-9
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,19 @@
44

55
[1]: https://www.npmjs.com/package/@google-cloud/datastore?activeTab=versions
66

7+
## [8.6.0](https://github.com/googleapis/nodejs-datastore/compare/v8.5.0...v8.6.0) (2024-03-25)
8+
9+
10+
### Features
11+
12+
* Add new types ExplainOptions, ExplainMetrics, PlanSummary, ExecutionStats ([#1241](https://github.com/googleapis/nodejs-datastore/issues/1241)) ([6c409d5](https://github.com/googleapis/nodejs-datastore/commit/6c409d5c922288bd8286917b266cdb553cfd43cf))
13+
* Nodejs transaction redesign feature branch ([#1235](https://github.com/googleapis/nodejs-datastore/issues/1235)) ([1585d4a](https://github.com/googleapis/nodejs-datastore/commit/1585d4a4e1b4b16d198307a3e97ffcf156d000b1))
14+
15+
16+
### Bug Fixes
17+
18+
* **deps:** Update dependency async-mutex to ^0.5.0 ([#1240](https://github.com/googleapis/nodejs-datastore/issues/1240)) ([0ba1281](https://github.com/googleapis/nodejs-datastore/commit/0ba1281efe16ef0b725937627445c32c36b9f705))
19+
720
## [8.5.0](https://github.com/googleapis/nodejs-datastore/compare/v8.4.0...v8.5.0) (2024-02-06)
821

922

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@google-cloud/datastore",
3-
"version": "8.5.0",
3+
"version": "8.6.0",
44
"description": "Cloud Datastore Client Library for Node.js",
55
"keywords": [
66
"google apis client",

samples/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"test": "mocha --timeout=600000"
1515
},
1616
"dependencies": {
17-
"@google-cloud/datastore": "^8.5.0",
17+
"@google-cloud/datastore": "^8.6.0",
1818
"sinon": "^17.0.0"
1919
},
2020
"devDependencies": {

src/entity.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -181,11 +181,10 @@ export namespace entity {
181181
try {
182182
return this.typeCastFunction!(this.value);
183183
} catch (error) {
184-
(
185-
error as Error
186-
).message = `integerTypeCastFunction threw an error:\n\n - ${
187-
(error as Error).message
188-
}`;
184+
(error as Error).message =
185+
`integerTypeCastFunction threw an error:\n\n - ${
186+
(error as Error).message
187+
}`;
189188
throw error;
190189
}
191190
} else {

src/transaction.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ class Transaction extends DatastoreRequest {
173173
typeof gaxOptionsOrCallback === 'function'
174174
? gaxOptionsOrCallback
175175
: typeof cb === 'function'
176-
? cb
177-
: () => {};
176+
? cb
177+
: () => {};
178178
const gaxOptions =
179179
typeof gaxOptionsOrCallback === 'object' ? gaxOptionsOrCallback : {};
180180
// This ensures that the transaction is started before calling runCommit

0 commit comments

Comments
 (0)