GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [deprecated] migrate code from googleapis/nodejs-media-translation by kweinmeister · Pull Request #2803 · GoogleCloudPlatform/nodejs-docs-samples

Conversation

@kweinmeister

@kweinmeister kweinmeister commented Nov 7, 2022

Copy link
Copy Markdown
Collaborator
  • feat!: initial library generation (Add sample for using cloud storage api. #1)
  • chore: release 1.0.0 ('cloud-storage' -> 'storage' #4)
  • feat: adds media translation file, mic samples
  • feat!: drop node8 support (Added "engines" to package.json files. Made package.json and readme f… #17)
  • chore: release 2.0.0 (Regenerated the kraken app to be a simpler sample. Added links to dep… #18)
  • feat: adds 'single_utterance' to stream from file sample (Add integration tests that check that samples run #20)
  • fix: streaming mic sample
  • docs: update product doc links
  • chore: release 2.1.0 (Added MongoDB example #27)
  • chore(deps): update dependency mocha to v8 (Use a port picker to prevent port reuse #49)
  • feat(samples): demonstrate real-time conversation translation (Datastore: Use new Key object to easily reference parts of a key path #48)
  • chore: release 2.2.0 (Add property query filtering snippet. #47)
  • chore: release 2.2.1 (Add region tags to GKE Dockerfile. #95)
  • chore: release 2.2.2 (Datastore tutorial seems to depend on v1beta2 #98)
  • fix: Added check to see if stream has been destroyed before writing result… (Finish the endpoints samples #107)
  • chore: release 2.2.3 (Add Cloud Vision face detection sample. #109)
  • samples: fixes a typo (split unit tests and system tests into separate tasks #154)
  • samples: another typo in comments (Add Cloud Natural Language API sample. #155)
  • chore: release 2.3.0 (Refactored tests #159)
  • chore: release 2.3.1 (App Engine and Cloud SQL - connection lost issue #163)
  • chore: release 2.3.2 (Add Cloud Storage encryption samples and tests. #165)
  • chore: release 2.3.3 (Update CI settings. #167)
  • chore: release 2.3.4 (Logging API samples #175)
  • fix(build): update branch to main (Bigtable samples #180)
  • chore: release 2.4.0 (Resource Manager API samples #177)
  • build!: update library to use Node 12 (Simplify Storage samples and their tests. #225)
  • chore(main): release 3.0.0 (Add callback type-checking to tests #227)
  • chore(main): release 3.0.1 (Does transaction.get guarantees the same order as the keys? #234)
  • chore(main): release 3.0.2 (Functions #245)
  • chore(main): release 3.0.3 (@google-cloud/datastore 0.5.0 does not return entity keys with query results #250)
  • chore(main): release 3.0.4 (Update Cloud Functions error sample to use the Error Reporting module #252)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Benjamin E. Coe and others added 30 commits March 18, 2020 21:32
Benjamin E. Coe
feat!: initial library generation (#1)
69f3f8d
@release-please
chore: release 1.0.0 (#4)
64e6f05
@telpirion
feat: adds media translation file, mic samples
335dffa
* feat: adds streaming samples

* fix: linter errors

* fix: per reviewer

* fix: per reviewer

* fix: updates package.json
@alexander-fenster
feat!: drop node8 support (#17)
f63a098
BREAKING CHANGE: The library now supports Node.js v10+. The last version to support Node.js v8 is tagged legacy-8 on NPM.
@release-please
chore: release 2.0.0 (#18)
30737b0
* updated CHANGELOG.md [ci skip]

* updated package.json [ci skip]

* updated samples/package.json [ci skip]

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
@telpirion @JustinBeckwith
feat: adds 'single_utterance' to stream from file sample (#20)
6105674
* feat: adds streaming samples
* fix: updates package.json

Co-authored-by: Justin Beckwith <[email protected]>
@telpirion
fix: streaming mic sample
44735a0
@yoshi-automation
docs: update product doc links
42f65d9
@release-please
chore: release 2.1.0 (#27)
aa35da3
🤖 I have created a release \*beep\* \*boop\* 
---
## [2.1.0](https://www.github.com/googleapis/nodejs-media-translation/compare/v2.0.0...v2.1.0) (2020-06-04)


### Features

* adds 'single_utterance' to stream from file sample ([#20](https://www.github.com/googleapis/nodejs-media-translation/issues/20)) ([9455e20](https://www.github.com/googleapis/nodejs-media-translation/commit/9455e207de7ff9c9f72936dd3a908b694eee59fe))


### Bug Fixes

* regen protos and tests, formatting ([#39](https://www.github.com/googleapis/nodejs-media-translation/issues/39)) ([684f355](https://www.github.com/googleapis/nodejs-media-translation/commit/684f355cbecec36c18763b59ddec613c0ea097a9))
* remove eslint, update gax, fix generated protos, run the generator ([#24](https://www.github.com/googleapis/nodejs-media-translation/issues/24)) ([3aca62a](https://www.github.com/googleapis/nodejs-media-translation/commit/3aca62aed3a4e49e4892f9ad29c3d0166c57fa56))
* streaming mic sample ([488c235](https://www.github.com/googleapis/nodejs-media-translation/commit/488c23522b31e26b419c9a4cb5829969e9050928))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please).
@renovate-bot
chore(deps): update dependency mocha to v8 (#49)
1834906
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [mocha](https://mochajs.org/) ([source](https://togithub.com/mochajs/mocha)) | devDependencies | major | [`^7.0.0` -> `^8.0.0`](https://renovatebot.com/diffs/npm/mocha/7.2.0/8.0.1) |

---

### Release Notes

<details>
<summary>mochajs/mocha</summary>

### [`v8.0.1`](https://togithub.com/mochajs/mocha/blob/master/CHANGELOG.md#&#8203;801--2020-06-10)

[Compare Source](https://togithub.com/mochajs/mocha/compare/v8.0.0...v8.0.1)

The obligatory patch after a major.

#### 🐛 Fixes

-   [#&#8203;4328](https://togithub.com/mochajs/mocha/issues/4328): Fix `--parallel` when combined with `--watch` ([**@&#8203;boneskull**](https://togithub.com/boneskull))

### [`v8.0.0`](https://togithub.com/mochajs/mocha/blob/master/CHANGELOG.md#&#8203;800--2020-06-10)

[Compare Source](https://togithub.com/mochajs/mocha/compare/v7.2.0...v8.0.0)

In this major release, Mocha adds the ability to _run tests in parallel_. Better late than never! Please note the **breaking changes** detailed below.

Let's welcome [**@&#8203;giltayar**](https://togithub.com/giltayar) and [**@&#8203;nicojs**](https://togithub.com/nicojs) to the maintenance team!

#### 💥 Breaking Changes

-   [#&#8203;4164](https://togithub.com/mochajs/mocha/issues/4164): **Mocha v8.0.0 now requires Node.js v10.0.0 or newer.** Mocha no longer supports the Node.js v8.x line ("Carbon"), which entered End-of-Life at the end of 2019 ([**@&#8203;UlisesGascon**](https://togithub.com/UlisesGascon))

-   [#&#8203;4175](https://togithub.com/mochajs/mocha/issues/4175): Having been deprecated with a warning since v7.0.0, **`mocha.opts` is no longer supported** ([**@&#8203;juergba**](https://togithub.com/juergba))

    ✨ **WORKAROUND:** Replace `mocha.opts` with a [configuration file](https://mochajs.org/#configuring-mocha-nodejs).

-   [#&#8203;4260](https://togithub.com/mochajs/mocha/issues/4260): Remove `enableTimeout()` (`this.enableTimeout()`) from the context object ([**@&#8203;craigtaub**](https://togithub.com/craigtaub))

    ✨ **WORKAROUND:** Replace usage of `this.enableTimeout(false)` in your tests with `this.timeout(0)`.

-   [#&#8203;4315](https://togithub.com/mochajs/mocha/issues/4315): The `spec` option no longer supports a comma-delimited list of files ([**@&#8203;juergba**](https://togithub.com/juergba))

    ✨ **WORKAROUND**: Use an array instead (e.g., `"spec": "foo.js,bar.js"` becomes `"spec": ["foo.js", "bar.js"]`).

-   [#&#8203;4309](https://togithub.com/mochajs/mocha/issues/4309): Drop support for Node.js v13.x line, which is now End-of-Life ([**@&#8203;juergba**](https://togithub.com/juergba))

-   [#&#8203;4282](https://togithub.com/mochajs/mocha/issues/4282): `--forbid-only` will throw an error even if exclusive tests are avoided via `--grep` or other means ([**@&#8203;arvidOtt**](https://togithub.com/arvidOtt))

-   [#&#8203;4223](https://togithub.com/mochajs/mocha/issues/4223): The context object's `skip()` (`this.skip()`) in a "before all" (`before()`) hook will no longer execute subsequent sibling hooks, in addition to hooks in child suites ([**@&#8203;juergba**](https://togithub.com/juergba))

-   [#&#8203;4178](https://togithub.com/mochajs/mocha/issues/4178): Remove previously soft-deprecated APIs ([**@&#8203;wnghdcjfe**](https://togithub.com/wnghdcjfe)):
    -   `Mocha.prototype.ignoreLeaks()`
    -   `Mocha.prototype.useColors()`
    -   `Mocha.prototype.useInlineDiffs()`
    -   `Mocha.prototype.hideDiff()`

#### 🎉 Enhancements

-   [#&#8203;4245](https://togithub.com/mochajs/mocha/issues/4245): Add ability to run tests in parallel for Node.js (see [docs](https://mochajs.org/#parallel-tests)) ([**@&#8203;boneskull**](https://togithub.com/boneskull))

    ❗ See also [#&#8203;4244](https://togithub.com/mochajs/mocha/issues/4244); [Root Hook Plugins (docs)](https://mochajs.org/#root-hook-plugins) -- _root hooks must be defined via Root Hook Plugins to work in parallel mode_

-   [#&#8203;4304](https://togithub.com/mochajs/mocha/issues/4304): `--require` now works with ES modules ([**@&#8203;JacobLey**](https://togithub.com/JacobLey))

-   [#&#8203;4299](https://togithub.com/mochajs/mocha/issues/4299): In some circumstances, Mocha can run ES modules under Node.js v10 -- _use at your own risk!_ ([**@&#8203;giltayar**](https://togithub.com/giltayar))

#### 📖 Documentation

-   [#&#8203;4246](https://togithub.com/mochajs/mocha/issues/4246): Add documentation for parallel mode and Root Hook plugins ([**@&#8203;boneskull**](https://togithub.com/boneskull))

#### 🐛 Fixes

(All bug fixes in Mocha v8.0.0 are also breaking changes, and are listed above)

</details>

---

### Renovate configuration

📅 **Schedule**: "after 9am and before 3pm" (UTC).

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

♻️ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

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

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/nodejs-media-translation).
@telpirion
feat(samples): demonstrate real-time conversation translation (#48)
8919a11
This PR improves the Media Translation microphone sample so that it is more aware of "state." When the API returns the SpeechEventType.END_OF_SINGLE_UTTERANCE event, the stream is closed and the user can initiate another call to the API.

The following region tags are affected:
media_translation_translate_from_mic
@release-please
chore: release 2.2.0 (#47)
00de739
@release-please
chore: release 2.2.1 (#95)
839ce1e
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
@release-please
chore: release 2.2.2 (#98)
8e1a4ae
🤖 I have created a release \*beep\* \*boop\* 
---
### [2.2.2](https://www.github.com/googleapis/nodejs-media-translation/compare/v2.2.1...v2.2.2) (2020-11-25)


### Bug Fixes

* **browser:** check for fetch on window ([c0245c5](https://www.github.com/googleapis/nodejs-media-translation/commit/c0245c54d8c45f1f3171e9066bc7bab3c4162b69))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please).
@awoehler
fix: Added check to see if stream has been destroyed before writing r…
5bf13e2
…esult… (#107)
@release-please
chore: release 2.2.3 (#109)
d8a640a
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
@telpirion
samples: fixes a typo (#154)
b3ff86b
@telpirion @gcf-owl-bot
samples: another typo in comments (#155)
289c718
* fix: another typo in comments

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/master/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@release-please
chore: release 2.3.0 (#159)
6eb239f
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
@release-please
chore: release 2.3.1 (#163)
1619b04
🤖 I have created a release \*beep\* \*boop\*
---
### [2.3.1](https://www.github.com/googleapis/nodejs-media-translation/compare/v2.3.0...v2.3.1) (2021-06-30)


### Bug Fixes

* **deps:** google-gax v2.17.0 with mTLS ([#161](https://www.github.com/googleapis/nodejs-media-translation/issues/161)) ([bbd1415](https://www.github.com/googleapis/nodejs-media-translation/commit/bbd141565364bc0bbb15f1240d98683033da3001))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
@release-please
chore: release 2.3.2 (#165)
5584347
🤖 I have created a release \*beep\* \*boop\*
---
### [2.3.2](https://www.github.com/googleapis/nodejs-media-translation/compare/v2.3.1...v2.3.2) (2021-07-12)


### Bug Fixes

* **deps:** google-gax v2.17.1 ([#164](https://www.github.com/googleapis/nodejs-media-translation/issues/164)) ([6c7caad](https://www.github.com/googleapis/nodejs-media-translation/commit/6c7caadc989cfe0e898ce2034d2fbac71208d888))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
@release-please
chore: release 2.3.3 (#167)
3ae815c
🤖 I have created a release \*beep\* \*boop\*
---
### [2.3.3](https://www.github.com/googleapis/nodejs-media-translation/compare/v2.3.2...v2.3.3) (2021-07-21)


### Bug Fixes

* Updating WORKSPACE files to use the newest version of the Typescript generator. ([#166](https://www.github.com/googleapis/nodejs-media-translation/issues/166)) ([a1899d2](https://www.github.com/googleapis/nodejs-media-translation/commit/a1899d2f2f7bfa0894c0b1823ce75759638ff91b))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
@release-please
chore: release 2.3.4 (#175)
c5e3942
🤖 I have created a release \*beep\* \*boop\*
---
### [2.3.4](https://www.github.com/googleapis/nodejs-media-translation/compare/v2.3.3...v2.3.4) (2021-08-17)


### Bug Fixes

* **deps:** google-gax v2.24.1 ([#174](https://www.github.com/googleapis/nodejs-media-translation/issues/174)) ([b90cf10](https://www.github.com/googleapis/nodejs-media-translation/commit/b90cf1034235ab0416011de7a1b77afed5597dfc))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Benjamin E. Coe
fix(build): update branch to main (#180)
1a45e25
@release-please @gcf-owl-bot
chore: release 2.4.0 (#177)
22989cc
* chore: release 2.4.0

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@sofisl @gcf-owl-bot
build!: update library to use Node 12 (#225)
ebad8ee
* build!: Update library to use Node 12

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@release-please @gcf-owl-bot Benjamin E. Coe
chore(main): release 3.0.0 (#227)
6693369
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Benjamin E. Coe <[email protected]>
@release-please
chore(main): release 3.0.1 (#234)
0fd886e
🤖 I have created a release *beep* *boop*
---


## [3.0.1](googleapis/nodejs-media-translation@v3.0.0...v3.0.1) (2022-06-30)


### Bug Fixes

* **docs:** describe fallback rest option ([#233](googleapis/nodejs-media-translation#233)) ([f83d3ed](googleapis/nodejs-media-translation@f83d3ed))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
@release-please @gcf-owl-bot
chore(main): release 3.0.2 (#245)
b7854e0
* chore(main): release 3.0.2

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@release-please @gcf-owl-bot
chore(main): release 3.0.3 (#250)
8504a3a
* chore(main): release 3.0.3

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@kweinmeister
update README
56f1e0d
@snippet-bot

snippet-bot Bot commented Nov 7, 2022 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Here is the summary of changes.

You are about to add 3 region tags.
  • mediatranslation/quickstart.js:24, tag mediatranslation_quickstart
  • mediatranslation/translate_from_file.js:24, tag mediatranslation_translate_from_file
  • mediatranslation/translate_from_mic.js:40, tag mediatranslation_translate_from_mic

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

kweinmeister added 3 commits November 7, 2022 17:46
@kweinmeister
update README typo
64d1041
@kweinmeister
change to mediatranslation
cebe6ce
@kweinmeister
reconcile region tags
6e5cba4
grayside
grayside approved these changes Nov 8, 2022
View reviewed changes
@kweinmeister
kweinmeister enabled auto-merge (rebase) November 8, 2022 00:21
kweinmeister added 2 commits November 7, 2022 18:21
@kweinmeister
Merge branch 'main' into nodejs-media-translation-migration
7da2096
@kweinmeister
Merge branch 'main' into nodejs-media-translation-migration
12a882a
auto-merge was automatically disabled November 8, 2022 17:26

Rebase failed

kweinmeister and others added 15 commits November 8, 2022 11:48
@kweinmeister
fix indent
3ed8efe
@kweinmeister
update CODEOWNERS
48d1e7e
@kweinmeister
change to mediatranslation
1da745a
@kweinmeister
Merge branch 'main' into nodejs-media-translation-migration
b264b90
@kweinmeister
use existing region tags
63f9827
@kweinmeister
revert change due to snippetbot check
61d3ae0
@kweinmeister
test: update CI workflow
f5521db
@kweinmeister
change to mediatranslation
961d3b2
@kweinmeister
test: update CI workflow
96aed15
@kweinmeister
fix indent
7d30df7
@kweinmeister
change to mediatranslation
91026a8
@kweinmeister
fix indent
61c2ba4
@kweinmeister
update CODEOWNERS
3aa2c94
@kweinmeister
test: update CI workflow
a255942
@kweinmeister
change to mediatranslation
2bad7e3
@kweinmeister
kweinmeister enabled auto-merge (rebase) November 8, 2022 21:00
auto-merge was automatically disabled November 8, 2022 21:02

Rebase failed

@kweinmeister

kweinmeister commented Nov 8, 2022

Copy link
Copy Markdown
Collaborator Author

Closing this PR, and will start fresh. Too many challenges with conflicts / rebasing.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@kweinmeister kweinmeister closed this Nov 8, 2022
@kweinmeister kweinmeister changed the title migrate code from googleapis/nodejs-media-translation [deprecated] migrate code from googleapis/nodejs-media-translation Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@grayside grayside grayside approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

samples Issues that are directly related to samples.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

9 participants

@kweinmeister @grayside @kokoro-team @telpirion @alexander-fenster @yoshi-automation @renovate-bot @awoehler @sofisl
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.