UNPKG

17.8 kBMarkdownView Raw
1# Changelog
2
3[npm history][1]
4
5[1]: https://www.npmjs.com/package/@google-cloud/nodejs-vision?activeTab=versions
6
7## [1.2.0](https://www.github.com/googleapis/nodejs-vision/compare/v1.1.4...v1.2.0) (2019-08-19)
8
9
10### Features
11
12* adds support for multiple regions ([244e21e](https://www.github.com/googleapis/nodejs-vision/commit/244e21e))
13
14### [1.1.4](https://www.github.com/googleapis/nodejs-vision/compare/v1.1.3...v1.1.4) (2019-08-05)
15
16
17### Bug Fixes
18
19* allow calls with no request, add JSON proto ([55c0380](https://www.github.com/googleapis/nodejs-vision/commit/55c0380))
20
21### [1.1.3](https://www.github.com/googleapis/nodejs-vision/compare/v1.1.2...v1.1.3) (2019-06-26)
22
23
24### Bug Fixes
25
26* **docs:** link to reference docs section on googleapis.dev ([#406](https://www.github.com/googleapis/nodejs-vision/issues/406)) ([fa2fb3f](https://www.github.com/googleapis/nodejs-vision/commit/fa2fb3f))
27
28### [1.1.2](https://www.github.com/googleapis/nodejs-vision/compare/v1.1.1...v1.1.2) (2019-06-15)
29
30
31### Bug Fixes
32
33* **docs:** move to new client docs URL ([#401](https://www.github.com/googleapis/nodejs-vision/issues/401)) ([9b40044](https://www.github.com/googleapis/nodejs-vision/commit/9b40044))
34
35### [1.1.1](https://www.github.com/googleapis/nodejs-vision/compare/v1.1.0...v1.1.1) (2019-06-11)
36
37
38### Bug Fixes
39
40* **deps:** update dependency mathjs to v6 ([#399](https://www.github.com/googleapis/nodejs-vision/issues/399)) ([6c37196](https://www.github.com/googleapis/nodejs-vision/commit/6c37196))
41
42## [1.1.0](https://www.github.com/googleapis/nodejs-vision/compare/v1.0.0...v1.1.0) (2019-06-05)
43
44
45### Features
46
47* support apiEndpoint override in client constructor ([#393](https://www.github.com/googleapis/nodejs-vision/issues/393)) ([7777275](https://www.github.com/googleapis/nodejs-vision/commit/7777275))
48
49## [1.0.0](https://www.github.com/googleapis/nodejs-vision/compare/v0.25.0...v1.0.0) (2019-05-13)
50
51
52### Bug Fixes
53
54* **deps:** update dependency google-gax to v1 ([#376](https://www.github.com/googleapis/nodejs-vision/issues/376)) ([14a5ca9](https://www.github.com/googleapis/nodejs-vision/commit/14a5ca9))
55* DEADLINE_EXCEEDED is idempotent ([#377](https://www.github.com/googleapis/nodejs-vision/issues/377)) ([d7ed2d3](https://www.github.com/googleapis/nodejs-vision/commit/d7ed2d3))
56* **deps:** update dependency @google-cloud/promisify to v1 ([#367](https://www.github.com/googleapis/nodejs-vision/issues/367)) ([f1a5bcc](https://www.github.com/googleapis/nodejs-vision/commit/f1a5bcc))
57* **deps:** update dependency google-gax to ^0.26.0 ([#362](https://www.github.com/googleapis/nodejs-vision/issues/362)) ([81a3379](https://www.github.com/googleapis/nodejs-vision/commit/81a3379))
58* include 'x-goog-request-params' header in requests ([4e7a1c6](https://www.github.com/googleapis/nodejs-vision/commit/4e7a1c6)), closes [#353](https://www.github.com/googleapis/nodejs-vision/issues/353)
59* **samples:** make test assertion less specific ([#354](https://www.github.com/googleapis/nodejs-vision/issues/354)) ([435ddf0](https://www.github.com/googleapis/nodejs-vision/commit/435ddf0))
60
61
62### Build System
63
64* upgrade engines field to >=8.10.0 ([#363](https://www.github.com/googleapis/nodejs-vision/issues/363)) ([e8a7141](https://www.github.com/googleapis/nodejs-vision/commit/e8a7141))
65
66
67### Features
68
69* image annotation batching ([#375](https://www.github.com/googleapis/nodejs-vision/issues/375)) ([bed2515](https://www.github.com/googleapis/nodejs-vision/commit/bed2515))
70
71
72### BREAKING CHANGES
73
74* upgrade engines field to >=8.10.0 (#363)
75
76## v0.25.0
77
7802-22-2019 17:39 PST
79
80### New Features
81This release contains a new version (v1p4beta1) of the Vision API. To use this version, construct the client liks this:
82
83```javascript
84const vision = require('@google-cloud/vision');
85const client = new vision.v1p4beta1.ImageAnnotatorClient();
86```
87
88- feat: gen v1p4beta1: online PDF, async batch image annotate ([#331](https://github.com/googleapis/nodejs-vision/pull/331))
89
90### Implementation Changes
91- fix: throw on invalid credentials in v1p4beta1 ([#334](https://github.com/googleapis/nodejs-vision/pull/334))
92- fix: throw on invalid credentials ([#326](https://github.com/googleapis/nodejs-vision/pull/326))
93
94### Dependencies
95- chore(deps): update dependency mocha to v6 ([#330](https://github.com/googleapis/nodejs-vision/pull/330))
96- fix(deps): update dependency @google-cloud/promisify to ^0.4.0 ([#328](https://github.com/googleapis/nodejs-vision/pull/328))
97- fix(deps): update dependency yargs to v13 ([#325](https://github.com/googleapis/nodejs-vision/pull/325))
98- fix(deps): update dependency google-gax to ^0.25.0 ([#315](https://github.com/googleapis/nodejs-vision/pull/315))
99- fix(deps): update dependency google-gax to ^0.24.0 ([#312](https://github.com/googleapis/nodejs-vision/pull/312))
100- chore(deps): update dependency eslint-config-prettier to v4 ([#313](https://github.com/googleapis/nodejs-vision/pull/313))
101- fix(deps): update dependency google-gax to ^0.23.0 ([#307](https://github.com/googleapis/nodejs-vision/pull/307))
102
103### Documentation / Samples
104- docs: update contributing path in README ([#321](https://github.com/googleapis/nodejs-vision/pull/321))
105- docs: update links in contrib guide ([#329](https://github.com/googleapis/nodejs-vision/pull/329))
106- docs: add lint/fix example to contributing guide ([#318](https://github.com/googleapis/nodejs-vision/pull/318))
107- docs: fix example comments ([#317](https://github.com/googleapis/nodejs-vision/pull/317))
108- fix(docs): remove unused long running operations types
109- docs: improve detect.js samples ([#300](https://github.com/googleapis/nodejs-vision/pull/300))
110
111### Internal / Testing Changes
112- build: use linkinator for docs test ([#327](https://github.com/googleapis/nodejs-vision/pull/327))
113- build: create docs test npm scripts ([#324](https://github.com/googleapis/nodejs-vision/pull/324))
114- build: test using @grpc/grpc-js in CI ([#322](https://github.com/googleapis/nodejs-vision/pull/322))
115- chore: move CONTRIBUTING.md to root ([#320](https://github.com/googleapis/nodejs-vision/pull/320))
116- refactor: improve generated code style. ([#316](https://github.com/googleapis/nodejs-vision/pull/316))
117- fix: ignore case in system test assertions ([#314](https://github.com/googleapis/nodejs-vision/pull/314))
118- build: ignore googleapis.com in doc link check ([#310](https://github.com/googleapis/nodejs-vision/pull/310))
119- chore: update year in the license headers. ([#309](https://github.com/googleapis/nodejs-vision/pull/309))
120- build: check broken links in generated docs ([#301](https://github.com/googleapis/nodejs-vision/pull/301))
121
122## v0.24.0
123
12412-19-2018 13:36 PST
125
126### Implementation Changes
127**This release contains breaking change**
128- BREAKING: rename method imagePath => referenceImagePath ([#296](https://github.com/googleapis/nodejs-vision/pull/296))
129The method `ProductSearchClient.imagePath` was renamed `referenceImagePath`:
130```
131// old code
132const formattedName = client.imagePath(...);
133
134// new code
135const formattedName = client.referenceImagePath(...);
136```
137- fix: Param "scoreThreshold" should be "score_threshold" ([#234](https://github.com/googleapis/nodejs-vision/pull/234))
138
139### New Features
140- ProductSearch GA ([#280](https://github.com/googleapis/nodejs-vision/pull/280))
141
142### Dependencies
143- refactor: remove unused deps ([#261](https://github.com/googleapis/nodejs-vision/pull/261))
144- fix(deps): update dependency google-gax to ^0.22.0 ([#265](https://github.com/googleapis/nodejs-vision/pull/265))
145- chore(deps): update dependency @google-cloud/nodejs-repo-tools to v3 ([#263](https://github.com/googleapis/nodejs-vision/pull/263))
146- fix(deps): update dependency @google-cloud/vision to ^0.23.0 ([#260](https://github.com/googleapis/nodejs-vision/pull/260))
147
148### Documentation
149- docs: fix productSearch example ([#285](https://github.com/googleapis/nodejs-vision/pull/285))
150- docs: update readme badges ([#283](https://github.com/googleapis/nodejs-vision/pull/283))
151- docs(samples): updated samples code to use async/await and tests to use mocha ([#241](https://github.com/googleapis/nodejs-vision/pull/241))
152
153### Internal / Testing Changes
154- chore: modernize the samples and sample tests ([#297](https://github.com/googleapis/nodejs-vision/pull/297))
155- chore(build): inject yoshi automation key ([#294](https://github.com/googleapis/nodejs-vision/pull/294))
156- chore: update nyc and eslint configs ([#293](https://github.com/googleapis/nodejs-vision/pull/293))
157- chore: fix publish.sh permission +x ([#292](https://github.com/googleapis/nodejs-vision/pull/292))
158- fix(build): fix Kokoro release script ([#291](https://github.com/googleapis/nodejs-vision/pull/291))
159- build: add Kokoro configs for autorelease ([#290](https://github.com/googleapis/nodejs-vision/pull/290))
160- chore: always nyc report before calling codecov ([#288](https://github.com/googleapis/nodejs-vision/pull/288))
161- chore: nyc ignore build/test by default ([#287](https://github.com/googleapis/nodejs-vision/pull/287))
162- chore: update license file ([#284](https://github.com/googleapis/nodejs-vision/pull/284))
163- fix(build): fix system key decryption ([#282](https://github.com/googleapis/nodejs-vision/pull/282))
164- test: make product search tests run ([#269](https://github.com/googleapis/nodejs-vision/pull/269))
165- chore: update eslintignore config ([#264](https://github.com/googleapis/nodejs-vision/pull/264))
166- chore: drop contributors from multiple places ([#262](https://github.com/googleapis/nodejs-vision/pull/262))
167
168## v0.23.0
169
170### New Features
171- feat: add support for product search
172
173### Dependencies
174- chore(deps): update dependency eslint-plugin-node to v8 ([#245](https://github.com/googleapis/nodejs-vision/pull/245))
175- chore(deps): update dependency canvas to v2 ([#224](https://github.com/googleapis/nodejs-vision/pull/224))
176- chore(deps): update dependency sinon to v7 ([#219](https://github.com/googleapis/nodejs-vision/pull/219))
177- chore(deps): update dependency eslint-plugin-prettier to v3 ([#213](https://github.com/googleapis/nodejs-vision/pull/213))
178
179### Documentation
180- fix(samples): Adding vision_product_search_tutorial_import tags ([#221](https://github.com/googleapis/nodejs-vision/pull/221))
181- fix(samples): Change the Project ID from number to string ([#220](https://github.com/googleapis/nodejs-vision/pull/220))
182- docs: Vision AutoML samples ([#197](https://github.com/googleapis/nodejs-vision/pull/197))
183
184### Internal / Testing Changes
185- chore: use latest npm on Windows ([#258](https://github.com/googleapis/nodejs-vision/pull/258))
186- chore: update lint configs ([#257](https://github.com/googleapis/nodejs-vision/pull/257))
187- chore: update CircleCI config ([#253](https://github.com/googleapis/nodejs-vision/pull/253))
188- chore: update issue templates ([#244](https://github.com/googleapis/nodejs-vision/pull/244))
189- chore: remove old issue template ([#242](https://github.com/googleapis/nodejs-vision/pull/242))
190- build: run tests on node11 ([#239](https://github.com/googleapis/nodejs-vision/pull/239))
191- chores(build): do not collect sponge.xml from windows builds ([#238](https://github.com/googleapis/nodejs-vision/pull/238))
192- chores(build): run codecov on continuous builds ([#237](https://github.com/googleapis/nodejs-vision/pull/237))
193- chore: update new issue template ([#235](https://github.com/googleapis/nodejs-vision/pull/235))
194- build: fix codecov uploading on Kokoro ([#222](https://github.com/googleapis/nodejs-vision/pull/222))
195- chore: enable --throw-deprecation on mocha config ([#147](https://github.com/googleapis/nodejs-vision/pull/147))
196- Update kokoro config ([#214](https://github.com/googleapis/nodejs-vision/pull/214))
197- Update kokoro config ([#208](https://github.com/googleapis/nodejs-vision/pull/208))
198- test: remove appveyor config ([#207](https://github.com/googleapis/nodejs-vision/pull/207))
199- Update the CI config ([#206](https://github.com/googleapis/nodejs-vision/pull/206))
200
201## v0.22.1
202
203### Bug fixes
204- Fix response output for Detect Labels ([#199](https://github.com/googleapis/nodejs-vision/pull/199))
205
206### Documentation
207- Vision GA – vision_localize_objects & vision_localize_object_gcs ([#200](https://github.com/googleapis/nodejs-vision/pull/200))
208- Product search rebased ([#196](https://github.com/googleapis/nodejs-vision/pull/196))
209
210### Internal / Testing Changes
211- Enable prefer-const in the eslint config ([#201](https://github.com/googleapis/nodejs-vision/pull/201))
212- Enable no-var in eslint ([#198](https://github.com/googleapis/nodejs-vision/pull/198))
213- Switch to let/const ([#194](https://github.com/googleapis/nodejs-vision/pull/194))
214- fix(deps): update dependency google-gax to ^0.20.0 ([#193](https://github.com/googleapis/nodejs-vision/pull/193))
215
216## v0.22.0
217
218### New Features
219Object Localization is available on v1 of this library:
220- Updated CI config and run synth ([#181](https://github.com/googleapis/nodejs-vision/pull/181))
221
222### Dependencies
223- chore(deps): update dependency @google-cloud/storage to v2 ([#183](https://github.com/googleapis/nodejs-vision/pull/183))
224- chore(deps): update dependency nyc to v13 ([#177](https://github.com/googleapis/nodejs-vision/pull/177))
225- fix(deps): update dependency google-gax to ^0.19.0 ([#173](https://github.com/googleapis/nodejs-vision/pull/173))
226- chore(deps): update dependency eslint-config-prettier to v3 ([#170](https://github.com/googleapis/nodejs-vision/pull/170))
227
228### Internal / Testing Changes
229- Update CI config ([#188](https://github.com/googleapis/nodejs-vision/pull/188))
230- Fix the sample tests ([#187](https://github.com/googleapis/nodejs-vision/pull/187))
231- Retry npm install in CI ([#185](https://github.com/googleapis/nodejs-vision/pull/185))
232- Update CI config ([#184](https://github.com/googleapis/nodejs-vision/pull/184))
233- fix: (tests): Use real service to validate expectations. ([#182](https://github.com/googleapis/nodejs-vision/pull/182))
234- chore: make the CircleCI config consistent
235- Udpate Beta Vision samples to use beta tags ([#172](https://github.com/googleapis/nodejs-vision/pull/172))
236- Vision region tag update ([#171](https://github.com/googleapis/nodejs-vision/pull/171))
237- build: configure Windows build on Kokoro ([#165](https://github.com/googleapis/nodejs-vision/pull/165))
238- chore: do not use npm ci ([#167](https://github.com/googleapis/nodejs-vision/pull/167))
239- build(kokoro): samples-test.sh need GCLOUD_PROJECT env; node6 and node8 is using wrong .sh ([#162](https://github.com/googleapis/nodejs-vision/pull/162))
240- build(kokoro): setup samples and system test ([#161](https://github.com/googleapis/nodejs-vision/pull/161))
241- chore: ignore package-lock.json ([#160](https://github.com/googleapis/nodejs-vision/pull/160))
242- build: rename build.sh => test.sh; presubmit jobs runs lint and docs properly ([#158](https://github.com/googleapis/nodejs-vision/pull/158))
243- fix(samples): missing fs requires causing sample-test to fail ([#157](https://github.com/googleapis/nodejs-vision/pull/157))
244- build: add set -x to .sh to show the command being executed ([#156](https://github.com/googleapis/nodejs-vision/pull/156))
245- add samples linking to kokoro jobs ([#155](https://github.com/googleapis/nodejs-vision/pull/155))
246- Kokoro multi ver ([#153](https://github.com/googleapis/nodejs-vision/pull/153))
247- chore: update renovate config ([#152](https://github.com/googleapis/nodejs-vision/pull/152))
248- have presubmit.cfg in separate node* folders ([#151](https://github.com/googleapis/nodejs-vision/pull/151))
249- split presubmit to multiple node versions ([#149](https://github.com/googleapis/nodejs-vision/pull/149))
250
251## v0.21.1
252
253Patch release to bring in updates to google-gax@0.18.0 so it no longer emits deprecation warnings with grpc (#120), along with other dependency updates and documentation changes.
254
255### Dependencies
256- fix(deps): update dependency google-gax to ^0.18.0 (#146)
257- chore: drop dependency on common (#134)
258- chore(deps): update dependency eslint-plugin-node to v7 (#127)
259
260### Documentation
261- Code Samples demonstrating Object Localization & Handwriting OCR (#133)
262
263### Internal / Testing Changes
264- build: initial kokoro setup (#145)
265- chore: assert.deelEqual => assert.deepStrictEqual (#143)
266- chore: move mocha options to mocha.opts (#141)
267- chore: require node 8 for samples (#142)
268- chore: add node templates to synth.py (#139)
269- fix(deps): update dependency @google-cloud/vision to ^0.21.0 (#131)
270
271## v0.21.0
272
273### Implementation Changes
274#### 🚨 BREAKING CHANGE
275In this version we dropped support for NodeJS 4.x and 9.x. Your code might break if you're using this library on non LTS versions.
276- fix: drop support for node.js 4.x and 9.x (#117)
277
278### New Features
279This release brings in v1p3beta1 of the Cloud Vision API, which includes the following new features:
280- Object localization
281- Product search
282
283- gen: v1p3beta1 of Cloud Vision API NodeJS Client Library (#124)
284- feat: implement manual methods for objectLocalization and productSearch on v1p3beta1 (#128)
285
286### Dependencies
287- fix: update and cleanup dependencies (#102)
288- fix(deps): update dependency yargs to v12 (#103)
289- repo: setup greenkeeper.json to update dependencies in samples/package.json (#94)
290- refactor: drop dependency on extend (#85)
291- fix: move async to dev dependencies (#83)
292- chore: update many dependencies (#81)
293- fix: switch from node-uuid to uuid (#84)
294- chore(package): update eslint to version 5.0.1 (#98)
295- chore(package): update eslint to version 5.0.0 (#90)
296
297### Documentation
298
299### Internal / Testing Changes
300- Add smoke tests via regeneration (#122)
301- Re-generate library using /synth.py (#111)
302- synth.py: follow synth scripts from other repos (#113)
303- Beta2ga pdf ocr (#104)
304- Configure Renovate (#87)
305- refactor: drop repo-tool as an exec wrapper (#97)
306- fix: update linking for samples (#92)