Skip to content

v1.0.0

Compare
Choose a tag to compare
@chimurai chimurai released this 18 Feb 22:51
· 228 commits to master since this release

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)