Skip to content

Commit

Permalink
chore(main): release 8.6.0 (#1237)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
release-please[bot] and gcf-owl-bot[bot] committed Mar 25, 2024
1 parent 6c409d5 commit 1aa0fbf
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 9 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Expand Up @@ -4,6 +4,19 @@

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

## [8.6.0](https://github.com/googleapis/nodejs-datastore/compare/v8.5.0...v8.6.0) (2024-03-25)


### Features

* 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))
* Nodejs transaction redesign feature branch ([#1235](https://github.com/googleapis/nodejs-datastore/issues/1235)) ([1585d4a](https://github.com/googleapis/nodejs-datastore/commit/1585d4a4e1b4b16d198307a3e97ffcf156d000b1))


### Bug Fixes

* **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))

## [8.5.0](https://github.com/googleapis/nodejs-datastore/compare/v8.4.0...v8.5.0) (2024-02-06)


Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "@google-cloud/datastore",
"version": "8.5.0",
"version": "8.6.0",
"description": "Cloud Datastore Client Library for Node.js",
"keywords": [
"google apis client",
Expand Down
2 changes: 1 addition & 1 deletion samples/package.json
Expand Up @@ -14,7 +14,7 @@
"test": "mocha --timeout=600000"
},
"dependencies": {
"@google-cloud/datastore": "^8.5.0",
"@google-cloud/datastore": "^8.6.0",
"sinon": "^17.0.0"
},
"devDependencies": {
Expand Down
9 changes: 4 additions & 5 deletions src/entity.ts
Expand Up @@ -181,11 +181,10 @@ export namespace entity {
try {
return this.typeCastFunction!(this.value);
} catch (error) {
(
error as Error
).message = `integerTypeCastFunction threw an error:\n\n - ${
(error as Error).message
}`;
(error as Error).message =
`integerTypeCastFunction threw an error:\n\n - ${
(error as Error).message
}`;
throw error;
}
} else {
Expand Down
4 changes: 2 additions & 2 deletions src/transaction.ts
Expand Up @@ -173,8 +173,8 @@ class Transaction extends DatastoreRequest {
typeof gaxOptionsOrCallback === 'function'
? gaxOptionsOrCallback
: typeof cb === 'function'
? cb
: () => {};
? cb
: () => {};
const gaxOptions =
typeof gaxOptionsOrCallback === 'object' ? gaxOptionsOrCallback : {};
// This ensures that the transaction is started before calling runCommit
Expand Down

0 comments on commit 1aa0fbf

Please sign in to comment.