[pull] main from remotion-dev:main#710
Merged
Conversation
- Add zod-schema-type.ts helper for normalized v3/v4 type detection - Replace all z.ZodTypeAny, z.ZodFirstPartyTypeKind, z.Zod*Def with version-agnostic helpers and `any` types - Update cloudrun payloads for v4 z.record() API (requires 2 args) - Add v4 schema test composition in example package - Add v3 schema test composition in react18-tests package Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Cursor <cursoragent@cursor.com> # Conflicts: # package.json # packages/cli/src/extra-packages.ts # packages/template-three/package.json
Use structural typing (InferZodInput) to extract input types from both zod v3 (_input) and v4 (_zod.input) schemas instead of losing type information with Record<string, unknown>. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Cast schema to `any` when passing to `zodToJsonSchema` in template-prompt-to-video since zod-to-json-schema types expect zod v3 - Use object destructuring in ZodNumberEditor to satisfy prefer-destructuring - Merge eslint-disable comments in VisualControls so prefer-arrow-callback suppression applies to the correct line Co-authored-by: Cursor <cursoragent@cursor.com>
Add StandaloneZodV3Object structural type to AnyZodObject union so schemas from standalone zod 3.22.x (which lack ~standard/~validate from the zod/v4 compat layer) are accepted by <Composition schema>. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ages Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…hema`
Replace `schema: any` with `schema: AnyZodSchema` across 25+ editor
components and `{success: boolean; error?: any}` with a proper
`ZodSafeParseResult` discriminated union. Add `zodSafeParse()` helper
and `ZodValidationError` type to zod-schema-type.ts. Use existing
accessor helpers (getZodDef, getObjectShape, etc.) instead of raw
`_def` access. Change `.errors` to `.issues` for v3/v4 compat.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace Record<string, unknown> with InferZodInput<Schema> in InputPropsIfHasProps to restore type-safe input prop inference for both Zod v3 and v4. Also simplify calculateMetadata cast targets and remove unused InferProps imports. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
zod-to-json-schema is deprecated as of Nov 2025. Zod v4 natively supports JSON schema generation via z.toJSONSchema(). This removes the as any cast that was needed for the third-party library. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ersion check - Add --account remotiondev.1password.com to all op commands (fixes failure when multiple 1Password accounts exist) - Use echo pipe instead of <<< for password input (more reliable) - Use npm view remotion version instead of fetching npmjs.com (which returns 403) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Remove custom InferZodInput type and use z.input<Schema> from Zod v4 directly. Replace AnyZodObject (v3/v4 union) with $ZodObject from zod/v4/core as the schema constraint. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ord-account Fix release command and npm version check
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…blocks Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
`@remotion/docusaurus-plugin`: Fix title fence not rendering in code blocks
Update investors page
`remotion`: Allow Zod v4 schemas to be used, `@remotion/zod-types-v3` backwards compatibility package
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Move `paths` and `types` inside `compilerOptions` in packages/docs/tsconfig.json - Add `build` task to turbo.json Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Upgrade turbo from 2.8.6 to 2.8.10
`remotion-monorepo`: Fix Vercel deployment warnings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )