@remotion/cloudrun 4.0.460 → 4.0.462

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.
@@ -16,7 +16,6 @@ type Options = {
16
16
  keyboardShortcutsEnabled?: boolean;
17
17
  askAIEnabled?: boolean;
18
18
  experimentalClientSideRenderingEnabled?: boolean;
19
- experimentalVisualModeEnabled?: boolean;
20
19
  rspack?: boolean;
21
20
  };
22
21
  type OptionalParameters = {
@@ -13,7 +13,7 @@ const validate_site_name_1 = require("../shared/validate-site-name");
13
13
  const get_cloud_storage_client_1 = require("./helpers/get-cloud-storage-client");
14
14
  const upload_dir_1 = require("./upload-dir");
15
15
  const internalDeploySiteRaw = async ({ entryPoint, bucketName, siteName, options, privacy, }) => {
16
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
16
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
17
17
  (0, validate_bucketname_1.validateBucketName)(bucketName, { mustStartWithRemotion: true });
18
18
  (0, validate_site_name_1.validateSiteName)(siteName);
19
19
  const cloudStorageClient = (0, get_cloud_storage_client_1.getCloudStorageClient)();
@@ -44,11 +44,11 @@ const internalDeploySiteRaw = async ({ entryPoint, bucketName, siteName, options
44
44
  outDir: null,
45
45
  audioLatencyHint: null,
46
46
  experimentalClientSideRenderingEnabled: (_h = options === null || options === void 0 ? void 0 : options.experimentalClientSideRenderingEnabled) !== null && _h !== void 0 ? _h : false,
47
- experimentalVisualModeEnabled: (_j = options === null || options === void 0 ? void 0 : options.experimentalVisualModeEnabled) !== null && _j !== void 0 ? _j : false,
48
47
  renderDefaults: null,
49
- askAIEnabled: (_k = options === null || options === void 0 ? void 0 : options.askAIEnabled) !== null && _k !== void 0 ? _k : true,
50
- keyboardShortcutsEnabled: (_l = options === null || options === void 0 ? void 0 : options.keyboardShortcutsEnabled) !== null && _l !== void 0 ? _l : true,
51
- rspack: (_m = options === null || options === void 0 ? void 0 : options.rspack) !== null && _m !== void 0 ? _m : false,
48
+ askAIEnabled: (_j = options === null || options === void 0 ? void 0 : options.askAIEnabled) !== null && _j !== void 0 ? _j : true,
49
+ keyboardShortcutsEnabled: (_k = options === null || options === void 0 ? void 0 : options.keyboardShortcutsEnabled) !== null && _k !== void 0 ? _k : true,
50
+ rspack: (_l = options === null || options === void 0 ? void 0 : options.rspack) !== null && _l !== void 0 ? _l : false,
51
+ symlinkPublicDir: false,
52
52
  }),
53
53
  ]);
