mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 04:10:24 +00:00
Update Cowboy to 2.2.1
This commit is contained in:
parent
e09ae60d5b
commit
d329ca4b60
5 changed files with 22 additions and 3 deletions
2
Makefile
2
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.
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
17
doc/src/guide/migrating_from_2.2.asciidoc
Normal file
17
doc/src/guide/migrating_from_2.2.asciidoc
Normal file
|
@ -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.
|
|
@ -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]},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue