http-proxy-middleware

The one-liner node.js http-proxy middleware for connect, express, next.js and more

MIT License

Downloads
62M
Stars
10.7K
Committers
39

Bot releases are hidden (Show)

http-proxy-middleware - v1.2.1

Published by chimurai over 3 years ago

https://github.com/chimurai/http-proxy-middleware/compare/v1.2.0...v1.2.1

  • fix(response interceptor): proxy original response headers (#563)
http-proxy-middleware - v1.2.0

Published by chimurai over 3 years ago

https://github.com/chimurai/http-proxy-middleware/compare/v1.1.2...v1.2.0

  • feat(handler): response interceptor (#520)
  • fix(log error): handle undefined target when websocket errors (#527)
http-proxy-middleware - v1.1.2

Published by chimurai over 3 years ago

http-proxy-middleware - v1.1.1

Published by chimurai over 3 years ago

https://github.com/chimurai/http-proxy-middleware/compare/v1.1.0...v1.1.1

  • fix(error handler): re-throw http-proxy missing target error (#517)
  • refactor(dependency): remove camelcase
  • fix(option): optional target when router is used (#512)
http-proxy-middleware - v1.1.0

Published by chimurai over 3 years ago

https://github.com/chimurai/http-proxy-middleware/compare/v1.0.6...v1.1.0

  • fix(errorHandler): fix confusing error message (#509)
  • fix(proxy): close proxy when server closes (#508)
  • refactor(lodash): remove lodash (#459) (#507) (TrySound)
  • fix(ETIMEDOUT): return 504 on ETIMEDOUT (#480) (aremishevsky)

Removing lodash reduced the bundle size by more than 50% (source: bundlephobia.com):

Before lodash removal:
133.2 kB MINIFIED
45.6 kB MINIFIED + GZIPPED

After lodash removal:
65.6 kB MINIFIED
22.4 kB MINIFIED + GZIPPED

http-proxy-middleware - v1.0.6

Published by chimurai about 4 years ago

http-proxy-middleware - v1.0.5

Published by chimurai over 4 years ago

http-proxy-middleware - v0.19.2

Published by chimurai over 4 years ago

  • chore(deps): http-proxy 1.18.1
http-proxy-middleware - v1.0.4

Published by chimurai over 4 years ago

http-proxy-middleware - v1.0.3

Published by chimurai over 4 years ago

https://github.com/chimurai/http-proxy-middleware/compare/v1.0.2...v1.0.3

  • build(package): exclude build artifact tsconfig.tsbuildinfo (#415)

smaller npm package size:

before:

npm notice package size: 30.3 kB
npm notice unpacked size: 208.4 kB

after:

npm notice package size: 17.1 kB
npm notice unpacked size: 61.0 kB

http-proxy-middleware - v1.0.2

Published by chimurai over 4 years ago

https://github.com/chimurai/http-proxy-middleware/compare/v1.0.1...v1.0.2

  • fix(router): handle rejected promise in custom router (#410) (bforbis)
http-proxy-middleware - v1.0.1

Published by chimurai over 4 years ago

http-proxy-middleware - v1.0.0

Published by chimurai over 4 years ago

https://github.com/chimurai/http-proxy-middleware/compare/v0.21.0...v1.0.0

  • feat(createProxyMiddleware): explicit import http-proxy-middleware (BREAKING CHANGE)(#400)
  • feat(typescript): export http-proxy-middleware types (#400)
  • fix(typescript): ES6 target - TS1192 (introduced in v0.21.0) (#400)

BREAKING CHANGE

require/import of http-proxy-middleware is now explicit

functionality did not change in this release.

https://humanwhocodes.com/blog/2019/01/stop-using-default-exports-javascript-module

v0.x.x with implicit require

const proxy = require('http-proxy-middleware');

v1.0.0 with explicit require

const { createProxyMiddleware } = require('http-proxy-middleware');

TypeScript Types

import { Filter, Options, RequestHandler } from 'http-proxy-middleware';

v1.0.0 - semver

Moving to less confusing semver versioning (https://github.com/chimurai/http-proxy-middleware/issues/358)

http-proxy-middleware - v0.21.0

Published by chimurai over 4 years ago

https://github.com/chimurai/http-proxy-middleware/compare/v0.20.0...v0.21.0

  • feat(http-proxy): bump to v1.18.0
  • feat: async router (#379) (LiranBri)
  • feat(typescript): types support (#369)
  • feat: async pathRewrite (#397) (rsethc)
http-proxy-middleware - v0.20.0

Published by chimurai about 5 years ago

https://github.com/chimurai/http-proxy-middleware/compare/v0.19.1...v0.20.0

  • fix(ws): concurrent websocket requests do not get upgraded (#335)
  • chore: drop node 6 (BREAKING CHANGE)
  • chore: update to micromatch@4 (BREAKING CHANGE)
  • chore: update dev dependencies
  • refactor: migrate to typescript (#328)
  • feat(middleware): Promise / async support (#328)
  • refactor: remove legacy options proxyHost and proxyTable (BREAKING CHANGE)
http-proxy-middleware - v0.19.1

Published by chimurai almost 6 years ago

https://github.com/chimurai/http-proxy-middleware/compare/v0.19.0...v0.19.1

  • fix(log): handle case when error code is missing (#303)
http-proxy-middleware - v0.19.0

Published by chimurai about 6 years ago

http-proxy-middleware - v0.18.0

Published by chimurai over 6 years ago

https://github.com/chimurai/http-proxy-middleware/compare/v0.17.4...v0.18.0

http-proxy-middleware - v0.17.4

Published by chimurai over 7 years ago

https://github.com/chimurai/http-proxy-middleware/compare/v0.17.3...v0.17.4

  • fix(ntlm authentication): fixed bug preventing proxying with ntlm authentication. (#132)

(Thanks: EladBezalel, oshri551)

http-proxy-middleware - v0.17.3

Published by chimurai almost 8 years ago

Package Rankings
Top 0.4% on Npmjs.org
Top 3.71% on Proxy.golang.org
Top 17.87% on Repo1.maven.org
Badges
Extracted from project README
GitHub Workflow Status (with branch) Coveralls Known Vulnerabilities npm GitHub stars