|
4 | 4 |
|
5 | 5 | [1]: https://www.npmjs.com/package/@google-cloud/datastore?activeTab=versions |
6 | 6 |
|
| 7 | +## v3.0.0 |
| 8 | + |
| 9 | +01-14-2019 20:31 PST |
| 10 | + |
| 11 | +**This release has breaking changes!** The import style of this library has changed to be consistent with [es modules](https://hacks.mozilla.org/2018/03/es-modules-a-cartoon-deep-dive/). |
| 12 | + |
| 13 | +#### Old busted code |
| 14 | +```js |
| 15 | +const Datastore = require('@google-cloud/datastore')(); |
| 16 | +// or... |
| 17 | +const Datastore = require('@google-cloud/datastore'); |
| 18 | +const ds = new Datastore(); |
| 19 | +``` |
| 20 | + |
| 21 | +#### New hot code |
| 22 | +```js |
| 23 | +const {Datastore} = require('@google-cloud/datastore'); |
| 24 | +const ds = new Datastore(); |
| 25 | +``` |
| 26 | + |
| 27 | +Please take care to update your imports accordingly! |
| 28 | + |
| 29 | +### Dependencies |
| 30 | +- fix(deps): update dependency google-gax to ^0.23.0 ([#296](https://github.com/googleapis/nodejs-datastore/pull/296)) |
| 31 | +- fix(deps): update dependency google-gax to ^0.22.0 ([#248](https://github.com/googleapis/nodejs-datastore/pull/248)) |
| 32 | +- fix(deps): update dependency concat-stream to v2 ([#290](https://github.com/googleapis/nodejs-datastore/pull/290)) |
| 33 | +- refactor: remove async module usage ([#272](https://github.com/googleapis/nodejs-datastore/pull/272)) |
| 34 | +- fix(deps): update dependency through2 to v3 ([#237](https://github.com/googleapis/nodejs-datastore/pull/237)) |
| 35 | +- chore: remove unused dependencies ([#226](https://github.com/googleapis/nodejs-datastore/pull/226)) |
| 36 | +- fix(deps): update dependency google-proto-files to ^0.17.0 ([#210](https://github.com/googleapis/nodejs-datastore/pull/210)) |
| 37 | + |
| 38 | +### Documentation |
| 39 | +- fix(docs): fix namespace causing 404s ([#294](https://github.com/googleapis/nodejs-datastore/pull/294)) |
| 40 | +- fix(docs): remove unused long running operations types |
| 41 | +- docs: Update doc comment showing structure of entity ([#276](https://github.com/googleapis/nodejs-datastore/pull/276)) |
| 42 | +- docs: update readme badges ([#269](https://github.com/googleapis/nodejs-datastore/pull/269)) |
| 43 | +- refactor(samples): Samples to use async/await |
| 44 | +- docs: update auto-generated jsdoc comments ([#245](https://github.com/googleapis/nodejs-datastore/pull/245)) |
| 45 | + |
| 46 | +### Internal / Testing Changes |
| 47 | +- refactor: sprinkle some types about ([#291](https://github.com/googleapis/nodejs-datastore/pull/291)) |
| 48 | +- chore(deps): update dependency @types/sinon to v7.0.2 ([#289](https://github.com/googleapis/nodejs-datastore/pull/289)) |
| 49 | +- chore(deps): update dependency @types/sinon to v7 ([#286](https://github.com/googleapis/nodejs-datastore/pull/286)) |
| 50 | +- refactor(ts): enable lint and fix ([#287](https://github.com/googleapis/nodejs-datastore/pull/287)) |
| 51 | +- chore(build): inject yoshi automation key ([#285](https://github.com/googleapis/nodejs-datastore/pull/285)) |
| 52 | +- chore: update nyc and eslint configs ([#284](https://github.com/googleapis/nodejs-datastore/pull/284)) |
| 53 | +- chore: fix publish.sh permission +x ([#282](https://github.com/googleapis/nodejs-datastore/pull/282)) |
| 54 | +- fix(build): fix Kokoro release script ([#281](https://github.com/googleapis/nodejs-datastore/pull/281)) |
| 55 | +- build: add Kokoro configs for autorelease ([#280](https://github.com/googleapis/nodejs-datastore/pull/280)) |
| 56 | +- chore: always nyc report before calling codecov ([#275](https://github.com/googleapis/nodejs-datastore/pull/275)) |
| 57 | +- chore: nyc ignore build/test by default ([#274](https://github.com/googleapis/nodejs-datastore/pull/274)) |
| 58 | +- chore: update license file ([#271](https://github.com/googleapis/nodejs-datastore/pull/271)) |
| 59 | +- refactor: run gts fix ([#265](https://github.com/googleapis/nodejs-datastore/pull/265)) |
| 60 | +- chore(deps): update dependency typescript to ~3.2.0 ([#264](https://github.com/googleapis/nodejs-datastore/pull/264)) |
| 61 | +- fix(build): fix system key decryption ([#266](https://github.com/googleapis/nodejs-datastore/pull/266)) |
| 62 | +- refactor(samples): convert sample tests from ava to mocha ([#259](https://github.com/googleapis/nodejs-datastore/pull/259)) |
| 63 | +- fix: Pin @types/sinon to last compatible version ([#256](https://github.com/googleapis/nodejs-datastore/pull/256)) |
| 64 | +- chore: add synth.metadata ([#254](https://github.com/googleapis/nodejs-datastore/pull/254)) |
| 65 | +- refactor(ts): enable noImplicitThis ([#250](https://github.com/googleapis/nodejs-datastore/pull/250)) |
| 66 | +- chore(deps): update dependency gts to ^0.9.0 ([#247](https://github.com/googleapis/nodejs-datastore/pull/247)) |
| 67 | +- chore: update eslintignore config ([#246](https://github.com/googleapis/nodejs-datastore/pull/246)) |
| 68 | +- refactor(ts): use es module imports ([#244](https://github.com/googleapis/nodejs-datastore/pull/244)) |
| 69 | +- chore(deps): update dependency @google-cloud/nodejs-repo-tools to v3 ([#243](https://github.com/googleapis/nodejs-datastore/pull/243)) |
| 70 | +- chore: drop contributors from multiple places ([#241](https://github.com/googleapis/nodejs-datastore/pull/241)) |
| 71 | +- chore(deps): update dependency @types/is to v0.0.21 ([#240](https://github.com/googleapis/nodejs-datastore/pull/240)) |
| 72 | +- chore: use latest npm on Windows ([#239](https://github.com/googleapis/nodejs-datastore/pull/239)) |
| 73 | +- refactor(ts): convert to typescript ([#236](https://github.com/googleapis/nodejs-datastore/pull/236)) |
| 74 | +- chore: update CircleCI config ([#235](https://github.com/googleapis/nodejs-datastore/pull/235)) |
| 75 | +- chore: include build in eslintignore ([#232](https://github.com/googleapis/nodejs-datastore/pull/232)) |
| 76 | +- chore(deps): update dependency eslint-plugin-node to v8 ([#227](https://github.com/googleapis/nodejs-datastore/pull/227)) |
| 77 | +- chore: update issue templates ([#225](https://github.com/googleapis/nodejs-datastore/pull/225)) |
| 78 | +- chore: remove old issue template ([#223](https://github.com/googleapis/nodejs-datastore/pull/223)) |
| 79 | +- build: run tests on node11 ([#222](https://github.com/googleapis/nodejs-datastore/pull/222)) |
| 80 | +- chores(build): do not collect sponge.xml from windows builds ([#221](https://github.com/googleapis/nodejs-datastore/pull/221)) |
| 81 | +- chores(build): run codecov on continuous builds ([#220](https://github.com/googleapis/nodejs-datastore/pull/220)) |
| 82 | +- chore: update new issue template ([#219](https://github.com/googleapis/nodejs-datastore/pull/219)) |
| 83 | +- build: fix codecov uploading on Kokoro ([#213](https://github.com/googleapis/nodejs-datastore/pull/213)) |
| 84 | +- fix(deps): update dependency sinon to v7 ([#212](https://github.com/googleapis/nodejs-datastore/pull/212)) |
| 85 | +- Update kokoro config ([#207](https://github.com/googleapis/nodejs-datastore/pull/207)) |
| 86 | +- chore(deps): update dependency eslint-plugin-prettier to v3 ([#206](https://github.com/googleapis/nodejs-datastore/pull/206)) |
| 87 | + |
7 | 88 | ## v2.0.0 |
8 | 89 |
|
9 | 90 | ### Breaking Changes |
|
0 commit comments