Skip to content

feat: Add wav mime type support#1257

Merged
markflorkowski merged 3 commits intopingdotgg:mainfrom
ahkhanjani:wav-support
Jan 23, 2026
Merged

feat: Add wav mime type support#1257
markflorkowski merged 3 commits intopingdotgg:mainfrom
ahkhanjani:wav-support

Conversation

@ahkhanjani
Copy link
Contributor

@ahkhanjani ahkhanjani commented Dec 29, 2025

Closes #1243

Summary by CodeRabbit

  • New Features
    • Added WAV audio format to MIME type mappings so .wav files are correctly recognized.
    • Enhances compatibility and handling for WAV-based audio uploads, playback, and integrations across the platform.

✏️ Tip: You can customize this high-level summary in your review settings.

@changeset-bot
Copy link

changeset-bot bot commented Dec 29, 2025

🦋 Changeset detected

Latest commit: eae568e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 9 packages
Name Type
@uploadthing/mime-types Patch
@uploadthing/shared Patch
uploadthing Patch
@uploadthing/expo Patch
@uploadthing/react Patch
@uploadthing/solid Patch
@uploadthing/svelte Patch
@uploadthing/vue Patch
@uploadthing/nuxt Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Dec 29, 2025

@ahkhanjani is attempting to deploy a commit to the Ping Labs Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 29, 2025

Walkthrough

Added a new MIME type entry audio/wav to the audio MIME types object with source: "nginx" and extensions: ["wav"].

Changes

Cohort / File(s) Summary
Audio MIME types configuration
packages/mime-types/src/audio.ts
Inserted new MIME type entry audio/wav with source: "nginx" and extensions: ["wav"] into the exported audio object.
Changeset
.changeset/wet-days-happen.md
Added changeset indicating a patch/feature bump for @uploadthing/mime-types noting addition of WAV support.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'feat: Add wav mime type support' clearly and concisely describes the main change—adding WAV MIME type support—which matches the changeset perfectly.
Linked Issues check ✅ Passed The PR successfully addresses issue #1243 by adding audio/wav MIME type support, resolving the reported 'unsupported type' error when uploading audio/wav files.
Out of Scope Changes check ✅ Passed All changes are directly related to adding WAV MIME type support; no out-of-scope modifications are present in the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@ahkhanjani ahkhanjani mentioned this pull request Dec 29, 2025
1 task
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between baaed19 and 4cfdb8c.

📒 Files selected for processing (1)
  • packages/mime-types/src/audio.ts
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (7)
  • GitHub Check: bundle-analyze-result
  • GitHub Check: e2e-node (backend-adapters)
  • GitHub Check: e2e-node (minimal-appdir)
  • GitHub Check: e2e-node (minimal-pagedir)
  • GitHub Check: typecheck
  • GitHub Check: build
  • GitHub Check: lint

@markflorkowski markflorkowski merged commit d20c5ba into pingdotgg:main Jan 23, 2026
16 of 18 checks passed
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.

feat: Add audio/wav support

2 participants