1 | # Changelog
|
2 |
|
3 | [npm history][1]
|
4 |
|
5 | [1]: https://www.npmjs.com/package/@google-cloud/common?activeTab=versions
|
6 |
|
7 | ## [4.0.3](https://github.com/googleapis/nodejs-common/compare/v4.0.2...v4.0.3) (2022-08-23)
|
8 |
|
9 |
|
10 | ### Bug Fixes
|
11 |
|
12 | * remove pip install statements ([#1546](https://github.com/googleapis/nodejs-common/issues/1546)) ([#758](https://github.com/googleapis/nodejs-common/issues/758)) ([e619bf9](https://github.com/googleapis/nodejs-common/commit/e619bf98fa965b9aa32bde9a5ae399acac4e0708))
|
13 |
|
14 | ## [4.0.2](https://github.com/googleapis/nodejs-common/compare/v4.0.1...v4.0.2) (2022-06-21)
|
15 |
|
16 |
|
17 | ### Bug Fixes
|
18 |
|
19 | * Requests Respect `config.projectIdRequired` === `false` ([#753](https://github.com/googleapis/nodejs-common/issues/753)) ([41934ef](https://github.com/googleapis/nodejs-common/commit/41934efbbc3e2b62f97142d46ae594d243ed31b8))
|
20 |
|
21 | ## [4.0.1](https://github.com/googleapis/nodejs-common/compare/v4.0.0...v4.0.1) (2022-06-13)
|
22 |
|
23 |
|
24 | ### Bug Fixes
|
25 |
|
26 | * **deps:** update dependency @google-cloud/projectify to v3 ([#754](https://github.com/googleapis/nodejs-common/issues/754)) ([d9a74ec](https://github.com/googleapis/nodejs-common/commit/d9a74ec0cb232cdb44b36f2e4ea11c7435d28099))
|
27 |
|
28 | ## [4.0.0](https://github.com/googleapis/nodejs-common/compare/v3.10.0...v4.0.0) (2022-06-07)
|
29 |
|
30 |
|
31 | ### ⚠ BREAKING CHANGES
|
32 |
|
33 | * update library to use Node 12 (#749)
|
34 |
|
35 | ### Bug Fixes
|
36 |
|
37 | * **deps:** update dependency @google-cloud/promisify to v3 ([#746](https://github.com/googleapis/nodejs-common/issues/746)) ([8333d1d](https://github.com/googleapis/nodejs-common/commit/8333d1d4dc02a623b7dd1034e019170cfde8db3a))
|
38 | * **deps:** update dependency retry-request to v5 ([#748](https://github.com/googleapis/nodejs-common/issues/748)) ([e07fe0f](https://github.com/googleapis/nodejs-common/commit/e07fe0f711b2ba7e367879abe995dddc7a5fefa7))
|
39 | * **deps:** update dependency teeny-request to v8 ([#751](https://github.com/googleapis/nodejs-common/issues/751)) ([4317850](https://github.com/googleapis/nodejs-common/commit/4317850e1c1b6510681b567f9f2961f255134450))
|
40 |
|
41 |
|
42 | ### Build System
|
43 |
|
44 | * update library to use Node 12 ([#749](https://github.com/googleapis/nodejs-common/issues/749)) ([3d5acce](https://github.com/googleapis/nodejs-common/commit/3d5accebfd198f33fc93a7dc7e8cd2d1cb7064f5))
|
45 |
|
46 | ## [3.10.0](https://github.com/googleapis/nodejs-common/compare/v3.9.0...v3.10.0) (2022-02-22)
|
47 |
|
48 |
|
49 | ### Features
|
50 |
|
51 | * Support `AuthClient` for `authClient` ([#732](https://github.com/googleapis/nodejs-common/issues/732)) ([d4c39f3](https://github.com/googleapis/nodejs-common/commit/d4c39f385ea715c79f9bae1853748700dc96c152))
|
52 |
|
53 | ## [3.9.0](https://github.com/googleapis/nodejs-common/compare/v3.8.1...v3.9.0) (2022-01-19)
|
54 |
|
55 |
|
56 | ### Features
|
57 |
|
58 | * add optional projectId override in service object ([#722](https://github.com/googleapis/nodejs-common/issues/722)) ([4908d85](https://github.com/googleapis/nodejs-common/commit/4908d859c55a3ed40dd82849c7f2658840c920c1))
|
59 |
|
60 | ### [3.8.1](https://www.github.com/googleapis/nodejs-common/compare/v3.8.0...v3.8.1) (2021-11-03)
|
61 |
|
62 |
|
63 | ### Bug Fixes
|
64 |
|
65 | * disable retrying no response if autoRetry is set to false ([#707](https://www.github.com/googleapis/nodejs-common/issues/707)) ([150b2b0](https://www.github.com/googleapis/nodejs-common/commit/150b2b02d80dd9a3218f21d32fea2198845b8863))
|
66 |
|
67 | ## [3.8.0](https://www.github.com/googleapis/nodejs-common/compare/v3.7.3...v3.8.0) (2021-11-01)
|
68 |
|
69 |
|
70 | ### Features
|
71 |
|
72 | * Add retry support for 504 (Gateway Timeout) ([#704](https://www.github.com/googleapis/nodejs-common/issues/704)) ([5a3a96f](https://www.github.com/googleapis/nodejs-common/commit/5a3a96f5aa607e53d71e7ed9af5f26431af45679))
|
73 |
|
74 |
|
75 | ### Bug Fixes
|
76 |
|
77 | * allow authentication with custom endpoint ([#698](https://www.github.com/googleapis/nodejs-common/issues/698)) ([4c0f7ec](https://www.github.com/googleapis/nodejs-common/commit/4c0f7ec0c6ebedc34eaaab79fc053e7e889e243d))
|
78 | * update table.create to not reset id ([#700](https://www.github.com/googleapis/nodejs-common/issues/700)) ([b1ceb53](https://www.github.com/googleapis/nodejs-common/commit/b1ceb532ac7bf4852f430c83af5a71618ed42f54))
|
79 |
|
80 | ### [3.7.4](https://www.github.com/googleapis/nodejs-common/compare/v3.7.3...v3.7.4) (2021-10-06)
|
81 |
|
82 |
|
83 | ### Bug Fixes
|
84 |
|
85 | * allow authentication with custom endpoint ([#698](https://www.github.com/googleapis/nodejs-common/issues/698)) ([4c0f7ec](https://www.github.com/googleapis/nodejs-common/commit/4c0f7ec0c6ebedc34eaaab79fc053e7e889e243d))
|
86 |
|
87 | ### [3.7.3](https://www.github.com/googleapis/nodejs-common/compare/v3.7.2...v3.7.3) (2021-10-06)
|
88 |
|
89 |
|
90 | ### Bug Fixes
|
91 |
|
92 | * updated instance id to match returned metadata id ([#696](https://www.github.com/googleapis/nodejs-common/issues/696)) ([f15b02d](https://www.github.com/googleapis/nodejs-common/commit/f15b02dca69dd487df241b36a50e6a06efbfb697))
|
93 |
|
94 | ### [3.7.2](https://www.github.com/googleapis/nodejs-common/compare/v3.7.1...v3.7.2) (2021-09-03)
|
95 |
|
96 |
|
97 | ### Bug Fixes
|
98 |
|
99 | * **build:** migrate to main branch ([#689](https://www.github.com/googleapis/nodejs-common/issues/689)) ([0f4bef8](https://www.github.com/googleapis/nodejs-common/commit/0f4bef834e68032396c4b7e5dbdb71f44e8f3f95))
|
100 |
|
101 | ### [3.7.1](https://www.github.com/googleapis/nodejs-common/compare/v3.7.0...v3.7.1) (2021-08-06)
|
102 |
|
103 |
|
104 | ### Bug Fixes
|
105 |
|
106 | * correctly locate projectId from auth library ([#663](https://www.github.com/googleapis/nodejs-common/issues/663)) ([72e3168](https://www.github.com/googleapis/nodejs-common/commit/72e3168bcac1d177360257197293a566c5fb63d3))
|
107 |
|
108 | ## [3.7.0](https://www.github.com/googleapis/nodejs-common/compare/v3.6.0...v3.7.0) (2021-07-09)
|
109 |
|
110 |
|
111 | ### Features
|
112 |
|
113 | * Customize retry implementation ([#680](https://www.github.com/googleapis/nodejs-common/issues/680)) ([b529998](https://www.github.com/googleapis/nodejs-common/commit/b529998cdd1c8a7f159846f65651e2118bae5d9e))
|
114 |
|
115 | ## [3.6.0](https://www.github.com/googleapis/nodejs-common/compare/v3.5.0...v3.6.0) (2021-02-17)
|
116 |
|
117 |
|
118 | ### Features
|
119 |
|
120 | * **deps:** google-auth-library with workload identity federation ([#649](https://www.github.com/googleapis/nodejs-common/issues/649)) ([31945ac](https://www.github.com/googleapis/nodejs-common/commit/31945accc3fbfed513ab54c63038685a219429f4)), closes [#648](https://www.github.com/googleapis/nodejs-common/issues/648)
|
121 |
|
122 | ## [3.5.0](https://www.github.com/googleapis/nodejs-common/compare/v3.4.1...v3.5.0) (2020-11-11)
|
123 |
|
124 |
|
125 | ### Features
|
126 |
|
127 | * add ignoreNotFound to service-object#delete ([#634](https://www.github.com/googleapis/nodejs-common/issues/634)) ([3248e27](https://www.github.com/googleapis/nodejs-common/commit/3248e27c3776d705720f69c2dcf48d51f2cc4e5c))
|
128 |
|
129 | ### [3.4.1](https://www.github.com/googleapis/nodejs-common/compare/v3.4.0...v3.4.1) (2020-10-06)
|
130 |
|
131 |
|
132 | ### Bug Fixes
|
133 |
|
134 | * **deps:** upgrade google-auth-library ([#630](https://www.github.com/googleapis/nodejs-common/issues/630)) ([611d16b](https://www.github.com/googleapis/nodejs-common/commit/611d16ba465b53d5eeb3ad59d37a2501a77c3b87))
|
135 |
|
136 | ## [3.4.0](https://www.github.com/googleapis/nodejs-common/compare/v3.3.3...v3.4.0) (2020-09-12)
|
137 |
|
138 |
|
139 | ### Features
|
140 |
|
141 | * support user-provided auth clients ([#623](https://www.github.com/googleapis/nodejs-common/issues/623)) ([a053e40](https://www.github.com/googleapis/nodejs-common/commit/a053e40a91e647a47dc44ba47cfb86775904556d))
|
142 |
|
143 | ### [3.3.3](https://www.github.com/googleapis/nodejs-common/compare/v3.3.2...v3.3.3) (2020-08-28)
|
144 |
|
145 |
|
146 | ### Bug Fixes
|
147 |
|
148 | * move system and samples test from Node 10 to Node 12 ([#619](https://www.github.com/googleapis/nodejs-common/issues/619)) ([8dee48f](https://www.github.com/googleapis/nodejs-common/commit/8dee48f78b5f8df25ec97bd0dc2be731481bba35))
|
149 |
|
150 | ### [3.3.2](https://www.github.com/googleapis/nodejs-common/compare/v3.3.1...v3.3.2) (2020-07-09)
|
151 |
|
152 |
|
153 | ### Bug Fixes
|
154 |
|
155 | * typeo in nodejs .gitattribute ([#597](https://www.github.com/googleapis/nodejs-common/issues/597)) ([50269c2](https://www.github.com/googleapis/nodejs-common/commit/50269c23b0e22f4affbaa20d1c2c2947d824dc9e))
|
156 |
|
157 | ### [3.3.1](https://www.github.com/googleapis/nodejs-common/compare/v3.3.0...v3.3.1) (2020-07-06)
|
158 |
|
159 |
|
160 | ### Bug Fixes
|
161 |
|
162 | * allow non-JSON body ([#587](https://www.github.com/googleapis/nodejs-common/issues/587)) ([dbaad17](https://www.github.com/googleapis/nodejs-common/commit/dbaad170a2e3a6785568523086f15d88fb34eaca))
|
163 |
|
164 | ## [3.3.0](https://www.github.com/googleapis/nodejs-common/compare/v3.2.0...v3.3.0) (2020-06-29)
|
165 |
|
166 |
|
167 | ### Features
|
168 |
|
169 | * add ServiceObject#getRequestInterceptors() ([#591](https://www.github.com/googleapis/nodejs-common/issues/591)) ([ade7e50](https://www.github.com/googleapis/nodejs-common/commit/ade7e50558e87b514adf48940f6e4413b2160b37))
|
170 |
|
171 | ## [3.2.0](https://www.github.com/googleapis/nodejs-common/compare/v3.1.1...v3.2.0) (2020-06-23)
|
172 |
|
173 |
|
174 | ### Features
|
175 |
|
176 | * expose method to get request interceptors ([#589](https://www.github.com/googleapis/nodejs-common/issues/589)) ([d01507f](https://www.github.com/googleapis/nodejs-common/commit/d01507f3fae41ffdffa2056bfb1aa40d97ffb653))
|
177 |
|
178 |
|
179 | ### Bug Fixes
|
180 |
|
181 | * **deps:** update dependency teeny-request to v7 ([#581](https://www.github.com/googleapis/nodejs-common/issues/581)) ([8d12007](https://www.github.com/googleapis/nodejs-common/commit/8d12007c5b43b8b6a679b0a925c05cb665d850b7))
|
182 |
|
183 | ### [3.1.1](https://www.github.com/googleapis/nodejs-common/compare/v3.1.0...v3.1.1) (2020-05-29)
|
184 |
|
185 |
|
186 | ### Bug Fixes
|
187 |
|
188 | * allow users to set interceptors ([#579](https://www.github.com/googleapis/nodejs-common/issues/579)) ([75f0d8a](https://www.github.com/googleapis/nodejs-common/commit/75f0d8ad92702a893b614d60f36aea09fe20bb30))
|
189 |
|
190 | ## [3.1.0](https://www.github.com/googleapis/nodejs-common/compare/v3.0.0...v3.1.0) (2020-05-08)
|
191 |
|
192 |
|
193 | ### Features
|
194 |
|
195 | * **service:** add optional provided user agent ([#566](https://www.github.com/googleapis/nodejs-common/issues/566)) ([a0b814e](https://www.github.com/googleapis/nodejs-common/commit/a0b814ead58c8b255de2da8044c81d1be7b3825d))
|
196 |
|
197 |
|
198 | ### Bug Fixes
|
199 |
|
200 | * **deps:** update dependency google-auth-library to v6 ([#556](https://www.github.com/googleapis/nodejs-common/issues/556)) ([03a8a54](https://www.github.com/googleapis/nodejs-common/commit/03a8a542ac329f63776388346d1f74732b0ab984))
|
201 | * apache license URL ([#468](https://www.github.com/googleapis/nodejs-common/issues/468)) ([#564](https://www.github.com/googleapis/nodejs-common/issues/564)) ([1adc855](https://www.github.com/googleapis/nodejs-common/commit/1adc855c17091b67e7f8821e0286ce7256023040))
|
202 | * retry error code 408 ([#578](https://www.github.com/googleapis/nodejs-common/issues/578)) ([0d3239d](https://www.github.com/googleapis/nodejs-common/commit/0d3239d9eeb03bb9cb49e1107d3d6d4864ffe341))
|
203 |
|
204 | ## [3.0.0](https://www.github.com/googleapis/nodejs-common/compare/v2.4.0...v3.0.0) (2020-03-26)
|
205 |
|
206 |
|
207 | ### ⚠ BREAKING CHANGES
|
208 |
|
209 | * drop support for node.js 8 (#554)
|
210 | * remove support for custom promises (#541)
|
211 |
|
212 | ### Features
|
213 |
|
214 | * add progress events ([#540](https://www.github.com/googleapis/nodejs-common/issues/540)) ([1834059](https://www.github.com/googleapis/nodejs-common/commit/18340596ecb61018e5427371b9b5a120753ec003))
|
215 |
|
216 |
|
217 | ### Bug Fixes
|
218 |
|
219 | * remove support for custom promises ([#541](https://www.github.com/googleapis/nodejs-common/issues/541)) ([ecf1c16](https://www.github.com/googleapis/nodejs-common/commit/ecf1c167927b609f13dc4fbec1954ff3a2765344))
|
220 | * **deps:** update dependency @google-cloud/projectify to v2 ([#553](https://www.github.com/googleapis/nodejs-common/issues/553)) ([23030a2](https://www.github.com/googleapis/nodejs-common/commit/23030a25783cd091f4720c25a15416c91e7bd0a0))
|
221 | * **deps:** update dependency @google-cloud/promisify to v2 ([#552](https://www.github.com/googleapis/nodejs-common/issues/552)) ([63175e0](https://www.github.com/googleapis/nodejs-common/commit/63175e0c4504020466a95e92c2449bdb8ac47546))
|
222 |
|
223 |
|
224 | ### Miscellaneous Chores
|
225 |
|
226 | * drop support for node.js 8 ([#554](https://www.github.com/googleapis/nodejs-common/issues/554)) ([9f41047](https://www.github.com/googleapis/nodejs-common/commit/9f410477432893f68e57b5eeb31a068a3d8ef52f))
|
227 |
|
228 | ## [2.4.0](https://www.github.com/googleapis/nodejs-common/compare/v2.3.0...v2.4.0) (2020-02-25)
|
229 |
|
230 |
|
231 | ### Features
|
232 |
|
233 | * if we see EAI_AGAIN error for reason, retry request ([#534](https://www.github.com/googleapis/nodejs-common/issues/534)) ([0debe28](https://www.github.com/googleapis/nodejs-common/commit/0debe28b77d77bf9382e74dc4c11744fb433db6d)), closes [#473](https://www.github.com/googleapis/nodejs-common/issues/473)
|
234 |
|
235 | ## [2.3.0](https://www.github.com/googleapis/nodejs-common/compare/v2.2.6...v2.3.0) (2020-01-23)
|
236 |
|
237 |
|
238 | ### Features
|
239 |
|
240 | * allow poll interval to be configured ([#520](https://www.github.com/googleapis/nodejs-common/issues/520)) ([abfbd18](https://www.github.com/googleapis/nodejs-common/commit/abfbd189b5769c8dccd482e3c7369711c27b9895))
|
241 |
|
242 | ### [2.2.6](https://www.github.com/googleapis/nodejs-common/compare/v2.2.5...v2.2.6) (2020-01-17)
|
243 |
|
244 |
|
245 | ### Bug Fixes
|
246 |
|
247 | * **deps:** update dependency teeny-request to v6 ([#517](https://www.github.com/googleapis/nodejs-common/issues/517)) ([f190f7c](https://www.github.com/googleapis/nodejs-common/commit/f190f7ce054e6e25dedfa6b71eb161b0fef52335))
|
248 |
|
249 | ### [2.2.5](https://www.github.com/googleapis/nodejs-common/compare/v2.2.4...v2.2.5) (2019-12-05)
|
250 |
|
251 |
|
252 | ### Bug Fixes
|
253 |
|
254 | * **deps:** pin TypeScript below 3.7.0 ([e78bd5f](https://www.github.com/googleapis/nodejs-common/commit/e78bd5fafb9e864872e5def4ec71bf5d04acdb19))
|
255 |
|
256 | ### [2.2.4](https://www.github.com/googleapis/nodejs-common/compare/v2.2.3...v2.2.4) (2019-11-13)
|
257 |
|
258 |
|
259 | ### Bug Fixes
|
260 |
|
261 | * **docs:** add jsdoc-region-tag plugin ([#500](https://www.github.com/googleapis/nodejs-common/issues/500)) ([e1111d0](https://www.github.com/googleapis/nodejs-common/commit/e1111d0ef643c49d6c8f460be89f100d8826aca1))
|
262 |
|
263 | ### [2.2.3](https://www.github.com/googleapis/nodejs-common/compare/v2.2.2...v2.2.3) (2019-10-18)
|
264 |
|
265 |
|
266 | ### Bug Fixes
|
267 |
|
268 | * **deps:** force newer auth library with various fixes ([#495](https://www.github.com/googleapis/nodejs-common/issues/495)) ([a9c6e43](https://www.github.com/googleapis/nodejs-common/commit/a9c6e4384ddd386955fde4eb52561fc47840e8f3))
|
269 |
|
270 | ### [2.2.2](https://www.github.com/googleapis/nodejs-common/compare/v2.2.1...v2.2.2) (2019-09-18)
|
271 |
|
272 |
|
273 | ### Bug Fixes
|
274 |
|
275 | * capture message in ApiError.stack ([#466](https://www.github.com/googleapis/nodejs-common/issues/466)) ([811c7cd](https://www.github.com/googleapis/nodejs-common/commit/811c7cd))
|
276 |
|
277 | ### [2.2.1](https://www.github.com/googleapis/nodejs-common/compare/v2.2.0...v2.2.1) (2019-09-12)
|
278 |
|
279 |
|
280 | ### Bug Fixes
|
281 |
|
282 | * do not block API 401 errors when auth was provided ([#482](https://www.github.com/googleapis/nodejs-common/issues/482)) ([1b617e6](https://www.github.com/googleapis/nodejs-common/commit/1b617e6))
|
283 |
|
284 | ## [2.2.0](https://www.github.com/googleapis/nodejs-common/compare/v2.1.2...v2.2.0) (2019-09-11)
|
285 |
|
286 |
|
287 | ### Bug Fixes
|
288 |
|
289 | * **docs:** remove anchor from reference doc link ([#474](https://www.github.com/googleapis/nodejs-common/issues/474)) ([81ebc1f](https://www.github.com/googleapis/nodejs-common/commit/81ebc1f))
|
290 |
|
291 |
|
292 | ### Features
|
293 |
|
294 | * return more helpful error when authentication fails ([#480](https://www.github.com/googleapis/nodejs-common/issues/480)) ([98d2b7f](https://www.github.com/googleapis/nodejs-common/commit/98d2b7f))
|
295 |
|
296 | ### [2.1.2](https://www.github.com/googleapis/nodejs-common/compare/v2.1.1...v2.1.2) (2019-08-14)
|
297 |
|
298 |
|
299 | ### Bug Fixes
|
300 |
|
301 | * **types:** correct internal timeout field type ([#470](https://www.github.com/googleapis/nodejs-common/issues/470)) ([e7dd206](https://www.github.com/googleapis/nodejs-common/commit/e7dd206))
|
302 | * upgrade to version of teeny-request with looser types for method ([#472](https://www.github.com/googleapis/nodejs-common/issues/472)) ([143774c](https://www.github.com/googleapis/nodejs-common/commit/143774c))
|
303 |
|
304 | ### [2.1.1](https://www.github.com/googleapis/nodejs-common/compare/v2.1.0...v2.1.1) (2019-08-13)
|
305 |
|
306 |
|
307 | ### Bug Fixes
|
308 |
|
309 | * **deps:** teeny-request@5.2.0 with fixes for http ([#467](https://www.github.com/googleapis/nodejs-common/issues/467)) ([e11d46c](https://www.github.com/googleapis/nodejs-common/commit/e11d46c))
|
310 |
|
311 | ## [2.1.0](https://www.github.com/googleapis/nodejs-common/compare/v2.0.5...v2.1.0) (2019-08-05)
|
312 |
|
313 |
|
314 | ### Bug Fixes
|
315 |
|
316 | * **deps:** upgrade to the latest version of teeny-request ([#448](https://www.github.com/googleapis/nodejs-common/issues/448)) ([bb76f07](https://www.github.com/googleapis/nodejs-common/commit/bb76f07))
|
317 |
|
318 |
|
319 | ### Features
|
320 |
|
321 | * adds timeout to options and use it in reqOpts ([#455](https://www.github.com/googleapis/nodejs-common/issues/455)) ([90a6097](https://www.github.com/googleapis/nodejs-common/commit/90a6097))
|
322 |
|
323 | ### [2.0.5](https://www.github.com/googleapis/nodejs-common/compare/v2.0.4...v2.0.5) (2019-07-29)
|
324 |
|
325 |
|
326 | ### Bug Fixes
|
327 |
|
328 | * **deps:** update dependency google-auth-library to v5 ([#453](https://www.github.com/googleapis/nodejs-common/issues/453)) ([755635c](https://www.github.com/googleapis/nodejs-common/commit/755635c))
|
329 |
|
330 | ### [2.0.4](https://www.github.com/googleapis/nodejs-common/compare/v2.0.3...v2.0.4) (2019-07-11)
|
331 |
|
332 |
|
333 | ### Bug Fixes
|
334 |
|
335 | * allow methodConfig to override request method and uri ([#451](https://www.github.com/googleapis/nodejs-common/issues/451)) ([8c2f903](https://www.github.com/googleapis/nodejs-common/commit/8c2f903))
|
336 |
|
337 | ### [2.0.3](https://www.github.com/googleapis/nodejs-common/compare/v2.0.2...v2.0.3) (2019-06-26)
|
338 |
|
339 |
|
340 | ### Bug Fixes
|
341 |
|
342 | * **docs:** link to reference docs section on googleapis.dev ([#443](https://www.github.com/googleapis/nodejs-common/issues/443)) ([11ccb28](https://www.github.com/googleapis/nodejs-common/commit/11ccb28))
|
343 |
|
344 | ### [2.0.2](https://www.github.com/googleapis/nodejs-common/compare/v2.0.1...v2.0.2) (2019-06-14)
|
345 |
|
346 |
|
347 | ### Bug Fixes
|
348 |
|
349 | * **docs:** move to new client docs URL ([#438](https://www.github.com/googleapis/nodejs-common/issues/438)) ([1a52715](https://www.github.com/googleapis/nodejs-common/commit/1a52715))
|
350 |
|
351 | ### [2.0.1](https://www.github.com/googleapis/nodejs-common/compare/v2.0.0...v2.0.1) (2019-06-11)
|
352 |
|
353 |
|
354 | ### Bug Fixes
|
355 |
|
356 | * **deps:** teeny-request was retrying some requests in error ([#436](https://www.github.com/googleapis/nodejs-common/issues/436)) ([00a8ba2](https://www.github.com/googleapis/nodejs-common/commit/00a8ba2))
|
357 |
|
358 | ## [2.0.0](https://www.github.com/googleapis/nodejs-common/compare/v1.0.0...v2.0.0) (2019-05-23)
|
359 |
|
360 |
|
361 | ### ⚠ BREAKING CHANGES
|
362 |
|
363 | * This adds the apiEndpoint property as a required field for the ServiceConfig, and makes it a public property on the Service class. This is being added to broadly support apiEndpoint overrides.
|
364 |
|
365 | ### Features
|
366 |
|
367 | * add apiEndpoint property to service config ([#427](https://www.github.com/googleapis/nodejs-common/issues/427)) ([c063df8](https://www.github.com/googleapis/nodejs-common/commit/c063df8)), closes [googleapis/nodejs-bigquery#455](https://www.github.com/googleapis/nodejs-common/issues/455)
|
368 |
|
369 | ## [1.0.0](https://www.github.com/googleapis/nodejs-common/compare/v0.32.1...v1.0.0) (2019-05-09)
|
370 |
|
371 |
|
372 | ### Bug Fixes
|
373 |
|
374 | * **deps:** update dependency @google-cloud/projectify to v1 ([#414](https://www.github.com/googleapis/nodejs-common/issues/414)) ([6cdc2fe](https://www.github.com/googleapis/nodejs-common/commit/6cdc2fe))
|
375 | * **deps:** update dependency @google-cloud/promisify to v1 ([#415](https://www.github.com/googleapis/nodejs-common/issues/415)) ([00c422a](https://www.github.com/googleapis/nodejs-common/commit/00c422a))
|
376 | * **deps:** update dependency google-auth-library to v4 ([#422](https://www.github.com/googleapis/nodejs-common/issues/422)) ([e0a94af](https://www.github.com/googleapis/nodejs-common/commit/e0a94af))
|
377 |
|
378 |
|
379 | ### Build System
|
380 |
|
381 | * upgrade engines field to >=8.10.0 ([#412](https://www.github.com/googleapis/nodejs-common/issues/412)) ([4349d68](https://www.github.com/googleapis/nodejs-common/commit/4349d68))
|
382 |
|
383 |
|
384 | ### Miscellaneous Chores
|
385 |
|
386 | * **deps:** update dependency gts to v1 ([#407](https://www.github.com/googleapis/nodejs-common/issues/407)) ([8e73d8c](https://www.github.com/googleapis/nodejs-common/commit/8e73d8c))
|
387 |
|
388 |
|
389 | ### BREAKING CHANGES
|
390 |
|
391 | * **deps:** this will ship async/await in the generated code
|
392 | * upgrade engines field to >=8.10.0 (#412)
|
393 |
|
394 | ## v0.32.1
|
395 |
|
396 | 04-08-2019 10:53 PDT
|
397 |
|
398 | ### Dependencies
|
399 |
|
400 | - fix: teeny-request should be dependency
|
401 | - fix(deps): update dependency arrify to v2 ([#404](https://github.com/googleapis/nodejs-common/pull/404))
|
402 | - chore: unpin @types/node ([#402](https://github.com/googleapis/nodejs-common/pull/402))
|
403 |
|
404 | ## v0.32.0
|
405 |
|
406 | 04-02-2019 15:11 PDT
|
407 |
|
408 | **BREAKING CHANGE**: This PR removes the ability to configure a custom implementation of the Request module. This was necessary when we were migrating from request to teeny-request, but that migration is now complete. All interfaces at accepted a custom implementation of request will no longer accept one. teeny-request is now just included in the box.
|
409 |
|
410 | ## Bug Fixes
|
411 |
|
412 | - fix: @types/node@11.13.0 breaks paginate/promisifyAll ([#397](https://github.com/googleapis/nodejs-common/pull/397))
|
413 | - fix(ts): do not ship @types/duplexify ([#393](https://github.com/googleapis/nodejs-common/pull/393))
|
414 | - fix(deps): bump the min version required for all deps
|
415 |
|
416 | ### Implementation Changes
|
417 |
|
418 | - refactor: remove configurable request ([#394](https://github.com/googleapis/nodejs-common/pull/394))
|
419 |
|
420 | ### Dependencies
|
421 |
|
422 | - chore(deps): update dependency @types/tmp to v0.1.0
|
423 | - chore(deps): update dependency typescript to ~3.4.0
|
424 | - chore(deps): update dependency tmp to v0.1.0 ([#390](https://github.com/googleapis/nodejs-common/pull/390))
|
425 |
|
426 | ### Internal / Testing Changes
|
427 |
|
428 | - build: use per-repo publish token ([#384](https://github.com/googleapis/nodejs-common/pull/384))
|
429 |
|
430 | ## v0.31.1
|
431 |
|
432 | 03-13-2019 16:25 PDT
|
433 |
|
434 | ### Bug Fixes
|
435 | - fix(autoCreate): leave user options intact ([#378](https://github.com/googleapis/nodejs-common/pull/378))
|
436 |
|
437 | ### Dependencies
|
438 | - fix(deps): update dependency @google-cloud/promisify to ^0.4.0 ([#374](https://github.com/googleapis/nodejs-common/pull/374))
|
439 |
|
440 | ### Documentation
|
441 | - docs: update links in contrib guide ([#375](https://github.com/googleapis/nodejs-common/pull/375))
|
442 | - docs: update contributing path in README ([#369](https://github.com/googleapis/nodejs-common/pull/369))
|
443 | - docs: move CONTRIBUTING.md to root ([#368](https://github.com/googleapis/nodejs-common/pull/368))
|
444 |
|
445 | ### Internal / Testing Changes
|
446 | - build: Add docuploader credentials to node publish jobs ([#381](https://github.com/googleapis/nodejs-common/pull/381))
|
447 | - build: use node10 to run samples-test, system-test etc ([#380](https://github.com/googleapis/nodejs-common/pull/380))
|
448 | - build: update release configuration
|
449 | - chore(deps): update dependency mocha to v6
|
450 | - test: do not depend on request ([#376](https://github.com/googleapis/nodejs-common/pull/376))
|
451 | - build: use linkinator for docs test ([#372](https://github.com/googleapis/nodejs-common/pull/372))
|
452 | - chore(deps): update dependency @types/tmp to v0.0.34 ([#373](https://github.com/googleapis/nodejs-common/pull/373))
|
453 | - build: create docs test npm scripts ([#371](https://github.com/googleapis/nodejs-common/pull/371))
|
454 | - build: test using @grpc/grpc-js in CI ([#370](https://github.com/googleapis/nodejs-common/pull/370))
|
455 | - refactor: change error message format to multiline ([#362](https://github.com/googleapis/nodejs-common/pull/362))
|
456 |
|
457 | ## v0.31.0
|
458 |
|
459 | 02-05-2019 16:37 PST
|
460 |
|
461 | ### New Features
|
462 |
|
463 | - fix: remove timeout rule from streaming uploads ([#365](https://github.com/googleapis/nodejs-common/pull/365))
|
464 |
|
465 | ### Dependencies
|
466 |
|
467 | - deps: update typescript to v3.3.0 ([#358](https://github.com/googleapis/nodejs-common/pull/358))
|
468 |
|
469 | ### Documentation
|
470 |
|
471 | - docs: add lint/fix example to contributing guide ([#364](https://github.com/googleapis/nodejs-common/pull/364))
|
472 |
|
473 | ## v0.30.2
|
474 |
|
475 | 01-25-2019 12:06 PST
|
476 |
|
477 | ### New Features
|
478 | - fix: clone default request configuration object ([#356](https://github.com/googleapis/nodejs-common/pull/356))
|
479 |
|
480 | ## v0.30.1
|
481 |
|
482 | 01-25-2019 11:06 PST
|
483 |
|
484 | ### New Features
|
485 |
|
486 | - fix: favor user options over defaults ([#353](https://github.com/googleapis/nodejs-common/pull/353))
|
487 |
|
488 | ### Documentation
|
489 |
|
490 | - build: ignore googleapis.com in doc link check ([#351](https://github.com/googleapis/nodejs-common/pull/351))
|
491 |
|
492 | ### Internal / Testing Changes
|
493 |
|
494 | - add tests ([#352](https://github.com/googleapis/nodejs-common/pull/352))
|
495 |
|
496 | ## v0.30.0
|
497 |
|
498 | 01-23-2019 06:21 PST
|
499 |
|
500 | ### New Features
|
501 |
|
502 | - fix: inherit requestModule from parent ([#344](https://github.com/googleapis/nodejs-common/pull/344))
|
503 | - feat: allow options to ServiceObject methods ([#349](https://github.com/googleapis/nodejs-common/pull/349))
|
504 |
|
505 | ### Dependencies
|
506 |
|
507 | - chore(deps): update dependency google-auth-library to v3.0.0 ([#348](https://github.com/googleapis/nodejs-common/pull/348))
|
508 | - chore(deps): update dependency @types/sinon to v7.0.3 ([#346](https://github.com/googleapis/nodejs-common/pull/346))
|
509 | - chore(deps): update dependency @types/sinon to v7.0.2 ([#343](https://github.com/googleapis/nodejs-common/pull/343))
|
510 |
|
511 | ### Internal / Testing Changes
|
512 |
|
513 | - build: check for 404s in the docs ([#347](https://github.com/googleapis/nodejs-common/pull/347))
|
514 |
|
515 | ## v0.29.1
|
516 |
|
517 | 12-19-2018 20:57 PST
|
518 |
|
519 | ### Bug fixes
|
520 | - fix: bind to this instead of true ([#341](https://github.com/googleapis/nodejs-common/pull/341))
|
521 |
|
522 | ## v0.29.0
|
523 |
|
524 | 12-19-2018 13:11 PST
|
525 |
|
526 | - fix: use request_ for service-object ([#337](https://github.com/googleapis/nodejs-common/pull/337))
|
527 |
|
528 | ## v0.28.0
|
529 |
|
530 | 12-13-2018 14:34 PST
|
531 |
|
532 | **This release has breaking changes**. The signature of the protected `request` method on `ServiceObject` has been changed. The method now resolves with an array of `[Body, Response]`, making it consistent with all other promisified methods. This change was made to fix several breaking changes that occurred in the `0.18.0` release.
|
533 |
|
534 | ### New Features
|
535 | - feat: allow passing GoogleAuth client to Service ([#314](https://github.com/googleapis/nodejs-common/pull/314))
|
536 | - feat: add maybeOptionsOrCallback util method ([#315](https://github.com/googleapis/nodejs-common/pull/315))
|
537 |
|
538 | ### Bug Fixes
|
539 | - fix: revert async behavior of request ([#331](https://github.com/googleapis/nodejs-common/pull/331))
|
540 |
|
541 | ### Documentation
|
542 | - docs: update readme badges ([#316](https://github.com/googleapis/nodejs-common/pull/316))
|
543 |
|
544 | ### Internal / Testing Changes
|
545 | - chore(deps): update dependency @types/sinon to v7 ([#332](https://github.com/googleapis/nodejs-common/pull/332))
|
546 | - chore(build): inject yoshi automation key ([#330](https://github.com/googleapis/nodejs-common/pull/330))
|
547 | - chore: update nyc and eslint configs ([#329](https://github.com/googleapis/nodejs-common/pull/329))
|
548 | - chore: fix publish.sh permission +x ([#327](https://github.com/googleapis/nodejs-common/pull/327))
|
549 | - fix(build): fix Kokoro release script ([#326](https://github.com/googleapis/nodejs-common/pull/326))
|
550 | - build: add Kokoro configs for autorelease ([#325](https://github.com/googleapis/nodejs-common/pull/325))
|
551 | - chore: always nyc report before calling codecov ([#322](https://github.com/googleapis/nodejs-common/pull/322))
|
552 | - chore: nyc ignore build/test by default ([#321](https://github.com/googleapis/nodejs-common/pull/321))
|
553 | - chore(build): update the prettier config ([#319](https://github.com/googleapis/nodejs-common/pull/319))
|
554 | - chore: update license file ([#318](https://github.com/googleapis/nodejs-common/pull/318))
|
555 | - fix(build): fix system key decryption ([#313](https://github.com/googleapis/nodejs-common/pull/313))
|
556 | - chore(deps): update dependency @types/sinon to v5.0.7 ([#308](https://github.com/googleapis/nodejs-common/pull/308))
|
557 | - chore(deps): update dependency typescript to ~3.2.0 ([#312](https://github.com/googleapis/nodejs-common/pull/312))
|
558 |
|
559 | ## v0.27.0
|
560 |
|
561 | 11-26-2018 12:26 PST
|
562 |
|
563 | **BREAKING CHANGE**: The `ServiceObject` class now has stricter TypeScript types for property names. This will have no runtime impact, but may cause TypeScript compilation errors until the issues are addressed.
|
564 |
|
565 | ### Fixes
|
566 | - fix: improve types for service object ([#310](https://github.com/googleapis/nodejs-common/pull/310))
|
567 | - refactor: drop through2, mv, and a few others ([#306](https://github.com/googleapis/nodejs-common/pull/306))
|
568 |
|
569 | ### Internal / Testing Changes
|
570 | - chore: add a synth.metadata
|
571 | - fix: Pin @types/sinon to last compatible version ([#307](https://github.com/googleapis/nodejs-common/pull/307))
|
572 |
|
573 | ## v0.26.2
|
574 |
|
575 | This patch release also brings in a patch dependency update of @google-cloud/projectify which contains a fix for OOM issue.
|
576 |
|
577 | ### Implementation Changes
|
578 | - ts: genericize CreateOptions in ServiceObject ([#275](https://github.com/googleapis/nodejs-common/pull/275))
|
579 |
|
580 | ### Dependencies
|
581 | - chore(deps): upgrade @google-cloud/projectify to v0.3.2 ([#301](https://github.com/googleapis/nodejs-common/pull/301))
|
582 | - chore(deps): update dependency gts to ^0.9.0 ([#300](https://github.com/googleapis/nodejs-common/pull/300))
|
583 | - chore(deps): update dependency @google-cloud/nodejs-repo-tools to v3 ([#298](https://github.com/googleapis/nodejs-common/pull/298))
|
584 | - fix(deps): update dependency through2 to v3 ([#295](https://github.com/googleapis/nodejs-common/pull/295))
|
585 |
|
586 | ### Internal / Testing Changes
|
587 | - chore: update eslintignore config ([#299](https://github.com/googleapis/nodejs-common/pull/299))
|
588 | - chore: drop contributors from multiple places ([#297](https://github.com/googleapis/nodejs-common/pull/297))
|
589 | - chore: use latest npm on Windows ([#296](https://github.com/googleapis/nodejs-common/pull/296))
|
590 | - chore: update CircleCI config ([#294](https://github.com/googleapis/nodejs-common/pull/294))
|
591 |
|
592 | ## v0.26.1
|
593 |
|
594 | ### Dependencies
|
595 | - chore(deps): upgrade @google-cloud/projectify to ^0.3.1 ([#289](https://github.com/googleapis/nodejs-common/pull/289))
|
596 |
|
597 | ### Internal / Testing Changes
|
598 | - chore: include build in eslintignore ([#288](https://github.com/googleapis/nodejs-common/pull/288))
|
599 | - chore: update issue templates ([#284](https://github.com/googleapis/nodejs-common/pull/284))
|
600 | - chore: remove old issue template ([#282](https://github.com/googleapis/nodejs-common/pull/282))
|
601 | - build: run tests on node11 ([#280](https://github.com/googleapis/nodejs-common/pull/280))
|
602 |
|
603 | ## v0.26.0
|
604 |
|
605 | ### Implementation Changes
|
606 | - fix(typescript): Make ResponseCallback match subtype ([#271](https://github.com/googleapis/nodejs-common/pull/271))
|
607 | - fix: Do not retry streaming POST requests. ([#268](https://github.com/googleapis/nodejs-common/pull/268))
|
608 | - Don't publish sourcemaps ([#256](https://github.com/googleapis/nodejs-common/pull/256))
|
609 |
|
610 | ### Dependencies
|
611 | - chore: Remove 'is' dependency ([#270](https://github.com/googleapis/nodejs-common/pull/270))
|
612 | - chore(deps): update dependency sinon to v7 ([#267](https://github.com/googleapis/nodejs-common/pull/267))
|
613 | - chore(deps): update dependency typescript to ~3.1.0 ([#259](https://github.com/googleapis/nodejs-common/pull/259))
|
614 |
|
615 | ### Internal / Testing Changes
|
616 | - chores(build): run codecov on continuous builds ([#276](https://github.com/googleapis/nodejs-common/pull/276))
|
617 | - chore: update new issue template ([#274](https://github.com/googleapis/nodejs-common/pull/274))
|
618 | - chore: re-enable codecov ([#266](https://github.com/googleapis/nodejs-common/pull/266))
|
619 | - test: move install to system tests, and other tsconfig cleanup ([#269](https://github.com/googleapis/nodejs-common/pull/269))
|
620 | - Update kokoro config ([#264](https://github.com/googleapis/nodejs-common/pull/264))
|
621 | - docs: Remove appveyor badge from readme ([#262](https://github.com/googleapis/nodejs-common/pull/262))
|
622 | - Update CI config ([#258](https://github.com/googleapis/nodejs-common/pull/258))
|
623 | - build: prevent system/sample-test from leaking credentials
|
624 | - Update the kokoro config ([#254](https://github.com/googleapis/nodejs-common/pull/254))
|
625 | - test: remove appveyor config ([#253](https://github.com/googleapis/nodejs-common/pull/253))
|
626 | - Update CI config ([#252](https://github.com/googleapis/nodejs-common/pull/252))
|
627 |
|
628 | ## v0.25.3
|
629 |
|
630 | ### Bug fixes
|
631 | - fix(types): improve TypeScript types ([#248](https://github.com/googleapis/nodejs-common/pull/248))
|
632 |
|
633 | ## v0.25.2
|
634 |
|
635 | ### Bug fixes
|
636 | - fix(service): Use getProjectId instead of getDefaultProjectId ([#246](https://github.com/googleapis/nodejs-common/pull/246))
|
637 |
|
638 | ## v0.25.1
|
639 |
|
640 | ### Implementation Changes
|
641 | - Improve TypeScript types for async operations ([#241](https://github.com/googleapis/nodejs-common/pull/241))
|
642 | - Enhance typing of ServiceObject.prototype.get ([#239](https://github.com/googleapis/nodejs-common/pull/239))
|
643 | - Fix TypeScript setMetadata return type ([#240](https://github.com/googleapis/nodejs-common/pull/240))
|
644 | - Enable no-var in eslint ([#238](https://github.com/googleapis/nodejs-common/pull/238))
|
645 |
|
646 | ## v0.25.0
|
647 |
|
648 | ### Implementation Changes
|
649 | Some types improvements.
|
650 | - Improve types for SO.getMetadata, setMetadata ([#235](https://github.com/googleapis/nodejs-common/pull/235))
|
651 | - Expose the parent property on service-object ([#233](https://github.com/googleapis/nodejs-common/pull/233))
|
652 |
|
653 | ### Internal / Testing Changes
|
654 | - Update CI config ([#232](https://github.com/googleapis/nodejs-common/pull/232))
|
655 |
|
656 | ## v0.24.0
|
657 |
|
658 | **BREAKING CHANGES**: This release includes an update to `google-auth-library` [2.0](https://github.com/google/google-auth-library-nodejs/releases/tag/v2.0.0), which has a variety of breaking changes.
|
659 |
|
660 | ### Bug fixes
|
661 | - fix: set default once (#226)
|
662 | - fix: export DecorateRequestOptions and BodyResponseCallback (#225)
|
663 | - fix: fix the types (#221)
|
664 |
|
665 | ### Dependencies
|
666 | - fix(deps): update dependency google-auth-library to v2 (#224)
|
667 | - chore(deps): update dependency nyc to v13 (#223)
|
668 |
|
669 | ## v0.23.0
|
670 |
|
671 | ### Fixes
|
672 | - fix: move repo-tools to dev dependencies (#218)
|
673 |
|
674 | ### Features
|
675 | - feat: make HTTP dependency configurable (#210)
|
676 |
|
677 | ### Keepin the lights on
|
678 | - chore: run repo-tools (#219)
|
679 |
|
680 | ## v0.22.0
|
681 |
|
682 | ### Commits
|
683 |
|
684 | - fix: Remove old code & replace project ID token in multipart arrays. (#215)
|
685 | - allow ServiceObject`s parent to be an ServiceObject (#212)
|
686 | - fix: increase timeout for install test (#214)
|
687 | - chore: remove dead code and packages (#209)
|
688 | - fix(deps): update dependency pify to v4 (#208)
|
689 |
|
690 | ## v0.21.1
|
691 |
|
692 | ### Bug fixes
|
693 | - fix: method metadata can be a boolean (#206)
|
694 |
|
695 | ### Build and Test
|
696 | - test: throw on deprecation (#198)
|
697 | - chore(deps): update dependency typescript to v3 (#197)
|
698 | - chore: ignore package-lock.json (#205)
|
699 |
|
700 | ## v0.21.0
|
701 |
|
702 | **This release has breaking changes**.
|
703 |
|
704 | #### Node.js support
|
705 | Versions 4.x and 9.x of node.js are no longer supported. Please upgrade to node.js 8.x or 10.x.
|
706 |
|
707 | #### New npm modules
|
708 | The support for pagination, promisification, and project Id replacement have been moved into their own npm modules. You can find them at:
|
709 | - [@google-cloud/projectify](https://github.com/googleapis/nodejs-projectify)
|
710 | - [@google-cloud/promisify](https://github.com/googleapis/nodejs-promisify)
|
711 | - [@google-cloud/paginator](https://github.com/googleapis/nodejs-paginator)
|
712 |
|
713 | These methods have been removed from `@google-cloud/common`.
|
714 |
|
715 | ### Breaking Changes
|
716 | - fix: drop support for node.js 4.x and 9.x (#190)
|
717 | - chore: cut out code split into other modules (#194)
|
718 |
|
719 | ### Implementation Changes
|
720 | - fix: make ServiceObject#id protected to allow subclass access (#200)
|
721 |
|
722 | ### Internal / Testing Changes
|
723 | - chore(deps): update dependency gts to ^0.8.0 (#192)
|
724 | - chore: update renovate config (#202)
|
725 | - refactor: remove circular imports (#201)
|
726 | - fix: special JSON.stringify for for strictEqual test (#199)
|
727 | - chore: assert.deelEqual => assert.deepStrictEqual (#196)
|
728 | - chore: move mocha options to mocha.opts (#195)
|
729 | - Update config.yml (#191)
|