-
Notifications
You must be signed in to change notification settings - Fork 2k
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
migrate code from googleapis/nodejs-secret-manager #2874
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
ahrarmonsur
commented
Nov 18, 2022
- feat!: initial generation of library (Add sample for using cloud storage api. #1)
- feat: add secretmanager samples (Add appengine/gulp sample #8)
- fix: rename comment samples (Add appengine/ghost sample #10)
- chore: release 1.0.0 (pr/5 #6)
- chore(deps): update dependency c8 to v7 (Add engines field to package.json for samples #12)
- chore: release 1.0.1 (Add sample for using memcached for connect session state #14)
- chore: release 1.1.0 (Regenerated the kraken app to be a simpler sample. Added links to dep… #18)
- chore(deps): update dependency mocha to v7 (Add integrations tests that check that samples deploy #21)
- chore: release 1.1.1 (Add deployment tests. Closes #21. #23)
- chore: release 1.1.2 (clean up memcache sample #25)
- docs: remove misleading header (add task list example application #28)
- feat: add IAM samples (Cleaned up some indentation and logging. #34)
- chore: release 1.2.0 (Add webpack sample #38)
- chore: release 1.2.1 (Added instructions for running the tests. Fixes #49. #50)
- chore: release 2.0.0 (Parse-server sample for Google App Engine not recognizing variables in yaml #63)
- chore: release 2.0.1 (Changes for Datastore v1beta3. #68)
- chore: release 2.1.0 (Env vars are parsed from app.yaml on local run. Added SERVER_URL to app.yaml #70)
- feat!: drop node8 support, support for async iterators (Add Monitoring Tests #85)
- chore: release 3.0.0 (Add instructions on how to use http2 with node.js enabled appengine #86)
- chore: update uuid (Add Missing Dependency #114)
- fix(samples): correct usage of toString() (How to add the environment variables in Windows? #117)
- chore(deps): update dependency mocha to v8 (memcache samples should use right env vars #126)
- chore: release 3.1.0 (Add Cloud Vision text detection sample. #113)
- chore: release 3.2.0 (Query sample + tests #166)
- chore: release 3.2.1 (Organize samples by product group. #185)
- chore: release 3.2.2 (Add style section to CONTRIBUTING.md. #188)
- chore: release 3.2.3 (Use real Error in tests. #192)
- chore: release 3.3.0 (Fix typo #200)
- chore: release 3.4.0 (Update semistandard to version 9.0.0 🚀 #203)
- docs: update samples for correct types (allow bower to run as root to fix deployment failure (issue 204) #205)
- chore: release 3.5.0 (Updates Endpoints README to mention App Engine Flex. #208)
- chore: release 3.6.0 (serviceContext is now automatically extracted on GAE flex #229)
- chore: release 3.6.1 (Unable to do npm install for Speech on MacOS #248)
- chore: release 3.7.0 (Fix multer options #256)
- chore: release 3.7.1 (Update Pub/Sub samples. #259)
- chore: release 3.7.2 (Botkit-based NL API bot #270)
- chore: release 3.7.3 (Speech sample: Error: spawn rec ENOENT with listen option #275)
- chore: release 3.8.0 (pubsub throws 'Service Unavailable' #277)
- chore: release 3.8.1 (Not able to import in React.js | Not sure if browser support is available as no documentation about it #280)
- chore: release 3.9.0 (websocket issues #285)
- chore: release 3.9.1 (Add yarn.lock files, use Yarn during CI build #290)
- chore: release 3.10.0 (Not working sample: /appengine/websockets #292)
- chore: release 3.10.1 (Add KMS quickstart. #296)
- docs(samples): add example tags to generated samples (Update Vision samples to be easier to read. Update dependencies. #312)
- samples: update getSecret sample to include version (SlackBot doesn't seem to access Natural Language API #311)
- Revert "samples: update getSecret sample to include version (SlackBot doesn't seem to access Natural Language API #311)" (Spanner samples #313)
- chore(main): release 3.11.0 (Fix flaky monitoring tests #336)
- chore(main): release 3.12.0 (Recognize.js on Audio Stream is not very realtime #357)
- build!: update library to use Node 12 (Add Spanner + Cloud Functions sample #371)
- chore(main): release 4.0.0 (updated readme for the renaming of files #372)
- chore(main): release 4.0.1 (Adds Cloud Spanner to README files. #381)
- feat: add code samples for secret manager access by alias (Does not install on macos sierra #373)
- docs(samples): Added sample for creating Secret with UserManaged replication (Address comments #388)
- chore(main): release 4.1.0 (Fix CONTRIBUTING.md links not rendering correctly #389)
- chore(main): release 4.1.1 (Speech API: Error: spawn rec ENOENT with listen option #397)
- chore(main): release 4.1.2 (Fix uploaded/updated logic for Cloud Storage #400)
- chore(deps): update dependency uuid to v9 (Add + run dependency updating (bash) script #401)
- chore(main): release 4.1.3 (npm install & npm test is failing on windows with speech sample #404)
- chore(main): release 4.1.4 (Unable to run on raspberry pi zero w #415)
* updated CHANGELOG.md [ci skip] * updated package.json [ci skip] * updated samples/package.json [ci skip]
🤖 I have created a release \*beep\* \*boop\* --- ## [2.0.0](https://www.github.com/googleapis/nodejs-secret-manager/compare/v1.2.1...v2.0.0) (2020-02-28) ### ⚠ BREAKING CHANGES * drop support for Node 8 (which is EOL) (#64) * library now uses v1 API surface (#62) ### Features * drop support for Node 8 (which is EOL) ([#64](https://www.github.com/googleapis/nodejs-secret-manager/issues/64)) ([e4118ef](https://www.github.com/googleapis/nodejs-secret-manager/commit/e4118ef699ff63e005f65b154fb2b3a379e3cfd1)) * export protos in src/index.ts ([46e2c3e](https://www.github.com/googleapis/nodejs-secret-manager/commit/46e2c3e5b598dbd3eefeec859f52fffa32bdf63c)) * library now uses v1 API surface ([#62](https://www.github.com/googleapis/nodejs-secret-manager/issues/62)) ([a8368d4](https://www.github.com/googleapis/nodejs-secret-manager/commit/a8368d465c8577f708d3185d60c26b7e652befbe)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please).
BREAKING CHANGE: The library now supports Node.js v10+. The last version to support Node.js v8 is tagged legacy-8 on NPM. New feature: methods with pagination now support async iteration.
update UUID addressing linting issue.
* Remove example's unused character encoding When accessing a secret version, the payload data is of type `string | Uint8Array`, neither of which accepts a character encoding option in their `toString()` function. Co-authored-by: Stephen <[email protected]>
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#​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 - [#​4328](https://togithub.com/mochajs/mocha/issues/4328): Fix `--parallel` when combined with `--watch` ([**@​boneskull**](https://togithub.com/boneskull)) ### [`v8.0.0`](https://togithub.com/mochajs/mocha/blob/master/CHANGELOG.md#​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 [**@​giltayar**](https://togithub.com/giltayar) and [**@​nicojs**](https://togithub.com/nicojs) to the maintenance team! #### 💥 Breaking Changes - [#​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 ([**@​UlisesGascon**](https://togithub.com/UlisesGascon)) - [#​4175](https://togithub.com/mochajs/mocha/issues/4175): Having been deprecated with a warning since v7.0.0, **`mocha.opts` is no longer supported** ([**@​juergba**](https://togithub.com/juergba)) ✨ **WORKAROUND:** Replace `mocha.opts` with a [configuration file](https://mochajs.org/#configuring-mocha-nodejs). - [#​4260](https://togithub.com/mochajs/mocha/issues/4260): Remove `enableTimeout()` (`this.enableTimeout()`) from the context object ([**@​craigtaub**](https://togithub.com/craigtaub)) ✨ **WORKAROUND:** Replace usage of `this.enableTimeout(false)` in your tests with `this.timeout(0)`. - [#​4315](https://togithub.com/mochajs/mocha/issues/4315): The `spec` option no longer supports a comma-delimited list of files ([**@​juergba**](https://togithub.com/juergba)) ✨ **WORKAROUND**: Use an array instead (e.g., `"spec": "foo.js,bar.js"` becomes `"spec": ["foo.js", "bar.js"]`). - [#​4309](https://togithub.com/mochajs/mocha/issues/4309): Drop support for Node.js v13.x line, which is now End-of-Life ([**@​juergba**](https://togithub.com/juergba)) - [#​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 ([**@​arvidOtt**](https://togithub.com/arvidOtt)) - [#​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 ([**@​juergba**](https://togithub.com/juergba)) - [#​4178](https://togithub.com/mochajs/mocha/issues/4178): Remove previously soft-deprecated APIs ([**@​wnghdcjfe**](https://togithub.com/wnghdcjfe)): - `Mocha.prototype.ignoreLeaks()` - `Mocha.prototype.useColors()` - `Mocha.prototype.useInlineDiffs()` - `Mocha.prototype.hideDiff()` #### 🎉 Enhancements - [#​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)) ([**@​boneskull**](https://togithub.com/boneskull)) ❗ See also [#​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_ - [#​4304](https://togithub.com/mochajs/mocha/issues/4304): `--require` now works with ES modules ([**@​JacobLey**](https://togithub.com/JacobLey)) - [#​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!_ ([**@​giltayar**](https://togithub.com/giltayar)) #### 📖 Documentation - [#​4246](https://togithub.com/mochajs/mocha/issues/4246): Add documentation for parallel mode and Root Hook plugins ([**@​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-secret-manager).
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
🤖 I have created a release \*beep\* \*boop\* --- ### [3.2.3](https://www.github.com/googleapis/nodejs-secret-manager/compare/v3.2.2...v3.2.3) (2020-11-25) ### Bug Fixes * **browser:** check for fetch on window ([98aaa17](https://www.github.com/googleapis/nodejs-secret-manager/commit/98aaa17c8b9c939746c218b0da3c9d299ad640e1)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please).
🤖 I have created a release \*beep\* \*boop\* --- ## [3.3.0](https://www.github.com/googleapis/nodejs-secret-manager/compare/v3.2.3...v3.3.0) (2021-01-09) ### Features * adds style enumeration ([#199](https://www.github.com/googleapis/nodejs-secret-manager/issues/199)) ([d99b4af](https://www.github.com/googleapis/nodejs-secret-manager/commit/d99b4af960182916b9a5ed0dfd1f12a2148729fb)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
🤖 I have created a release \*beep\* \*boop\* --- ## [3.9.0](https://www.github.com/googleapis/nodejs-secret-manager/compare/v3.8.1...v3.9.0) (2021-07-30) ### Features * In Secret Manager, users can now use filter to customize the output of ListSecrets/ListSecretVersions calls ([#283](https://www.github.com/googleapis/nodejs-secret-manager/issues/283)) ([063691a](https://www.github.com/googleapis/nodejs-secret-manager/commit/063691a87291fab82037e9b444812dcf0724eb0c)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
🤖 I have created a release \*beep\* \*boop\* --- ### [3.9.1](https://www.github.com/googleapis/nodejs-secret-manager/compare/v3.9.0...v3.9.1) (2021-08-17) ### Bug Fixes * **deps:** google-gax v2.24.1 ([#289](https://www.github.com/googleapis/nodejs-secret-manager/issues/289)) ([e802581](https://www.github.com/googleapis/nodejs-secret-manager/commit/e802581bf44ce6175cefdd13e8aeb6e107cb0cd2)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
PiperOrigin-RevId: 408439482 Source-Link: googleapis/googleapis@b9f6184 Source-Link: https://github.com/googleapis/googleapis-gen/commit/eb888bc214efc7bf43bf4634b470254565a659a5 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZWI4ODhiYzIxNGVmYzdiZjQzYmY0NjM0YjQ3MDI1NDU2NWE2NTlhNSJ9
Co-authored-by: Benjamin E. Coe <[email protected]>
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Benjamin E. Coe <[email protected]>
* build!: Update library to use Node 12 Co-authored-by: Summer Ji <[email protected]> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
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>
🤖 I have created a release *beep* *boop* --- ## [4.0.1](googleapis/nodejs-secret-manager@v4.0.0...v4.0.1) (2022-06-30) ### Bug Fixes * **docs:** describe fallback rest option ([#379](googleapis/nodejs-secret-manager#379)) ([368cff5](googleapis/nodejs-secret-manager@368cff5)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
* feat: add code samples for secret manager access by alias See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Benjamin E. Coe <[email protected]> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
…ication (#388) * added create ummr secret sample * added test for create ummr secret * fix dependency version * lint changes * updated copyright * updated comment * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
* chore(main): release 4.1.0 * 🦉 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>
* chore(main): release 4.1.1 * 🦉 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>
* chore(main): release 4.1.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>
* chore(main): release 4.1.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>
🤖 I have created a release *beep* *boop* --- ## [4.1.4](https://togithub.com/googleapis/nodejs-secret-manager/compare/v4.1.3...v4.1.4) (2022-11-11) ### Bug Fixes * **deps:** Use google-gax v3.5.2 ([#413](https://togithub.com/googleapis/nodejs-secret-manager/issues/413)) ([1652509](https://togithub.com/googleapis/nodejs-secret-manager/commit/16525099e4a28b466ebfa067a001124d253c8992)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
product-auto-label
bot
added
the
samples
Issues that are directly related to samples.
label
Nov 18, 2022
Here is the summary of changes. You are about to add 16 region tags.
This comment is generated by snippet-bot.
|
kweinmeister
approved these changes
Nov 18, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.