All notable changes to this project will be documented in this file.
2.1.0 - 2026-04-12
- Add TypeScript type definitions (
index.d.ts) - Add integration test examples in
examples/proxy-demo/ - Add
.node-versionfile for version managers - Add GitHub Dependabot configuration
- Add GitHub Release workflow
- Add ESLint v9 flat config (
eslint.config.mjs)
- Upgrade
http-proxy-middlewarefrom v2 to v3 - Upgrade
eggfrom v2 to v3 - Upgrade
egg-binfrom v4 to v6 - Upgrade
egg-mockfrom 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
- Fix double
next()call in middleware - Fix middleware logic for proper proxy handling with http-proxy-middleware v3
- Remove deprecated
babel-eslintdependency - Remove
egg-bin pkgfilescommand (deprecated) - Remove test fixtures
logs/andrun/from git tracking - Remove
.travis.yml(migrated to GitHub Actions) - Remove
.eslintignoreand.prettierignore(using flat config) - Remove
huskyandlint-staged
2.0.1 - 2023-05-01
- Upgrade
eggfrom v2.x to v3.x - Upgrade
egg-binfrom v4.x to v6.x - Upgrade
egg-cifrom v1.x to v2.x - Upgrade
egg-mockfrom v3.x to v5.x - Upgrade
js-coolfrom v2.x to v4.x - Upgrade all package versions
1.1.0 - 2021-09-01
- Support file upload proxy
- Support custom matching function
- ctx context passing to callback functions
- Update dependencies
1.0.0 - 2020-01-01
- Initial release
- Basic HTTP proxy middleware for Egg.js
- Path rewrite support
- WebSocket proxy support
- Request/response modification hooks