aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-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
-rw-r--r--ebin/cowboy.app2
5 files changed, 22 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 06a69e4..38f38cb 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
PROJECT = cowboy
PROJECT_DESCRIPTION = Small, fast, modern HTTP server.
-PROJECT_VERSION = 2.2.0
+PROJECT_VERSION = 2.2.1
PROJECT_REGISTERED = cowboy_clock
# Options.
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.
diff --git a/ebin/cowboy.app b/ebin/cowboy.app
index 7508a64..b6c175e 100644
--- a/ebin/cowboy.app
+++ b/ebin/cowboy.app
@@ -1,6 +1,6 @@
{application, 'cowboy', [
{description, "Small, fast, modern HTTP server."},
- {vsn, "2.2.0"},
+ {vsn, "2.2.1"},
{modules, ['cowboy','cowboy_app','cowboy_bstr','cowboy_children','cowboy_clear','cowboy_clock','cowboy_compress_h','cowboy_constraints','cowboy_handler','cowboy_http','cowboy_http2','cowboy_iolists','cowboy_loop','cowboy_metrics_h','cowboy_middleware','cowboy_req','cowboy_rest','cowboy_router','cowboy_static','cowboy_stream','cowboy_stream_h','cowboy_sub_protocol','cowboy_sup','cowboy_tls','cowboy_tracer_h','cowboy_websocket']},
{registered, [cowboy_sup,cowboy_clock]},
{applications, [kernel,stdlib,crypto,cowlib,ranch]},