Skip to content

v4.0.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 03 Feb 14:49

4.0.0 (2025-02-03)

⚠ BREAKING CHANGES

  • drop Node.js < 18.19.0 support

part of eggjs/egg#3644

eggjs/egg#5257

Summary by CodeRabbit

  • New Features

    • Introduced a new middleware for handling multipart requests.
    • Added improved error handling for oversized file uploads.
  • Refactor

  • Streamlined configuration and context enhancements for better
    stability and TypeScript support.

  • Modernized the codebase by transitioning to ES modules and updating
    type definitions.

  • Chores

  • Updated package metadata, dependencies, and continuous integration
    settings to support newer Node.js versions.

  • Introduced a new TypeScript configuration for stricter type-checking.

  • Tests

  • Added unit tests to validate application behavior under incorrect
    configurations.

  • Established comprehensive tests for multipart form handling to ensure
    correct processing of file uploads.

  • Transitioned existing tests to TypeScript and updated assertions for
    consistency.

Features

  • support cjs and esm both by tshy (#67) (ccefb3e)

This release is also available on: