@remotion/cloudrun 4.0.50 → 4.0.51

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.
@@ -1,14 +1,14 @@
1
1
 
2
- > @remotion/cloudrun@4.0.49 build /Users/jonathanburger/remotion/packages/cloudrun
2
+ > @remotion/cloudrun@4.0.50 build /Users/jonathanburger/remotion/packages/cloudrun
3
3
  > tsc -d && cp src/shared/sa-permissions.json dist/shared/sa-permissions.json && pnpm run buildContainer && pnpm run tarInstaller
4
4
 
5
5
 
6
- > @remotion/cloudrun@4.0.49 buildContainer /Users/jonathanburger/remotion/packages/cloudrun
6
+ > @remotion/cloudrun@4.0.50 buildContainer /Users/jonathanburger/remotion/packages/cloudrun
7
7
  > ts-node src/admin/bundle-renderLogic.ts
8
8
 
9
9
  distribution bundled.
10
10
 
11
- > @remotion/cloudrun@4.0.49 tarInstaller /Users/jonathanburger/remotion/packages/cloudrun
11
+ > @remotion/cloudrun@4.0.50 tarInstaller /Users/jonathanburger/remotion/packages/cloudrun
12
12
  > ts-node src/admin/bundle-installer.ts
13
13
 
14
14
  Making reproducible build with gtar
@@ -24,19 +24,19 @@ export declare const CloudRunPayload: z.ZodDiscriminatedUnion<"type", [z.ZodObje
24
24
  chromiumOptions: z.ZodOptional<z.ZodObject<{
25
25
  ignoreCertificateErrors: z.ZodOptional<z.ZodBoolean>;
26
26
  disableWebSecurity: z.ZodOptional<z.ZodBoolean>;
27
- gl: z.ZodNullable<z.ZodOptional<z.ZodEnum<["swangle", "angle", "egl", "swiftshader", "vulkan"]>>>;
27
+ gl: z.ZodNullable<z.ZodOptional<z.ZodEnum<["swangle", "angle", "egl", "swiftshader", "vulkan", "angle-egl"]>>>;
28
28
  headless: z.ZodOptional<z.ZodBoolean>;
29
29
  userAgent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
30
30
  }, "strip", z.ZodTypeAny, {
31
31
  ignoreCertificateErrors?: boolean | undefined;
32
32
  disableWebSecurity?: boolean | undefined;
33
- gl?: "swangle" | "angle" | "egl" | "swiftshader" | "vulkan" | null | undefined;
33
+ gl?: "swangle" | "angle" | "egl" | "swiftshader" | "vulkan" | "angle-egl" | null | undefined;
34
34
  headless?: boolean | undefined;
35
35
  userAgent?: string | null | undefined;
36
36
  }, {
37
37
  ignoreCertificateErrors?: boolean | undefined;
38
38
  disableWebSecurity?: boolean | undefined;
39
- gl?: "swangle" | "angle" | "egl" | "swiftshader" | "vulkan" | null | undefined;
39
+ gl?: "swangle" | "angle" | "egl" | "swiftshader" | "vulkan" | "angle-egl" | null | undefined;
40
40
  headless?: boolean | undefined;
41
41
  userAgent?: string | null | undefined;
42
42
  }>>;
@@ -52,8 +52,8 @@ export declare const CloudRunPayload: z.ZodDiscriminatedUnion<"type", [z.ZodObje
52
52
  offthreadVideoCacheSizeInBytes: z.ZodNullable<z.ZodNumber>;
53
53
  colorSpace: z.ZodEnum<["default", "bt709"]>;
54
54
  }, "strip", z.ZodTypeAny, {
55
- serveUrl: string;
56
55
  type: "media";
56
+ serveUrl: string;
57
57
  composition: string;
58
58
  codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif";
59
59
  serializedInputPropsWithCustomSchema: string;
@@ -85,15 +85,15 @@ export declare const CloudRunPayload: z.ZodDiscriminatedUnion<"type", [z.ZodObje
85
85
  chromiumOptions?: {
86
86
  ignoreCertificateErrors?: boolean | undefined;
87
87
  disableWebSecurity?: boolean | undefined;
88
- gl?: "swangle" | "angle" | "egl" | "swiftshader" | "vulkan" | null | undefined;
88
+ gl?: "swangle" | "angle" | "egl" | "swiftshader" | "vulkan" | "angle-egl" | null | undefined;
89
89
  headless?: boolean | undefined;
90
90
  userAgent?: string | null | undefined;
91
91
  } | undefined;
92
92
  outName?: string | undefined;
93
93
  privacy?: "public" | "private" | undefined;
94
94
  }, {
95
- serveUrl: string;
96
95
  type: "media";
96
+ serveUrl: string;
97
97
  composition: string;
98
98
  codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif";
99
99
  serializedInputPropsWithCustomSchema: string;
@@ -125,7 +125,7 @@ export declare const CloudRunPayload: z.ZodDiscriminatedUnion<"type", [z.ZodObje
125
125
  chromiumOptions?: {
126
126
  ignoreCertificateErrors?: boolean | undefined;
127
127
  disableWebSecurity?: boolean | undefined;
128
- gl?: "swangle" | "angle" | "egl" | "swiftshader" | "vulkan" | null | undefined;
128
+ gl?: "swangle" | "angle" | "egl" | "swiftshader" | "vulkan" | "angle-egl" | null | undefined;
129
129
  headless?: boolean | undefined;
130
130
  userAgent?: string | null | undefined;
131
131
  } | undefined;
@@ -146,19 +146,19 @@ export declare const CloudRunPayload: z.ZodDiscriminatedUnion<"type", [z.ZodObje
146
146
  chromiumOptions: z.ZodOptional<z.ZodObject<{
147
147
  ignoreCertificateErrors: z.ZodOptional<z.ZodBoolean>;
148
148
  disableWebSecurity: z.ZodOptional<z.ZodBoolean>;
149
- gl: z.ZodNullable<z.ZodOptional<z.ZodEnum<["swangle", "angle", "egl", "swiftshader", "vulkan"]>>>;
149
+ gl: z.ZodNullable<z.ZodOptional<z.ZodEnum<["swangle", "angle", "egl", "swiftshader", "vulkan", "angle-egl"]>>>;
150
150
  headless: z.ZodOptional<z.ZodBoolean>;
151
151
  userAgent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
152
152
  }, "strip", z.ZodTypeAny, {
153
153
  ignoreCertificateErrors?: boolean | undefined;
154
154
  disableWebSecurity?: boolean | undefined;
155
- gl?: "swangle" | "angle" | "egl" | "swiftshader" | "vulkan" | null | undefined;
155
+ gl?: "swangle" | "angle" | "egl" | "swiftshader" | "vulkan" | "angle-egl" | null | undefined;
156
156
  headless?: boolean | undefined;
157
157
  userAgent?: string | null | undefined;
158
158
  }, {
159
159
  ignoreCertificateErrors?: boolean | undefined;
160
160
  disableWebSecurity?: boolean | undefined;
161
- gl?: "swangle" | "angle" | "egl" | "swiftshader" | "vulkan" | null | undefined;
161
+ gl?: "swangle" | "angle" | "egl" | "swiftshader" | "vulkan" | "angle-egl" | null | undefined;
162
162
  headless?: boolean | undefined;
163
163
  userAgent?: string | null | undefined;
164
164
  }>>;
@@ -169,8 +169,8 @@ export declare const CloudRunPayload: z.ZodDiscriminatedUnion<"type", [z.ZodObje
169
169
  logLevel: z.ZodEnum<["verbose", "info", "warn", "error"]>;
170
170
  offthreadVideoCacheSizeInBytes: z.ZodNullable<z.ZodNumber>;
171
171
  }, "strip", z.ZodTypeAny, {
172
- serveUrl: string;
173
172
  type: "still";
173
+ serveUrl: string;
174
174
  composition: string;
175
175
  serializedInputPropsWithCustomSchema: string;
176
176
  imageFormat: "png" | "jpeg" | "pdf" | "webp";
@@ -188,14 +188,14 @@ export declare const CloudRunPayload: z.ZodDiscriminatedUnion<"type", [z.ZodObje
188
188
  chromiumOptions?: {
189
189
  ignoreCertificateErrors?: boolean | undefined;
190
190
  disableWebSecurity?: boolean | undefined;
191
- gl?: "swangle" | "angle" | "egl" | "swiftshader" | "vulkan" | null | undefined;
191
+ gl?: "swangle" | "angle" | "egl" | "swiftshader" | "vulkan" | "angle-egl" | null | undefined;
192
192
  headless?: boolean | undefined;
193
193
  userAgent?: string | null | undefined;
194
194
  } | undefined;
195
195
  outName?: string | undefined;
196
196
  }, {
197
- serveUrl: string;
198
197
  type: "still";
198
+ serveUrl: string;
199
199
  composition: string;
200
200
  serializedInputPropsWithCustomSchema: string;
201
201
  imageFormat: "png" | "jpeg" | "pdf" | "webp";
@@ -213,7 +213,7 @@ export declare const CloudRunPayload: z.ZodDiscriminatedUnion<"type", [z.ZodObje
213
213
  chromiumOptions?: {
214
214
  ignoreCertificateErrors?: boolean | undefined;
215
215
  disableWebSecurity?: boolean | undefined;
216
- gl?: "swangle" | "angle" | "egl" | "swiftshader" | "vulkan" | null | undefined;
216
+ gl?: "swangle" | "angle" | "egl" | "swiftshader" | "vulkan" | "angle-egl" | null | undefined;
217
217
  headless?: boolean | undefined;
218
218
  userAgent?: string | null | undefined;
219
219
  } | undefined;
@@ -225,13 +225,13 @@ declare const renderFailResponsePayload: z.ZodObject<{
225
225
  name: z.ZodString;
226
226
  stack: z.ZodString;
227
227
  }, "strip", z.ZodTypeAny, {
228
- message: string;
229
228
  type: "error";
229
+ message: string;
230
230
  name: string;
231
231
  stack: string;
232
232
  }, {
233
- message: string;
234
233
  type: "error";
234
+ message: string;
235
235
  name: string;
236
236
  stack: string;
237
237
  }>;
@@ -244,19 +244,19 @@ declare const renderStillOnCloudrunResponsePayload: z.ZodObject<{
244
244
  renderId: z.ZodString;
245
245
  privacy: z.ZodEnum<["public-read", "project-private"]>;
246
246
  }, "strip", z.ZodTypeAny, {
247
- bucketName: string;
248
- size: number;
249
247
  type: "success";
250
248
  privacy: "public-read" | "project-private";
251
249
  cloudStorageUri: string;
250
+ size: number;
251
+ bucketName: string;
252
252
  renderId: string;
253
253
  publicUrl?: string | null | undefined;
254
254
  }, {
255
- bucketName: string;
256
- size: number;
257
255
  type: "success";
258
256
  privacy: "public-read" | "project-private";
259
257
  cloudStorageUri: string;
258
+ size: number;
259
+ bucketName: string;
260
260
  renderId: string;
261
261
  publicUrl?: string | null | undefined;
262
262
  }>;
@@ -269,19 +269,19 @@ declare const renderMediaOnCloudrunResponsePayload: z.ZodObject<{
269
269
  renderId: z.ZodString;
270
270
  privacy: z.ZodEnum<["public-read", "project-private"]>;
271
271
  }, "strip", z.ZodTypeAny, {
272
- bucketName: string;
273
- size: number;
274
272
  type: "success";
275
273
  privacy: "public-read" | "project-private";
276
274
  cloudStorageUri: string;
275
+ size: number;
276
+ bucketName: string;
277
277
  renderId: string;
278
278
  publicUrl?: string | null | undefined;
279
279
  }, {
280
- bucketName: string;
281
- size: number;
282
280
  type: "success";
283
281
  privacy: "public-read" | "project-private";
284
282
  cloudStorageUri: string;
283
+ size: number;
284
+ bucketName: string;
285
285
  renderId: string;
286
286
  publicUrl?: string | null | undefined;
287
287
  }>;
@@ -293,15 +293,15 @@ declare const cloudRunCrashResponse: z.ZodObject<{
293
293
  requestCrashTime: z.ZodString;
294
294
  requestElapsedTimeInSeconds: z.ZodNumber;
295
295
  }, "strip", z.ZodTypeAny, {
296
- message: "Service crashed without sending a response. Check the logs in GCP console.";
297
296
  type: "crash";
297
+ message: "Service crashed without sending a response. Check the logs in GCP console.";
298
298
  cloudRunEndpoint: string;
299
299
  requestStartTime: string;
300
300
  requestCrashTime: string;
301
301
  requestElapsedTimeInSeconds: number;
302
302
  }, {
303
- message: "Service crashed without sending a response. Check the logs in GCP console.";
304
303
  type: "crash";
304
+ message: "Service crashed without sending a response. Check the logs in GCP console.";
305
305
  cloudRunEndpoint: string;
306
306
  requestStartTime: string;
307
307
  requestCrashTime: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/cloudrun",
3
- "version": "4.0.50",
3
+ "version": "4.0.51",
4
4
  "description": "GCP Cloud Run alternative to lambda rendering",
5
5
  "main": "dist/index.js",
6
6
  "dependencies": {
@@ -12,10 +12,10 @@
12
12
  "@google-cloud/logging": "^10.5.0",
13
13
  "google-auth-library": "^8.7.0",
14
14
  "zod": "^3.22.3",
15
- "@remotion/bundler": "4.0.50",
16
- "@remotion/cli": "4.0.50",
17
- "remotion": "4.0.50",
18
- "@remotion/renderer": "4.0.50"
15
+ "@remotion/bundler": "4.0.51",
16
+ "@remotion/cli": "4.0.51",
17
+ "@remotion/renderer": "4.0.51",
18
+ "remotion": "4.0.51"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@jonny/eslint-config": "3.0.276",
@@ -26,7 +26,7 @@
26
26
  "prettier-plugin-organize-imports": "^3.2.2",
27
27
  "ts-node": "^10.8.0",
28
28
  "vitest": "0.24.3",
29
- "@remotion/compositor-linux-x64-gnu": "4.0.50"
29
+ "@remotion/compositor-linux-x64-gnu": "4.0.51"
30
30
  },
31
31
  "exports": {
32
32
  "./package.json": "./package.json",
@@ -1,27 +0,0 @@
1
-
2
- > @remotion/cloudrun@4.0.45 lint /Users/jonathanburger/remotion/packages/cloudrun
3
- > eslint src --ext ts,tsx
4
-
5
- Warning: React version was set to "detect" in eslint-plugin-react settings, but the "react" package is not installed. Assuming latest React version for linting.
6
-
7
- /Users/jonathanburger/remotion/packages/cloudrun/src/api/check-if-service-exists.ts
8
- 56:14 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
9
-
10
- /Users/jonathanburger/remotion/packages/cloudrun/src/api/render-media-on-cloudrun.ts
11
- 217:3 warning Unexpected 'todo' comment: 'TODO: Add any sort of type safety' no-warning-comments
12
- 226:17 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
13
-
14
- /Users/jonathanburger/remotion/packages/cloudrun/src/api/render-still-on-cloudrun.ts
15
- 153:17 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
16
-
17
- /Users/jonathanburger/remotion/packages/cloudrun/src/cli/commands/render/helpers/renderArgsCheck.ts
18
- 68:4 warning Unexpected 'todo' comment: 'TODO: Log if there is an incompatible...' no-warning-comments
19
-
20
- /Users/jonathanburger/remotion/packages/cloudrun/src/cli/commands/render/index.ts
21
- 118:2 warning Unexpected 'todo' comment: 'Todo: Check cloudRunUrl is valid, as the...' no-warning-comments
22
-
23
- /Users/jonathanburger/remotion/packages/cloudrun/src/cli/commands/still.ts
24
- 104:2 warning Unexpected 'todo' comment: 'Todo: Check cloudRunUrl is valid, as the...' no-warning-comments
25
-
26
- ✖ 7 problems (0 errors, 7 warnings)
27
-
File without changes
@@ -1 +0,0 @@
1
- "use strict";