From 3ea8395eb8f53a57acb5d3c00b99c70296e7cdbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 14 Mar 2024 15:06:07 +0100 Subject: Cowboy 2.12.0 --- Makefile | 6 +++--- README.asciidoc | 4 ++-- doc/src/guide/book.asciidoc | 2 ++ doc/src/guide/migrating_from_2.11.asciidoc | 15 +++++++++++++++ ebin/cowboy.app | 2 +- 5 files changed, 23 insertions(+), 6 deletions(-) create mode 100644 doc/src/guide/migrating_from_2.11.asciidoc diff --git a/Makefile b/Makefile index 03c4f28..5e88acf 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ PROJECT = cowboy PROJECT_DESCRIPTION = Small, fast, modern HTTP server. -PROJECT_VERSION = 2.11.0 +PROJECT_VERSION = 2.12.0 PROJECT_REGISTERED = cowboy_clock # Options. @@ -38,8 +38,8 @@ define HEX_TARBALL_EXTRA_METADATA #{ licenses => [<<"ISC">>], links => #{ - <<"User guide">> => <<"https://ninenines.eu/docs/en/cowboy/2.11/guide/">>, - <<"Function reference">> => <<"https://ninenines.eu/docs/en/cowboy/2.11/manual/">>, + <<"User guide">> => <<"https://ninenines.eu/docs/en/cowboy/2.12/guide/">>, + <<"Function reference">> => <<"https://ninenines.eu/docs/en/cowboy/2.12/manual/">>, <<"GitHub">> => <<"https://github.com/ninenines/cowboy">>, <<"Sponsor">> => <<"https://github.com/sponsors/essen">> } diff --git a/README.asciidoc b/README.asciidoc index 4b850cd..02acaa6 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -18,8 +18,8 @@ Cowboy is *clean* and *well tested* Erlang code. == Online documentation -* https://ninenines.eu/docs/en/cowboy/2.11/guide[User guide] -* https://ninenines.eu/docs/en/cowboy/2.11/manual[Function reference] +* https://ninenines.eu/docs/en/cowboy/2.12/guide[User guide] +* https://ninenines.eu/docs/en/cowboy/2.12/manual[Function reference] == Offline documentation diff --git a/doc/src/guide/book.asciidoc b/doc/src/guide/book.asciidoc index 4448202..cf8c943 100644 --- a/doc/src/guide/book.asciidoc +++ b/doc/src/guide/book.asciidoc @@ -75,6 +75,8 @@ include::performance.asciidoc[Performance] = Additional information +include::migrating_from_2.11.asciidoc[Migrating from Cowboy 2.11 to 2.12] + include::migrating_from_2.10.asciidoc[Migrating from Cowboy 2.10 to 2.11] include::migrating_from_2.9.asciidoc[Migrating from Cowboy 2.9 to 2.10] diff --git a/doc/src/guide/migrating_from_2.11.asciidoc b/doc/src/guide/migrating_from_2.11.asciidoc new file mode 100644 index 0000000..ab74642 --- /dev/null +++ b/doc/src/guide/migrating_from_2.11.asciidoc @@ -0,0 +1,15 @@ +[appendix] +== Migrating from Cowboy 2.11 to 2.12 + +Cowboy 2.12 contains a small security improvement for +the HTTP/2 protocol. + +Cowboy 2.12 requires Erlang/OTP 24.0 or greater. + +=== Features added + +* A new HTTP/2 option `max_fragmented_header_block_size` has + been added to limit the size of header blocks that are + sent over multiple HEADERS and CONTINUATION frames. + +* Update Cowlib to 2.13.0. diff --git a/ebin/cowboy.app b/ebin/cowboy.app index 5dfa163..4050893 100644 --- a/ebin/cowboy.app +++ b/ebin/cowboy.app @@ -1,6 +1,6 @@ {application, 'cowboy', [ {description, "Small, fast, modern HTTP server."}, - {vsn, "2.11.0"}, + {vsn, "2.12.0"}, {modules, ['cowboy','cowboy_app','cowboy_bstr','cowboy_children','cowboy_clear','cowboy_clock','cowboy_compress_h','cowboy_constraints','cowboy_decompress_h','cowboy_handler','cowboy_http','cowboy_http2','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]}, -- cgit v1.2.3