summaryrefslogtreecommitdiff
path: root/CHANGELOG.md
blob: d95bb0053f6ee7645802d113efb60e6051fd8bfd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# 1.0.0
#### Breaking Changes
* Moves from `{:type ... :message ...}` to `{:kind ... :msg ...}` for
  exceptions and error responses.
* Moves schemas and helpers previously defined in `core` namespace into new `utils` namespace.

# 0.3.1
* This is a bug-fix release for a regression in wrap-proxy.
* All middleware now have the `:always-validate` metadata
  set for schema validation.

# 0.3.0
* This version adds many middleware that are used in other
  puppetlabs projects.  These middleware are mostly for logging
  and error handling, and they are all documented in the
  [README](./README.md):
  * `wrap-request-logging`
  * `wrap-response-logging`
  * `wrap-service-unavailable`
  * `wrap-bad-request`
  * `wrap-data-errors`
  * `wrap-schema-errors`
  * `wrap-uncaught-errors`
* Additionally, this version fixes
  [an issue](https://tickets.puppetlabs.com/browse/TK-228) with the
  behavior of `wrap-proxy` and its handling of redirects.

# 0.2.1
* Add wrap-with-certificate-cn middleware that adds a `:ssl-client-cn` key
  to the request map if a `:ssl-client-cert` is present.
* Add wrap-with-x-frame-options-deny middleware that adds `X-Frame-Options: DENY`

# 0.2.0
* Modify behavior of regex support in the wrap-proxy function.
  Now, when a regex is given for the `proxied-path` argument,
  the entirety of the request uri's path will be appended onto
  the path of `remote-uri-base`.
* Add a new utility middleware, `wrap-add-cache-headers`,
  that adds `cache-control` headers to `GET` and `PUT`
  requests.

# 0.1.3
* Log proxied requests
* Allow `proxied-path` argument in `wrap-proxy` function to
  be a regular expression
* Bump http-client to v0.2.8

# 0.1.2
* Add support for redirect following on proxy requests
* Fix issue where Gzipped proxy responses were being truncated