54
54
  const { toDelete, toUpload, existingCount } = await (0, get_storage_operations_1.getStorageDiffOperations)({
@@ -60,7 +60,7 @@ const internalDeploySiteRaw = async ({ entryPoint, bucketName, siteName, options
60
60
  (0, upload_dir_1.uploadDir)({
61
61
  bucket: bucketName,
62
62
  localDir: bundled,
63
- onProgress: (_o = options === null || options === void 0 ? void 0 : options.onUploadProgress) !== null && _o !== void 0 ? _o : (() => undefined),
63
+ onProgress: (_m = options === null || options === void 0 ? void 0 : options.onUploadProgress) !== null && _m !== void 0 ? _m : (() => undefined),
64
64
  keyPrefix: subFolder,
65
65
  toUpload,
66
66
  privacy: privacy !== null && privacy !== void 0 ? privacy : 'public',
@@ -76,13 +76,6 @@ export type RenderMediaOnCloudrunInput = {
76
76
  renderStatusWebhook?: z.infer<typeof CloudRunPayload>['renderStatusWebhook'];
77
77
  } & Partial<ToOptions<typeof BrowserSafeApis.optionsMap.renderMediaOnCloudRun>>;
78
78
  export declare const internalRenderMediaOnCloudrun: ({ cloudRunUrl, serviceName, region, serveUrl, composition, inputProps, codec, forceBucketName, privacy, outName, updateRenderProgress, renderIdOverride, renderStatusWebhook, jpegQuality, audioCodec, audioBitrate, videoBitrate, encodingMaxRate, encodingBufferSize, proResProfile, x264Preset, crf, pixelFormat, imageFormat, scale, everyNthFrame, numberOfGifLoops, frameRange, envVariables, chromiumOptions, muted, forceWidth, forceHeight, forceFps, forceDurationInFrames, logLevel, delayRenderTimeoutInMilliseconds, concurrency, enforceAudioTrack, preferLossless, offthreadVideoCacheSizeInBytes, offthreadVideoThreads, colorSpace, downloadBehavior, metadata, mediaCacheSizeInBytes, sampleRate, }: InternalRenderMediaOnCloudrun) => Promise<{
79
- type: "crash";
80
- cloudRunEndpoint: string;
81
- message: "Service crashed without sending a response. Check the logs in GCP console.";
82
- requestStartTime: string;
83
- requestCrashTime: string;
84
- requestElapsedTimeInSeconds: number;
85
- } | {
86
79
  type: "success";
87
80
  publicUrl?: string | null | undefined;
88
81
  cloudStorageUri: string;
@@ -90,15 +83,15 @@ export declare const internalRenderMediaOnCloudrun: ({ cloudRunUrl, serviceName,
90
83
  bucketName: string;
91
84
  renderId: string;
92
85
  privacy: "project-private" | "public-read";
93
- }>;
94
- export declare const renderMediaOnCloudrun: ({ cloudRunUrl, serviceName, region, serveUrl, composition, inputProps, codec, forceBucketName, privacy, outName, updateRenderProgress, jpegQuality, audioCodec, audioBitrate, videoBitrate, encodingMaxRate, encodingBufferSize, proResProfile, x264Preset, crf, pixelFormat, imageFormat, scale, everyNthFrame, numberOfGifLoops, frameRange, envVariables, chromiumOptions, muted, forceWidth, forceHeight, forceFps, forceDurationInFrames, logLevel, delayRenderTimeoutInMilliseconds, concurrency, enforceAudioTrack, preferLossless, offthreadVideoCacheSizeInBytes, colorSpace, downloadBehavior, metadata, renderIdOverride, renderStatusWebhook, offthreadVideoThreads, mediaCacheSizeInBytes, sampleRate, }: RenderMediaOnCloudrunInput) => Promise<{
86
+ } | {
95
87
  type: "crash";
96
88
  cloudRunEndpoint: string;
97
89
  message: "Service crashed without sending a response. Check the logs in GCP console.";
98
90
  requestStartTime: string;
99
91
  requestCrashTime: string;
100
92
  requestElapsedTimeInSeconds: number;
101
- } | {
93
+ }>;
94
+ export declare const renderMediaOnCloudrun: ({ cloudRunUrl, serviceName, region, serveUrl, composition, inputProps, codec, forceBucketName, privacy, outName, updateRenderProgress, jpegQuality, audioCodec, audioBitrate, videoBitrate, encodingMaxRate, encodingBufferSize, proResProfile, x264Preset, crf, pixelFormat, imageFormat, scale, everyNthFrame, numberOfGifLoops, frameRange, envVariables, chromiumOptions, muted, forceWidth, forceHeight, forceFps, forceDurationInFrames, logLevel, delayRenderTimeoutInMilliseconds, concurrency, enforceAudioTrack, preferLossless, offthreadVideoCacheSizeInBytes, colorSpace, downloadBehavior, metadata, renderIdOverride, renderStatusWebhook, offthreadVideoThreads, mediaCacheSizeInBytes, sampleRate, }: RenderMediaOnCloudrunInput) => Promise<{
102
95
  type: "success";
103
96
  publicUrl?: string | null | undefined;
104
97
  cloudStorageUri: string;
@@ -106,5 +99,12 @@ export declare const renderMediaOnCloudrun: ({ cloudRunUrl, serviceName, region,
106
99
  bucketName: string;
107
100
  renderId: string;
108
101
  privacy: "project-private" | "public-read";
102
+ } | {
103
+ type: "crash";
104
+ cloudRunEndpoint: string;
105
+ message: "Service crashed without sending a response. Check the logs in GCP console.";
106
+ requestStartTime: string;
107
+ requestCrashTime: string;
108
+ requestElapsedTimeInSeconds: number;
109
109
  }>;
110
110
  export {};
@@ -16,7 +16,7 @@ const get_gcp_region_1 = require("../../get-gcp-region");
16
16
  const progress_bar_1 = require("../../helpers/progress-bar");
17
17
  const quit_1 = require("../../helpers/quit");
18
18
  const log_1 = require("../../log");
19
- const { disableGitSourceOption, askAIOption, experimentalClientSideRenderingOption, experimentalVisualModeOption, keyboardShortcutsOption, } = client_1.BrowserSafeApis.options;
19
+ const { disableGitSourceOption, askAIOption, experimentalClientSideRenderingOption, keyboardShortcutsOption, } = client_1.BrowserSafeApis.options;
20
20
  exports.SITES_CREATE_SUBCOMMAND = 'create';
21
21
  const sitesCreateSubcommand = async (args, remotionRoot, logLevel) => {
22
22
  var _a, _b, _c;
@@ -104,9 +104,6 @@ const sitesCreateSubcommand = async (args, remotionRoot, logLevel) => {
104
104
  const experimentalClientSideRenderingEnabled = experimentalClientSideRenderingOption.getValue({
105
105
  commandLine: cli_1.CliInternals.parsedCli,
106
106
  }).value;
107
- const experimentalVisualModeEnabled = experimentalVisualModeOption.getValue({
108
- commandLine: cli_1.CliInternals.parsedCli,
109
- }).value;
110
107
  const keyboardShortcutsEnabled = keyboardShortcutsOption.getValue({
111
108
  commandLine: cli_1.CliInternals.parsedCli,
112
109
  }).value;
@@ -144,7 +141,6 @@ const sitesCreateSubcommand = async (args, remotionRoot, logLevel) => {
144
141
  rootDir: remotionRoot,
145
142
  askAIEnabled,
146
143
  experimentalClientSideRenderingEnabled,
147
- experimentalVisualModeEnabled,
148
144
  keyboardShortcutsEnabled,
149
145
  },
150
146
  indent: false,
package/dist/index.d.ts CHANGED
@@ -42,11 +42,6 @@ declare const renderStillOnCloudrun: (options: import("./client").RenderStillOnC
42
42
  requestStartTime: string;
43
43
  requestCrashTime: string;
44
44
  requestElapsedTimeInSeconds: number;
45
- } | {
46
- type: "error";
47
- message: string;
48
- name: string;
49
- stack: string;
50
45
  } | {
51
46
  type: "success";
52
47
  publicUrl?: string | null | undefined;
@@ -55,6 +50,11 @@ declare const renderStillOnCloudrun: (options: import("./client").RenderStillOnC
55
50
  bucketName: string;
56
51
  renderId: string;
57
52
  privacy: "project-private" | "public-read";
53
+ } | {
54
+ type: "error";
55
+ message: string;
56
+ name: string;
57
+ stack: string;
58
58
  }>;
59
59
  /**
60
60
  * @deprecated Import this from `@remotion/lambda/client` instead
package/package.json CHANGED
@@ -3,10 +3,9 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/cloudrun"
4
4
  },
5
5
  "name": "@remotion/cloudrun",
6
- "version": "4.0.460",
6
+ "version": "4.0.462",
7
7
  "description": "Render Remotion videos on Google Cloud Run",
8
8
  "main": "dist/index.js",
9
- "sideEffects": false,
10
9
  "scripts": {
11
10
  "make": "tsgo -d && cp src/shared/sa-permissions.json dist/shared/sa-permissions.json",
12
11
  "makeruntime": "bun build.ts",
@@ -21,17 +20,17 @@
21
20
  "@google-cloud/storage": "7.15.2",
22
21
  "@google-cloud/resource-manager": "5.3.1",
23
22
  "@google-cloud/logging": "11.2.0",
24
- "@remotion/bundler": "4.0.460",
25
- "@remotion/cli": "4.0.460",
26
- "@remotion/renderer": "4.0.460",
23
+ "@remotion/bundler": "4.0.462",
24
+ "@remotion/cli": "4.0.462",
25
+ "@remotion/renderer": "4.0.462",
27
26
  "google-auth-library": "8.7.0",
28
- "remotion": "4.0.460",
27
+ "remotion": "4.0.462",
29
28
  "zod": "4.3.6"
30
29
  },
31
30
  "devDependencies": {
32
- "@remotion/compositor-linux-x64-gnu": "4.0.460",
31
+ "@remotion/compositor-linux-x64-gnu": "4.0.462",
33
32
  "@types/minimist": "1.2.2",
34
- "@remotion/eslint-config-internal": "4.0.460",
33
+ "@remotion/eslint-config-internal": "4.0.462",
35
34
  "eslint": "9.19.0",
36
35
  "@types/node": "20.12.14",
37
36
  "@typescript/native-preview": "7.0.0-dev.20260217.1"