aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/src/guide/book.asciidoc2
-rw-r--r--doc/src/guide/getting_started.asciidoc2
-rw-r--r--doc/src/guide/migrating_from_2.2.asciidoc17
3 files changed, 20 insertions, 1 deletions
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.