Skip to content

Latest commit

 

History

History
658 lines (422 loc) · 47.2 KB

CHANGELOG.md

File metadata and controls

658 lines (422 loc) · 47.2 KB

Changes in configurable-http-proxy

For detailed changes from the prior release, click on the version number, and its link will bring up a GitHub listing of changes. Use git log on the command line for details.

4.6.1 - 2023-11-27

(full changelog)

Maintenance and upkeep improvements

Documentation improvements

Continuous integration improvements

Dependency updates

Contributors to this release

The following people contributed discussions, new ideas, code and documentation contributions, and review. See our definition of contributors.

(GitHub contributors page for this release)

@0xETHengineer (activity) | @consideRatio (activity) | @manics (activity) | @minrk (activity) | @shoito (activity) | @yuvipanda (activity)

4.6

4.6.0 - 2023-09-19

(full changelog)

New features added

Contributors to this release

The following people contributed discussions, new ideas, code and documentation contributions, and review. See our definition of contributors.

(GitHub contributors page for this release)

@a3626a (activity) | @consideRatio (activity) | @davidxia (activity) | @minrk (activity)

4.5

4.5.6 - 2023-08-10

(full changelog)

Maintenance and upkeep improvements

Dependency updates

Contributors to this release

The following people contributed discussions, new ideas, code and documentation contributions, and review. See our definition of contributors.

(GitHub contributors page for this release)

@consideRatio (activity) | @manics (activity) | @minrk (activity)

4.5.5 - 2023-04-03

(full changelog)

Maintenance and upkeep improvements

Dependency updates

Continuous integration

Contributors to this release

(GitHub contributors page for this release)

@consideRatio | @dependabot | @minrk | @pre-commit-ci | @stefanc18 | @welcome

4.5.4 - 2022-12-06

(full changelog)

Dependency updates

Continuous integration

  • ci: small updates to workflows, updating misc versions #439 (@consideRatio)
  • build(deps): bump docker/build-push-action from 3.1.1 to 3.2.0 #437 (@dependabot)
  • build(deps): bump docker/setup-buildx-action from 2.0.0 to 2.1.0 #436 (@dependabot)
  • build(deps): bump docker/setup-qemu-action from 2.0.0 to 2.1.0 #435 (@dependabot)

Contributors to this release

(GitHub contributors page for this release)

@consideRatio | @yuvipanda

4.5.3 - 2022-09-09

(full changelog)

Dependency updates

Continuous integration improvements

4.5.2 - 2022-08-19

(full changelog)

Maintenance and upkeep improvements

Dependency updates

Continuous integration improvements

Contributors to this release

(GitHub contributors page for this release)

@Christian-Nunnally | @consideRatio | @manics | @minrk | @snickell

4.5.1 - 2022-02-02

(full changelog)

Bugs fixed

Continuous integration improvements

  • ci: test against node 17, rely on pre-commit.ci, tweak workflow triggers and comments #372 (@consideratio)

Dependency updates

Contributors to this release

(GitHub contributors page for this release)

@consideRatio | @minrk

4.5.0 - 2021-07-19

This minor release will only be available for you if you have node version 12 and higher as we have explicitly dropped support for lower versions.

Bugs fixed

Documentation improvements

Continuous integration improvements

Dependency updates

Contributors to this release

(GitHub contributors page for this release)

@consideRatio | @dtaniwaki | @Icare2000 | @manics | @minrk

4.4

[4.4.0] - 2021-05-26

Breaking change

  • By mistake we released this as version 4.4.0 instead of 5.0.0 even though we introduced a breaking change in #314 by dropping support for using statsd metrics.

New features added

Documentation improvements

Dependency bumps

Continuous integration

Contributors to this release

(GitHub contributors page for this release)

@consideRatio | @dependabot | @dtaniwaki | @minrk

4.3

4.3.2 - 2021-04-12

Enhancements made

  • Build and publish Docker Hub image for amd64 and arm64 #304 (@manics)

Maintenance and upkeep improvements

Documentation improvements

  • Simplify RELEASE.md with npm version #298 (@minrk)

Contributors to this release

(GitHub contributors page for this release)

@consideRatio | @dependabot | @manics | @minrk

4.3.1 - 2021-03-05

Bugs fixed

  • informative error when host cannot be determined for http->https redirect #295 (@minrk)

Contributors to this release

(GitHub contributors page for this release)

@consideRatio | @manics | @minrk

4.3.0 - 2021-03-05

4.3 is a small release that should mostly improve behavior when things are going wrong, especially when endpoints are unavailable and clients are still trying to talk to them.

In particular:

  • requests to unavailable endpoints no longer register as activity
  • improved error handling and quieter logging in these cases, especially when running on node >= 12.9.

Enhancements made

  • Do not update activity on failed requests #292 (@minrk)

Bugs fixed

Documentation improvements

Maintenance and upkeep improvements

Contributors to this release

(GitHub contributors page for this release)

@dependabot | @minrk

4.2

4.2.3 - 2021-02-19

Bugs fixed

  • lib: Use client ssl config to access error target #254 (@chancez)

Documentation improvements

Continuous integration

Dependency bumps

Contributors to this release

@chancez | @consideRatio | @dependabot | @minrk

4.2.2 - 2020-10-25

This release contains bugfixes, notably the --custom-header implementation.

Bugs fixed

Maintenance and upkeep improvements

Documentation improvements

