17/04/2025
No change to source code.
- Now only tested on node versions 14 - 22.
- Should still run fine on 8.3.0+ but no longer tested on 8-12 so we can update testing-related dependencies.
08/07/20
backendHeaders
option added, in order to offer the ability to supplement the outgoing HTTP response headers with some of the Backend response headers. (morgaan)
19/06/20
- Re-introduce
interceptErrors
, as a multiple type (boolean
|function
) option in order to offer more flexibility on rather to raise a400 - 599
error or to proxy it to the client. (morgaan)
05/06/20
- Returns client error status codes from the backend and only raises errors if the backend responds with
500 - 599
. (springerBuck)
06/05/20
- Remove
changeHost
andinterceptErrors
. (joeyciechanowicz) - Raise an error if the backend responds with
400 - 599
. (joeyciechanowicz)
27/03/20
- Handle stream aborted. (joeyciechanowicz)
11/03/20
interceptErrors
option added. (joeyciechanowicz)
26/02/20
- Fixes
location
header rewriting to only rewrite the host (springerBuck)
18/02/20
- Specifies the host header in the correct order. (joeyciechanowicz)
- Removes backend domain from location on a 30x response (springerBuck)
02/02/20
- Adds support for using JS mocks that use a function that accepts the
express
request object (joeyciechanowicz)
27/01/20
- Adds support for using JS files as a mock (joeyciechanowicz & morgaan)
08/01/20
- Bump handlebars version to fix critical vulnerability (joeyciechanowicz)
06/01/20
- Whitelist NPM files (joeyciechanowicz)
06/01/20
- Pipe backend headers and status to client (joeyciechanowicz)
- Optionally support 'Host' request header (morgaan)
- Fix proxy crashing if no content-type is provided (joeyciechanowicz)
03/09/19
- Initial release (joeyciechanowicz)