5.3.0 (2020-03-06)
5.2.0 (2020-02-27)
5.1.6 (2020-02-07)
- pass x-goog-request-params header for streaming calls (40c90fa)
5.1.5 (2020-02-04)
- enum, bytes, and Long types now accept strings (19891e0)
5.1.4 (2020-01-04)
- better client close(), update .nycrc (f476326)
- increase timeout from 20s to 60s (#411) (40241fe)
- suppress unhandled promise rejection errors (#417) (8eb6558)
5.1.3 (2019-12-16)
- refactored request call to supress unhandled promise rejection (#406) (19fc9c7)
- removed display_name from sample (f518b1a)
- update translate_create_glossary.js (#403) (aa10fc7)
5.1.2 (2019-12-11)
- make operationsClient and service stub public (7ac1252)
5.1.1 (2019-12-05)
- deps: pin TypeScript below 3.7.0 (53f3cff)
5.1.0 (2019-11-22)
- get autosynth working again (#387) (c226e58)
- deps: update dependency yargs to v15 (#386) (e87a80f)
- docs: snippets are now replaced in jsdoc comments (#381) (b14f7d4)
5.0.2 (2019-11-08)
5.0.1 (2019-10-28)
5.0.0 (2019-10-28)
- this significantly changes TypeScript types and API surface from the v2 API. Reference samples/ for help making the migration from v2 to v3.
4.2.1 (2019-10-22)
4.2.0 (2019-10-10)
- deps: update dependency yargs to v14 (3d6b18d)
- deps: use the latest extend (#316) (f7ca873)
- docs: stop linking reference documents to anchor (f935f91)
- samples: use us-central1 region (not global) (#322) (8500423)
- add filter to method signature (f6fb81e)
- hybrid glossaries (#338) (d37671a)
- hybrid glossary tutorial region tag (#334) (d61836d)
- use compatible version of google-gax (620304e)
- use correct version for x-goog-api-client header (50950c9)
- add label support (#331) (c912f71)
- load protos from JSON, grpc-fallback support (423c336)
- samples for hybrid glossaries tutorial (#327) (96ec12f)
4.1.3 (2019-08-05)
4.1.2 (2019-07-23)
- deps: drop unused dependency lodash.merge, related to sec vulnerability (fixes #301) (#302) (018efd4)
4.1.1 (2019-06-29)
4.1.0 (2019-06-14)
- deps: update dependency is-html to v2 (#280) (00187c9)
- deps: update dependency teeny-request to v4 (#292) (5d608f2)
- docs: move to new client docs URL (#294) (ecb6cab)
- types: use Metadata types for apiResponse (#277) (cf7899f)
- support apiEndpoint override (#285) (dc8fe12)
- support apiEndpoint override in client constructor (#289) (35f1229)
4.0.1 (2019-05-20)
4.0.0 (2019-05-13)
- deps: update dependency @google-cloud/common to v1 (#262) (269018b)
- deps: update dependency google-gax to v1 (#263) (95efe30)
- DEADLINE_EXCEEDED is idempotent (#264) (1c222f8)
- DEADLINE_EXCEEDED is no longer retried (#259) (4ea044e)
- deps: update dependency @google-cloud/promisify to v1 (#253) (672f6da)
- deps: update dependency google-gax to ^0.26.0 (#248) (4412bbf)
- upgrade engines field to >=8.10.0 (#249)
04-09-2019 12:19 PDT
- fix(build): include build/protos in npm package (#241)
- fix(deps): update dependency @google-cloud/automl to ^0.2.0 (#236)
- fix(deps): update dependency arrify to v2
- fix(deps): update dependency @google-cloud/common to ^0.32.0
- Change region tag to translate_translate_text_with_glossary_beta (#240)
- docs(samples): Add samples for translate v3 beta (#234)
- refactor: use execSync for tests (#237)
BREAKING CHANGE:
This release introduces the grpc
dependency.
In some environments, this will trigger a native compilation.
- feat: add version v3beta1 (#232)
- chore(deps): update dependency typescript to ~3.4.0 (#231)
03-12-2019 12:30 PDT
This patch release has a few dependency bumps and doc updates. Enjoy!
- fix(deps): update dependency @google-cloud/promisify to ^0.4.0 (#217)
- fix(deps): update dependency yargs to v13 (#215)
- fix(deps): update dependency @google-cloud/common to ^0.31.0 (#209)
- docs: update links in contrib guide (#218)
- docs: update contributing path in README (#212)
- docs: move CONTRIBUTING.md to root (#211)
- docs: add lint/fix example to contributing guide (#208)
- docs: brand issue - Translate API => Cloud Translation API (#196)
- build: Add docuploader credentials to node publish jobs (#222)
- build: use node10 to run samples-test, system-test etc (#221)
- build: update release configuration
- chore(deps): update dependency mocha to v6 (#219)
- build: use linkinator for docs test (#216)
- build: create docs test npm scripts (#214)
- build: test using @grpc/grpc-js in CI (#213)
- chore(deps): update dependency eslint-config-prettier to v4 (#206)
- build: ignore googleapis.com in doc link check (#204)
- build: check broken links in generated docs (#202)
- refactor: modernize sample tests (#199)
- chore(build): inject yoshi automation key (#195)
- chore: update nyc and eslint configs (#194)
- chore: fix publish.sh permission +x (#192)
- fix(build): fix Kokoro release script (#191)
- build: add Kokoro configs for autorelease (#190)
12-06-2018 17:12 PST
- fix(deps): update dependency @google-cloud/common to ^0.27.0 (#176)
- chore(deps): update dependency typescript to ~3.2.0 (#177)
- chore(deps): update dependency gts to ^0.9.0 (#170)
- chore(deps): update dependency @google-cloud/nodejs-repo-tools to v3 (#168)
- chore(deps): update dependency @types/is to v0.0.21 (#166)
- chore(deps): update dependency eslint-plugin-node to v8 (#157)
- fix(deps): update dependency @google-cloud/common to ^0.26.0 (#149)
- chore(deps): update dependency sinon to v7 (#142)
- fix(deps): update dependency @google-cloud/translate to v2 (#137)
- chore(deps): update dependency eslint-plugin-prettier to v3 (#139)
- chore(deps): update dependency typescript to ~3.1.0 (#136)
- fix(docs): place doc comment above the last overload (#186)
- docs: update readme badges (#180)
- docs(samples): updated samples code to use async await (#154)
- chore: always nyc report before calling codecov (#185)
- chore: nyc ignore build/test by default (#184)
- chore: update license file (#182)
- fix(build): fix system key decryption (#178)
- chore: add a synth.metadata
- refactor(samples): convert sample tests from ava to mocha (#171)
- chore: update eslintignore config (#169)
- chore: drop contributors from multiple places (#167)
- chore: use latest npm on Windows (#165)
- chore(build): ignore build dir with eslint
- chore: update CircleCI config (#163)
- fix: fix the sample tests (#156)
- chore: update issue templates (#155)
- chore: remove old issue template (#151)
- build: run tests on node11 (#150)
- chores(build): do not collect sponge.xml from windows builds (#148)
- chores(build): run codecov on continuous builds (#147)
- chore: update new issue template (#146)
- build: fix codecov uploading on Kokoro (#143)
- Update kokoro config (#140)
- Update CI config (#135)
- samples: fixed incorrect end tag (#134)
- Update CI config (#130)
- Translate Automl samples (#131)
- Don't publish sourcemaps (#132)
- test: remove appveyor config (#129)
- build: update CI configs (#127)
- fix: Improve typescript types (#124)
- fix(deps): update dependency @google-cloud/common to ^0.25.0 (#122)
- fix(deps): update dependency @google-cloud/common to ^0.24.0 (#117)
- Enable prefer-const in the eslint config (#123)
- Enable no-var in eslint (#121)
- Update CI config (#118)
- Enable noImplicitThis in tsconfig (#115)
- Retry npm install in CI (#113)
- fix: set request module (#112)
- Re-generate library using /synth.py (#111)
- fix: run the linter (#110)
- fix: always run all system-tests (#109)
- feat: Use small request dependency (#98)
- doc: use new import syntax in samples (#100)
- Re-generate library using /synth.py (#104)
- chore(deps): update dependency nyc to v13 (#103)
- Update the CI config (#102)
- chore: update CircleCI config
- chore(deps): update dependency eslint-config-prettier to v3 (#95)
- chore: run repo tools (#96)
This release has breaking changes.
Previous versions of the API would allow for creating new Translate objects directly from the imported module. To provide consistency with es modules, there are no default exports.
const translate = require('@google-cloud/translate')({
keyFilename: '...'
});
const {Translate} = require('@google-cloud/translate');
const translate = new Translate({
keyFilename: '...'
});
- fix: drop support for node.js 4.x and 9.x (#64)
- feat: convert to TypeScript (#63)
- docs: fix link (#72)
- docs: fix small typos (#71)
- fix: add a synth file (#93)
- chore: add better types (#92)
- chore: ignore package-lock.json (#91)
- chore: use promisify and upgrade common (#90)
- chore: update renovate config (#86)
- chore: remove propprop, clean up (#87)
- remove that whitespace (#85)
- chore(deps): update dependency typescript to v3 (#82)
- chore: move mocha options to mocha.opts (#78)
- chore: assert.deelEqual => assert.deepStrictEqual (#81)
- chore: enable linting and arrow functions (#80)
- chore: require node 8 for samples (#79)
- chore(deps): update dependency gts to ^0.8.0 (#73)
- chore(deps): update dependency eslint-plugin-node to v7 (#75)
- fix(deps): update dependency yargs to v12 (#59)
- chore(deps): update dependency sinon to v6.0.1 (#57)
- Configure Renovate (#52)
- refactor: drop repo-tool as an exec wrapper (#56)
- fix: update linking for samples (#54)
- chore(package): update eslint to version 5.0.0 (#53)
- chore: the ultimate fix for repo-tools EPERM (#45)
- chore: update all dependencies (#50)
- fix(package): update @google-cloud/common to version 0.20.0 (#49)
- fix: update all the dependencies (#48)
- Update nyc to the latest version 🚀 (#47)
- chore: timeout for system test (#44)
- chore: test on node10 (#41)
- chore: workaround for repo-tools EPERM (#36)
- chore: setup nighty build in CircleCI (#34)
- Upgrade repo-tools and regenerate scaffolding. (#33)
- Update proxyquire to the latest version 🚀 (#29)
- Update mocha to the latest version 🚀 (#22)
- Linting per [email protected]. (#21)