From a66484cf97db7ce3fc56b9e8f23b93a4e3da03ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 6 Aug 2018 17:02:46 +0200 Subject: Gun 1.1.0 --- Makefile | 2 +- doc/src/guide/book.asciidoc | 6 ++++++ doc/src/guide/migrating_from_1.0.asciidoc | 21 +++++++++++++++++++++ ebin/gun.app | 2 +- 4 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 doc/src/guide/migrating_from_1.0.asciidoc diff --git a/Makefile b/Makefile index 53c6417..157dce3 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ PROJECT = gun PROJECT_DESCRIPTION = HTTP/1.1, HTTP/2 and Websocket client for Erlang/OTP. -PROJECT_VERSION = 1.0.0 +PROJECT_VERSION = 1.1.0 # Options. diff --git a/doc/src/guide/book.asciidoc b/doc/src/guide/book.asciidoc index f9508bc..0fd92a4 100644 --- a/doc/src/guide/book.asciidoc +++ b/doc/src/guide/book.asciidoc @@ -4,6 +4,8 @@ = Gun User Guide += Interface + include::introduction.asciidoc[Introduction] include::start.asciidoc[Starting and stopping] @@ -15,3 +17,7 @@ include::connect.asciidoc[Connection] include::http.asciidoc[Using HTTP] include::websocket.asciidoc[Using Websocket] + += Additional information + +include::migrating_from_1.0.asciidoc[Migrating from Gun 1.0 to 1.1] diff --git a/doc/src/guide/migrating_from_1.0.asciidoc b/doc/src/guide/migrating_from_1.0.asciidoc new file mode 100644 index 0000000..8057683 --- /dev/null +++ b/doc/src/guide/migrating_from_1.0.asciidoc @@ -0,0 +1,21 @@ +[appendix] +== Migrating from Gun 1.0 to 1.1 + +Gun 1.1 updates the Cowlib dependency to 2.5.1 and fixes a +few problems with experimental features. + +== Features added + +* Update Cowlib to 2.5.1 + +=== Bugs fixed + +* A bug in the experimental `gun_sse_h` where lone id lines + were not propagated has been fixed by updating the Cowlib + dependency. + +* The status code was incorrectly given to the experimental + content handlers as a binary. It has been fixed an an + integer is now given as was intended. + +* A number of Dialyzer warnings have been fixed. diff --git a/ebin/gun.app b/ebin/gun.app index c933c4f..439653b 100644 --- a/ebin/gun.app +++ b/ebin/gun.app @@ -1,6 +1,6 @@ {application, 'gun', [ {description, "HTTP/1.1, HTTP/2 and Websocket client for Erlang/OTP."}, - {vsn, "1.0.0"}, + {vsn, "1.1.0"}, {modules, ['gun','gun_app','gun_content_handler','gun_data_h','gun_http','gun_http2','gun_sse_h','gun_sup','gun_tcp','gun_tls','gun_ws','gun_ws_h']}, {registered, [gun_sup]}, {applications, [kernel,stdlib,ssl,cowlib]}, -- cgit v1.2.3