UNPKG

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