| 1 |
[appendix] |
| 2 |
== Migrating from Cowboy 2.9 to 2.10 |
| 3 |
|
| 4 |
Cowboy 2.10 is a maintenance release adding support |
| 5 |
for Erlang/OTP 26. The main change is a Cowlib update |
| 6 |
to fix a compilation error that only occurs starting |
| 7 |
from OTP 26. |
| 8 |
|
| 9 |
Cowboy 2.10 requires Erlang/OTP 22.0 or greater. |
| 10 |
|
| 11 |
=== Features added |
| 12 |
|
| 13 |
* Add support for `Default` value of SameSite |
| 14 |
cookie attribute. |
| 15 |
|
| 16 |
* Add support for the `stale-*` cache-control directives |
| 17 |
from RFC 5861. |
| 18 |
|
| 19 |
* Update Cowlib to 2.12.1. |
| 20 |
|
| 21 |
=== Bugs fixed |
| 22 |
|
| 23 |
* Fix a compilation error in Cowlib when using Erlang/OTP 26. |
| 24 |
|
| 25 |
* Fix data sent after RST_STREAM in HTTP/2 in rare cases. |
| 26 |
|
| 27 |
* Fix parsing of RST_STREAM frames to properly handle |
| 28 |
frames that have a valid length but were not fully |
| 29 |
received yet. |
| 30 |
|
| 31 |
* Remove the obsolete `Version` cookie attribute. |
| 32 |
|
| 33 |
* Handle more edge cases for cookie parsing based on updates |
| 34 |
to the RFC 6265bis draft. |
| 35 |
|
| 36 |
* Make Basic auth parsing ignore unknown authentication |
| 37 |
parameters and generally update the code to conform |
| 38 |
to RFC 7617. |
| 39 |
|
| 40 |
* Fix URI template reserved expansion of %-encoded. |
| 41 |
|
| 42 |
* Update structured headers implementation to RFC 8941. |