chimurai / http-proxy-middleware

:zap: The one-liner node.js http-proxy middleware for connect, express, next.js and more
MIT License
10.7k stars 834 forks source link

feat(legacyCreateProxyMiddleware): show migration tips #756

Closed chimurai closed 2 years ago

chimurai commented 2 years ago

Description

Display upgrade tips when legacyCreateProxyMiddleware() is used with legacy features.

image

Motivation and Context

DX; Allow users to use legacyCreateProxyMiddleware() as intermediate upgrade, before fully migrating to v3

How has this been tested?

Types of changes

Checklist:

coveralls commented 2 years ago

Coverage Status

Coverage increased (+0.05%) to 97.872% when pulling a4e7d64c4a1d409cc9ac11e8d52ec4bfc92bdc42 on legacy-migration-tips into cdfe93433ef3f054bbbe76293532d5f2da70e60b on v3.