Skip to content

Releases: chimurai/http-proxy-middleware

v1.1.0

28 Mar 21:31
Compare
Choose a tag to 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

v1.0.6

11 Oct 19:42
Compare
Choose a tag to compare

v1.0.5...v1.0.6

  • chore(deps): lodash 4.17.20 (#475)

v1.0.5

09 Jul 16:42
Compare
Choose a tag to compare

v1.0.4...v1.0.5

  • chore(deps): lodash 4.17.19 (#454)

v0.19.2

19 May 19:22
Compare
Choose a tag to compare
  • chore(deps): http-proxy 1.18.1

v1.0.4

18 May 16:29
Compare
Choose a tag to compare

v1.0.3...v1.0.4

  • chore(deps): http-proxy 1.18.1 (#442)

v1.0.3

16 Mar 21:24
Compare
Choose a tag to 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

v1.0.2

14 Mar 13:25
Compare
Choose a tag to compare

v1.0.1...v1.0.2

  • fix(router): handle rejected promise in custom router (#410) (bforbis)

v1.0.1

29 Feb 12:39
Compare
Choose a tag to compare

v1.0.0...v1.0.1

  • fix(typescript): fix proxyRes and router types (#410) (dylang)

v1.0.0

18 Feb 22:51
Compare
Choose a tag to 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 (#358)

v0.21.0

16 Feb 18:32
Compare
Choose a tag to 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)