From 9410a032e1db07fd24dbd90995222047a16b9259 Mon Sep 17 00:00:00 2001 From: Douglas Gubert Date: Mon, 9 Dec 2024 10:09:41 -0300 Subject: [PATCH 1/2] Update Apps-Engine to v1.46.1 --- apps/meteor/ee/server/services/package.json | 2 +- apps/meteor/package.json | 2 +- ee/apps/ddp-streamer/package.json | 2 +- ee/packages/presence/package.json | 2 +- packages/apps/package.json | 2 +- packages/core-services/package.json | 2 +- packages/core-typings/package.json | 2 +- packages/fuselage-ui-kit/package.json | 2 +- packages/rest-typings/package.json | 2 +- yarn.lock | 26 ++++++++++----------- 10 files changed, 22 insertions(+), 22 deletions(-) diff --git a/apps/meteor/ee/server/services/package.json b/apps/meteor/ee/server/services/package.json index 2defc9b1f1d6..760a75e795e5 100644 --- a/apps/meteor/ee/server/services/package.json +++ b/apps/meteor/ee/server/services/package.json @@ -18,7 +18,7 @@ "author": "Rocket.Chat", "license": "MIT", "dependencies": { - "@rocket.chat/apps-engine": "1.46.0", + "@rocket.chat/apps-engine": "1.46.1", "@rocket.chat/core-services": "workspace:^", "@rocket.chat/core-typings": "workspace:^", "@rocket.chat/emitter": "~0.31.25", diff --git a/apps/meteor/package.json b/apps/meteor/package.json index 6153d3208420..1b32b3744889 100644 --- a/apps/meteor/package.json +++ b/apps/meteor/package.json @@ -230,7 +230,7 @@ "@rocket.chat/agenda": "workspace:^", "@rocket.chat/api-client": "workspace:^", "@rocket.chat/apps": "workspace:^", - "@rocket.chat/apps-engine": "1.46.0", + "@rocket.chat/apps-engine": "1.46.1", "@rocket.chat/base64": "workspace:^", "@rocket.chat/cas-validate": "workspace:^", "@rocket.chat/core-services": "workspace:^", diff --git a/ee/apps/ddp-streamer/package.json b/ee/apps/ddp-streamer/package.json index 56884ed1ed06..a1e180f9ec11 100644 --- a/ee/apps/ddp-streamer/package.json +++ b/ee/apps/ddp-streamer/package.json @@ -15,7 +15,7 @@ ], "author": "Rocket.Chat", "dependencies": { - "@rocket.chat/apps-engine": "1.46.0", + "@rocket.chat/apps-engine": "1.46.1", "@rocket.chat/core-services": "workspace:^", "@rocket.chat/core-typings": "workspace:^", "@rocket.chat/emitter": "~0.31.25", diff --git a/ee/packages/presence/package.json b/ee/packages/presence/package.json index 165e972de357..ae8eba063d32 100644 --- a/ee/packages/presence/package.json +++ b/ee/packages/presence/package.json @@ -6,7 +6,7 @@ "@babel/core": "~7.22.20", "@babel/preset-env": "~7.22.20", "@babel/preset-typescript": "~7.22.15", - "@rocket.chat/apps-engine": "1.46.0", + "@rocket.chat/apps-engine": "1.46.1", "@rocket.chat/eslint-config": "workspace:^", "@rocket.chat/rest-typings": "workspace:^", "@types/node": "^14.18.63", diff --git a/packages/apps/package.json b/packages/apps/package.json index 01894eb7029c..aa3cb8022816 100644 --- a/packages/apps/package.json +++ b/packages/apps/package.json @@ -18,7 +18,7 @@ "/dist" ], "dependencies": { - "@rocket.chat/apps-engine": "1.46.0", + "@rocket.chat/apps-engine": "1.46.1", "@rocket.chat/core-typings": "workspace:^", "@rocket.chat/model-typings": "workspace:^" } diff --git a/packages/core-services/package.json b/packages/core-services/package.json index 6d3501963ab6..f61a8086bfa0 100644 --- a/packages/core-services/package.json +++ b/packages/core-services/package.json @@ -32,7 +32,7 @@ "extends": "../../package.json" }, "dependencies": { - "@rocket.chat/apps-engine": "1.46.0", + "@rocket.chat/apps-engine": "1.46.1", "@rocket.chat/core-typings": "workspace:^", "@rocket.chat/icons": "~0.38.0", "@rocket.chat/message-parser": "workspace:^", diff --git a/packages/core-typings/package.json b/packages/core-typings/package.json index 6d1c27e12db2..b536d72c74ca 100644 --- a/packages/core-typings/package.json +++ b/packages/core-typings/package.json @@ -22,7 +22,7 @@ "/dist" ], "dependencies": { - "@rocket.chat/apps-engine": "1.46.0", + "@rocket.chat/apps-engine": "1.46.1", "@rocket.chat/icons": "~0.38.0", "@rocket.chat/message-parser": "workspace:^", "@rocket.chat/ui-kit": "workspace:~", diff --git a/packages/fuselage-ui-kit/package.json b/packages/fuselage-ui-kit/package.json index 755f1c029f26..3cea16a06273 100644 --- a/packages/fuselage-ui-kit/package.json +++ b/packages/fuselage-ui-kit/package.json @@ -63,7 +63,7 @@ "@babel/preset-env": "~7.22.20", "@babel/preset-react": "~7.22.15", "@babel/preset-typescript": "~7.22.15", - "@rocket.chat/apps-engine": "1.46.0", + "@rocket.chat/apps-engine": "1.46.1", "@rocket.chat/core-typings": "workspace:^", "@rocket.chat/eslint-config": "workspace:^", "@rocket.chat/fuselage": "^0.59.1", diff --git a/packages/rest-typings/package.json b/packages/rest-typings/package.json index e70c080a414b..bff311302e14 100644 --- a/packages/rest-typings/package.json +++ b/packages/rest-typings/package.json @@ -23,7 +23,7 @@ "/dist" ], "dependencies": { - "@rocket.chat/apps-engine": "1.46.0", + "@rocket.chat/apps-engine": "1.46.1", "@rocket.chat/core-typings": "workspace:^", "@rocket.chat/message-parser": "workspace:^", "@rocket.chat/ui-kit": "workspace:~", diff --git a/yarn.lock b/yarn.lock index 0db3add16115..a6c95a2b79ae 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8503,9 +8503,9 @@ __metadata: languageName: unknown linkType: soft -"@rocket.chat/apps-engine@npm:1.46.0": - version: 1.46.0 - resolution: "@rocket.chat/apps-engine@npm:1.46.0" +"@rocket.chat/apps-engine@npm:1.46.1": + version: 1.46.1 + resolution: "@rocket.chat/apps-engine@npm:1.46.1" dependencies: "@msgpack/msgpack": 3.0.0-beta2 adm-zip: ^0.5.9 @@ -8521,7 +8521,7 @@ __metadata: uuid: ~8.3.2 peerDependencies: "@rocket.chat/ui-kit": "*" - checksum: 0b4f0c6d00c666a78c488e5940639523e5d22500cbe2d687adc4b532b221be0e4bb9c4f011730077d8f8a06e252ea8e1d78c90d56f2517a5cf5d36d4376bed1e + checksum: 7415246a7399601f5afa95269d600d412311a620626c62049eec5a921b0e665ad24f4afed0ce1c9454f96b96f1fdb5398592770458f9e528d1b5d788644b66bf languageName: node linkType: hard @@ -8529,7 +8529,7 @@ __metadata: version: 0.0.0-use.local resolution: "@rocket.chat/apps@workspace:packages/apps" dependencies: - "@rocket.chat/apps-engine": 1.46.0 + "@rocket.chat/apps-engine": 1.46.1 "@rocket.chat/core-typings": "workspace:^" "@rocket.chat/model-typings": "workspace:^" eslint: ~8.45.0 @@ -8602,7 +8602,7 @@ __metadata: "@babel/core": ~7.22.20 "@babel/preset-env": ~7.22.20 "@babel/preset-typescript": ~7.22.15 - "@rocket.chat/apps-engine": 1.46.0 + "@rocket.chat/apps-engine": 1.46.1 "@rocket.chat/core-typings": "workspace:^" "@rocket.chat/eslint-config": "workspace:^" "@rocket.chat/icons": ~0.38.0 @@ -8627,7 +8627,7 @@ __metadata: version: 0.0.0-use.local resolution: "@rocket.chat/core-typings@workspace:packages/core-typings" dependencies: - "@rocket.chat/apps-engine": 1.46.0 + "@rocket.chat/apps-engine": 1.46.1 "@rocket.chat/eslint-config": "workspace:^" "@rocket.chat/icons": ~0.38.0 "@rocket.chat/message-parser": "workspace:^" @@ -8700,7 +8700,7 @@ __metadata: version: 0.0.0-use.local resolution: "@rocket.chat/ddp-streamer@workspace:ee/apps/ddp-streamer" dependencies: - "@rocket.chat/apps-engine": 1.46.0 + "@rocket.chat/apps-engine": 1.46.1 "@rocket.chat/core-services": "workspace:^" "@rocket.chat/core-typings": "workspace:^" "@rocket.chat/ddp-client": "workspace:~" @@ -8898,7 +8898,7 @@ __metadata: "@babel/preset-env": ~7.22.20 "@babel/preset-react": ~7.22.15 "@babel/preset-typescript": ~7.22.15 - "@rocket.chat/apps-engine": 1.46.0 + "@rocket.chat/apps-engine": 1.46.1 "@rocket.chat/core-typings": "workspace:^" "@rocket.chat/eslint-config": "workspace:^" "@rocket.chat/fuselage": ^0.59.1 @@ -9348,7 +9348,7 @@ __metadata: "@rocket.chat/agenda": "workspace:^" "@rocket.chat/api-client": "workspace:^" "@rocket.chat/apps": "workspace:^" - "@rocket.chat/apps-engine": 1.46.0 + "@rocket.chat/apps-engine": 1.46.1 "@rocket.chat/base64": "workspace:^" "@rocket.chat/cas-validate": "workspace:^" "@rocket.chat/core-services": "workspace:^" @@ -9971,7 +9971,7 @@ __metadata: "@babel/core": ~7.22.20 "@babel/preset-env": ~7.22.20 "@babel/preset-typescript": ~7.22.15 - "@rocket.chat/apps-engine": 1.46.0 + "@rocket.chat/apps-engine": 1.46.1 "@rocket.chat/core-services": "workspace:^" "@rocket.chat/core-typings": "workspace:^" "@rocket.chat/eslint-config": "workspace:^" @@ -10085,7 +10085,7 @@ __metadata: version: 0.0.0-use.local resolution: "@rocket.chat/rest-typings@workspace:packages/rest-typings" dependencies: - "@rocket.chat/apps-engine": 1.46.0 + "@rocket.chat/apps-engine": 1.46.1 "@rocket.chat/core-typings": "workspace:^" "@rocket.chat/eslint-config": "workspace:~" "@rocket.chat/message-parser": "workspace:^" @@ -37233,7 +37233,7 @@ __metadata: version: 0.0.0-use.local resolution: "rocketchat-services@workspace:apps/meteor/ee/server/services" dependencies: - "@rocket.chat/apps-engine": 1.46.0 + "@rocket.chat/apps-engine": 1.46.1 "@rocket.chat/core-services": "workspace:^" "@rocket.chat/core-typings": "workspace:^" "@rocket.chat/emitter": ~0.31.25 From f2382ba14fe9dd8e81f2cc77cf220a777485d272 Mon Sep 17 00:00:00 2001 From: Douglas Gubert Date: Mon, 9 Dec 2024 10:09:58 -0300 Subject: [PATCH 2/2] Add changeset --- .changeset/33494-changeset.md | 38 +++++++++++++++++++++++++++++++++ .changeset/33690-changeset-1.md | 38 +++++++++++++++++++++++++++++++++ .changeset/33690-changeset-2.md | 38 +++++++++++++++++++++++++++++++++ .changeset/33865-changeset.md | 38 +++++++++++++++++++++++++++++++++ .changeset/33997-changeset.md | 38 +++++++++++++++++++++++++++++++++ 5 files changed, 190 insertions(+) create mode 100644 .changeset/33494-changeset.md create mode 100644 .changeset/33690-changeset-1.md create mode 100644 .changeset/33690-changeset-2.md create mode 100644 .changeset/33865-changeset.md create mode 100644 .changeset/33997-changeset.md diff --git a/.changeset/33494-changeset.md b/.changeset/33494-changeset.md new file mode 100644 index 000000000000..150e143c2c6f --- /dev/null +++ b/.changeset/33494-changeset.md @@ -0,0 +1,38 @@ +--- +'@rocket.chat/omnichannel-services': patch +'rocketchat-services': patch +'@rocket.chat/omnichannel-transcript': patch +'@rocket.chat/authorization-service': patch +'@rocket.chat/web-ui-registration': patch +'@rocket.chat/stream-hub-service': patch +'@rocket.chat/uikit-playground': patch +'@rocket.chat/presence-service': patch +'@rocket.chat/fuselage-ui-kit': patch +'@rocket.chat/instance-status': patch +'@rocket.chat/account-service': patch +'@rocket.chat/message-parser': patch +'@rocket.chat/api-client': patch +'@rocket.chat/ddp-client': patch +'@rocket.chat/pdf-worker': patch +'@rocket.chat/core-services': patch +'@rocket.chat/model-typings': patch +'@rocket.chat/ui-video-conf': patch +'@rocket.chat/core-typings': patch +'@rocket.chat/peggy-loader': patch +'@rocket.chat/rest-typings': patch +'@rocket.chat/ddp-streamer': patch +'@rocket.chat/queue-worker': patch +'@rocket.chat/presence': patch +'@rocket.chat/ui-contexts': patch +'@rocket.chat/license': patch +'@rocket.chat/gazzodown': patch +'@rocket.chat/ui-avatar': patch +'@rocket.chat/ui-client': patch +'@rocket.chat/livechat': patch +'@rocket.chat/models': patch +'@rocket.chat/apps': patch +'@rocket.chat/cron': patch +'@rocket.chat/meteor': patch +--- + +Fixed a problem in the deno runtime controller where it would not handle undefined child process references correctly diff --git a/.changeset/33690-changeset-1.md b/.changeset/33690-changeset-1.md new file mode 100644 index 000000000000..53cc863237ba --- /dev/null +++ b/.changeset/33690-changeset-1.md @@ -0,0 +1,38 @@ +--- +'@rocket.chat/omnichannel-services': patch +'rocketchat-services': patch +'@rocket.chat/omnichannel-transcript': patch +'@rocket.chat/authorization-service': patch +'@rocket.chat/web-ui-registration': patch +'@rocket.chat/stream-hub-service': patch +'@rocket.chat/uikit-playground': patch +'@rocket.chat/presence-service': patch +'@rocket.chat/fuselage-ui-kit': patch +'@rocket.chat/instance-status': patch +'@rocket.chat/account-service': patch +'@rocket.chat/message-parser': patch +'@rocket.chat/api-client': patch +'@rocket.chat/ddp-client': patch +'@rocket.chat/pdf-worker': patch +'@rocket.chat/core-services': patch +'@rocket.chat/model-typings': patch +'@rocket.chat/ui-video-conf': patch +'@rocket.chat/core-typings': patch +'@rocket.chat/peggy-loader': patch +'@rocket.chat/rest-typings': patch +'@rocket.chat/ddp-streamer': patch +'@rocket.chat/queue-worker': patch +'@rocket.chat/presence': patch +'@rocket.chat/ui-contexts': patch +'@rocket.chat/license': patch +'@rocket.chat/gazzodown': patch +'@rocket.chat/ui-avatar': patch +'@rocket.chat/ui-client': patch +'@rocket.chat/livechat': patch +'@rocket.chat/models': patch +'@rocket.chat/apps': patch +'@rocket.chat/cron': patch +'@rocket.chat/meteor': patch +--- + +Removed the 1 second timeout of `Pre` app events. Now they will follow the "global" configuration diff --git a/.changeset/33690-changeset-2.md b/.changeset/33690-changeset-2.md new file mode 100644 index 000000000000..bb93be7946b7 --- /dev/null +++ b/.changeset/33690-changeset-2.md @@ -0,0 +1,38 @@ +--- +'@rocket.chat/omnichannel-services': patch +'rocketchat-services': patch +'@rocket.chat/omnichannel-transcript': patch +'@rocket.chat/authorization-service': patch +'@rocket.chat/web-ui-registration': patch +'@rocket.chat/stream-hub-service': patch +'@rocket.chat/uikit-playground': patch +'@rocket.chat/presence-service': patch +'@rocket.chat/fuselage-ui-kit': patch +'@rocket.chat/instance-status': patch +'@rocket.chat/account-service': patch +'@rocket.chat/message-parser': patch +'@rocket.chat/api-client': patch +'@rocket.chat/ddp-client': patch +'@rocket.chat/pdf-worker': patch +'@rocket.chat/core-services': patch +'@rocket.chat/model-typings': patch +'@rocket.chat/ui-video-conf': patch +'@rocket.chat/core-typings': patch +'@rocket.chat/peggy-loader': patch +'@rocket.chat/rest-typings': patch +'@rocket.chat/ddp-streamer': patch +'@rocket.chat/queue-worker': patch +'@rocket.chat/presence': patch +'@rocket.chat/ui-contexts': patch +'@rocket.chat/license': patch +'@rocket.chat/gazzodown': patch +'@rocket.chat/ui-avatar': patch +'@rocket.chat/ui-client': patch +'@rocket.chat/livechat': patch +'@rocket.chat/models': patch +'@rocket.chat/apps': patch +'@rocket.chat/cron': patch +'@rocket.chat/meteor': patch +--- + +Add support to configure apps runtime timeout via the APPS_ENGINE_RUNTIME_TIMEOUT environment variable diff --git a/.changeset/33865-changeset.md b/.changeset/33865-changeset.md new file mode 100644 index 000000000000..97108c93d002 --- /dev/null +++ b/.changeset/33865-changeset.md @@ -0,0 +1,38 @@ +--- +'@rocket.chat/omnichannel-services': patch +'rocketchat-services': patch +'@rocket.chat/omnichannel-transcript': patch +'@rocket.chat/authorization-service': patch +'@rocket.chat/web-ui-registration': patch +'@rocket.chat/stream-hub-service': patch +'@rocket.chat/uikit-playground': patch +'@rocket.chat/presence-service': patch +'@rocket.chat/fuselage-ui-kit': patch +'@rocket.chat/instance-status': patch +'@rocket.chat/account-service': patch +'@rocket.chat/message-parser': patch +'@rocket.chat/api-client': patch +'@rocket.chat/ddp-client': patch +'@rocket.chat/pdf-worker': patch +'@rocket.chat/core-services': patch +'@rocket.chat/model-typings': patch +'@rocket.chat/ui-video-conf': patch +'@rocket.chat/core-typings': patch +'@rocket.chat/peggy-loader': patch +'@rocket.chat/rest-typings': patch +'@rocket.chat/ddp-streamer': patch +'@rocket.chat/queue-worker': patch +'@rocket.chat/presence': patch +'@rocket.chat/ui-contexts': patch +'@rocket.chat/license': patch +'@rocket.chat/gazzodown': patch +'@rocket.chat/ui-avatar': patch +'@rocket.chat/ui-client': patch +'@rocket.chat/livechat': patch +'@rocket.chat/models': patch +'@rocket.chat/apps': patch +'@rocket.chat/cron': patch +'@rocket.chat/meteor': patch +--- + +Fixes an issue that would cause apps to appear disabled after a subprocess restart diff --git a/.changeset/33997-changeset.md b/.changeset/33997-changeset.md new file mode 100644 index 000000000000..060b270b8ddc --- /dev/null +++ b/.changeset/33997-changeset.md @@ -0,0 +1,38 @@ +--- +'@rocket.chat/omnichannel-services': patch +'rocketchat-services': patch +'@rocket.chat/omnichannel-transcript': patch +'@rocket.chat/authorization-service': patch +'@rocket.chat/web-ui-registration': patch +'@rocket.chat/stream-hub-service': patch +'@rocket.chat/uikit-playground': patch +'@rocket.chat/presence-service': patch +'@rocket.chat/fuselage-ui-kit': patch +'@rocket.chat/instance-status': patch +'@rocket.chat/account-service': patch +'@rocket.chat/message-parser': patch +'@rocket.chat/api-client': patch +'@rocket.chat/ddp-client': patch +'@rocket.chat/pdf-worker': patch +'@rocket.chat/core-services': patch +'@rocket.chat/model-typings': patch +'@rocket.chat/ui-video-conf': patch +'@rocket.chat/core-typings': patch +'@rocket.chat/peggy-loader': patch +'@rocket.chat/rest-typings': patch +'@rocket.chat/ddp-streamer': patch +'@rocket.chat/queue-worker': patch +'@rocket.chat/presence': patch +'@rocket.chat/ui-contexts': patch +'@rocket.chat/license': patch +'@rocket.chat/gazzodown': patch +'@rocket.chat/ui-avatar': patch +'@rocket.chat/ui-client': patch +'@rocket.chat/livechat': patch +'@rocket.chat/models': patch +'@rocket.chat/apps': patch +'@rocket.chat/cron': patch +'@rocket.chat/meteor': patch +--- + +Prevent apps' subprocesses from crashing on unhandled rejections or uncaught exceptions