Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
evert committed Jan 6, 2020
1 parent 94034ca commit 130cca4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,8 @@ The Context object has the following properties:
* `sendInformational(status, headers?)` - Sends a `100 Continue`,
`102 Processing` or `103 Early Hints` - response with optional headers.
* `push(callback: Middleware)` - Do a HTTP/2 push.
* `redirect(status, location)` - Send a redirect status code and set a
`Location` header.


### The Request interface
Expand Down Expand Up @@ -275,6 +277,8 @@ properties and methods:
response matches the argument. If your `Content-Type` is
`application/hal+json` it will return true for `application/hal+json`,
`hal+json` and `json`.
* `redirect(status, location)` - Send a redirect status code and set a
`Location` header.

### The Headers interface

Expand Down
8 changes: 8 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
Changelog
=========

0.10.0 (2020-01-05)
-------------------

* Added a `redirect()` function to `Context` and `Response` objects, making it
easier to set a status-code and location header in one step.
* Support for more `Prefer` parameters: `depth-noroot`, `safe`, `transclude`.


0.9.4 (2019-12-21)
------------------

Expand Down

0 comments on commit 130cca4

Please sign in to comment.