Skip to content

Structure Smart CDN image candidates - #475

Merged
kvz merged 3 commits into
mainfrom
image-model
Aug 25, 2026
Merged

Structure Smart CDN image candidates#475
kvz merged 3 commits into
mainfrom
image-model

Conversation

@kvz

@kvz kvz commented Aug 25, 2026

Copy link
Copy Markdown
Member

Why

The responsive-image helper currently returns preformatted srcset strings, coupling the signing
primitive to one renderer. Its only application consumer is still under our control, so this is the
right moment to replace that two-day-old contract with a renderer-neutral model before broader
adoption.

What changed

  • return ordered structured sources containing format, quality, URL, and width data
  • export the candidate, source, format, and result types
  • retain deterministic signing, format ordering, width deduplication, and validation behavior
  • document the new result and ship it as an intentional patch-level replacement

Verification

  • corepack yarn workspace @transloadit/utils check
  • corepack yarn check
  • corepack yarn verify:full
  • corepack yarn release:pack:dry-run
  • council review; the sole semver finding was explicitly accepted for this newly introduced,
    zero-external-consumer API

@kvz
kvz merged commit 85a0bbd into main Aug 25, 2026
12 checks passed
@kvz
kvz deleted the image-model branch August 25, 2026 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant