Skip to content

minor: support zstd compressed images in the file picker - #4660

Open
resadent wants to merge 1 commit into
balena-io:masterfrom
resadent:add-zstd-support
Open

resadent wants to merge 1 commit into
balena-io:masterfrom
resadent:add-zstd-support

Conversation

@resadent

@resadent resadent commented Aug 18, 2026 •

Copy link
Copy Markdown

What

Adds zst / zstd to SUPPORTED_EXTENSIONS so .zstd images appear in
the file-open dialog.

Decompression lives in etcher-sdk (ZstdSource,
balena-io-modules/etcher-sdk#373), which now depends on the standalone
@resadent/zstd-decompress-stream
package. This change only advertises the extensions in the GUI. Detection is
content-based (magic bytes), so no renderer-side validation changes are needed.

Depends on a released etcher-sdk with zstd support — please bump the
etcher-sdk dependency to that release (e.g. 10.3.0) when merging. That
release in turn depends on @balena/zstd-decompress-stream being published.

Testing

  • npm run lint clean ("No unexpected changes, all good").
  • Manually flashed a zstd image with the SDK injected via
    npx yalc add etcher-sdk.

Add zst/zstd to SUPPORTED_EXTENSIONS so the open-file dialog offers
zstd-compressed images, and add a manual-testing checklist item.

The decompression itself lives in etcher-sdk (ZstdSource), which detects
zstd by content sniffing, so no renderer-side validation changes are
needed. Requires an etcher-sdk release that includes ZstdSource.

Change-type: minor
Co-Authored-By: Claude Code <noreply@anthropic.com>
@resadent resadent changed the title feat: support zstd compressed images in the file picker minor: support zstd compressed images in the file picker Sep 22, 2026

This branch has not been deployed

No deployments
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