Skip to content

Commit d6f28a6

Browse files
authored
Merge branch 'googleapis:main' into admin-clients-samples
2 parents f5babc1 + c4c2ccd commit d6f28a6

File tree

8 files changed

+1320
-189
lines changed

8 files changed

+1320
-189
lines changed

CHANGELOG.md

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

55
[1]: https://www.npmjs.com/package/nodejs-spanner?activeTab=versions
66

7+
## [7.2.0](https://github.com/googleapis/nodejs-spanner/compare/v7.1.0...v7.2.0) (2024-01-11)
8+
9+
10+
### Features
11+
12+
* Support for Directed Reads ([#1966](https://github.com/googleapis/nodejs-spanner/issues/1966)) ([c0a4363](https://github.com/googleapis/nodejs-spanner/commit/c0a43638c81dd769cc55e021cc4cf1d93db8a72a))
13+
14+
15+
### Bug Fixes
16+
17+
* **deps:** Update dependency @google-cloud/precise-date to v4 ([#1903](https://github.com/googleapis/nodejs-spanner/issues/1903)) ([7464c8b](https://github.com/googleapis/nodejs-spanner/commit/7464c8b2412a9b718cd8981363cb982aebbe3723))
18+
* **deps:** Update dependency @types/stack-trace to v0.0.33 ([#1952](https://github.com/googleapis/nodejs-spanner/issues/1952)) ([45ab751](https://github.com/googleapis/nodejs-spanner/commit/45ab751da1f0f73bc06c8b8e0007b457fa75518f))
19+
* **deps:** Update dependency retry-request to v7 ([#1934](https://github.com/googleapis/nodejs-spanner/issues/1934)) ([c575c80](https://github.com/googleapis/nodejs-spanner/commit/c575c80b17e5fdf2cbba24c806fa21f26c2010dc))
20+
721
## [7.1.0](https://github.com/googleapis/nodejs-spanner/compare/v7.0.0...v7.1.0) (2023-11-16)
822

923

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@google-cloud/spanner",
33
"description": "Cloud Spanner Client Library for Node.js",
4-
"version": "7.1.0",
4+
"version": "7.2.0",
55
"license": "Apache-2.0",
66
"author": "Google Inc.",
77
"engines": {
@@ -65,7 +65,7 @@
6565
"events-intercept": "^2.0.0",
6666
"extend": "^3.0.2",
6767
"google-auth-library": "^9.0.0",
68-
"google-gax": "4.0.5",
68+
"google-gax": "4.1.0",
6969
"grpc-gcp": "^1.0.0",
7070
"is": "^3.2.1",
7171
"lodash.snakecase": "^4.1.1",
@@ -99,7 +99,7 @@
9999
"concat-stream": "^2.0.0",
100100
"dedent": "^1.0.0",
101101
"execa": "^5.0.0",
102-
"gapic-tools": "^0.2.0",
102+
"gapic-tools": "^0.3.0",
103103
"gts": "^5.0.0",
104104
"jsdoc": "^4.0.0",
105105
"jsdoc-fresh": "^3.0.0",

protos/protos.d.ts

Lines changed: 252 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

protos/protos.js

Lines changed: 964 additions & 119 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

protos/protos.json

Lines changed: 83 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samples/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"dependencies": {
1717
"@google-cloud/kms": "^4.0.0",
1818
"@google-cloud/precise-date": "^4.0.0",
19-
"@google-cloud/spanner": "^7.1.0",
19+
"@google-cloud/spanner": "^7.2.0",
2020
"yargs": "^17.0.0"
2121
},
2222
"devDependencies": {

src/transaction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -979,7 +979,7 @@ export class Snapshot extends EventEmitter {
979979
* execution statistics for the SQL statement that
980980
* produced this result set.
981981
* @property {string} partitionToken The partition token.
982-
* @property {number} seqno The Sequence number.
982+
* @property {number} seqno The Sequence number. This option is used internally and will be overridden.
983983
* @property {string} sql The SQL string.
984984
* @property {google.spanner.v1.ExecuteSqlRequest.IQueryOptions} [queryOptions]
985985
* Default query options to use with the database. These options will be

system-test/spanner.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8731,10 +8731,10 @@ describe('Spanner', () => {
87318731
},
87328732
err => {
87338733
assert.strictEqual(err?.details, expectedErrorMessage);
8734+
transaction!.end();
8735+
done();
87348736
}
87358737
);
8736-
transaction!.end();
8737-
done();
87388738
});
87398739
});
87408740
});

0 commit comments

Comments
 (0)