Skip to content

Document multi-file ZIP download support for Download component#4222

Open
devin-ai-integration[bot] wants to merge 3 commits intomainfrom
fern/doc-zip-download-feature
Open

Document multi-file ZIP download support for Download component#4222
devin-ai-integration[bot] wants to merge 3 commits intomainfrom
fern/doc-zip-download-feature

Conversation

@devin-ai-integration
Copy link
Contributor

Document multi-file ZIP download support for Download component

Summary

Documents the new sources prop on the <Download> component (shipped in fern-platform#8365), which allows bundling multiple files into a single ZIP download.

Changes:

  • Download component page (download.mdx): Split usage section into "Single file" and "Multiple files as ZIP" subsections, added sources prop documentation, updated src and filename prop descriptions to reflect that either src or sources is required.
  • Changelog entry (2026-03-12.mdx): New entry tagged components describing the multi-file ZIP download feature.

Review & Testing Checklist for Human

  • Verify the sources prop behavior matches what's documented — specifically that it accepts an array of URLs (not local file paths) and produces a client-side ZIP. The docs were written from the PR description, not from hands-on testing.
  • Confirm the default ZIP filename is download.zip when filename isn't specified (stated in docs but inferred from the implementation).
  • Check that removing required={true} from the src prop's <ParamField> renders correctly — previously src was marked required, now neither src nor sources is individually marked required since they're alternatives.
  • Preview the Download component page and changelog on the deploy preview to verify rendering.

Notes

Co-Authored-By: bot_apk <apk@cognition.ai>
@devin-ai-integration devin-ai-integration bot requested a review from devalog as a code owner March 12, 2026 13:36
@devin-ai-integration
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@fern-api
Copy link
Contributor

fern-api bot commented Mar 12, 2026

Requested by: Rishabh Dhadda
Slack thread: View conversation

@github-actions
Copy link
Contributor

github-actions bot commented Mar 12, 2026

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.

2 participants