@thi.ng/mime
Version:
650+ file extension to MIME type mappings, based on mime-db
65 lines (36 loc) • 2.44 kB
Markdown
# Change Log
- **Last updated**: 2025-08-04T09:13:01Z
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
All notable changes to this project will be documented in this file.
Only versions published since **2022-01-01** are listed here.
Please consult the Git history for older version information.
See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
and/or version bumps of transitive dependencies.
## [2.7.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/mime@2.7.0) (2025-01-29)
#### 🚀 Features
- add `preferredTypeForPath()` syntax sugar ([872808f](https://github.com/thi-ng/umbrella/commit/872808f))
## [2.6.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/mime@2.6.0) (2024-03-06)
#### 🚀 Features
- add extensionsForType() ([4453ec6](https://github.com/thi-ng/umbrella/commit/4453ec6))
#### 🩹 Bug fixes
- revert jpeg extension overrides ([cc8ee6f](https://github.com/thi-ng/umbrella/commit/cc8ee6f))
## [2.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/mime@2.5.0) (2024-02-17)
#### 🚀 Features
- update DB conversion, mime types & compression handling ([d67499c](https://github.com/thi-ng/umbrella/commit/d67499c))
- update generated DB, add isCompressible() ([3875d3b](https://github.com/thi-ng/umbrella/commit/3875d3b))
## [2.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/mime@2.4.0) (2024-02-16)
#### 🚀 Features
- force lowercase file extension in preferredType() ([2cb0f1f](https://github.com/thi-ng/umbrella/commit/2cb0f1f))
- update docs
## [2.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/mime@2.3.0) (2023-12-09)
#### 🚀 Features
- add MIME_IMAGE_COMMON preset ([7afba57](https://github.com/thi-ng/umbrella/commit/7afba57))
### [2.2.27](https://github.com/thi-ng/umbrella/tree/@thi.ng/mime@2.2.27) (2023-11-09)
#### ♻️ Refactoring
- update all tests (packages A-S) ([e3085e4](https://github.com/thi-ng/umbrella/commit/e3085e4))
## [2.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/mime@2.2.0) (2022-04-07)
#### 🚀 Features
- update to latest DB & overrides, fix [#340](https://github.com/thi-ng/umbrella/issues/340) ([5a51f7d](https://github.com/thi-ng/umbrella/commit/5a51f7d))
#### ♻️ Refactoring
- replace deprecated .substr() w/ .substring() ([0710509](https://github.com/thi-ng/umbrella/commit/0710509))