From 8a6e8b7eb4fbe3ae20ba8869d51563f0ff37a777 Mon Sep 17 00:00:00 2001 From: CloudQuery Bot <102256036+cq-bot@users.noreply.github.com> Date: Thu, 26 Jun 2025 11:15:33 +0100 Subject: [PATCH 1/4] fix: Generate JavaScript Code from `plugin-pb` (#101) This PR was created by a scheduled workflow to regenerate the JavaScript code from `plugin-pb`. --- protos/plugin/v3/plugin.proto | 1 + protos/plugin/v3/plugin.ts | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/protos/plugin/v3/plugin.proto b/protos/plugin/v3/plugin.proto index fd423aa..5822eef 100644 --- a/protos/plugin/v3/plugin.proto +++ b/protos/plugin/v3/plugin.proto @@ -118,6 +118,7 @@ message Sync { bool deterministic_cq_id = 4; BackendOptions backend = 5; optional Shard shard = 6; + bool withErrorMessages = 7; // If true, the plugin will send error messages in the response stream } message Response { oneof message { diff --git a/protos/plugin/v3/plugin.ts b/protos/plugin/v3/plugin.ts index 93ca71c..fd71507 100644 --- a/protos/plugin/v3/plugin.ts +++ b/protos/plugin/v3/plugin.ts @@ -1359,6 +1359,7 @@ export namespace cloudquery.plugin.v3 { skip_dependent_tables?: boolean; deterministic_cq_id?: boolean; backend?: Sync.BackendOptions; + withErrorMessages?: boolean; } & (({ shard?: Sync.Request.Shard; })))) { @@ -1383,6 +1384,9 @@ export namespace cloudquery.plugin.v3 { if ("shard" in data && data.shard != undefined) { this.shard = data.shard; } + if ("withErrorMessages" in data && data.withErrorMessages != undefined) { + this.withErrorMessages = data.withErrorMessages; + } } } get tables() { @@ -1427,6 +1431,12 @@ export namespace cloudquery.plugin.v3 { get has_shard() { return pb_1.Message.getField(this, 6) != null; } + get withErrorMessages() { + return pb_1.Message.getFieldWithDefault(this, 7, false) as boolean; + } + set withErrorMessages(value: boolean) { + pb_1.Message.setField(this, 7, value); + } get _shard() { const cases: { [index: number]: "none" | "shard"; @@ -1443,6 +1453,7 @@ export namespace cloudquery.plugin.v3 { deterministic_cq_id?: boolean; backend?: ReturnType; shard?: ReturnType; + withErrorMessages?: boolean; }): Request { const message = new Request({}); if (data.tables != null) { @@ -1463,6 +1474,9 @@ export namespace cloudquery.plugin.v3 { if (data.shard != null) { message.shard = Sync.Request.Shard.fromObject(data.shard); } + if (data.withErrorMessages != null) { + message.withErrorMessages = data.withErrorMessages; + } return message; } toObject() { @@ -1473,6 +1487,7 @@ export namespace cloudquery.plugin.v3 { deterministic_cq_id?: boolean; backend?: ReturnType; shard?: ReturnType; + withErrorMessages?: boolean; } = {}; if (this.tables != null) { data.tables = this.tables; @@ -1492,6 +1507,9 @@ export namespace cloudquery.plugin.v3 { if (this.shard != null) { data.shard = this.shard.toObject(); } + if (this.withErrorMessages != null) { + data.withErrorMessages = this.withErrorMessages; + } return data; } serialize(): Uint8Array; @@ -1510,6 +1528,8 @@ export namespace cloudquery.plugin.v3 { writer.writeMessage(5, this.backend, () => this.backend.serialize(writer)); if (this.has_shard) writer.writeMessage(6, this.shard, () => this.shard.serialize(writer)); + if (this.withErrorMessages != false) + writer.writeBool(7, this.withErrorMessages); if (!w) return writer.getResultBuffer(); } @@ -1537,6 +1557,9 @@ export namespace cloudquery.plugin.v3 { case 6: reader.readMessage(message.shard, () => message.shard = Sync.Request.Shard.deserialize(reader)); break; + case 7: + message.withErrorMessages = reader.readBool(); + break; default: reader.skipField(); } } From e3ff70e8952e76abad9352f8efe0b4b9cf85789a Mon Sep 17 00:00:00 2001 From: CloudQuery Bot <102256036+cq-bot@users.noreply.github.com> Date: Tue, 1 Jul 2025 03:28:32 +0100 Subject: [PATCH 2/4] fix(deps): Update dependency @grpc/grpc-js to v1.13.4 (#103) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@grpc/grpc-js](https://grpc.io/) ([source](https://redirect.github.com/grpc/grpc-node)) | devDependencies | patch | [`1.13.3` -> `1.13.4`](https://renovatebot.com/diffs/npm/@grpc%2fgrpc-js/1.13.3/1.13.4) | --- ### Release Notes
grpc/grpc-node (@​grpc/grpc-js) ### [`v1.13.4`](https://redirect.github.com/grpc/grpc-node/releases/tag/%40grpc/grpc-js%401.13.4): @​grpc/grpc-js 1.13.4 [Compare Source](https://redirect.github.com/grpc/grpc-node/compare/@grpc/grpc-js@1.13.3...@grpc/grpc-js@1.13.4) - Fix ability to set SNI with `ssl_target_name_override` option ([#​2956](https://redirect.github.com/grpc/grpc-node/issues/2956))
--- ### Configuration 📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM, on day 1 of the month ( * 0-3 1 * * ) (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2dea3ac..8fff623 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,9 +24,9 @@ } }, "node_modules/@grpc/grpc-js": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.13.3.tgz", - "integrity": "sha512-FTXHdOoPbZrBjlVLHuKbDZnsTxXv2BlHF57xw6LuThXacXvtkahEPED0CKMk6obZDf65Hv4k3z62eyPNpvinIg==", + "version": "1.13.4", + "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.13.4.tgz", + "integrity": "sha512-GsFaMXCkMqkKIvwCQjCrwH+GHbPKBjhwo/8ZuUkWHqbI73Kky9I+pQltrlT0+MWpedCoosda53lgjYfyEPgxBg==", "dev": true, "license": "Apache-2.0", "dependencies": { From 579ce9fcf349a7858702943df54aef660a481546 Mon Sep 17 00:00:00 2001 From: CloudQuery Bot <102256036+cq-bot@users.noreply.github.com> Date: Tue, 1 Jul 2025 03:30:25 +0100 Subject: [PATCH 3/4] fix(deps): Update dependency @tsconfig/node16 to v16.1.4 (#104) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@tsconfig/node16](https://redirect.github.com/tsconfig/bases) ([source](https://redirect.github.com/tsconfig/bases/tree/HEAD/bases)) | devDependencies | patch | [`16.1.3` -> `16.1.4`](https://renovatebot.com/diffs/npm/@tsconfig%2fnode16/16.1.3/16.1.4) | --- ### Release Notes
tsconfig/bases (@​tsconfig/node16) ### [`v16.1.4`](https://redirect.github.com/tsconfig/bases/compare/be6b3bb160889347b8614e8d18e1e88c40f8ecc9...dbe119a15269c1c8b262a18613ac571796fb301c) [Compare Source](https://redirect.github.com/tsconfig/bases/compare/be6b3bb160889347b8614e8d18e1e88c40f8ecc9...dbe119a15269c1c8b262a18613ac571796fb301c)
--- ### Configuration 📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM, on day 1 of the month ( * 0-3 1 * * ) (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). --- package-lock.json | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8fff623..138fda3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -150,10 +150,11 @@ "dev": true }, "node_modules/@tsconfig/node16": { - "version": "16.1.3", - "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-16.1.3.tgz", - "integrity": "sha512-9nTOUBn+EMKO6rtSZJk+DcqsfgtlERGT9XPJ5PRj/HNENPCBY1yu/JEj5wT6GLtbCLBO2k46SeXDaY0pjMqypw==", - "dev": true + "version": "16.1.4", + "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-16.1.4.tgz", + "integrity": "sha512-tkWPDtk18K2qJK/DhU010f03iDlw+C8qjXvhwZ4KKpJQC4QFOG3r8tIf2q6aWD0mz9N7RcZcaD9SPlrVLKiDoQ==", + "dev": true, + "license": "MIT" }, "node_modules/@types/google-protobuf": { "version": "3.15.12", From 69bf41eaa5c2de3f1681ef0bd9cb2650b5e7ffe2 Mon Sep 17 00:00:00 2001 From: CloudQuery Bot <102256036+cq-bot@users.noreply.github.com> Date: Tue, 1 Jul 2025 10:12:22 +0100 Subject: [PATCH 4/4] chore(main): Release v0.0.36 (#102) :robot: I have created a release *beep* *boop* --- ## [0.0.36](https://github.com/cloudquery/plugin-pb-javascript/compare/v0.0.35...v0.0.36) (2025-07-01) ### Bug Fixes * **deps:** Update dependency @grpc/grpc-js to v1.13.4 ([#103](https://github.com/cloudquery/plugin-pb-javascript/issues/103)) ([e3ff70e](https://github.com/cloudquery/plugin-pb-javascript/commit/e3ff70e8952e76abad9352f8efe0b4b9cf85789a)) * **deps:** Update dependency @tsconfig/node16 to v16.1.4 ([#104](https://github.com/cloudquery/plugin-pb-javascript/issues/104)) ([579ce9f](https://github.com/cloudquery/plugin-pb-javascript/commit/579ce9fcf349a7858702943df54aef660a481546)) * Generate JavaScript Code from `plugin-pb` ([#101](https://github.com/cloudquery/plugin-pb-javascript/issues/101)) ([8a6e8b7](https://github.com/cloudquery/plugin-pb-javascript/commit/8a6e8b7eb4fbe3ae20ba8869d51563f0ff37a777)) --- 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-manifest.json | 2 +- CHANGELOG.md | 9 +++++++++ package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index a4c7ad2..d1b9552 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.0.35" + ".": "0.0.36" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 449f4f6..9d2e822 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## [0.0.36](https://github.com/cloudquery/plugin-pb-javascript/compare/v0.0.35...v0.0.36) (2025-07-01) + + +### Bug Fixes + +* **deps:** Update dependency @grpc/grpc-js to v1.13.4 ([#103](https://github.com/cloudquery/plugin-pb-javascript/issues/103)) ([e3ff70e](https://github.com/cloudquery/plugin-pb-javascript/commit/e3ff70e8952e76abad9352f8efe0b4b9cf85789a)) +* **deps:** Update dependency @tsconfig/node16 to v16.1.4 ([#104](https://github.com/cloudquery/plugin-pb-javascript/issues/104)) ([579ce9f](https://github.com/cloudquery/plugin-pb-javascript/commit/579ce9fcf349a7858702943df54aef660a481546)) +* Generate JavaScript Code from `plugin-pb` ([#101](https://github.com/cloudquery/plugin-pb-javascript/issues/101)) ([8a6e8b7](https://github.com/cloudquery/plugin-pb-javascript/commit/8a6e8b7eb4fbe3ae20ba8869d51563f0ff37a777)) + ## [0.0.35](https://github.com/cloudquery/plugin-pb-javascript/compare/v0.0.34...v0.0.35) (2025-06-25) diff --git a/package-lock.json b/package-lock.json index 138fda3..4433f63 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@cloudquery/plugin-pb-javascript", - "version": "0.0.35", + "version": "0.0.36", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@cloudquery/plugin-pb-javascript", - "version": "0.0.35", + "version": "0.0.36", "license": "MPL-2.0", "dependencies": { "google-protobuf": "^3.21.2" diff --git a/package.json b/package.json index 344a2cb..7a31156 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@cloudquery/plugin-pb-javascript", - "version": "0.0.35", + "version": "0.0.36", "files": [ "dist" ],