Dependency bumps

Contributors to this release

(GitHub contributors page for this release)

@consideRatio | @dependabot | @jmartell7 | @manics | @minrk | @renovate | @rgbkrk | @suryag10 | @welcome | @wongannaw

4.2.1 - 2020-03-11

Summary

This is a security release, fixing node package dependencies to configurable-http-proxy, which itself was left untouched.

Merged PRs

4.2.0 - 2019-11-14

Summary

  • Now terminates on SIGTERM as can be caused by docker stop or kubectl delete
  • Add --timeout option to configure when to drop a request
  • Add --custom-header option that enables proxied requests to get additional headers attached
  • Support setting of the environment variable CONFIGPROXY_AUTH_TOKEN using a mounted file on the Docker image's container
  • Node version bumped from 10 to 12.13.0 in the Docker image
  • Various dependencies updated, including addressing security advisories from npm audit which do not affect CHP security itself.

Merged PRs

[4.1]

4.1.0 - 2019-04-01

  • Add --redirect-to option to specify destination port when redirecting http to https with --redirect-from.
  • Add health check endpoint at /_chp_healthz.
  • Docker base image is updated to node/10-alpine from node/6-alpine
  • Dependencies are updated via Renovate

4.0

4.0.0 - 2018-10-12

  • Add support for client SSL certificates for encrypting proxied requests.
  • Update all nodejs dependencies. Most significant is updating winston (logging) from 2 to 3. There is no longer a global logger, instead use this.log.
  • Drop support for node 4. Minimum node version is 6.
  • Support CONFIGPROXY_SSL_KEY_PASSPHRASE env for setting the passphrase of ssl keys (API_SSL for api ssl key).

3.1.1 - 2018-01-15

  • Fix a bug when using the new custom storage backend support where the body of requests could be lost.

[3.1.0] - 2017-11-03

3.1 adds two new features:

  • Add --change-origin passthrough for node-http-proxy's changeOrigin option.
  • Add support via --storage-backend <storage-class> for custom storage classes. See configurable-http-proxy-redis-backend for an example using redis.

[3.0.0] - 2017-09-19

3.0 is a major release because much of the code has been reorganized to adopt some javascript standards:

  • Use ES6 and Promises instead of ES5 and callbacks, which we can do without a compiler because CHP 2.0 required nodejs < 4.
  • auto-format code with prettify (run npm run fmt to auto-format your code after making changes).

There shouldn't be any major changes in 3.0, but marking it as a major upgrade because there could be regressions introduced by the restructuring.

Fixes:

  • Fix routing of /prefix?query where a query parameter was passed exactly on the routing prefix with no trailing slash.

Improvements:

  • Quieter messages for ECONNREFUSED and ECONNRESET, which are generally not indicative of problems, but rather common events of peers disconnecting during a request.
  • The docker image for jupyterhub/configurable-http-proxy is now based on node:6-alpine.

2.0.4 - 2017-06-21

  • Add logging of all API requests

2.0.3 - 2017-06-12

  • Fix docker image entrypoint, broken in 2.0.2

2.0.2 - 2017-06-07

  • Fix error raised trying to setHeader on an undefined response (e.g. when encountering socket-level error)

2.0.1

Important CHP 2.0.0 drops support for node.js ≤ 4.0.

Added:

  • Add configuration option for proxy timeout --proxy-timeout <n>, Timeout (in millis) when proxy receives no response from target. #86
  • Add configuration options for auto rewrite and protocol rewrite #73:
    • --auto-rewrite, Rewrite the Location header host/port in redirect responses
    • --protocol-rewrite <proto>', Rewrite the Location header protocol in redirect responses to the specified protocol
  • Add low-level code for separate stores of routes to enable future support of other data stores such as Redis #81

Changed:

  • Support only LTS releases and above for NodeJS #82. This means only ≥ 4.0 are supported.

Fixed:

  • Fix behavior to correctly handle children when a parent node is deleted #93
  • Fix closure reference when serving custom error pages #91
  • Improved all-interfaces warning message when ip='*' #94

[1.3.1] - 2016-10-12

  • small fixes for node 6 support
  • fix --no-x-forward again (for real, this time)

[1.3.0] - 2016-08-01

  • add --ssl-protocol, so that one can restrict to TLS, e.g. --ssl-protocol=TLSv1
  • fix handling of ``--no-x-forward`

1.2 - 2016-04-19

  • add statsd support

1.1 - 2016-01-04

  • add --ssl-request-cert args for certificate-based client authentication
  • fix some SSL parameters that were ignored for API requests

1.0 - 2016-01-04

  • add ConfigProxy.proxy_request event, for customizing requests as the pass through the proxy.
  • add more ssl-related options for specifying options on the CLI.
  • fix regression in 0.5 where deleting a top-level route would also delete the default route.

0.5 - 2015-10-05

  • add --error-target for letting another http server render error pages. Server must handle /404 and /503 URLs.
  • add --error-path for custom static HTML error pages. [CODE].html will be used if it exists, otherwise error.html.
  • fix bug preventing root route from being deleted

0.4 - 2015-10-02

  • add --redirect-port for automatically redirecting a common port to the correct one (e.g. redirecting http to https)

0.3 - 2015-04-29

  • fixes for URL escaping
  • add host-based routing

0.2.1 - 2014-11-21

0.2.0 - 2014-11-14

[0.1.1] - 2014-10-01