Skip to content

Commit

Permalink
chore(package): v3.0.0-beta.0
Browse files Browse the repository at this point in the history
  • Loading branch information
chimurai committed Apr 22, 2022
1 parent 549792e commit 4c136ab
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 2 deletions.
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
# Changelog

## next

- chore(deps): update micromatch to 4.0.5
- chore(package): bump devDependencies
- feat(legacyCreateProxyMiddleware): show migration tips
- feat(legacyCreateProxyMiddleware): adapter with v2 behaviour (#754)
- docs(proxy events): fix new syntax (#753)
- feat(debug): improve troubleshooting (#752)
- test(path-rewriter): improve coverage (#751)
- feat(ejectPlugins): skip registering default plugins (#750)
- refactor: logging [BREAKING CHANGE] (#749)
- refactor(handlers): refactor to plugins [BREAKING CHANGE] (#745)
- feat(plugins): add support for plugins
- docs: fix v3 documentation
- fix: server mounting [BREAKING CHANGE]
- test(fixRequestBody): fix broken test
- refactor: use node http base types [BREAKING CHANGE]
- feat(option): refactor context to pathFilter option [BREAKING CHANGE] (#722)
- feat: remove shorthand usage [BREAKING CHANGE] (#716)

## [v2.0.6](https://github.com/chimurai/http-proxy-middleware/releases/tag/v2.0.6)

- fix(proxyReqWs): catch socket errors ([#763](https://github.com/chimurai/http-proxy-middleware/pull/763))

## [v2.0.5](https://github.com/chimurai/http-proxy-middleware/releases/tag/v2.0.5)

- fix(error handler): add default handler to econnreset ([#759](https://github.com/chimurai/http-proxy-middleware/pull/759))

## [v2.0.4](https://github.com/chimurai/http-proxy-middleware/releases/tag/v2.0.4)

- fix(fix-request-body): improve content type check ([#725](https://github.com/chimurai/http-proxy-middleware/pull/725)) ([kevinxh](https://github.com/kevinxh))
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "http-proxy-middleware",
"version": "2.0.4",
"description": "The one-liner node.js proxy middleware for connect, express and browser-sync",
"version": "3.0.0-beta.0",
"description": "The one-liner node.js proxy middleware for connect, express, next.js and more",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
Expand Down Expand Up @@ -39,6 +39,7 @@
"express",
"fastify",
"polka",
"next.js",
"browser-sync",
"gulp",
"grunt-contrib-connect",
Expand Down
1 change: 1 addition & 0 deletions src/plugins/default/debug-proxy-errors-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export const debugProxyErrorsPlugin: Plugin = (proxyServer): void => {
});
});

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

0 comments on commit 4c136ab

Please sign in to comment.