Skip to content

2.1.0

Latest

Choose a tag to compare

@saqqdy saqqdy released this 12 Apr 12:06
· 3 commits to master since this release

Added

  • Add TypeScript type definitions (index.d.ts)
  • Add integration test examples in examples/proxy-demo/
  • Add .node-version file for version managers
  • Add GitHub Dependabot configuration
  • Add GitHub Release workflow
  • Add ESLint v9 flat config (eslint.config.mjs)

Changed

  • Upgrade http-proxy-middleware from v2 to v3
  • Upgrade egg from v2 to v3
  • Upgrade egg-bin from v4 to v6
  • Upgrade egg-mock from v3 to v5
  • Upgrade ESLint from v7 to v9
  • Update Node.js requirement to >=14.0.0
  • Update CI to test on Node.js 18, 20, 22
  • Update GitHub Actions to use pnpm
  • Update README with bilingual support (Chinese/English)
  • Improve middleware performance with pre-normalized config

Fixed

  • Fix double next() call in middleware
  • Fix middleware logic for proper proxy handling with http-proxy-middleware v3

Removed

  • Remove deprecated babel-eslint dependency
  • Remove egg-bin pkgfiles command (deprecated)
  • Remove test fixtures logs/ and run/ from git tracking
  • Remove .travis.yml (migrated to GitHub Actions)
  • Remove .eslintignore and .prettierignore (using flat config)
  • Remove husky and lint-staged

Full Changelog: 2.0.1...2.1.0