Skip to content

Commit

Permalink
Cowboy 2.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
essen committed Apr 28, 2023
1 parent 326939c commit 9e600f6
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

PROJECT = cowboy
PROJECT_DESCRIPTION = Small, fast, modern HTTP server.
PROJECT_VERSION = 2.9.0
PROJECT_VERSION = 2.10.0
PROJECT_REGISTERED = cowboy_clock

# Options.
Expand Down Expand Up @@ -40,8 +40,8 @@ define HEX_TARBALL_EXTRA_METADATA
#{
licenses => [<<"ISC">>],
links => #{
<<"User guide">> => <<"https://ninenines.eu/docs/en/cowboy/2.9/guide/">>,
<<"Function reference">> => <<"https://ninenines.eu/docs/en/cowboy/2.9/manual/">>,
<<"User guide">> => <<"https://ninenines.eu/docs/en/cowboy/2.10/guide/">>,
<<"Function reference">> => <<"https://ninenines.eu/docs/en/cowboy/2.10/manual/">>,
<<"GitHub">> => <<"https://github.com/ninenines/cowboy">>,
<<"Sponsor">> => <<"https://github.com/sponsors/essen">>
}
Expand Down
2 changes: 2 additions & 0 deletions doc/src/guide/book.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ include::performance.asciidoc[Performance]

= Additional information

include::migrating_from_2.9.asciidoc[Migrating from Cowboy 2.9 to 2.10]

include::migrating_from_2.8.asciidoc[Migrating from Cowboy 2.8 to 2.9]

include::migrating_from_2.7.asciidoc[Migrating from Cowboy 2.7 to 2.8]
Expand Down
2 changes: 1 addition & 1 deletion doc/src/guide/getting_started.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ fetch and compile Cowboy:
PROJECT = hello_erlang
DEPS = cowboy
dep_cowboy_commit = 2.9.0
dep_cowboy_commit = 2.10.0
DEP_PLUGINS = cowboy
Expand Down
42 changes: 42 additions & 0 deletions doc/src/guide/migrating_from_2.9.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
[appendix]
== Migrating from Cowboy 2.9 to 2.10

Cowboy 2.10 is a maintenance release adding support
for Erlang/OTP 26. The main change is a Cowlib update
to fix a compilation error that only occurs starting
from OTP 26.

Cowboy 2.10 requires Erlang/OTP 22.0 or greater.

=== Features added

* Add support for `Default` value of SameSite
cookie attribute.

* Add support for the `stale-*` cache-control directives
from RFC 5861.

* Update Cowlib to 2.12.1.

=== Bugs fixed

* Fix a compilation error in Cowlib when using Erlang/OTP 26.

* Fix data sent after RST_STREAM in HTTP/2 in rare cases.

* Fix parsing of RST_STREAM frames to properly handle
frames that have a valid length but were not fully
received yet.

* Remove the obsolete `Version` cookie attribute.

* Handle more edge cases for cookie parsing based on updates
to the RFC 6265bis draft.

* Make Basic auth parsing ignore unknown authentication
parameters and generally update the code to conform
to RFC 7617.

* Fix URI template reserved expansion of %-encoded.

* Update structured headers implementation to RFC 8941.
2 changes: 1 addition & 1 deletion ebin/cowboy.app
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{application, 'cowboy', [
{description, "Small, fast, modern HTTP server."},
{vsn, "2.9.0"},
{vsn, "2.10.0"},
{modules, ['cowboy','cowboy_app','cowboy_bstr','cowboy_children','cowboy_clear','cowboy_clock','cowboy_compress_h','cowboy_constraints','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 9e600f6

Please sign in to comment.