blob: 52ff3474408ac077e3c41f2a99b7e628de4f3d29 [file] [log] [blame] [view]
release-please[bot]df4aa2b2020-04-20 14:32:47 -07001# Changelog
2
release-please[bot]b9f1d0b2021-03-04 17:34:11 +00003### [2.0.2](https://www.github.com/googleapis/google-api-python-client/compare/v2.0.1...v2.0.2) (2021-03-04)
4
5
6### Bug Fixes
7
8* Include discovery artifacts in published package ([#1221](https://www.github.com/googleapis/google-api-python-client/issues/1221)) ([ad618d0](https://www.github.com/googleapis/google-api-python-client/commit/ad618d0b266b86a795871d946367552905f4ccb6))
9
release-please[bot]401c05e2021-03-04 12:18:15 +000010### [2.0.1](https://www.github.com/googleapis/google-api-python-client/compare/v2.0.0...v2.0.1) (2021-03-04)
11
12
13### Bug Fixes
14
15* add static discovery docs ([#1216](https://www.github.com/googleapis/google-api-python-client/issues/1216)) ([b5d33d6](https://www.github.com/googleapis/google-api-python-client/commit/b5d33d6d520ca9589eefd08d34fe96844f420bce))
16
17
18### Documentation
19
20* add a link to the migration guide in the changelog ([#1213](https://www.github.com/googleapis/google-api-python-client/issues/1213)) ([b85da5b](https://www.github.com/googleapis/google-api-python-client/commit/b85da5bb7d6d6da60ff611221d3c4719eadb478a))
21
release-please[bot]a9c7ddc2021-03-03 21:52:06 +000022## [2.0.0](https://www.github.com/googleapis/google-api-python-client/compare/v1.12.8...v2.0.0) (2021-03-03)
23
24
25### ⚠ BREAKING CHANGES
26
Bu Sun Kimb85da5b2021-03-03 18:14:04 -070027The 2.0 release of `google-api-python-client` is a significant upgrade compared to v1. Please see the [Migration Guide](UPGRADING.md) for more information.
28
29* **deps:** require 3.6+. (#961)
release-please[bot]a9c7ddc2021-03-03 21:52:06 +000030
31### Features
32
33* Add support for using static discovery documents ([#1109](https://www.github.com/googleapis/google-api-python-client/issues/1109)) ([32d1c59](https://www.github.com/googleapis/google-api-python-client/commit/32d1c597b364e2641eca33ccf6df802bb218eea1))
34* Update synth.py to copy discovery files from discovery-artifact-manager ([#1104](https://www.github.com/googleapis/google-api-python-client/issues/1104)) ([af918e8](https://www.github.com/googleapis/google-api-python-client/commit/af918e8ef422438aaca0c468de8b3b2c184d884e))
35
36
37### Bug Fixes
38
39* Catch ECONNRESET and other errors more reliably ([#1147](https://www.github.com/googleapis/google-api-python-client/issues/1147)) ([ae9cd99](https://www.github.com/googleapis/google-api-python-client/commit/ae9cd99134160a5540e6f8d6d33d855122854e10))
40* **deps:** add upper-bound google-auth dependency ([#1180](https://www.github.com/googleapis/google-api-python-client/issues/1180)) ([c687f42](https://www.github.com/googleapis/google-api-python-client/commit/c687f4207b9c574e539a7eab75201a58f2e91f35))
41* handle error on service not enabled ([#1117](https://www.github.com/googleapis/google-api-python-client/issues/1117)) ([c691283](https://www.github.com/googleapis/google-api-python-client/commit/c6912836e88eea45aef7d515383e549082d37717))
42* Improve support for error_details ([#1126](https://www.github.com/googleapis/google-api-python-client/issues/1126)) ([e6a1da3](https://www.github.com/googleapis/google-api-python-client/commit/e6a1da3542e230e5287863f339ce1d28292cd92f))
43* MediaFileUpload error if file does not exist ([#1127](https://www.github.com/googleapis/google-api-python-client/issues/1127)) ([2c6d029](https://www.github.com/googleapis/google-api-python-client/commit/2c6d0297851c806ef850ca23686c51ca5878ac48))
44* replace deprecated socket.error with OSError ([#1161](https://www.github.com/googleapis/google-api-python-client/issues/1161)) ([b7b9986](https://www.github.com/googleapis/google-api-python-client/commit/b7b9986fe13c483eeefb77673b4091911978ee46))
45* Use logging level info when file_cache is not available ([#1125](https://www.github.com/googleapis/google-api-python-client/issues/1125)) ([0b32e69](https://www.github.com/googleapis/google-api-python-client/commit/0b32e69900eafec2cd1197ba054d4f9a765a3f29))
46
47
48### Miscellaneous Chores
49
50* **deps:** require 3.6+ ([#961](https://www.github.com/googleapis/google-api-python-client/issues/961)) ([8325d24](https://www.github.com/googleapis/google-api-python-client/commit/8325d24acaa2b2077acaaea26ea5fafb6dd856c5))
51
52
53### Documentation
54
55* add networkconnectivity v1alpha1 ([#1176](https://www.github.com/googleapis/google-api-python-client/issues/1176)) ([91b61d3](https://www.github.com/googleapis/google-api-python-client/commit/91b61d3272de9b5aebad0cf1eb76ca53c24f22f9))
56* Delete redundant oauth-web.md ([#1142](https://www.github.com/googleapis/google-api-python-client/issues/1142)) ([70bc6c9](https://www.github.com/googleapis/google-api-python-client/commit/70bc6c9db99eed5af7536b87448bd9323db9320b))
57* fix MediaIoBaseUpload broken link ([#1112](https://www.github.com/googleapis/google-api-python-client/issues/1112)) ([334b6e6](https://www.github.com/googleapis/google-api-python-client/commit/334b6e6d9e4924398e57bad2e53747584abf8cf4))
58* fix regression with incorrect args order in docs ([#1141](https://www.github.com/googleapis/google-api-python-client/issues/1141)) ([4249a7b](https://www.github.com/googleapis/google-api-python-client/commit/4249a7b92e891d1ecaf93944ca9c062ffbd54f77))
59* fix typo in thread safety example code ([#1100](https://www.github.com/googleapis/google-api-python-client/issues/1100)) ([5ae088d](https://www.github.com/googleapis/google-api-python-client/commit/5ae088dc027b89517b896a89a0aeb2ca80f492cf))
60* Reduce noisy changes in docs regen ([#1135](https://www.github.com/googleapis/google-api-python-client/issues/1135)) ([b1b0c83](https://www.github.com/googleapis/google-api-python-client/commit/b1b0c83ae0737e7b63cb77e4e7757213a216b88e))
61* update docs/dyn ([#1096](https://www.github.com/googleapis/google-api-python-client/issues/1096)) ([c2228be](https://www.github.com/googleapis/google-api-python-client/commit/c2228be4630e279e02a25b51566a0f93b67aa499))
62* update guidance on service accounts ([#1120](https://www.github.com/googleapis/google-api-python-client/issues/1120)) ([b2ea122](https://www.github.com/googleapis/google-api-python-client/commit/b2ea122c40ccac09c9e7b0b29f6b2bcca6db107b))
63
release-please[bot]d0110cf2020-11-18 17:28:06 +000064### [1.12.8](https://www.github.com/googleapis/google-api-python-client/compare/v1.12.7...v1.12.8) (2020-11-18)
65
66
67### Documentation
68
69* add httplib2 authorization to thread_safety ([#1005](https://www.github.com/googleapis/google-api-python-client/issues/1005)) ([205ae59](https://www.github.com/googleapis/google-api-python-client/commit/205ae5988bd89676823088d6c8a7bd17e3beefcf)), closes [#808](https://www.github.com/googleapis/google-api-python-client/issues/808) [#808](https://www.github.com/googleapis/google-api-python-client/issues/808)
70
release-please[bot]b94e3602020-11-18 12:24:02 +000071### [1.12.7](https://www.github.com/googleapis/google-api-python-client/compare/v1.12.6...v1.12.7) (2020-11-17)
72
73
74### Documentation
75
76* Update Webmasters API sample ([#1092](https://www.github.com/googleapis/google-api-python-client/issues/1092)) ([12831f3](https://www.github.com/googleapis/google-api-python-client/commit/12831f3e4716292b55b63dd2b08c3351f09b8a15))
77
release-please[bot]5c9bab12020-11-17 18:06:02 +000078### [1.12.6](https://www.github.com/googleapis/google-api-python-client/compare/v1.12.5...v1.12.6) (2020-11-16)
79
80
81### Documentation
82
83* Change error parsing to check for 'message' ([#1083](https://www.github.com/googleapis/google-api-python-client/issues/1083)) ([a341c5a](https://www.github.com/googleapis/google-api-python-client/commit/a341c5a5e31ba16da109658127b58cb7e5dbeedd)), closes [#1082](https://www.github.com/googleapis/google-api-python-client/issues/1082)
84* Update oauth docs to include snippet to get email address of authenticated user ([#1088](https://www.github.com/googleapis/google-api-python-client/issues/1088)) ([25fba64](https://www.github.com/googleapis/google-api-python-client/commit/25fba648ea647b62f2a6edc54ae927c1ed381b45)), closes [#1071](https://www.github.com/googleapis/google-api-python-client/issues/1071)
85
release-please[bot]8430fac2020-10-22 15:06:03 +000086### [1.12.5](https://www.github.com/googleapis/google-api-python-client/compare/v1.12.4...v1.12.5) (2020-10-22)
87
88
89### Bug Fixes
90
91* don't raise when downloading zero byte files ([#1074](https://www.github.com/googleapis/google-api-python-client/issues/1074)) ([86d8788](https://www.github.com/googleapis/google-api-python-client/commit/86d8788ee8a766ca6818620f3fd2899be0e44190))
92
release-please[bot]857eaf32020-10-20 22:50:02 +000093### [1.12.4](https://www.github.com/googleapis/google-api-python-client/compare/v1.12.3...v1.12.4) (2020-10-20)
94
95
96### Bug Fixes
97
98* don't set content-range on empty uploads ([#1070](https://www.github.com/googleapis/google-api-python-client/issues/1070)) ([af6035f](https://www.github.com/googleapis/google-api-python-client/commit/af6035f6754a155ee6b04bbbc5c39410c7316d6a))
99
100
101### Documentation
102
103* fix typo in oauth.md ([#1058](https://www.github.com/googleapis/google-api-python-client/issues/1058)) ([30eff9d](https://www.github.com/googleapis/google-api-python-client/commit/30eff9d8276919b8c4e50df2d3b1982594423692))
104* update generated docs ([#1053](https://www.github.com/googleapis/google-api-python-client/issues/1053)) ([3e17f89](https://www.github.com/googleapis/google-api-python-client/commit/3e17f8990db54bec16c48c319072799a14f5a53f)), closes [#1049](https://www.github.com/googleapis/google-api-python-client/issues/1049)
105
release-please[bot]a527de22020-09-29 10:16:59 -0600106### [1.12.3](https://www.github.com/googleapis/google-api-python-client/compare/v1.12.2...v1.12.3) (2020-09-29)
107
108
109### Bug Fixes
110
111* **deps:** update setup.py to install httplib2>=0.15.0 ([#1050](https://www.github.com/googleapis/google-api-python-client/issues/1050)) ([c00f70d](https://www.github.com/googleapis/google-api-python-client/commit/c00f70d565a002b92374356be087927b131ce135))
112
release-please[bot]2d076b82020-09-23 17:26:05 +0000113### [1.12.2](https://www.github.com/googleapis/google-api-python-client/compare/v1.12.1...v1.12.2) (2020-09-23)
114
115
116### Bug Fixes
117
118* add method to close httplib2 connections ([#1038](https://www.github.com/googleapis/google-api-python-client/issues/1038)) ([98888da](https://www.github.com/googleapis/google-api-python-client/commit/98888dadf04e7e00524b6de273d28d02d7abc2c0)), closes [#618](https://www.github.com/googleapis/google-api-python-client/issues/618)
119
release-please[bot]73d71a42020-09-14 14:34:01 -0600120### [1.12.1](https://www.github.com/googleapis/google-api-python-client/compare/v1.12.0...v1.12.1) (2020-09-14)
121
122
123### Bug Fixes
124
125* **deps:** require six>=1.13.0 ([#1030](https://www.github.com/googleapis/google-api-python-client/issues/1030)) ([4acecc3](https://www.github.com/googleapis/google-api-python-client/commit/4acecc3c0cd31308f9a256f065b7b1d1c3a4798d))
126
release-please[bot]269fdb82020-09-14 09:56:46 -0600127## [1.12.0](https://www.github.com/googleapis/google-api-python-client/compare/v1.11.0...v1.12.0) (2020-09-12)
128
129
130### Features
131
132* add quota_project, credentials_file, and scopes support ([#1022](https://www.github.com/googleapis/google-api-python-client/issues/1022)) ([790e702](https://www.github.com/googleapis/google-api-python-client/commit/790e70224c8110bfb1191333ce448c2b0fe54ea6))
133
134
135### Documentation
136
137* convert `print` statement to function ([#988](https://www.github.com/googleapis/google-api-python-client/issues/988)) ([16448bc](https://www.github.com/googleapis/google-api-python-client/commit/16448bc666e032abd83096faadcda56f86f36f18)), closes [#987](https://www.github.com/googleapis/google-api-python-client/issues/987)
138* remove http from batch execute docs ([#1003](https://www.github.com/googleapis/google-api-python-client/issues/1003)) ([5028fe7](https://www.github.com/googleapis/google-api-python-client/commit/5028fe76c8075c6594b1999074f91eed7f7dd329)), closes [#1002](https://www.github.com/googleapis/google-api-python-client/issues/1002)
139
release-please[bot]f76e4032020-08-27 14:23:46 -0700140## [1.11.0](https://www.github.com/googleapis/google-api-python-client/compare/v1.10.1...v1.11.0) (2020-08-27)
141
142
143### Features
144
145* add support for mtls env variables ([#1008](https://www.github.com/googleapis/google-api-python-client/issues/1008)) ([2fc5ca1](https://www.github.com/googleapis/google-api-python-client/commit/2fc5ca1b6aa880aab2067ab7eb96780a1b28d4c7))
146
release-please[bot]10263752020-08-25 12:06:15 -0600147### [1.10.1](https://www.github.com/googleapis/google-api-python-client/compare/v1.10.0...v1.10.1) (2020-08-03)
148
149
150### Bug Fixes
151
152* discovery uses V2 when version is None ([#975](https://www.github.com/googleapis/google-api-python-client/issues/975)) ([cd4e8f4](https://www.github.com/googleapis/google-api-python-client/commit/cd4e8f429422232dd82ef7e9bc685061d5df94a1)), closes [#971](https://www.github.com/googleapis/google-api-python-client/issues/971)
153
154
155### Documentation
156
157* fix deprecation warnings due to invalid escape sequences. ([#996](https://www.github.com/googleapis/google-api-python-client/issues/996)) ([0f60eda](https://www.github.com/googleapis/google-api-python-client/commit/0f60eda81ea524dcd1358d87b06da701412bb414)), closes [#995](https://www.github.com/googleapis/google-api-python-client/issues/995)
158* fix link to service accounts documentation ([#986](https://www.github.com/googleapis/google-api-python-client/issues/986)) ([edb2516](https://www.github.com/googleapis/google-api-python-client/commit/edb2516eb59770546e7960ca633c7be0ca7b1ad4))
159* update generated docs ([#981](https://www.github.com/googleapis/google-api-python-client/issues/981)) ([d059ad8](https://www.github.com/googleapis/google-api-python-client/commit/d059ad881c7ae58c67931c48788d0bd7343ab16c))
160
release-please[bot]c72efbc2020-07-15 20:20:08 +0000161## [1.10.0](https://www.github.com/googleapis/google-api-python-client/compare/v1.9.3...v1.10.0) (2020-07-15)
162
163
164### Features
165
166* allow to use 'six.moves.collections_abc.Mapping' in 'client_options.from_dict()' ([#943](https://www.github.com/googleapis/google-api-python-client/issues/943)) ([21af37b](https://www.github.com/googleapis/google-api-python-client/commit/21af37b11ea2d6a89b3df484e1b2fa1d12849510))
167* Build universal wheels ([#948](https://www.github.com/googleapis/google-api-python-client/issues/948)) ([3e28a1e](https://www.github.com/googleapis/google-api-python-client/commit/3e28a1e0d47f829182cd92f37475ab91fa5e4afc))
168* discovery supports retries ([#967](https://www.github.com/googleapis/google-api-python-client/issues/967)) ([f3348f9](https://www.github.com/googleapis/google-api-python-client/commit/f3348f98bf91a88a28bf61b12b95e391cc3be1ff)), closes [#848](https://www.github.com/googleapis/google-api-python-client/issues/848)
169
170
171### Documentation
172
173* consolidating and updating the Contribution Guide ([#964](https://www.github.com/googleapis/google-api-python-client/issues/964)) ([63f97f3](https://www.github.com/googleapis/google-api-python-client/commit/63f97f37daee37a725eb05df3097b20d5d4eaaf0)), closes [#963](https://www.github.com/googleapis/google-api-python-client/issues/963)
174
release-please[bot]cc83ec22020-06-10 19:31:19 -0700175### [1.9.3](https://www.github.com/googleapis/google-api-python-client/compare/v1.9.2...v1.9.3) (2020-06-10)
176
177
178### Bug Fixes
179
180* update GOOGLE_API_USE_MTLS values ([#940](https://www.github.com/googleapis/google-api-python-client/issues/940)) ([19908ed](https://www.github.com/googleapis/google-api-python-client/commit/19908edcd8a3df1db41e34100acc1f15c3c99397))
181
release-please[bot]47ca3612020-06-09 15:28:09 -0700182### [1.9.2](https://www.github.com/googleapis/google-api-python-client/compare/v1.9.1...v1.9.2) (2020-06-04)
183
184
185### Bug Fixes
186
187* bump api-core version ([#936](https://www.github.com/googleapis/google-api-python-client/issues/936)) ([ee53b3b](https://www.github.com/googleapis/google-api-python-client/commit/ee53b3b32a050874ba4cfb491fb384f94682c824))
188
release-please[bot]936caa52020-06-02 18:38:06 +0000189### [1.9.1](https://www.github.com/googleapis/google-api-python-client/compare/v1.9.0...v1.9.1) (2020-06-02)
190
191
192### Bug Fixes
193
194* fix python-api-core dependency issue ([#931](https://www.github.com/googleapis/google-api-python-client/issues/931)) ([42028ed](https://www.github.com/googleapis/google-api-python-client/commit/42028ed2b2be47f85b70eb813185264f1f573d01))
195
release-please[bot]cafb9e02020-06-02 17:34:04 +0000196## [1.9.0](https://www.github.com/googleapis/google-api-python-client/compare/v1.8.4...v1.9.0) (2020-06-02)
197
198
199### Features
200
201* add mtls feature ([#917](https://www.github.com/googleapis/google-api-python-client/issues/917)) ([981eadf](https://www.github.com/googleapis/google-api-python-client/commit/981eadf7cfdb576981d92fcda498c76422821426))
202* add templates for python samples projects ([#506](https://www.github.com/googleapis/google-api-python-client/issues/506)) ([#924](https://www.github.com/googleapis/google-api-python-client/issues/924)) ([c482712](https://www.github.com/googleapis/google-api-python-client/commit/c482712935d1c1331e33bd7f9968bd3b2be223bb))
203
release-please[bot]b8458c02020-05-26 13:03:47 -0700204### [1.8.4](https://www.github.com/googleapis/google-api-python-client/compare/v1.8.3...v1.8.4) (2020-05-20)
205
206
207### Bug Fixes
208
209* don't try to import GAE API in other environments ([#903](https://www.github.com/googleapis/google-api-python-client/issues/903)) ([09e6447](https://www.github.com/googleapis/google-api-python-client/commit/09e644719166aecb21a01b6d5ee9898843e7cd58))
210* the turn down date for global batch uri ([#901](https://www.github.com/googleapis/google-api-python-client/issues/901)) ([6ddadd7](https://www.github.com/googleapis/google-api-python-client/commit/6ddadd7753134c671628ad3f4598595b0abb1457))
211
release-please[bot]54aa94d2020-05-12 18:20:40 -0700212### [1.8.3](https://www.github.com/googleapis/google-api-python-client/compare/v1.8.2...v1.8.3) (2020-05-01)
213
214
215### Bug Fixes
216
217* downgrade repetitive logging calls to debug ([#885](https://www.github.com/googleapis/google-api-python-client/issues/885)) ([3bf2781](https://www.github.com/googleapis/google-api-python-client/commit/3bf2781e29cb828409f3a8a21939323286524569)), closes [#781](https://www.github.com/googleapis/google-api-python-client/issues/781)
218
Bu Sun Kimbd581392020-04-21 13:05:36 -0700219### [1.8.2](https://www.github.com/googleapis/google-api-python-client/compare/v1.8.1...v1.8.2) (2020-04-21)
220
221
222### Bug Fixes
223
224* Remove `apiclient.__version__` ([#871](https://www.github.com/googleapis/google-api-python-client/issues/871)) ([c7516a2](https://github.com/googleapis/google-api-python-client/commit/1d8ec6874e1c6081893de7cd7cbc86d1f6580320d)), closes [googleapis#870](https://www.github.com/googleapis/googleapis/issues/870)
225
226
release-please[bot]df4aa2b2020-04-20 14:32:47 -0700227### [1.8.1](https://www.github.com/googleapis/google-api-python-client/compare/v1.8.0...v1.8.1) (2020-04-20)
228
229
230### Bug Fixes
231
232* Adding ConnectionError to retry mechanism ([#822](https://www.github.com/googleapis/google-api-python-client/issues/822)) ([c7516a2](https://www.github.com/googleapis/google-api-python-client/commit/c7516a2ea2c229479633690c109f8763dc0b30ed)), closes [googleapis#558](https://www.github.com/googleapis/googleapis/issues/558)
233* replace '-' in method names with '_' ([#863](https://www.github.com/googleapis/google-api-python-client/issues/863)) ([8ed729f](https://www.github.com/googleapis/google-api-python-client/commit/8ed729f1d868a8713ab442bf0bf59e77ba36afb6))
234
235### v1.8.0
Bu Sun Kim26823fa2020-03-13 14:33:58 -0700236 Version 1.8.0
237
238 Release to support API endpoint override.
239
240 New Features
241 - Add api endpoint override. ([#829](https://github.com/googleapis/google-api-python-client/pull/829))
242
243 Implementation Changes
244 - Don't set http.redirect_codes if the attr doesn't exist and allow more httplib2 versions. ([#841](https://github.com/googleapis/google-api-python-client/pull/841))
245
release-please[bot]df4aa2b2020-04-20 14:32:47 -0700246### v1.7.12
Bu Sun Kim814c2822020-03-11 13:26:36 -0700247 Version 1.7.12
248
249 Bugfix release
250
251 Implementation Changes
252 - Look for field 'detail' in error message. ([#739](https://github.com/googleapis/google-api-python-client/pull/739))
253 - Exclude 308s from httplib2 redirect codes list ([#813](https://github.com/googleapis/google-api-python-client/pull/813))
254
255 Documentation
256 - Remove oauth2client from docs ([#738](https://github.com/googleapis/google-api-python-client/pull/738))
257 - Fix typo. ([#745](https://github.com/googleapis/google-api-python-client/pull/745))
258 - Remove compatibility badges. ([#746](https://github.com/googleapis/google-api-python-client/pull/746))
259 - Fix TypeError: search_analytics_api_sample.py #732 ([#742](https://github.com/googleapis/google-api-python-client/pull/742))
260 - Correct response access ([#750](https://github.com/googleapis/google-api-python-client/pull/750))
261 - Fix link to API explorer ([#760](https://github.com/googleapis/google-api-python-client/pull/760))
262 - Fix argument typo in oauth2 code example ([#763](https://github.com/googleapis/google-api-python-client/pull/763))
263 - Recommend install with virtualenv ([#768](https://github.com/googleapis/google-api-python-client/pull/768))
264 - Fix capitalization in docs/README.md ([#770](https://github.com/googleapis/google-api-python-client/pull/770))
265
266 - Remove compatibility badges ([#796](https://github.com/googleapis/google-api-python-client/pull/796))
267 - Remove mentions of pycrypto ([#799](https://github.com/googleapis/google-api-python-client/pull/799))
268 - Fix typo in model.py
269 - Add note about Google Ads llibrary ([#814](https://github.com/googleapis/google-api-python-client/pull/814))
270
271
272 Internal / Testing Changes
273 - Blacken ([#772](https://github.com/googleapis/google-api-python-client/pull/722))
274 - Move kokoro configs ([#832](https://github.com/googleapis/google-api-python-client/pull/832))
275
release-please[bot]df4aa2b2020-04-20 14:32:47 -0700276### v1.7.11
Bu Sun Kimbce1b1d2019-08-12 10:40:09 -0700277 Version 1.7.11
278
279 Bugfix release
280
281 Implementation Changes
282 - Pass library and Python version in x-goog-api-client header ([#734](https://github.com/googleapis/google-api-python-client/pull/734))
283
284 Documentation
285 - Fix typo in filename used in 'docs/auth.md' ([#736](https://github.com/googleapis/google-api-python-client/pull/736))
286
287
release-please[bot]df4aa2b2020-04-20 14:32:47 -0700288### v1.7.10
Bu Sun Kimc2936e12019-07-24 15:15:16 -0700289 Version 1.7.10
290
291 Bugfix release
292
293 Implementation Changes
294 - Decode service to utf-8 ([#723](https://github.com/googleapis/google-api-python-client/pull/723))
295 - Use print() function in both Python2 and Python 3 ([#722](https://github.com/googleapis/google-api-python-client/pull/722))
296 - Make http.MediaFileUpload close its file descriptor ([#600](https://github.com/googleapis/google-api-python-client/pull/600))
297 - Never make 'body' required ([#718](https://github.com/googleapis/google-api-python-client/pull/718))
298
299 Documentation
300 - Add compatability check badges to README ([#691](https://github.com/googleapis/google-api-python-client/pull/691))
301 - Regenerate docs ([#696](https://github.com/googleapis/google-api-python-client/pull/696), [#700](https://github.com/googleapis/google-api-python-client/pull/700))
302 - Create index file for dynamically generated docs ([#702](https://github.com/googleapis/google-api-python-client/pull/702))
303 - Add docs folder with guides from developers.google.com ([#706](https://github.com/googleapis/google-api-python-client/pull/706), [#710](https://github.com/googleapis/google-api-python-client/pull/710))
304
305 Internal / Testing Changes
306 - Fix http.py, lint errors, unit test ([#724](https://github.com/googleapis/google-api-python-client/pull/724))
307 - tox.ini: Look for Python syntax errors and undefined names ([#721](https://github.com/googleapis/google-api-python-client/pull/721))
308
309
release-please[bot]df4aa2b2020-04-20 14:32:47 -0700310### v1.7.9
Bu Sun Kimffea1a72019-05-22 16:38:55 -0700311 Version 1.7.9
312
313 Bugfix release
314 - Remove Django Samples. ([#657](https://github.com/googleapis/google-api-python-client/pull/657))
315 - Call request_orig with kwargs ([#658](https://github.com/googleapis/google-api-python-client/pull/658))
316
release-please[bot]df4aa2b2020-04-20 14:32:47 -0700317### v1.7.8
Bu Sun Kim9a25cc82019-01-28 14:21:05 -0800318 Version 1.7.8
319
320 Bugfix release
321 - Convert '$' in method name to '_' ([#616](https://github.com/googleapis/google-api-python-client/pull/616))
322 - Alias unitest2 import as unittest in test__auth.py ([#613](https://github.com/googleapis/google-api-python-client/pull/613))
Christopher Wilcox6ed8dbb2018-12-18 15:44:15 -0800323
release-please[bot]df4aa2b2020-04-20 14:32:47 -0700324### v1.7.7
Christopher Wilcox6ed8dbb2018-12-18 15:44:15 -0800325 Version 1.7.7
326
327 Bugfix release
Marie J.I48f503f2020-05-15 13:32:11 -0400328 - Change xrange to range ([#601](https://github.com/googleapis/google-api-python-client/pull/601))
329 - Typo in http.py exception message. ([#602](https://github.com/googleapis/google-api-python-client/pull/602))
Christopher Wilcox6ed8dbb2018-12-18 15:44:15 -0800330
Marie J.I48f503f2020-05-15 13:32:11 -0400331 - Announce deprecation of Python 2.7 ([#603](https://github.com/googleapis/google-api-python-client/pull/603))
332 - Updates documentation for stopping channel subscriptions ([#598](https://github.com/googleapis/google-api-python-client/pull/598))
333 - Adding example for searchAppearance ([#414](https://github.com/googleapis/google-api-python-client/pull/414))
Christopher Wilcox6ed8dbb2018-12-18 15:44:15 -0800334
Marie J.I48f503f2020-05-15 13:32:11 -0400335 - Add badges ([#455](https://github.com/googleapis/google-api-python-client/pull/455))
Christopher Wilcox6ed8dbb2018-12-18 15:44:15 -0800336
release-please[bot]df4aa2b2020-04-20 14:32:47 -0700337### v1.7.6
Bu Sun Kimb2743552018-12-06 13:13:43 -0800338 Version 1.7.6
339
340 Bugfix release
341
342 - Add client-side limit for batch requests (#585)
343
release-please[bot]df4aa2b2020-04-20 14:32:47 -0700344### v1.7.5
Bu Sun Kimfef743a2018-11-30 11:23:11 -0800345 Version 1.7.5
346
347 Bugfix release
348
349 - Fix the client to respect the passed in developerKey and credentials
350
release-please[bot]df4aa2b2020-04-20 14:32:47 -0700351### v1.7.4
Christopher Wilcoxa97f2b22018-07-11 12:49:54 -0700352 Version 1.7.4
Bu Sun Kimb2743552018-12-06 13:13:43 -0800353
Christopher Wilcoxa97f2b22018-07-11 12:49:54 -0700354 Bugfix release
355
356 - Catch ServerNotFoundError to retry the request (#532)
357
release-please[bot]df4aa2b2020-04-20 14:32:47 -0700358### v1.7.3
Thea Flowersb0b1c1d2018-06-04 12:21:32 -0700359 Version 1.7.3
360
361 Bugfix release
362
363 - Make apiclient.sample_tools gracefully fail to import (#525).
364
365
release-please[bot]df4aa2b2020-04-20 14:32:47 -0700366### v1.7.2
Thea Flowers5529b422018-06-04 09:31:44 -0700367 Version 1.7.2
368
369 Bugfix release
370
371 - Remove unnecessary check in apiclient/__ini__.py (#522).
372
release-please[bot]df4aa2b2020-04-20 14:32:47 -0700373### v1.7.1
Thea Flowers081d2a32018-06-01 10:22:59 -0700374 Version 1.7.1
375
376 Bugfix release
377
378 - Remove unnecessary check in setup.py (#518).
379
release-please[bot]df4aa2b2020-04-20 14:32:47 -0700380### v1.7.0
Thea Flowersa737c752018-05-31 16:04:34 -0700381 Version 1.7.0
382
383 This release drops the hard requirement on oauth2client and installs
384 google-auth by default instead. oauth2client is still supported but will
385 need to be explicitly installed.
386
387 - Drop oauth2client dependency (#499)
388 - Include tests in source distribution (#514)
389
release-please[bot]df4aa2b2020-04-20 14:32:47 -0700390### v1.6.7
Jon Wayne Parrott504a6e52018-04-27 13:58:27 -0700391 Version 1.6.7
392
393 Bugfix release
394
395 **Note**: The next release of this library will no longer directly depend on
396 oauth2client. If you need to use oauth2client, you'll need to explicitly
397 install it.
398
399 - Make body optional for requests with no parameters. (#446)
400 - Fix retying on socket.timeout. (#495)
401 - Match travis matrix with tox testenv. (#498)
402 - Remove oauth2client._helpers dependency. (#493)
403 - Remove unused keyring test dependency. (#496)
404 - discovery.py: remove unused oauth2client import. (#492)
405 - Update README to reference GCP API client libraries. (#490)
406
release-please[bot]df4aa2b2020-04-20 14:32:47 -0700407### v1.6.6
Jon Wayne Parrott9cdb2e22018-03-28 13:09:46 -0700408 Version 1.6.6
409
410 Bugfix release
411
412 - Warn when constructing BatchHttpRequest using the legacy batch URI (#488)
413 - Increase the default media chunksize to 100MB. (#482)
414 - Remove unnecessary parsing of mime headers in HttpRequest.__init__ (#467)
415
release-please[bot]df4aa2b2020-04-20 14:32:47 -0700416### v1.6.5
Jon Wayne Parrott64367412018-01-18 09:38:27 -0800417 Version 1.6.5
418
419 Bugfix release
420
421 - Proactively refresh credentials when applying and treat a missing
422 `access_token` as invalid. Note: This change reveals surprising behavior
423 between default credentials and batches. If you allow
424 `googleapiclient.discovery.build` to use default credentials *and* specify
425 different credentials by providing `batch.execut()` with an explicit `http`
426 argument, your individual requests will use the default credentials and
427 *not* the credentials specified to the batch http. To avoid this, tell
428 `build` explicitly not to use default credentials by specifying
429 `build(..., http=httplib2.Http()`. (#469)
430 - Remove mutual exclusivity check for developerKey and credentials (#465)
431 - Handle unknown media length. (#406)
432 - Handle variant error format gracefully. (#459)
433 - Avoid testing against Django >= 2.0.0 on Python 2. (#460)
434
release-please[bot]df4aa2b2020-04-20 14:32:47 -0700435### v1.6.4
Jon Wayne Parrottaf676692017-09-20 08:53:28 -0700436 Version 1.6.4
437
438 Bugfix release
439
440 - Warn when google-auth credentials are used but google-auth-httplib2 isn't available. (#443)
441
release-please[bot]df4aa2b2020-04-20 14:32:47 -0700442### v1.6.3
Jon Wayne Parrottb63a71d2017-08-29 09:15:16 -0700443 Version 1.6.3
444
445 Bugfix release
446
447 - Add notification of maintenance mode to README. (#410)
448 - Fix generation of methods with abnormal page token conventions. (#338)
449 - Raise ValueError is credentials and developerKey are both specified. (#358)
450 - Re-generate documentation. (#364, #373, #401)
451 - Fix method signature documentation for multiline required parameters. (#374)
452 - Fix ZeroDivisionError in MediaDownloadProgress.progress. (#377)
453 - Fix dead link to WebTest in README. (#378)
454 - Fix details missing in googleapiclient.errors.HttpError. (#412)
455 - Don't treat httplib2.Credentials as oauth credentials. (#425)
456 - Various fixes to the Django sample. (#413)
457
release-please[bot]df4aa2b2020-04-20 14:32:47 -0700458### v1.6.2
Jon Wayne Parrottafe134b2017-02-08 10:20:57 -0800459 Version 1.6.2
460
461 Bugfix release
462
463 - Fixed a bug where application default credentials would still be used even
464 when a developerKey was specified. (#347)
465 - Official support for Python 3.5 and 3.6. (#341)
466
release-please[bot]df4aa2b2020-04-20 14:32:47 -0700467### v1.6.1
Jon Wayne Parrott811d5702017-01-11 14:45:20 -0800468 Version 1.6.1
469
470 Bugfix release
471
472 - Fixed a bug where using google-auth with scoped credentials would fail. (#328)
473
release-please[bot]df4aa2b2020-04-20 14:32:47 -0700474### v1.6.0
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800475 Version 1.6.0
476
477 Release to drop support for Python 2.6 and add support for google-auth.
478
479 - Support for Python 2.6 has been dropped. (#319)
480 - The credentials argument to discovery.build and discovery.build_from_document
481 can be either oauth2client credentials or google-auth credentials. (#319)
482 - discovery.build and discovery.build_from_document now unambiguously use the
483 http argument to make all requests, including the request for the discovery
484 document. (#319)
485 - The http and credentials arguments to discovery.build and
486 discovery.build_from_document are now mutually exclusive, eliminating a
487 buggy edge case. (#319)
488 - If neither http or credentials is specified to discovery.build and
489 discovery.build_from_document, then Application Default Credentials will
490 be used. The library prefers google-auth for this if it is available, but
491 can also use oauth2client's implementation. (#319)
492 - Fixed resumable upload failure when receiving a 308 response. (#312)
493 - Clarified the support versions of Python 3. (#316)
494
release-please[bot]df4aa2b2020-04-20 14:32:47 -0700495### v1.5.5
Brian J. Watson0711b8b2016-10-31 17:55:50 -0700496 Version 1.5.5
497
498 Bugfix release
499
500 - Allow explicit MIME type specification with media_mime_type keyword argument.
501 - Fix unprintable representation of BatchError with default constructor. (#165)
502 - Refresh all discovery docs, not just the preferred ones. (#298)
503 - Update minimum httplib2 dependency to >=0.9.2.
504
release-please[bot]df4aa2b2020-04-20 14:32:47 -0700505### v1.5.4
Jon Wayne Parrotte2ce0042016-10-14 11:02:09 -0700506 Version 1.5.4
507
508 Bugfix release
509
510 - Properly handle errors when the API returns a mapping or sequence. (#289)
511 - Upgrade to unified uritemplate 3.0.0. (#293)
512 - Allow oauth2client 4.0.0, with the caveat that file-based discovery
513 caching is disabled.
514
release-please[bot]df4aa2b2020-04-20 14:32:47 -0700515### v1.5.3
Jon Wayne Parrottc4dca352016-08-29 10:16:34 -0700516 Version 1.5.3
517
518 Bugfix release
519
520 - Fixed import error with oauth2client >= 3.0.0. (#270)
521
release-please[bot]df4aa2b2020-04-20 14:32:47 -0700522### v1.5.2
Jon Wayne Parrottbf7066e2016-08-16 12:41:22 -0700523 Version 1.5.2
524
525 Bugfix release
526
527 - Allow using oauth2client >= 1.5.0, < 4.0.0. (#265)
528 - Fix project_id argument description. (#257)
529 - Retry chunk uploaded on rate limit exceeded errors. (#255)
530 - Obtain access token if necessary in BatchHttpRequest.execute(). (#232)
531 - Warn when running tests using HttpMock without having a cache. (#261)
532
release-please[bot]df4aa2b2020-04-20 14:32:47 -0700533### v1.5.1
Jon Wayne Parrott2aedb522016-05-19 11:03:33 -0700534 Version 1.5.1
535
536 Bugfix release
537
538 - Allow using versions of oauth2client < 2.0.0. (#197)
539 - Check both current and new API discovery URL. (#202)
540 - Retry http requests on connection errors and timeouts. (#218)
541 - Retry http requests on rate limit responses. (#201)
542 - Import guards for ssl (for Google App Engine). (#220)
543 - Use named loggers instead of the root logger. (#206)
544 - New search console example. (#212)
545
release-please[bot]df4aa2b2020-04-20 14:32:47 -0700546### v1.5.0
Jon Wayne Parrottda3e6892016-02-19 15:42:07 -0800547 Version 1.5.0
548
549 Release to support oauth2client >= 2.0.0.
550
551 - Fix file stream recognition in Python 3 (#141)
552 - Fix non-resumable binary uploads in Python 3 (#147)
553 - Default to 'octet-stream' if mimetype detection fails (#157)
554 - Handle SSL errors with retries (#160)
555 - Fix incompatibility with oauth2client v2.0.0 (#182)
556
release-please[bot]df4aa2b2020-04-20 14:32:47 -0700557### v1.4.2
Takashi Matsuo05f19322015-09-11 13:56:00 -0700558 Version 1.4.2
559
560 Add automatic caching for the discovery docs.
561
release-please[bot]df4aa2b2020-04-20 14:32:47 -0700562### v1.4.1
Nathaniel Manistadda86ad2015-06-15 17:24:11 +0000563 Version 1.4.1
564
565 Add the googleapiclient.discovery.Resource.new_batch_http_request method.
566
release-please[bot]df4aa2b2020-04-20 14:32:47 -0700567### v1.4.0
Nathaniel Manista31c47b82015-03-10 23:31:35 +0000568 Version 1.4.0
569
570 Python 3 support.
571
release-please[bot]df4aa2b2020-04-20 14:32:47 -0700572### v1.3.2
Craig Citro326cd512015-03-02 13:24:09 -0800573 Version 1.3.2
574
575 Small bugfix release.
Nathaniel Manista31c47b82015-03-10 23:31:35 +0000576
Craig Citro326cd512015-03-02 13:24:09 -0800577 - Fix an infinite loop for downloading small files.
578 - Fix a unicode error in error encoding.
579 - Better handling of `content-length` in media requests.
580 - Add support for methodPath entries containing colon.
Nathaniel Manista31c47b82015-03-10 23:31:35 +0000581
release-please[bot]df4aa2b2020-04-20 14:32:47 -0700582### v1.3.1
Craig Citro49d45a62014-10-17 20:33:51 -0700583 Version 1.3.1
584
585 Quick release for a fix around aliasing in v1.3.
Nathaniel Manista31c47b82015-03-10 23:31:35 +0000586
release-please[bot]df4aa2b2020-04-20 14:32:47 -0700587### v1.3
Craig Citro0e5b9bf2014-10-15 10:26:14 -0700588 Version 1.3
589
590 Add support for the Google Application Default Credentials.
591 Require python 2.6 as a minimum version.
592 Update several API samples.
593 Finish splitting out oauth2client repo and update tests.
594 Various doc cleanup and bugfixes.
Craig Citrof756c682014-10-15 23:01:31 -0700595
596 Two important notes:
597 * We've added `googleapiclient` as the primary suggested import
598 name, and kept `apiclient` as an alias, in order to have a more
599 appropriate import name. At some point, we will remove `apiclient`
600 as an alias.
601 * Due to an issue around in-place upgrades for Python packages,
602 it's not possible to do an upgrade from version 1.2 to 1.3. Instead,
603 setup.py attempts to detect this and prevents it. Simply remove
604 the previous version and reinstall to fix this.
605
release-please[bot]df4aa2b2020-04-20 14:32:47 -0700606### v1.2
Joe Gregorioce67bc22013-07-02 13:50:31 -0400607 Version 1.2
608
609 The use of the gflags library is now deprecated, and is no longer a
610 dependency. If you are still using the oauth2client.tools.run() function
611 then include gflags as a dependency of your application or switch to
612 oauth2client.tools.run_flow.
613 Samples have been updated to use the new apiclient.sample_tools, and no
614 longer use gflags.
615 Added support for the experimental Object Change Notification, as found in
616 the Cloud Storage API.
617 The oauth2client App Engine decorators are now threadsafe.
618
619 - Use the following redirects feature of httplib2 where it returns the
620 ultimate URL after a series of redirects to avoid multiple hops for every
621 resumable media upload request.
622 - Updated AdSense Management API samples to V1.3
623 - Add option to automatically retry requests.
624 - Ability to list registered keys in multistore_file.
625 - User-agent must contain (gzip).
626 - The 'method' parameter for httplib2 is not positional. This would cause
627 spurious warnings in the logging.
628 - Making OAuth2Decorator more extensible. Fixes Issue 256.
629 - Update AdExchange Buyer API examples to version v1.2.
630
631
release-please[bot]df4aa2b2020-04-20 14:32:47 -0700632### v1.1
Joe Gregorio3cc9a452013-03-07 10:08:39 -0500633 Version 1.1
634
635 Add PEM support to SignedJWTAssertionCredentials (used to only support
636 PKCS12 formatted keys). Note that if you use PEM formatted keys you can use
637 PyCrypto 2.6 or later instead of OpenSSL.
638
639 Allow deserialized discovery docs to be passed to build_from_document().
640
641 - Make ResumableUploadError derive from HttpError.
642 - Many changes to move all the closures in apiclient.discovery into real
643 - classes and objects.
644 - Make from_json behavior inheritable.
645 - Expose the full token response in OAuth2Client and OAuth2Decorator.
646 - Handle reasons that are None.
647 - Added support for NDB based storing of oauth2client objects.
648 - Update grant_type for AssertionCredentials.
649 - Adding a .revoke() to Credentials. Closes issue 98.
650 - Modify oauth2client.multistore_file to store and retrieve credentials
651 using an arbitrary key.
652 - Don't accept 403 challenges by default for auth challenges.
653 - Set httplib2.RETRIES to 1.
654 - Consolidate handling of scopes.
655 - Upgrade to httplib2 version 0.8.
656 - Allow setting the response_type in OAuth2WebServerFlow.
657 - Ensure that dataWrapper feature is checked before using the 'data' value.
658 - HMAC verification does not use a constant time algorithm.
659
release-please[bot]df4aa2b2020-04-20 14:32:47 -0700660### v1.0
Joe Gregoriof4839b02012-09-06 13:47:24 -0400661 Version 1.0
662
663 - Changes to the code for running tests and building releases.
664
release-please[bot]df4aa2b2020-04-20 14:32:47 -0700665### v1.0c3
Joe Gregorio73774c52012-08-29 09:45:53 -0400666 Version 1.0 Release Candidate 3
667
668 - In samples and oauth2 decorator, escape untrusted content before displaying it.
669 - Do not allow credentials files to be symlinks.
670 - Add XSRF protection to oauth2decorator callback 'state'.
671 - Handle uploading chunked media by stream.
672 - Handle passing streams directly to httplib2.
673 - Add support for Google Compute Engine service accounts.
674 - Flows no longer need to be saved between uses.
675 - Change GET to POST if URI is too long. Fixes issue #96.
676 - Add a keyring based Storage.
677 - More robust picking up JSON error responses.
678 - Make batch errors align with normal errors.
679 - Add a Google Compute sample.
680 - Token refresh to work with 'old' GData API
681 - Loading of client_secrets JSON file backed by a cache.
682 - Switch to new discovery path parameters.
683 - Add support for additionalProperties when printing schema'd objects.
684 - Fix media upload parameter names. Reviewed in http://codereview.appspot.com/6374062/
685 - oauth2client support for URL-encoded format of exchange token response (e.g. Facebook)
686 - Build cleaner and easier to read docs for dynamic surfaces.
687
release-please[bot]df4aa2b2020-04-20 14:32:47 -0700688### v1.0c2
Joe Gregoriobf14cef2012-06-22 15:26:16 -0400689 Version 1.0 Release Candidate 2
690
691 - Parameter values of None should be treated as missing. Fixes issue #144.
692 - Distribute the samples separately from the library source. Fixes issue #155.
693 - Move all remaining samples over to client_secrets.json. Fixes issue #156.
694 - Make locked_file.py understand win32file primitives for better awesomeness.
695
release-please[bot]df4aa2b2020-04-20 14:32:47 -0700696### v1.0c1
Joe Gregorio1aaec4b2012-06-15 16:20:41 -0400697 Version 1.0 Release Candidate 1
698
Joe Gregorio638663c2012-06-15 14:40:47 -0400699 - Documentation for the library has switched to epydoc:
700 http://google-api-python-client.googlecode.com/hg/docs/epy/index.html
701 - Many improvements for media support:
702 * Added media download support, including resumable downloads.
703 * Better handling of streams that report their size as 0.
704 * Update Media Upload to include io.Base and also fix some bugs.
705 - OAuth bug fixes and improvements.
706 * Remove OAuth 1.0 support.
707 * Added credentials_from_code and credentials_from_clientsecrets_and_code.
708 * Make oauth2client support Windows-friendly locking.
709 * Fix bug in StorageByKeyName.
710 * Fix None handling in Django fields. Reviewed in http://codereview.appspot.com/6298084/. Fixes issue #128.
711 - Add epydoc generated docs. Reviewed in http://codereview.appspot.com/6305043/
712 - Move to PEP386 compliant version numbers.
713 - New and updated samples
714 * Ad Exchange Buyer API v1 code samples.
715 * Automatically generate Samples wiki page from README files.
716 * Update Google Prediction samples.
717 * Add a Tasks sample that demonstrates Service accounts.
718 * new analytics api samples. Reviewed here: http://codereview.appspot.com/5494058/
719 - Convert all inline samples to the Farm API for consistency.
720
release-please[bot]df4aa2b2020-04-20 14:32:47 -0700721### v1.0beta8
Joe Gregoriod02bf5e2012-03-02 13:21:32 -0800722 - Updated meda upload support.
723 - Many fixes for batch requests.
724 - Better handling for requests that don't require a body.
725 - Fix issues with Google App Engine Python 2.7 runtime.
726 - Better support for proxies.
727 - All Storages now have a .delete() method.
728 - Important changes which might break your code:
729 * apiclient.anyjson has moved to oauth2client.anyjson.
730 * Some calls, for example, taskqueue().lease() used to require a parameter
731 named body. In this new release only methods that really need to send a body
732 require a body parameter, and so you may get errors about an unknown
733 'body' parameter in your call. The solution is to remove the unneeded
734 body={} parameter.
735
release-please[bot]df4aa2b2020-04-20 14:32:47 -0700736### v1.0beta7
Joe Gregorio205a0612011-12-14 11:38:16 -0500737 - Support for batch requests. http://code.google.com/p/google-api-python-client/wiki/Batch
738 - Support for media upload. http://code.google.com/p/google-api-python-client/wiki/MediaUpload
739 - Better handling for APIs that return something other than JSON.
740 - Major cleanup and consolidation of the samples.
741 - Bug fixes and other enhancements:
742 72 Defect Appengine OAuth2Decorator: Convert redirect address to string
743 22 Defect Better error handling for unknown service name or version
744 48 Defect StorageByKeyName().get() has side effects
745 50 Defect Need sample client code for Admin Audit API
746 28 Defect better comments for app engine sample Nov 9
747 63 Enhancement Let OAuth2Decorator take a list of scope