Skip to content

Commit 4c136ab

Browse files
committed
chore(package): v3.0.0-beta.0
1 parent 549792e commit 4c136ab

File tree

3 files changed

+32
-2
lines changed

3 files changed

+32
-2
lines changed

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,33 @@
11
# Changelog
22

3+
## next
4+
5+
- chore(deps): update micromatch to 4.0.5
6+
- chore(package): bump devDependencies
7+
- feat(legacyCreateProxyMiddleware): show migration tips
8+
- feat(legacyCreateProxyMiddleware): adapter with v2 behaviour (#754)
9+
- docs(proxy events): fix new syntax (#753)
10+
- feat(debug): improve troubleshooting (#752)
11+
- test(path-rewriter): improve coverage (#751)
12+
- feat(ejectPlugins): skip registering default plugins (#750)
13+
- refactor: logging [BREAKING CHANGE] (#749)
14+
- refactor(handlers): refactor to plugins [BREAKING CHANGE] (#745)
15+
- feat(plugins): add support for plugins
16+
- docs: fix v3 documentation
17+
- fix: server mounting [BREAKING CHANGE]
18+
- test(fixRequestBody): fix broken test
19+
- refactor: use node http base types [BREAKING CHANGE]
20+
- feat(option): refactor context to pathFilter option [BREAKING CHANGE] (#722)
21+
- feat: remove shorthand usage [BREAKING CHANGE] (#716)
22+
23+
## [v2.0.6](https://github.com/chimurai/http-proxy-middleware/releases/tag/v2.0.6)
24+
25+
- fix(proxyReqWs): catch socket errors ([#763](https://github.com/chimurai/http-proxy-middleware/pull/763))
26+
27+
## [v2.0.5](https://github.com/chimurai/http-proxy-middleware/releases/tag/v2.0.5)
28+
29+
- fix(error handler): add default handler to econnreset ([#759](https://github.com/chimurai/http-proxy-middleware/pull/759))
30+
331
## [v2.0.4](https://github.com/chimurai/http-proxy-middleware/releases/tag/v2.0.4)
432

533
- fix(fix-request-body): improve content type check ([#725](https://github.com/chimurai/http-proxy-middleware/pull/725)) ([kevinxh](https://github.com/kevinxh))

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "http-proxy-middleware",
3-
"version": "2.0.4",
4-
"description": "The one-liner node.js proxy middleware for connect, express and browser-sync",
3+
"version": "3.0.0-beta.0",
4+
"description": "The one-liner node.js proxy middleware for connect, express, next.js and more",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
77
"files": [
@@ -39,6 +39,7 @@
3939
"express",
4040
"fastify",
4141
"polka",
42+
"next.js",
4243
"browser-sync",
4344
"gulp",
4445
"grunt-contrib-connect",

src/plugins/default/debug-proxy-errors-plugin.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ export const debugProxyErrorsPlugin: Plugin = (proxyServer): void => {
5959
});
6060
});
6161

62+
// https://github.com/webpack/webpack-dev-server/issues/1642#issuecomment-1103136590
6263
proxyServer.on('econnreset', (error, req, res, target) => {
6364
debug(`http-proxy econnreset event: \n%O`, error);
6465
});

0 commit comments

Comments
 (0)