|
| 1 | +# Changelog |
| 2 | + |
| 3 | +[npm history][1] |
| 4 | + |
| 5 | +[1]: https://www.npmjs.com/package/@google-cloud/resource?activeTab=versions |
| 6 | + |
| 7 | +## v0.9.0 |
| 8 | + |
| 9 | +12-06-2018 15:54 PST |
| 10 | + |
| 11 | +**This release has breaking changes**. Please update with care. |
| 12 | + |
| 13 | +### Breaking changes |
| 14 | + |
| 15 | +#### Dropped support for non-LTS versions of node.js |
| 16 | +Node.js versions 4.x and 9.x are explicitly not supported. |
| 17 | + |
| 18 | +#### Support for es modules |
| 19 | +The import syntax for this library has changed to support es modules. |
| 20 | + |
| 21 | +__old code__ |
| 22 | +```js |
| 23 | +const Resource = require('@google-cloud/resource'); |
| 24 | +const resource = Resource({...}); |
| 25 | +``` |
| 26 | + |
| 27 | +__new code__ |
| 28 | +```js |
| 29 | +const {Resource} = require('@google-cloud/resource'); |
| 30 | +const resource = Resource({...}); |
| 31 | +``` |
| 32 | + |
| 33 | +### Features |
| 34 | +- feat: convert to typescript ([#64](https://github.com/googleapis/nodejs-resource/pull/64)) |
| 35 | + |
| 36 | +### Documentation |
| 37 | +- docs: update readme badges ([#146](https://github.com/googleapis/nodejs-resource/pull/146)) |
| 38 | +- docs(samples): updated samples code to use async await ([#139](https://github.com/googleapis/nodejs-resource/pull/139)) |
| 39 | + |
| 40 | +### Fixes |
| 41 | +- fix: improve types and fix sample tests ([#141](https://github.com/googleapis/nodejs-resource/pull/141)) |
| 42 | +- fix(typo): LifecylceState => LifecycleState interface ([#124](https://github.com/googleapis/nodejs-resource/pull/124)) |
| 43 | +- fix: improve types, enable noImplicitThis ([#90](https://github.com/googleapis/nodejs-resource/pull/90)) |
| 44 | +- fix: use small HTTP dependency ([#80](https://github.com/googleapis/nodejs-resource/pull/80)) |
| 45 | +- fix: drop support for node.js 4.x and 9.x ([#50](https://github.com/googleapis/nodejs-resource/pull/50)) |
| 46 | + |
| 47 | +### Internal / Testing Changes |
| 48 | +- test: disable lifecycle project system test ([#142](https://github.com/googleapis/nodejs-resource/pull/142)) |
| 49 | +- chore: always nyc report before calling codecov ([#151](https://github.com/googleapis/nodejs-resource/pull/151)) |
| 50 | +- chore: nyc ignore build/test by default ([#150](https://github.com/googleapis/nodejs-resource/pull/150)) |
| 51 | +- chore: update license file ([#148](https://github.com/googleapis/nodejs-resource/pull/148)) |
| 52 | +- fix(build): fix system key decryption ([#144](https://github.com/googleapis/nodejs-resource/pull/144)) |
| 53 | +- chore(deps): update dependency typescript to ~3.2.0 ([#143](https://github.com/googleapis/nodejs-resource/pull/143)) |
| 54 | +- chore: add a synth.metadata |
| 55 | +- refactor(samples): convert sample tests from ava to mocha ([#135](https://github.com/googleapis/nodejs-resource/pull/135)) |
| 56 | +- chore(deps): update dependency gts to ^0.9.0 ([#134](https://github.com/googleapis/nodejs-resource/pull/134)) |
| 57 | +- chore: update eslintignore config ([#133](https://github.com/googleapis/nodejs-resource/pull/133)) |
| 58 | +- chore(deps): update dependency @google-cloud/nodejs-repo-tools to v3 ([#130](https://github.com/googleapis/nodejs-resource/pull/130)) |
| 59 | +- refactor: drop dependency on extend ([#128](https://github.com/googleapis/nodejs-resource/pull/128)) |
| 60 | +- chore: drop contributors from multiple places ([#129](https://github.com/googleapis/nodejs-resource/pull/129)) |
| 61 | +- fix(deps): update dependency @google-cloud/common to ^0.26.0 ([#113](https://github.com/googleapis/nodejs-resource/pull/113)) |
| 62 | +- chore: use latest npm on Windows ([#127](https://github.com/googleapis/nodejs-resource/pull/127)) |
| 63 | +- chore: update CircleCI config ([#126](https://github.com/googleapis/nodejs-resource/pull/126)) |
| 64 | +- chore: include build in eslintignore ([#122](https://github.com/googleapis/nodejs-resource/pull/122)) |
| 65 | +- chore(deps): update dependency eslint-plugin-node to v8 ([#118](https://github.com/googleapis/nodejs-resource/pull/118)) |
| 66 | +- chore: update issue templates ([#117](https://github.com/googleapis/nodejs-resource/pull/117)) |
| 67 | +- chore: remove old issue template ([#115](https://github.com/googleapis/nodejs-resource/pull/115)) |
| 68 | +- build: run tests on node11 ([#114](https://github.com/googleapis/nodejs-resource/pull/114)) |
| 69 | +- chores(build): do not collect sponge.xml from windows builds ([#112](https://github.com/googleapis/nodejs-resource/pull/112)) |
| 70 | +- chores(build): run codecov on continuous builds ([#110](https://github.com/googleapis/nodejs-resource/pull/110)) |
| 71 | +- chore: update new issue template ([#109](https://github.com/googleapis/nodejs-resource/pull/109)) |
| 72 | +- chore(deps): update dependency sinon to v7 ([#105](https://github.com/googleapis/nodejs-resource/pull/105)) |
| 73 | +- build: fix codecov uploading on Kokoro ([#106](https://github.com/googleapis/nodejs-resource/pull/106)) |
| 74 | +- Update kokoro config ([#103](https://github.com/googleapis/nodejs-resource/pull/103)) |
| 75 | +- chore(deps): update dependency eslint-plugin-prettier to v3 ([#102](https://github.com/googleapis/nodejs-resource/pull/102)) |
| 76 | +- chore(deps): update dependency typescript to ~3.1.0 ([#100](https://github.com/googleapis/nodejs-resource/pull/100)) |
| 77 | +- Update CI config ([#99](https://github.com/googleapis/nodejs-resource/pull/99)) |
| 78 | +- Don't publish sourcemaps ([#97](https://github.com/googleapis/nodejs-resource/pull/97)) |
| 79 | +- Update the kokoro config ([#94](https://github.com/googleapis/nodejs-resource/pull/94)) |
| 80 | +- test: remove appveyor config ([#93](https://github.com/googleapis/nodejs-resource/pull/93)) |
| 81 | +- test: simplify and fix the system tests ([#92](https://github.com/googleapis/nodejs-resource/pull/92)) |
| 82 | +- Update the CI config ([#89](https://github.com/googleapis/nodejs-resource/pull/89)) |
| 83 | +- Enable prefer-const in the eslint config ([#88](https://github.com/googleapis/nodejs-resource/pull/88)) |
| 84 | +- Enable no-var in eslint ([#86](https://github.com/googleapis/nodejs-resource/pull/86)) |
| 85 | +- fix(deps): update dependency @google-cloud/common to ^0.25.0 ([#87](https://github.com/googleapis/nodejs-resource/pull/87)) |
| 86 | +- Update CI config ([#83](https://github.com/googleapis/nodejs-resource/pull/83)) |
| 87 | +- Fix code coverage ([#81](https://github.com/googleapis/nodejs-resource/pull/81)) |
| 88 | +- fix(deps): update dependency @google-cloud/common to ^0.24.0 ([#71](https://github.com/googleapis/nodejs-resource/pull/71)) |
| 89 | +- Update CI config ([#78](https://github.com/googleapis/nodejs-resource/pull/78)) |
| 90 | +- Retry npm install in CI ([#79](https://github.com/googleapis/nodejs-resource/pull/79)) |
| 91 | +- Re-generate library using /synth.py ([#77](https://github.com/googleapis/nodejs-resource/pull/77)) |
| 92 | +- chore(deps): update dependency nyc to v13 ([#76](https://github.com/googleapis/nodejs-resource/pull/76)) |
| 93 | +- Update the CI config ([#75](https://github.com/googleapis/nodejs-resource/pull/75)) |
| 94 | +- chore: update CircleCI config |
| 95 | +- chore: enable gts fix ([#73](https://github.com/googleapis/nodejs-resource/pull/73)) |
| 96 | +- chore: convert to es6 ([#72](https://github.com/googleapis/nodejs-resource/pull/72)) |
| 97 | +- chore(deps): update dependency eslint-config-prettier to v3 ([#70](https://github.com/googleapis/nodejs-resource/pull/70)) |
| 98 | +- fix(deps): update dependency @google-cloud/common to ^0.21.0 ([#66](https://github.com/googleapis/nodejs-resource/pull/66)) |
| 99 | +- chore: split the common module ([#69](https://github.com/googleapis/nodejs-resource/pull/69)) |
| 100 | +- chore: ignore package-lock.json ([#67](https://github.com/googleapis/nodejs-resource/pull/67)) |
| 101 | +- chore: update renovate config ([#63](https://github.com/googleapis/nodejs-resource/pull/63)) |
| 102 | +- chore: assert.deelEqual => assert.deepStrictEqual ([#60](https://github.com/googleapis/nodejs-resource/pull/60)) |
| 103 | +- chore(deps): lock file maintenance ([#61](https://github.com/googleapis/nodejs-resource/pull/61)) |
| 104 | +- chore: move mocha options to mocha.opts ([#58](https://github.com/googleapis/nodejs-resource/pull/58)) |
| 105 | +- chore: require node 8 for samples ([#59](https://github.com/googleapis/nodejs-resource/pull/59)) |
| 106 | +- chore(deps): lock file maintenance ([#57](https://github.com/googleapis/nodejs-resource/pull/57)) |
| 107 | +- chore(deps): update dependency eslint-plugin-node to v7 ([#55](https://github.com/googleapis/nodejs-resource/pull/55)) |
| 108 | +- test: use strictEqual in tests ([#56](https://github.com/googleapis/nodejs-resource/pull/56)) |
| 109 | +- fix(deps): update dependency yargs to v12 ([#46](https://github.com/googleapis/nodejs-resource/pull/46)) |
| 110 | +- fix(deps): update dependency @google-cloud/common to ^0.20.0 ([#41](https://github.com/googleapis/nodejs-resource/pull/41)) |
| 111 | +- chore(deps): update dependency sinon to v6 ([#44](https://github.com/googleapis/nodejs-resource/pull/44)) |
| 112 | +- fix(deps): update dependency yargs to v11 ([#45](https://github.com/googleapis/nodejs-resource/pull/45)) |
| 113 | +- chore(deps): update dependency proxyquire to v2 ([#43](https://github.com/googleapis/nodejs-resource/pull/43)) |
| 114 | +- chore(deps): update dependency ava to v0.25.0 ([#39](https://github.com/googleapis/nodejs-resource/pull/39)) |
| 115 | +- Configure Renovate ([#33](https://github.com/googleapis/nodejs-resource/pull/33)) |
| 116 | +- chore(package): update eslint to version 5.0.0 ([#34](https://github.com/googleapis/nodejs-resource/pull/34)) |
| 117 | +- refactor: drop repo-tool as an exec wrapper ([#37](https://github.com/googleapis/nodejs-resource/pull/37)) |
| 118 | +- fix: update linking for samples ([#35](https://github.com/googleapis/nodejs-resource/pull/35)) |
| 119 | +- chore: update sample lockfiles ([#36](https://github.com/googleapis/nodejs-resource/pull/36)) |
| 120 | +- chore(package): update nyc to version 12.0.2 ([#32](https://github.com/googleapis/nodejs-resource/pull/32)) |
| 121 | +- chore: lock files maintenance ([#30](https://github.com/googleapis/nodejs-resource/pull/30)) |
| 122 | +- chore: timeout for system test ([#28](https://github.com/googleapis/nodejs-resource/pull/28)) |
| 123 | +- chore: lock files maintenance ([#27](https://github.com/googleapis/nodejs-resource/pull/27)) |
| 124 | +- chore: test on node10 ([#26](https://github.com/googleapis/nodejs-resource/pull/26)) |
| 125 | +- chore: lock files maintenance ([#25](https://github.com/googleapis/nodejs-resource/pull/25)) |
| 126 | +- chore: one more workaround for repo-tools EPERM ([#23](https://github.com/googleapis/nodejs-resource/pull/23)) |
| 127 | +- chore: workaround for repo-tools EPERM ([#22](https://github.com/googleapis/nodejs-resource/pull/22)) |
| 128 | +- Update @google-cloud/common to the latest version 🚀 ([#21](https://github.com/googleapis/nodejs-resource/pull/21)) |
| 129 | +- Update google-auto-auth ([#20](https://github.com/googleapis/nodejs-resource/pull/20)) |
| 130 | +- chore: setup nighty build in CircleCI ([#19](https://github.com/googleapis/nodejs-resource/pull/19)) |
| 131 | +- Upgrade repo-tools and regenerate scaffolding. ([#16](https://github.com/googleapis/nodejs-resource/pull/16)) |
| 132 | +- Update proxyquire to the latest version 🚀 ([#15](https://github.com/googleapis/nodejs-resource/pull/15)) |
| 133 | +- chore: removing node7 job from CircleCI ([#14](https://github.com/googleapis/nodejs-resource/pull/14)) |
| 134 | + |
0 commit comments