Skip to content

[pull] main from remotion-dev:main#842

Merged
pull[bot] merged 8 commits into
code:mainfrom
remotion-dev:main
May 16, 2026
Merged

[pull] main from remotion-dev:main#842
pull[bot] merged 8 commits into
code:mainfrom
remotion-dev:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented May 16, 2026

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 : )

JonnyBurger and others added 8 commits May 15, 2026 20:04
… to `effect-types.ts`

The previous variant defined `EffectFactory` in `create-effect.ts`, which
left `tsgo` unable to portably name the inferred type of factory exports
in `@remotion/light-leaks`, `@remotion/starburst`, and `@remotion/effects`.
Move the alias to `effect-types.ts` (already referenced by every effect
package via `EffectDefinition`) and re-export from the public entry.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Mirrors the sequence eye toggle: clicking the eye next to an effect row
writes `disabled: true|false` into the effect's call in source via
`/api/save-effect-props`. `createEffect` auto-injects `disabled` into
every effect's `schema`, so `getAllSchemaKeys` picks it up server-side
and `optimisticUpdateForEffectCodeValues` round-trips it. The new field
is filtered out of the expanded section's regular row list (mirroring
how `hidden` is filtered for sequences), so the eye is the only control.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
… optional chain

- Restore the `{} extends P` conditional in `EffectFactory` so factories
  with required params (e.g. `tint({color})`) still error on a zero-arg
  call instead of silently no-opping. The TS2742 issue this avoided is
  resolved separately by `EffectFactory` living in `effect-types.ts`.
- Drop the unreachable `?.` on `e.params` — `createEffect` always
  defaults params to `{}`, so the optional chain never triggers.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@pull pull Bot locked and limited conversation to collaborators May 16, 2026
@pull pull Bot added the ⤵️ pull label May 16, 2026
@pull pull Bot merged commit af4a192 into code:main May 16, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant