@remotion/cloudrun 4.0.248 → 4.0.250

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,6 +1,6 @@
1
1
 
2
2
  
3
- > @remotion/cloudrun@4.0.247 make /Users/jonathanburger/remotion/packages/cloudrun
3
+ > @remotion/cloudrun@4.0.249 make /Users/jonathanburger/remotion/packages/cloudrun
4
4
  > tsc -d && bun build.ts
5
5
 
6
- [9.50ms] Made reproducible build with gtar
6
+ [4.32ms] Made reproducible build with gtar
@@ -0,0 +1,27 @@
1
+
2
+ 
3
+ > @remotion/cloudrun@4.0.249 test /Users/jonathanburger/remotion/packages/cloudrun
4
+ > bun test src
5
+
6
+ bun test v1.1.43 (76800b04)
7
+ 
8
+ src/api/test/service-names.test.ts:
9
+ ✓ Parse service names [0.65ms]
10
+ 
11
+ src/api/test/running-in-what-server.test.ts:
12
+ ✓ is running in cloud tasks = true
13
+ ✓ is running in cloud tasks = false [0.16ms]
14
+ ✓ which project Id = remotion-test [0.01ms]
15
+ ✓ which project Id = remotion-test-cloudtask
16
+ 
17
+ src/api/test/payloads.test.ts:
18
+ ✓ CloudRunPayload should work with and without optional webhook fields [0.78ms]
19
+ 
20
+ src/api/test/make-console.test.ts:
21
+ ✓ app is in cloud tasks
22
+ ✓ app is not in cloud tasks [0.06ms]
23
+
24
+  8 pass
25
+  0 fail
26
+ 17 expect() calls
27
+ Ran 8 tests across 4 files. [34.00ms]
@@ -37,18 +37,18 @@ type InternalRenderMediaOnCloudrun = {
37
37
  renderStatusWebhook: z.infer<typeof CloudRunPayload>['renderStatusWebhook'];
38
38
  } & Partial<ToOptions<typeof BrowserSafeApis.optionsMap.renderMediaOnCloudRun>>;
