aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-08-06 17:02:46 +0200
committerLoïc Hoguin <[email protected]>2018-08-06 17:02:46 +0200
commita66484cf97db7ce3fc56b9e8f23b93a4e3da03ec (patch)
tree2f587f4678f2271f1dde44d4108a94e8c6743d66
parentf5a96e5ce978de1bf4c6a4dc028a9e26634f045b (diff)
downloadgun-a66484cf97db7ce3fc56b9e8f23b93a4e3da03ec.tar.gz
gun-a66484cf97db7ce3fc56b9e8f23b93a4e3da03ec.tar.bz2
gun-a66484cf97db7ce3fc56b9e8f23b93a4e3da03ec.zip
Gun 1.1.01.1.0
-rw-r--r--Makefile2
-rw-r--r--doc/src/guide/book.asciidoc6
-rw-r--r--doc/src/guide/migrating_from_1.0.asciidoc21
-rw-r--r--ebin/gun.app2
4 files changed, 29 insertions, 2 deletions
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]},