aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/src/guide/migrating_from_2.0.asciidoc28
1 files changed, 20 insertions, 8 deletions
diff --git a/doc/src/guide/migrating_from_2.0.asciidoc b/doc/src/guide/migrating_from_2.0.asciidoc
index 2f545b9..cfd64a8 100644
--- a/doc/src/guide/migrating_from_2.0.asciidoc
+++ b/doc/src/guide/migrating_from_2.0.asciidoc
@@ -1,13 +1,25 @@
[appendix]
-== Changes since Gun 2.0
+== Migrating from Gun 2.0 to 2.1
-The following patch versions were released since Gun 2.0:
+Gun 2.1 contains a small security improvement for
+the HTTP/2 protocol, as well as includes a small
+number of fixes and improvements.
-=== Gun 2.0.1
+Gun 2.1 requires Erlang/OTP 22.0 or greater.
-This release updates Cowlib to 2.12.1 to fix a compilation
-error when using Erlang/OTP 26.
+=== Features added
-It also fixes parsing of RST_STREAM frames to properly
-handle frames that have a valid length but were not fully
-received yet.
+* 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.
+
+=== Bugs fixed
+
+* Gun will no longer configure the NPN TLS extension,
+ which has long been replaced by ALPN. NPN is not
+ compatible with TLS 1.3.
+
+* Gun will no longer crash when TLS connections close
+ very early in the connection's life time.