Skip to content

Commit

Permalink
Cowboy 2.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
essen committed Mar 14, 2024
1 parent f7956a0 commit 3ea8395
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Makefile
Expand Up @@ -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.
Expand Down Expand Up @@ -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">>
}
Expand Down
4 changes: 2 additions & 2 deletions README.asciidoc
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions doc/src/guide/book.asciidoc
Expand Up @@ -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]
Expand Down
15 changes: 15 additions & 0 deletions 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.
2 changes: 1 addition & 1 deletion 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]},
Expand Down

0 comments on commit 3ea8395

Please sign in to comment.