39
39
  export type RenderMediaOnCloudrunInput = {
40
- cloudRunUrl?: string;
41
- serviceName?: string;
42
40
  region: GcpRegion;
43
41
  serveUrl: string;
44
42
  composition: string;
43
+ renderId?: string | undefined;
44
+ codec: CloudrunCodec;
45
+ cloudRunUrl?: string;
46
+ serviceName?: string;
45
47
  inputProps?: Record<string, unknown>;
46
48
  privacy?: 'public' | 'private';
47
49
  forceBucketName?: string;
48
50
  outName?: string;
49
51
  updateRenderProgress?: (progress: number, error?: boolean) => void;
50
- renderId: string | undefined;
51
- codec: CloudrunCodec;
52
52
  audioCodec?: AudioCodec;
53
53
  encodingMaxRate?: string | null;
54
54
  encodingBufferSize?: string | null;
package/dist/cli/log.d.ts CHANGED
@@ -1,4 +1,7 @@
1
1
  export declare const Log: {
2
+ trace: (options: import("@remotion/renderer/dist/logger").LogOptions & {
3
+ tag?: string;
4
+ }, ...args: Parameters<typeof console.log>) => boolean | void;
2
5
  verbose: (options: import("@remotion/renderer").LogOptions & {
3
6
  tag?: string;
4
7
  }, ...args: Parameters<typeof console.log>) => boolean | void;
@@ -63,7 +63,7 @@ export declare const CloudRunPayload: z.ZodDiscriminatedUnion<"type", [z.ZodObje
63
63
  outputBucket: z.ZodString;
64
64
  outName: z.ZodOptional<z.ZodString>;
65
65
  privacy: z.ZodOptional<z.ZodEnum<["public", "private"]>>;
66
- logLevel: z.ZodEnum<["verbose", "info", "warn", "error"]>;
66
+ logLevel: z.ZodEnum<["trace", "verbose", "info", "warn", "error"]>;
67
67
  delayRenderTimeoutInMilliseconds: z.ZodNullable<z.ZodNumber>;
68
68
  concurrency: z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
69
69
  enforceAudioTrack: z.ZodBoolean;
@@ -129,7 +129,7 @@ export declare const CloudRunPayload: z.ZodDiscriminatedUnion<"type", [z.ZodObje
129
129
  envVariables: Record<string, string>;
130
130
  muted: boolean;
131
131
  outputBucket: string;
132
- logLevel: "error" | "verbose" | "info" | "warn";
132
+ logLevel: "error" | "trace" | "verbose" | "info" | "warn";
133
133
  delayRenderTimeoutInMilliseconds: number | null;
134
134
  concurrency: string | number | null;
135
135
  enforceAudioTrack: boolean;
@@ -186,7 +186,7 @@ export declare const CloudRunPayload: z.ZodDiscriminatedUnion<"type", [z.ZodObje
186
186
  envVariables: Record<string, string>;
187
187
  muted: boolean;
188
188
  outputBucket: string;
189
- logLevel: "error" | "verbose" | "info" | "warn";
189
+ logLevel: "error" | "trace" | "verbose" | "info" | "warn";
190
190
  delayRenderTimeoutInMilliseconds: number | null;
191
191
  concurrency: string | number | null;
192
192
  enforceAudioTrack: boolean;
@@ -254,7 +254,7 @@ export declare const CloudRunPayload: z.ZodDiscriminatedUnion<"type", [z.ZodObje
254
254
  outName: z.ZodNullable<z.ZodString>;
255
255
  frame: z.ZodNumber;
256
256
  delayRenderTimeoutInMilliseconds: z.ZodNumber;
257
- logLevel: z.ZodEnum<["verbose", "info", "warn", "error"]>;
257
+ logLevel: z.ZodEnum<["trace", "verbose", "info", "warn", "error"]>;
258
258
  offthreadVideoCacheSizeInBytes: z.ZodNullable<z.ZodNumber>;
259
259
  clientVersion: z.ZodString;
260
260
  downloadBehavior: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
@@ -302,7 +302,7 @@ export declare const CloudRunPayload: z.ZodDiscriminatedUnion<"type", [z.ZodObje
302
302
  outputBucket: string;
303
303
  outName: string | null;
304
304
  privacy: "public" | "private";
305
- logLevel: "error" | "verbose" | "info" | "warn";
305
+ logLevel: "error" | "trace" | "verbose" | "info" | "warn";
306
306
  delayRenderTimeoutInMilliseconds: number;
307
307
  offthreadVideoCacheSizeInBytes: number | null;
308
308
  clientVersion: string;
@@ -342,7 +342,7 @@ export declare const CloudRunPayload: z.ZodDiscriminatedUnion<"type", [z.ZodObje
342
342
  outputBucket: string;
343
343
  outName: string | null;
344
344
  privacy: "public" | "private";
345
- logLevel: "error" | "verbose" | "info" | "warn";
345
+ logLevel: "error" | "trace" | "verbose" | "info" | "warn";
346
346
  delayRenderTimeoutInMilliseconds: number;
347
347
  offthreadVideoCacheSizeInBytes: number | null;
348
348
  clientVersion: string;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/cloudrun"
4
4
  },
5
5
  "name": "@remotion/cloudrun",
6
- "version": "4.0.248",
6
+ "version": "4.0.250",
7
7
  "description": "Render Remotion videos on Google Cloud Run",
8
8
  "main": "dist/index.js",
9
9
  "sideEffects": false,
@@ -16,16 +16,16 @@
16
16
  "@google-cloud/logging": "^11.1.0",
17
17
  "google-auth-library": "^8.7.0",
18
18
  "zod": "3.22.3",
19
- "@remotion/bundler": "4.0.248",
20
- "@remotion/cli": "4.0.248",
21
- "remotion": "4.0.248",
22
- "@remotion/renderer": "4.0.248"
19
+ "@remotion/bundler": "4.0.250",
20
+ "@remotion/cli": "4.0.250",
21
+ "@remotion/renderer": "4.0.250",
22
+ "remotion": "4.0.250"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/minimist": "1.2.2",
26
26
  "eslint": "9.14.0",
27
- "@remotion/eslint-config-internal": "4.0.248",
28
- "@remotion/compositor-linux-x64-gnu": "4.0.248"
27
+ "@remotion/compositor-linux-x64-gnu": "4.0.250",
28
+ "@remotion/eslint-config-internal": "4.0.250"
29
29
  },
30
30
  "exports": {
31
31
  "./package.json": "./package.json",