@remotion/cloudrun 4.1.0-alpha5 → 4.1.0-alpha8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.renderStillSingleThread = void 0;
4
4
  const storage_1 = require("@google-cloud/storage");
5
5
  const renderer_1 = require("@remotion/renderer");
6
+ const remotion_1 = require("remotion");
6
7
  const log_1 = require("../cli/log");
7
8
  const random_hash_1 = require("../shared/random-hash");
8
9
  const get_composition_from_body_1 = require("./helpers/get-composition-from-body");
@@ -29,7 +30,12 @@ const renderStillSingleThread = async (body, res) => {
29
30
  },
30
31
  serveUrl: body.serveUrl,
31
32
  output: tempFilePath,
32
- inputProps: body.inputProps,
33
+ serializedInputPropsWithCustomSchema: body.serializedInputPropsWithCustomSchema,
34
+ serializedResolvedPropsWithCustomSchema: remotion_1.Internals.serializeJSONWithDate({
35
+ data: composition.props,
36
+ indent: undefined,
37
+ staticBase: null,
38
+ }).serializedString,
33
39
  jpegQuality: (_e = body.jpegQuality) !== null && _e !== void 0 ? _e : renderer_1.RenderInternals.DEFAULT_JPEG_QUALITY,
34
40
  imageFormat: body.imageFormat,
35
41
  scale: body.scale,
@@ -55,6 +55,10 @@
55
55
  {
56
56
  "name": "storage.objects.list",
57
57
  "reason": ""
58
+ },
59
+ {
60
+ "name": "logging.logEntries.list",
61
+ "reason": "Used by the CLI to fetch recent logs if the Cloud Run service crashes, to assist in debugging the root cause."
58
62
  }
59
63
  ]
60
64
  }
@@ -13,7 +13,7 @@ const validateImageRemotionVersion = async () => {
13
13
  },
14
14
  });
15
15
  const listedTags = await client.listTags({
16
- parent: 'projects/remotion-dev/locations/us/repositories/cloud-run/packages/render',
16
+ parent: 'projects/remotion-dev/locations/us/repositories/production/packages/render',
17
17
  });
18
18
  for (const tag of listedTags[0]) {
19
19
  if (version_1.VERSION === ((_a = tag.name) === null || _a === void 0 ? void 0 : _a.split('/').pop())) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/cloudrun",
3
- "version": "4.1.0-alpha5",
3
+ "version": "4.1.0-alpha8",
4
4
  "description": "GCP Cloud Run alternative to lambda rendering",
5
5
  "main": "dist/index.js",
6
6
  "dependencies": {
@@ -9,12 +9,13 @@
9
9
  "@google-cloud/run": "^0.4.0",
10
10
  "@google-cloud/storage": "^6.9.1",
11
11
  "@google-cloud/resource-manager": "^4.3.0",
12
+ "@google-cloud/logging": "^10.5.0",
12
13
  "google-auth-library": "^8.7.0",
13
14
  "zod": "^3.21.4",
14
- "remotion": "4.1.0-alpha5",
15
- "@remotion/renderer": "4.1.0-alpha5",
16
- "@remotion/bundler": "4.1.0-alpha5",
17
- "@remotion/cli": "4.1.0-alpha5"
15
+ "remotion": "4.1.0-alpha8",
16
+ "@remotion/cli": "4.1.0-alpha8",
17
+ "@remotion/bundler": "4.1.0-alpha8",
18
+ "@remotion/renderer": "4.1.0-alpha8"
18
19
  },
19
20
  "devDependencies": {
20
21
  "@jonny/eslint-config": "3.0.266",
@@ -26,7 +27,7 @@
26
27
  "ts-node": "^10.8.0",
27
28
  "typescript": "4.7.2",
28
29
  "vitest": "0.24.3",
29
- "@remotion/compositor-linux-x64-gnu": "4.1.0-alpha5"
30
+ "@remotion/compositor-linux-x64-gnu": "4.1.0-alpha8"
30
31
  },
31
32
  "exports": {
32
33
  "./package.json": "./package.json",