Skip to content

v3.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 12 Mar 15:44

3.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

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.

Features

  • support cjs and esm both by tshy (#1) (6d0d7cc)

This release is also available on: