@remotion/cloudrun 4.0.354 → 4.0.356

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,5 +1,5 @@
1
1
 
2
2
  
3
- > @remotion/cloudrun@4.0.354 make /Users/jonathanburger/remotion/packages/cloudrun
3
+ > @remotion/cloudrun@4.0.356 make /Users/jonathanburger/remotion/packages/cloudrun
4
4
  > tsc -d && cp src/shared/sa-permissions.json dist/shared/sa-permissions.json
5
5
 
@@ -1,27 +1,24 @@
1
1
 
2
- 
3
- > @remotion/cloudrun@4.0.311 test /Users/jonathanburger/remotion/packages/cloudrun
4
- > bun test src
5
-
6
- bun test v1.2.14 (6a363a38)
2
+ $ bun test src
3
+ bun test v1.2.21 (7c45ed97)
7
4
  
8
5
  src/api/test/service-names.test.ts:
9
- ✓ Parse service names [0.48ms]
6
+ ✓ Parse service names [1.35ms]
10
7
  
11
8
  src/api/test/running-in-what-server.test.ts:
12
9
  ✓ is running in cloud tasks = true
13
- ✓ is running in cloud tasks = false [0.06ms]
14
- ✓ which project Id = remotion-test [0.01ms]
15
- ✓ which project Id = remotion-test-cloudtask
10
+ ✓ is running in cloud tasks = false [0.03ms]
11
+ ✓ which project Id = remotion-test [0.06ms]
12
+ ✓ which project Id = remotion-test-cloudtask [0.01ms]
16
13
  
17
14
  src/api/test/payloads.test.ts:
18
- ✓ CloudRunPayload should work with and without optional webhook fields [0.71ms]
15
+ ✓ CloudRunPayload should work with and without optional webhook fields [2.48ms]
19
16
  
20
17
  src/api/test/make-console.test.ts:
21
- ✓ app is in cloud tasks [0.06ms]
22
- ✓ app is not in cloud tasks [0.01ms]
18
+ ✓ app is in cloud tasks [0.34ms]
19
+ ✓ app is not in cloud tasks [0.03ms]
23
20
 
24
21
   8 pass
25
22
   0 fail
26
23
  17 expect() calls
27
- Ran 8 tests across 4 files. [22.00ms]
24
+ Ran 8 tests across 4 files. [99.00ms]
package/dist/cli/log.d.ts CHANGED
@@ -1,4 +1,7 @@
1
1
  export declare const Log: {
2
+ formatLogs: (logLevel: import("@remotion/renderer").LogLevel, options: import("@remotion/renderer").LogOptions & {
3
+ tag?: string;
4
+ }, args: Parameters<typeof console.log>) => string[];
2
5
  trace: (options: import("@remotion/renderer").LogOptions & {
3
6
  tag?: string;
4
7
  }, message?: any, ...optionalParams: any[]) => boolean | void;
@@ -145,6 +145,7 @@ const renderMediaSingleThread = async (body, res) => {
145
145
  metadata: (_o = body.metadata) !== null && _o !== void 0 ? _o : null,
146
146
  hardwareAcceleration: 'disable',
147
147
  chromeMode: 'headless-shell',
148
+ onLog: renderer_1.RenderInternals.defaultOnLog,
148
149
  });
149
150
  const storage = new storage_1.Storage();
150
151
  const publicUpload = body.privacy === 'public' || !body.privacy;
@@ -75,6 +75,7 @@ const renderStillSingleThread = async (body, res) => {
75
75
  },
76
76
  chromeMode: 'headless-shell',
77
77
  mediaCacheSizeInBytes: body.mediaCacheSizeInBytes,
78
+ onLog: renderer_1.RenderInternals.defaultOnLog,
78
79
  });
79
80
  log_1.Log.info({ indent: false, logLevel: body.logLevel }, 'Still rendered');
80
81
  const storage = new storage_1.Storage();
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.354",
6
+ "version": "4.0.356",
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.2.0",
17
17
  "google-auth-library": "8.7.0",
18
18
  "zod": "3.22.3",
19
- "@remotion/bundler": "4.0.354",
20
- "@remotion/renderer": "4.0.354",
21
- "@remotion/cli": "4.0.354",
22
- "remotion": "4.0.354"
19
+ "@remotion/bundler": "4.0.356",
20
+ "@remotion/renderer": "4.0.356",
21
+ "@remotion/cli": "4.0.356",
22
+ "remotion": "4.0.356"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/minimist": "1.2.2",
26
26
  "eslint": "9.19.0",
27
- "@remotion/compositor-linux-x64-gnu": "4.0.354",
28
- "@remotion/eslint-config-internal": "4.0.354"
27
+ "@remotion/eslint-config-internal": "4.0.356",
28
+ "@remotion/compositor-linux-x64-gnu": "4.0.356"
29
29
  },
30
30
  "exports": {
31
31
  "./package.json": "./package.json",