Skip to content

Commit 2bb6de5

Browse files
authored
Release @google-cloud/spanner v2.1.0 (#363)
1 parent 94a1903 commit 2bb6de5

File tree

3 files changed

+58
-6
lines changed

3 files changed

+58
-6
lines changed

CHANGELOG.md

Lines changed: 56 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,71 @@
44

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

7+
## v2.1.0
8+
9+
### Implementation Changes
10+
- chore: use arrow functions ([#359](https://github.com/googleapis/nodejs-spanner/pull/359))
11+
- fix: change exists to return false on error code 5 ([#353](https://github.com/googleapis/nodejs-spanner/pull/353))
12+
- Switch to let/const ([#328](https://github.com/googleapis/nodejs-spanner/pull/328))
13+
- Minor: wrap the inner error on retried transactions and return when deadline exceeded ([#309](https://github.com/googleapis/nodejs-spanner/pull/309))
14+
- chore: convert index to es6 class ([#306](https://github.com/googleapis/nodejs-spanner/pull/306))
15+
- Fix p-retry is accepting function not object/promise ([#312](https://github.com/googleapis/nodejs-spanner/pull/312))
16+
17+
### New Features
18+
- feat: dml/pdml support ([#348](https://github.com/googleapis/nodejs-spanner/pull/348))
19+
- feat(table): drop method and additional error handling to delete ([#358](https://github.com/googleapis/nodejs-spanner/pull/358))
20+
- feat(PartialResultStream): emit raw responses as event ([#357](https://github.com/googleapis/nodejs-spanner/pull/357))
21+
- feat(transaction): add backup backoff delay ([#350](https://github.com/googleapis/nodejs-spanner/pull/350))
22+
23+
### Dependencies
24+
- chore(deps): update dependency eslint-plugin-prettier to v3 ([#351](https://github.com/googleapis/nodejs-spanner/pull/351))
25+
- fix(deps): update dependency @google-cloud/common-grpc to ^0.9.0 ([#339](https://github.com/googleapis/nodejs-spanner/pull/339))
26+
- fix(deps): update dependency google-gax to ^0.20.0 ([#327](https://github.com/googleapis/nodejs-spanner/pull/327))
27+
- fix(deps): update dependency delay to v4 ([#322](https://github.com/googleapis/nodejs-spanner/pull/322))
28+
- fix: upgrade to the latest common-grpc ([#320](https://github.com/googleapis/nodejs-spanner/pull/320))
29+
- fix(deps): update dependency google-auth-library to v2 ([#319](https://github.com/googleapis/nodejs-spanner/pull/319))
30+
- fix(deps): update dependency p-queue to v3 ([#317](https://github.com/googleapis/nodejs-spanner/pull/317))
31+
- chore(deps): update dependency nyc to v13 ([#314](https://github.com/googleapis/nodejs-spanner/pull/314))
32+
33+
### Documentation
34+
- docs: add typedefs for commit timestamp ([#356](https://github.com/googleapis/nodejs-spanner/pull/356))
35+
- docs: various jsdoc fixes ([#352](https://github.com/googleapis/nodejs-spanner/pull/352))
36+
37+
### Internal / Testing Changes
38+
- chore: update auto-generated config ([#362](https://github.com/googleapis/nodejs-spanner/pull/362))
39+
- chore: change queries to return expected values ([#355](https://github.com/googleapis/nodejs-spanner/pull/355))
40+
- Update CI config ([#354](https://github.com/googleapis/nodejs-spanner/pull/354))
41+
- chore: make sure workloadb benchmark runs properly ([#349](https://github.com/googleapis/nodejs-spanner/pull/349))
42+
- test: Add delay for system test. ([#16](https://github.com/googleapis/nodejs-spanner/pull/16))
43+
- Update QuickStart to use "new" syntax for creating Spanner client. ([#344](https://github.com/googleapis/nodejs-spanner/pull/344))
44+
- test: remove appveyor config ([#342](https://github.com/googleapis/nodejs-spanner/pull/342))
45+
- Update CI config ([#341](https://github.com/googleapis/nodejs-spanner/pull/341))
46+
- Fix the failing lint rules ([#338](https://github.com/googleapis/nodejs-spanner/pull/338))
47+
- Enable prefer-const in the eslint config ([#337](https://github.com/googleapis/nodejs-spanner/pull/337))
48+
- soften assertion in system tests ([#335](https://github.com/googleapis/nodejs-spanner/pull/335))
49+
- Update protos and comments ([#334](https://github.com/googleapis/nodejs-spanner/pull/334))
50+
- fix string comparison in system test ([#333](https://github.com/googleapis/nodejs-spanner/pull/333))
51+
- Enable no-var in eslint ([#331](https://github.com/googleapis/nodejs-spanner/pull/331))
52+
- Add synth templates ([#330](https://github.com/googleapis/nodejs-spanner/pull/330))
53+
- test: throw on deprecation ([#279](https://github.com/googleapis/nodejs-spanner/pull/279))
54+
- Retry npm install in CI ([#323](https://github.com/googleapis/nodejs-spanner/pull/323))
55+
- Re-generate library using /synth.py ([#316](https://github.com/googleapis/nodejs-spanner/pull/316))
56+
- Fix color highlighting in CHANGELOG.md ([#313](https://github.com/googleapis/nodejs-spanner/pull/313))
57+
- Update sample dependency @google-cloud/spanner to v2 ([#310](https://github.com/googleapis/nodejs-spanner/pull/310))
58+
- Re-generate library using /synth.py ([#308](https://github.com/googleapis/nodejs-spanner/pull/308))
59+
760
## v2.0.0
861

962
### Breaking Changes
10-
- Drop support for Node.js v4.x.x and v9.x.x (#226)
63+
- Drop support for Node.js v4.x.x and v9.x.x (#226)
1164

1265
- Use es style imports (#302)
13-
The import syntax for this library has changed to be [es module](https://nodejs.org/api/esm.html) compliant.
66+
The import syntax for this library has changed to be [es module](https://nodejs.org/api/esm.html) compliant.
1467

1568
#### Old code
1669
```js
1770
const spanner = require('@google-cloud/spanner')();
18-
// or
71+
// or
1972
const Spanner = require('@google-cloud/spanner');
2073
const spanner = new Spanner();
2174
```
@@ -90,4 +143,3 @@
90143
- refactor: drop repo-tool as an exec wrapper (#248)
91144
- fix: update linking for samples (#242)
92145
- Adding Spanner STRUCT param samples (#219)
93-

package.json

Lines changed: 1 addition & 1 deletion
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": "2.0.0",
4+
"version": "2.1.0",
55
"license": "Apache-2.0",
66
"author": "Google Inc.",
77
"engines": {

samples/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"test": "npm run cover"
1515
},
1616
"dependencies": {
17-
"@google-cloud/spanner": "^2.0.0",
17+
"@google-cloud/spanner": "^2.1.0",
1818
"yargs": "^12.0.1"
1919
},
2020
"devDependencies": {

0 commit comments

Comments
 (0)