From da71dd49d67ebbc8d82552cb9988f9dfd0fb9cf2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= <essen@ninenines.eu>
Date: Wed, 17 Jul 2019 14:20:28 +0200
Subject: Update the migration guide for 2.0

---
 doc/src/guide/upcoming_2.0_changes.asciidoc | 39 -----------------------------
 1 file changed, 39 deletions(-)
 delete mode 100644 doc/src/guide/upcoming_2.0_changes.asciidoc

(limited to 'doc/src/guide/upcoming_2.0_changes.asciidoc')

diff --git a/doc/src/guide/upcoming_2.0_changes.asciidoc b/doc/src/guide/upcoming_2.0_changes.asciidoc
deleted file mode 100644
index 378d0a6..0000000
--- a/doc/src/guide/upcoming_2.0_changes.asciidoc
+++ /dev/null
@@ -1,39 +0,0 @@
-[appendix]
-== Upcoming changes in Ranch 2.0
-
-The following changes will be done in Ranch 2.0. In most
-cases an alternative is already available in the most
-recent Ranch version.
-
-* The callback function `ranch_transport:listen/1` and its
-  implementations in `ranch_tcp` and `ranch_ssl` have changed
-  to accept a map of transport options instead of socket
-  options.
-
-* The function `ranch:start_listener/6` has been deprecated
-  in favor of `ranch:start_listener/5`. The number of acceptors
-  was removed and will be taken from the transport options.
-
-* The function `ranch:child_spec/6` has also been deprecated,
-  in favor of `ranch:child_spec/5`.
-
-* The function `ranch:accept_ack/1` has been deprecated in
-  favor of `ranch:handshake/1,2`.
-
-* The function `ranch:info/1,2` will return a map containing
-  each listener's information rather than a list of key/values.
-  The `num_acceptors` key will be removed.
-
-* The socket will no longer be passed to the protocol when
-  starting it. It will be available as a return value from
-  `ranch:handshake/1,2` only.
-
-* Starting from Ranch 2.0 it will no longer be allowed to
-  pass Ranch options along with socket options as a proplist.
-  The only forms allowed will be the `ranch:opts()` map or socket
-  options as-is. The `ranch:opts()` map must be used in case socket
-  options also use a map.
-
-* The `socket` option will be removed. A more viable solution
-  is to define a custom transport module that returns a fresh
-  socket when `Transport:listen/1` is called.
-- 
cgit v1.2.3

