Skip to content

Normalize MIME-types we invented with /x-ft- prefix #768

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Borewit
Copy link
Collaborator

@Borewit Borewit commented Jun 14, 2025

MIME media subtypes prefixed with x-ft- are custom-defined by us.
They are neither formally registered with IANA nor based on any informal conventions.

These MIME-type mappings changed:

  • application/x-lzipapplication/lzip (based on https://datatracker.ietf.org/doc/draft-diaz-lzip/)
  • application/x.ms.shortcutapplication/x-ms-shortcut
  • application/x.apple.aliasapplication/x-ft-apple.alias
  • application/x.autodesk.fbxapplication/x-ft-fbx
  • application/vnd.google.dracoapplication/x-ft-draco

@Borewit Borewit self-assigned this Jun 14, 2025
@Borewit Borewit added the API change Major change, dependents may need to update their code label Jun 14, 2025
@Borewit Borewit force-pushed the normalize-invented-mime-types branch from cb9c66b to 701600a Compare June 14, 2025 09:49
@Borewit Borewit requested a review from sindresorhus June 14, 2025 09:50
MIME media subtypes prefixed with `x-ft-` are custom-defined by us.
These types lack both formal registration with IANA and any established informal.

These MIME-type mappings changed:
- `application/x-lzip` ↦ `application/lzip`
- `application/x.ms.shortcut` ↦ `application/x-ms-shortcut`
- `application/x.apple.alias` ↦ `application/x-ft-apple.alias`
- `application/x.autodesk.fbx` ↦ `application/x-ft-fbx`
- `application/vnd.google.draco` ↦ `application/x-ft-draco`
@Borewit Borewit requested a review from sindresorhus June 14, 2025 12:22
@sindresorhus
Copy link
Owner

I don't see any readme update.

@Borewit Borewit force-pushed the normalize-invented-mime-types branch from 67ae6b6 to 69954c8 Compare June 15, 2025 09:53
@Borewit
Copy link
Collaborator Author

Borewit commented Jun 15, 2025

I don't see any readme update.

My push failed, sorry about that.

@sindresorhus
Copy link
Owner

Looks good now, but this will have to wait until the next major version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API change Major change, dependents may need to update their code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants