Skip to content

Commit fae9f56

Browse files
Release 3.0.0
[skip ci] ## [3.0.0](v2.0.18...v3.0.0) (2025-03-12) ### ⚠ BREAKING CHANGES * drop Node.js < 18.19.0 support part of eggjs/egg#3644 eggjs/egg#5257 - change mime-db to 1.52.0 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Rebranded the package as “@eggjs/compressible” with enhanced TypeScript support, updated module exports, and improved type definitions. - **Documentation** - Revised the README with new badges, installation instructions, usage examples, and contributor information. - Updated LICENSE with a new copyright entry. - **Refactor** - Migrated the core compressibility functionality from JavaScript to a streamlined TypeScript implementation. - **Tests** - Added comprehensive tests to ensure robust handling of various MIME type inputs. - **Chores** - Improved development tooling and updated CI workflows for build, release, and package publishing. <!-- end of auto-generated comment: release notes by coderabbit.ai --> ### Features * support cjs and esm both by tshy ([#1](#1)) ([6d0d7cc](6d0d7cc))
1 parent 6d0d7cc commit fae9f56

File tree

2 files changed

+49
-1
lines changed

2 files changed

+49
-1
lines changed

CHANGELOG.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,51 @@
1+
# Changelog
2+
3+
## [3.0.0](https://github.com/eggjs/compressible/compare/v2.0.18...v3.0.0) (2025-03-12)
4+
5+
6+
### ⚠ BREAKING CHANGES
7+
8+
* drop Node.js < 18.19.0 support
9+
10+
part of https://github.com/eggjs/egg/issues/3644
11+
12+
https://github.com/eggjs/egg/issues/5257
13+
14+
- change mime-db to 1.52.0
15+
16+
<!-- This is an auto-generated comment: release notes by coderabbit.ai
17+
-->
18+
19+
## Summary by CodeRabbit
20+
21+
- **New Features**
22+
- Rebranded the package as “@eggjs/compressible” with enhanced
23+
TypeScript support, updated module exports, and improved type
24+
definitions.
25+
26+
- **Documentation**
27+
- Revised the README with new badges, installation instructions, usage
28+
examples, and contributor information.
29+
- Updated LICENSE with a new copyright entry.
30+
31+
- **Refactor**
32+
- Migrated the core compressibility functionality from JavaScript to a
33+
streamlined TypeScript implementation.
34+
35+
- **Tests**
36+
- Added comprehensive tests to ensure robust handling of various MIME
37+
type inputs.
38+
39+
- **Chores**
40+
- Improved development tooling and updated CI workflows for build,
41+
release, and package publishing.
42+
43+
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
44+
45+
### Features
46+
47+
* support cjs and esm both by tshy ([#1](https://github.com/eggjs/compressible/issues/1)) ([6d0d7cc](https://github.com/eggjs/compressible/commit/6d0d7ccfc75a00d8a98651fbd930fccba0b11454))
48+
149
unreleased
250
==========
351

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@eggjs/compressible",
33
"description": "Compressible Content-Type / mime checking. Forked for TypeScript and keep mime-db as same version as mime-types",
4-
"version": "2.0.18",
4+
"version": "3.0.0",
55
"contributors": [
66
"Douglas Christopher Wilson <[email protected]>",
77
"Jonathan Ong <[email protected]> (http://jongleberry.com)",

0 commit comments

Comments
 (0)