From d329ca4b6041c6d47db3f64ce1cd2d1a343c4f5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 23 Jan 2018 17:01:17 +0100 Subject: Update Cowboy to 2.2.1 --- doc/src/guide/book.asciidoc | 2 ++ doc/src/guide/getting_started.asciidoc | 2 +- doc/src/guide/migrating_from_2.2.asciidoc | 17 +++++++++++++++++ 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 doc/src/guide/migrating_from_2.2.asciidoc (limited to 'doc') diff --git a/doc/src/guide/book.asciidoc b/doc/src/guide/book.asciidoc index 335cdb1..59b39f5 100644 --- a/doc/src/guide/book.asciidoc +++ b/doc/src/guide/book.asciidoc @@ -73,6 +73,8 @@ include::middlewares.asciidoc[Middlewares] = Additional information +include::migrating_from_2.2.asciidoc[Changes since Cowboy 2.2] + include::migrating_from_2.1.asciidoc[Migrating from Cowboy 2.1 to 2.2] include::migrating_from_2.0.asciidoc[Migrating from Cowboy 2.0 to 2.1] diff --git a/doc/src/guide/getting_started.asciidoc b/doc/src/guide/getting_started.asciidoc index 3947791..6e26334 100644 --- a/doc/src/guide/getting_started.asciidoc +++ b/doc/src/guide/getting_started.asciidoc @@ -69,7 +69,7 @@ fetch and compile Cowboy: PROJECT = hello_erlang DEPS = cowboy -dep_cowboy_commit = 2.2.0 +dep_cowboy_commit = 2.2.1 DEP_PLUGINS = cowboy diff --git a/doc/src/guide/migrating_from_2.2.asciidoc b/doc/src/guide/migrating_from_2.2.asciidoc new file mode 100644 index 0000000..ed8ba2a --- /dev/null +++ b/doc/src/guide/migrating_from_2.2.asciidoc @@ -0,0 +1,17 @@ +[appendix] +== Changes since Cowboy 2.2 + +The following patch versions were released since Cowboy 2.2: + +=== Cowboy 2.2.1 + +* Colons are now allowed within path segments in routes provided + to `cowboy_router:compile/1` as long as they are not the first + character of the path segment. + +* The `cowboy_req:delete_resp_header/2` function will no longer + crash when no response header was set before calling it. + +* A miscount of the output HTTP/2 flow control window has been + fixed. It prevented sending the response body fully with some + clients. The issue only affected response bodies sent as iolists. -- cgit v1.2.3