Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency @google-cloud/vision to v0.23.0 #894

Merged
merged 2 commits into from
Nov 27, 2018

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 14, 2018

This PR contains the following updates:

Package Type Update Change References
@​google-cloud/vision dependencies minor 0.12.0 -> 0.23.0 source
@​google-cloud/vision dependencies minor 0.16.0 -> 0.23.0 source

Release Notes

googleapis/nodejs-vision

v0.23.0

Compare Source

New Features
  • feat: add support for product search
Dependencies
  • chore(deps): update dependency eslint-plugin-node to v8 (#​245)
  • chore(deps): update dependency canvas to v2 (#​224)
  • chore(deps): update dependency sinon to v7 (#​219)
  • chore(deps): update dependency eslint-plugin-prettier to v3 (#​213)
Documentation
  • fix(samples): Adding vision_product_search_tutorial_import tags (#​221)
  • fix(samples): Change the Project ID from number to string (#​220)
  • docs: Vision AutoML samples (#​197)
Internal / Testing Changes
  • chore: use latest npm on Windows (#​258)
  • chore: update lint configs (#​257)
  • chore: update CircleCI config (#​253)
  • chore: update issue templates (#​244)
  • chore: remove old issue template (#​242)
  • build: run tests on node11 (#​239)
  • chores(build): do not collect sponge.xml from windows builds (#​238)
  • chores(build): run codecov on continuous builds (#​237)
  • chore: update new issue template (#​235)
  • build: fix codecov uploading on Kokoro (#​222)
  • chore: enable --throw-deprecation on mocha config (#​147)
  • Update kokoro config (#​214)
  • Update kokoro config (#​208)
  • test: remove appveyor config (#​207)
  • Update the CI config (#​206)

v0.22.1

Compare Source

Bug fixes
  • Fix response output for Detect Labels (#​199)
Documentation
  • Vision GA – vision_localize_objects & vision_localize_object_gcs (#​200)
  • Product search rebased (#​196)
Internal / Testing Changes
  • Enable prefer-const in the eslint config (#​201)
  • Enable no-var in eslint (#​198)
  • Switch to let/const (#​194)
  • fix(deps): update dependency google-gax to ^0.20.0 (#​193)

v0.22.0

Compare Source

New Features

Object Localization is available on v1 of this library:

  • Updated CI config and run synth (#​181)
Dependencies
Internal / Testing Changes
  • Update CI config (#​188)
  • Fix the sample tests (#​187)
  • Retry npm install in CI (#​185)
  • Update CI config (#​184)
  • fix: (tests): Use real service to validate expectations. (#​182)
  • chore: make the CircleCI config consistent
  • Udpate Beta Vision samples to use beta tags (#​172)
  • Vision region tag update (#​171)
  • build: configure Windows build on Kokoro (#​165)
  • chore: do not use npm ci (#​167)
  • build(kokoro): samples-test.sh need GCLOUD_PROJECT env; node6 and node8 is using wrong .sh (#​162)
  • build(kokoro): setup samples and system test (#​161)
  • chore: ignore package-lock.json (#​160)
  • build: rename build.sh => test.sh; presubmit jobs runs lint and docs properly (#​158)
  • fix(samples): missing fs requires causing sample-test to fail (#​157)
  • build: add set -x to .sh to show the command being executed (#​156)
  • add samples linking to kokoro jobs (#​155)
  • Kokoro multi ver (#​153)
  • chore: update renovate config (#​152)
  • have presubmit.cfg in separate node* folders (#​151)
  • split presubmit to multiple node versions (#​149)

v0.21.0

Compare Source

Implementation Changes
🚨 BREAKING CHANGE

In 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.

  • fix: drop support for node.js 4.x and 9.x (#​117)
New Features

This release brings in v1p3beta1 of the Cloud Vision API, which includes the following new features:

  • Object localization

  • Product search

  • gen: v1p3beta1 of Cloud Vision API NodeJS Client Library (#​124)

  • feat: implement manual methods for objectLocalization and productSearch on v1p3beta1 (#​128)

Dependencies
  • fix: update and cleanup dependencies (#​102)
  • fix(deps): update dependency yargs to v12 (#​103)
  • repo: setup greenkeeper.json to update dependencies in samples/package.json (#​94)
  • refactor: drop dependency on extend (#​85)
  • fix: move async to dev dependencies (#​83)
  • chore: update many dependencies (#​81)
  • fix: switch from node-uuid to uuid (#​84)
  • chore(package): update eslint to version 5.0.1 (#​98)
  • chore(package): update eslint to version 5.0.0 (#​90)
Documentation
Internal / Testing Changes
  • Add smoke tests via regeneration (#​122)
  • Re-generate library using /synth.py (#​111)
  • synth.py: follow synth scripts from other repos (#​113)
  • Beta2ga pdf ocr (#​104)
  • Configure Renovate (#​87)
  • refactor: drop repo-tool as an exec wrapper (#​97)
  • fix: update linking for samples (#​92)

v0.20.0

Compare Source

Changes

  • Adds PDF/TIFF OCR to the Vision API

v0.19.0

Compare Source

Features

This is a minor release that updates v1p2beta1 code and adds a new sample of scanning the PDF file. The default endpoint is still v1, and there are no incompatible changes.

v0.18.0

Compare Source

Features

This release contains GAPIC update to v1p2beta1 endpoint that contains just a proto change and no changes to the generated code. The added message type message AnnotateFileResponse will be used in samples later. There are no incompatible changes, existing code (using v1, v1p1beta1, or v1p2beta1 endpoints) will work as earlier. v1 endpoint is still used by default.

v0.17.0

Compare Source

Fixes

Updated dependencies, including google-gax, to fix streaming behavior. (googleapis/gax-nodejs#​197)

v0.16.0

Compare Source

Features

This release enables the new endpoint v1p2beta1 that you can work with using the following code:

const vision = require("@​google-cloud/vision");
var client = new vision.v1p2beta1.ImageAnnotatorClient();

The default endpoint v1 has not changed so no existing code is affected by this change.

v0.15.2

Compare Source

Fixes

This patch release updates some dependencies to fix the security issues introduced by log-driver package. No other changes since the previous release.

v0.15.1

Compare Source

Fixes

  • Updated dependencies to mitigate possible security issues.

v0.15.0

Compare Source

Features

In this release, still beta, we have added some small compatible improvements to the v1 API and refreshed auto generated code. This version will likely be released to general availability after some time.

v0.14.0

Compare Source

release level

This should be considered a subsequent and hopefully final release candidate. It has no breaking changes; we just simply want to give the API introduced in 0.13.0 slightly more bake time before declaring GA.

Features

Beta Endpoint

This release adds the v1p1beta1 endpoint. This is a new backend endpoint which adds features which the backend API considers to be in public beta. These features are being prepared for general release and should be mostly stable; however, changes may occur if necessary.

By default, this client library will use the v1 (general availability) endpoint, rather than silently opt you into using beta features. If you wish to use v1p1beta1, you can opt into it explicitly when requiring the library:

const vision = require('@​google-cloud/vision').v1p1beta1;

The v1p1beta1 endpoint is a superset of v1; it also contains all v1 features. The goal is that you can change nothing but your require statement, and when these features go GA, you only have to remove the version designation.

v0.13.0

Compare Source

release level

This is the (hopefully) final release candidate before declaring a stable release.

⚠️ Breaking Changes!

Request Format

We learned from a few mistakes we made in the previous release, and have updated the API to be simpler and more consistent. We now require the entire AnnotateImageRequest to be sent to annotateImage, rather than just the image component. This allows for cases where you need to specify something else (e.g. imageContext) without having to fall back on the batch method.

To make up for this, we also reinstated the ability to send a simple string or buffer in lieu of the entire request in the single-feature methods (#​5), which should make this a net reduction of code.

Simple Cases

Here is a migration guide for simple cases:

Before
var image = {
  source: {imageUri: 'gs://path/to/image.jpg'},
};
vision.labelDetection(image).then(data => {
  let apiResponse = data[0];
  // ...
});
After
vision.labelDetection('gs://path/to/image.jpg').then(data => {
  let apiResponse = data[0];
  // ...
});
Complex Cases

In complex cases (for example, where you needed another key in the request), you will need to send the entire request object, except for the parts that get added in by the method (e.g. the features key).

Carrying forward the previous example:

Before
var image = {
  source: {imageUri: 'gs://path/to/image.jpg'},
};
vision.labelDetection(image).then(data => {
  let apiResponse = data[0];
  // ...
});
After
var request = {
  image: {
    source: {imageUri: 'gs://path/to/image.jpg'},
  },
};
vision.labelDetection(request).then(data => {
  let apiResponse = data[0];
  // ...
});

Refer to the nodejs-vision API reference documentation for details.

Features

Runnable samples

There are now runnable samples in the samples/ directory. These samples demonstrate the use of this API and offer an additional resource for getting started. These also power the readme, and are automatically tested to ensure that they are up-to-date and correct.

Implementation Details

  • Change to a new linter (ESLint) and code style formatter (prettify).
  • Update docs to use JSDoc 3.
  • Migrate to the googleapis/nodejs-vision repository.

Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR is stale, or if you modify the PR title to begin with "rebase!".

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


This PR has been generated by Renovate Bot. View repository job log here.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 14, 2018
@renovate renovate bot force-pushed the renovate/google-cloud-vision-0.x branch 18 times, most recently from 8bc09e8 to b68327d Compare November 18, 2018 22:14
@renovate renovate bot force-pushed the renovate/google-cloud-vision-0.x branch 2 times, most recently from a42e831 to 7764e75 Compare November 26, 2018 00:50
@fhinkel fhinkel added the kokoro:run Add this label to force Kokoro to re-run the tests. label Nov 26, 2018
@kokoro-team kokoro-team removed the kokoro:run Add this label to force Kokoro to re-run the tests. label Nov 26, 2018
@renovate renovate bot force-pushed the renovate/google-cloud-vision-0.x branch from 223730d to 969e06d Compare November 26, 2018 16:27
@fhinkel fhinkel added kokoro:run Add this label to force Kokoro to re-run the tests. kokoro:force-run Add this label to force Kokoro to re-run the tests. and removed kokoro:run Add this label to force Kokoro to re-run the tests. labels Nov 26, 2018
@fhinkel fhinkel removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 26, 2018
@kokoro-team kokoro-team removed the kokoro:run Add this label to force Kokoro to re-run the tests. label Nov 26, 2018
@fhinkel fhinkel added the kokoro:run Add this label to force Kokoro to re-run the tests. label Nov 26, 2018
@fhinkel fhinkel added kokoro:run Add this label to force Kokoro to re-run the tests. and removed kokoro:run Add this label to force Kokoro to re-run the tests. labels Nov 27, 2018
@kokoro-team kokoro-team removed the kokoro:run Add this label to force Kokoro to re-run the tests. label Nov 27, 2018
@renovate
Copy link
Contributor Author

renovate bot commented Nov 27, 2018

PR has been edited

👷 This PR has received other commits, so Renovate will stop updating it to avoid conflicts or other problems. If you wish to abandon your changes and have Renovate start over then you can add the label rebase to this PR and Renovate will reset/recreate it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants