Skip to content

v4.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 17 Jun 13:50
· 4 commits to master since this release

4.0.0 (2024-06-17)

⚠ BREAKING CHANGES

  • drop Node.js < 18.19.0 support

eggjs/egg#5257

Summary by CodeRabbit

  • New Features

  • Introduced new utility functions for resolving and importing modules
    with support for CommonJS and ESM formats.

  • Added new test fixtures for CommonJS and ESM modules to validate
    module import functionality.

  • Refactor

  • Updated import statements to include file extensions (.js) for
    consistency and compatibility.

    • Refactored code to use async/await for asynchronous operations.
    • Improved path handling in tests with helper functions.
  • Documentation

  • Updated package.json with new scripts, dependencies, and module
    management configurations.

  • Chores

  • Enhanced .gitignore to exclude .tshy* files and dist/ directory.

    • Modified GitHub Actions workflows for Node.js and release processes.
  • Tests

    • Added tests for new module import functions.
    • Updated existing tests to reflect new import paths and async changes.
  • Configuration

  • Updated tsconfig.json for stricter TypeScript settings and modern
    module resolution.

Features

  • support @eggjs/core next version (#21) (a37968c)