|
4 | 4 |
|
5 | 5 | [1]: https://www.npmjs.com/package/nodejs-spanner?activeTab=versions
|
6 | 6 |
|
| 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 | + |
7 | 60 | ## v2.0.0
|
8 | 61 |
|
9 | 62 | ### 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) |
11 | 64 |
|
12 | 65 | - 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. |
14 | 67 |
|
15 | 68 | #### Old code
|
16 | 69 | ```js
|
17 | 70 | const spanner = require('@google-cloud/spanner')();
|
18 |
| - // or |
| 71 | + // or |
19 | 72 | const Spanner = require('@google-cloud/spanner');
|
20 | 73 | const spanner = new Spanner();
|
21 | 74 | ```
|
|
90 | 143 | - refactor: drop repo-tool as an exec wrapper (#248)
|
91 | 144 | - fix: update linking for samples (#242)
|
92 | 145 | - Adding Spanner STRUCT param samples (#219)
|
93 |
| - |
|
0 commit comments