Skip to content

Commit

Permalink
Release v3.0.0 (#298)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith authored and jkwlui committed Jan 15, 2019
1 parent f0b665c commit f839e58
Show file tree
Hide file tree
Showing 3 changed files with 83 additions and 2 deletions.
81 changes: 81 additions & 0 deletions CHANGELOG.md
Expand Up @@ -4,6 +4,87 @@

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

## v3.0.0

01-14-2019 20:31 PST

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

#### Old busted code
```js
const Datastore = require('@google-cloud/datastore')();
// or...
const Datastore = require('@google-cloud/datastore');
const ds = new Datastore();
```

#### New hot code
```js
const {Datastore} = require('@google-cloud/datastore');
const ds = new Datastore();
```

Please take care to update your imports accordingly!

### Dependencies
- fix(deps): update dependency google-gax to ^0.23.0 ([#296](https://github.com/googleapis/nodejs-datastore/pull/296))
- fix(deps): update dependency google-gax to ^0.22.0 ([#248](https://github.com/googleapis/nodejs-datastore/pull/248))
- fix(deps): update dependency concat-stream to v2 ([#290](https://github.com/googleapis/nodejs-datastore/pull/290))
- refactor: remove async module usage ([#272](https://github.com/googleapis/nodejs-datastore/pull/272))
- fix(deps): update dependency through2 to v3 ([#237](https://github.com/googleapis/nodejs-datastore/pull/237))
- chore: remove unused dependencies ([#226](https://github.com/googleapis/nodejs-datastore/pull/226))
- fix(deps): update dependency google-proto-files to ^0.17.0 ([#210](https://github.com/googleapis/nodejs-datastore/pull/210))

### Documentation
- fix(docs): fix namespace causing 404s ([#294](https://github.com/googleapis/nodejs-datastore/pull/294))
- fix(docs): remove unused long running operations types
- docs: Update doc comment showing structure of entity ([#276](https://github.com/googleapis/nodejs-datastore/pull/276))
- docs: update readme badges ([#269](https://github.com/googleapis/nodejs-datastore/pull/269))
- refactor(samples): Samples to use async/await
- docs: update auto-generated jsdoc comments ([#245](https://github.com/googleapis/nodejs-datastore/pull/245))

### Internal / Testing Changes
- refactor: sprinkle some types about ([#291](https://github.com/googleapis/nodejs-datastore/pull/291))
- chore(deps): update dependency @types/sinon to v7.0.2 ([#289](https://github.com/googleapis/nodejs-datastore/pull/289))
- chore(deps): update dependency @types/sinon to v7 ([#286](https://github.com/googleapis/nodejs-datastore/pull/286))
- refactor(ts): enable lint and fix ([#287](https://github.com/googleapis/nodejs-datastore/pull/287))
- chore(build): inject yoshi automation key ([#285](https://github.com/googleapis/nodejs-datastore/pull/285))
- chore: update nyc and eslint configs ([#284](https://github.com/googleapis/nodejs-datastore/pull/284))
- chore: fix publish.sh permission +x ([#282](https://github.com/googleapis/nodejs-datastore/pull/282))
- fix(build): fix Kokoro release script ([#281](https://github.com/googleapis/nodejs-datastore/pull/281))
- build: add Kokoro configs for autorelease ([#280](https://github.com/googleapis/nodejs-datastore/pull/280))
- chore: always nyc report before calling codecov ([#275](https://github.com/googleapis/nodejs-datastore/pull/275))
- chore: nyc ignore build/test by default ([#274](https://github.com/googleapis/nodejs-datastore/pull/274))
- chore: update license file ([#271](https://github.com/googleapis/nodejs-datastore/pull/271))
- refactor: run gts fix ([#265](https://github.com/googleapis/nodejs-datastore/pull/265))
- chore(deps): update dependency typescript to ~3.2.0 ([#264](https://github.com/googleapis/nodejs-datastore/pull/264))
- fix(build): fix system key decryption ([#266](https://github.com/googleapis/nodejs-datastore/pull/266))
- refactor(samples): convert sample tests from ava to mocha ([#259](https://github.com/googleapis/nodejs-datastore/pull/259))
- fix: Pin @types/sinon to last compatible version ([#256](https://github.com/googleapis/nodejs-datastore/pull/256))
- chore: add synth.metadata ([#254](https://github.com/googleapis/nodejs-datastore/pull/254))
- refactor(ts): enable noImplicitThis ([#250](https://github.com/googleapis/nodejs-datastore/pull/250))
- chore(deps): update dependency gts to ^0.9.0 ([#247](https://github.com/googleapis/nodejs-datastore/pull/247))
- chore: update eslintignore config ([#246](https://github.com/googleapis/nodejs-datastore/pull/246))
- refactor(ts): use es module imports ([#244](https://github.com/googleapis/nodejs-datastore/pull/244))
- chore(deps): update dependency @google-cloud/nodejs-repo-tools to v3 ([#243](https://github.com/googleapis/nodejs-datastore/pull/243))
- chore: drop contributors from multiple places ([#241](https://github.com/googleapis/nodejs-datastore/pull/241))
- chore(deps): update dependency @types/is to v0.0.21 ([#240](https://github.com/googleapis/nodejs-datastore/pull/240))
- chore: use latest npm on Windows ([#239](https://github.com/googleapis/nodejs-datastore/pull/239))
- refactor(ts): convert to typescript ([#236](https://github.com/googleapis/nodejs-datastore/pull/236))
- chore: update CircleCI config ([#235](https://github.com/googleapis/nodejs-datastore/pull/235))
- chore: include build in eslintignore ([#232](https://github.com/googleapis/nodejs-datastore/pull/232))
- chore(deps): update dependency eslint-plugin-node to v8 ([#227](https://github.com/googleapis/nodejs-datastore/pull/227))
- chore: update issue templates ([#225](https://github.com/googleapis/nodejs-datastore/pull/225))
- chore: remove old issue template ([#223](https://github.com/googleapis/nodejs-datastore/pull/223))
- build: run tests on node11 ([#222](https://github.com/googleapis/nodejs-datastore/pull/222))
- chores(build): do not collect sponge.xml from windows builds ([#221](https://github.com/googleapis/nodejs-datastore/pull/221))
- chores(build): run codecov on continuous builds ([#220](https://github.com/googleapis/nodejs-datastore/pull/220))
- chore: update new issue template ([#219](https://github.com/googleapis/nodejs-datastore/pull/219))
- build: fix codecov uploading on Kokoro ([#213](https://github.com/googleapis/nodejs-datastore/pull/213))
- fix(deps): update dependency sinon to v7 ([#212](https://github.com/googleapis/nodejs-datastore/pull/212))
- Update kokoro config ([#207](https://github.com/googleapis/nodejs-datastore/pull/207))
- chore(deps): update dependency eslint-plugin-prettier to v3 ([#206](https://github.com/googleapis/nodejs-datastore/pull/206))

## v2.0.0

### Breaking Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "@google-cloud/datastore",
"description": "Cloud Datastore Client Library for Node.js",
"version": "2.0.0",
"version": "3.0.0",
"license": "Apache-2.0",
"author": "Google Inc.",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion samples/package.json
Expand Up @@ -12,7 +12,7 @@
"test": "mocha system-test/*.test.js --timeout=600000"
},
"dependencies": {
"@google-cloud/datastore": "^2.0.0",
"@google-cloud/datastore": "^3.0.0",
"sinon": "^7.0.0",
"yargs": "^12.0.1"
},
Expand Down

0 comments on commit f839e58

Please sign in to comment.