4.0.0 (2025-02-03)
⚠ BREAKING CHANGES
- drop Node.js < 18.19.0 support
part of eggjs/egg#3644
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
This release is also available on: