The following changes will be done in Ranch 2.0. In most cases an alternative is already available in the most recent Ranch version.
ranch:start_listener/6has been deprecated in favor of
ranch:start_listener/5. The number of acceptors was removed and will be taken from the transport options.
ranch:child_spec/6has also been deprecated, in favor of
ranch:accept_ack/1has been deprecated in favor of
ranch:info/1,2will return a map containing each listener's information rather than a list of key/values. The
num_acceptorskey will be removed.
ranch:opts()map or socket options as-is. The
ranch:opts()map must be used in case socket options also use a map.
socketoption will be removed. A more viable solution is to define a custom transport module that returns a fresh socket when
Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:
Recurring payment options are also available via BountySource. These funds are used to cover the recurring expenses like dedicated servers or domain names.