From a692f44567034dacf5efcaa24a24183788594eb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 23 Apr 2021 19:56:17 +0200 Subject: Ranch 1.8.0 --- Makefile | 2 +- doc/src/guide/book.asciidoc | 2 +- doc/src/guide/migrating_from_1.7.asciidoc | 19 ++++++++++--------- ebin/ranch.app | 2 +- 4 files changed, 13 insertions(+), 12 deletions(-) diff --git a/Makefile b/Makefile index ecd9de5..82da742 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ PROJECT = ranch PROJECT_DESCRIPTION = Socket acceptor pool for TCP protocols. -PROJECT_VERSION = 1.7.1 +PROJECT_VERSION = 1.8.0 PROJECT_REGISTERED = ranch_server # Options. diff --git a/doc/src/guide/book.asciidoc b/doc/src/guide/book.asciidoc index d4080b3..e1b0af7 100644 --- a/doc/src/guide/book.asciidoc +++ b/doc/src/guide/book.asciidoc @@ -29,7 +29,7 @@ include::internals.asciidoc[Internals] include::upcoming_2.0_changes.asciidoc[Upcoming changes in Ranch 2.0] -include::migrating_from_1.7.asciidoc[Changes since Ranch 1.7] +include::migrating_from_1.7.asciidoc[Migrating from Ranch 1.7 to 1.8] include::migrating_from_1.6.asciidoc[Migrating from Ranch 1.6 to 1.7] diff --git a/doc/src/guide/migrating_from_1.7.asciidoc b/doc/src/guide/migrating_from_1.7.asciidoc index a4ce981..b337f95 100644 --- a/doc/src/guide/migrating_from_1.7.asciidoc +++ b/doc/src/guide/migrating_from_1.7.asciidoc @@ -1,14 +1,15 @@ [appendix] -== Changes since Ranch 1.7 +== Migrating from Ranch 1.7 to 1.8 -The following patch versions were released since Ranch 1.7: +Ranch 1.8 is a compatibility update for Erlang/OTP 24. -=== Ranch 1.7.1 +Ranch 1.8 is compatible with Erlang/OTP 21.0 onward. Support +for Erlang/OTP 19 and 20 has been removed. -This release fixes an issue with the PROXY protocol where -the wrong CRC32 algorithm was used and would cause checksum -verification to fail. +=== Bugs fixed -Because the plain `crc32` checksum is not supported by the -PROXY protocol, the configuration value when building PROXY -headers has been changed to `crc32c`. +* An issue with the PROXY protocol was fixed in Ranch 1.7.1. + The wrong CRC32 algorithm was used and would cause + checksum verification to fail when used. The configuration + value when building PROXY headers has been changed to + `crc32c` to reflect the correct algorithm. diff --git a/ebin/ranch.app b/ebin/ranch.app index ca9b50a..291f6de 100644 --- a/ebin/ranch.app +++ b/ebin/ranch.app @@ -1,6 +1,6 @@ {application, 'ranch', [ {description, "Socket acceptor pool for TCP protocols."}, - {vsn, "1.7.1"}, + {vsn, "1.8.0"}, {modules, ['ranch','ranch_acceptor','ranch_acceptors_sup','ranch_app','ranch_conns_sup','ranch_crc32c','ranch_listener_sup','ranch_protocol','ranch_proxy_header','ranch_server','ranch_ssl','ranch_sup','ranch_tcp','ranch_transport']}, {registered, [ranch_sup,ranch_server]}, {applications, [kernel,stdlib,ssl]}, -- cgit v1.2.3