Releases: chimurai/http-proxy-middleware
Releases · chimurai/http-proxy-middleware
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
v1.0.5
v0.19.2
v1.0.4
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
v1.0.1
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)