From 28f5921bd613d5076d640d094926a684731799c3 Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Tue, 19 Feb 2019 16:30:05 -0800 Subject: [PATCH] Set version to 216 --- CHANGELOG.md | 20 ++++++++++++++++++++ CMakeLists.txt | 2 +- doc/qbk/02_examples/0_examples.qbk | 5 ++++- include/boost/beast/version.hpp | 2 +- 4 files changed, 26 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 193ddaf1..5d781ce1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,26 @@ Version 216: * Use suggested timeouts in Websocket examples * Add make_strand * Add RatePolicy to basic_stream +* Use async_initiate in basic_stream +* basic_stream connects are members +* Beast supports latest Asio changes (API Change) +* WebSocket Decorator is a socket option (API Change) +* Overloads of the following functions which accept a Decorator + are deprecated: + - accept, accept_ex + - handshake, handshake_ex + - async_accept, async_accept_ex + - async_handshake, async_handshake_ex + +Actions Required: + +* Code which passes decorator to any `websocket::stream` member + function should call `stream::set_option` instead with a newly + constructed `stream_base::decorator` object containing the + decorator. Alternatively, the macro `BOOST_BEAST_ALLOW_DEPRECATED` + may be defined to 1. + +* Fix compilation errors required by Asio changes -------------------------------------------------------------------------------- diff --git a/CMakeLists.txt b/CMakeLists.txt index 2e1aaef6..5780d3e6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,7 +10,7 @@ cmake_minimum_required (VERSION 3.5.1) cmake_policy (SET CMP0074 NEW) -project (Beast VERSION 215) +project (Beast VERSION 216) set_property (GLOBAL PROPERTY USE_FOLDERS ON) option (Beast_BUILD_EXAMPLES "Build examples" ON) diff --git a/doc/qbk/02_examples/0_examples.qbk b/doc/qbk/02_examples/0_examples.qbk index 4d07e0de..8e25bca6 100644 --- a/doc/qbk/02_examples/0_examples.qbk +++ b/doc/qbk/02_examples/0_examples.qbk @@ -53,7 +53,7 @@ in the [source_file example] directory. These HTTP clients submit a GET request to a server specified on the command line, and prints the resulting response. The crawl client asynchronously fetches the document root of the 10,000 top ranked domains, this may be -used to evaluate robustness. All asynchronous support provide timeouts. +used to evaluate robustness. All asynchronous clients support timeouts. [table [[Description] [Source File] [Source File (using SSL)]] @@ -179,6 +179,7 @@ and illustrate the implementation of advanced features. [Advanced] [[itemized_list [Timeouts] + [Multi-threaded] [HTTP pipelining] [Dual protocols: HTTP and WebSocket] [Clean exit via SIGINT (CTRL+C) or SIGTERM (kill)] @@ -188,6 +189,7 @@ and illustrate the implementation of advanced features. [Advanced, flex (plain + SSL)] [[itemized_list [Timeouts] + [Multi-threaded] [HTTP pipelining] [Dual protocols: HTTP and WebSocket] [Flexible ports: plain and SSL on the same port] @@ -197,6 +199,7 @@ and illustrate the implementation of advanced features. ][ [Chat Server, multi-threaded] [[itemized_list + [Multi-threaded] [Broadcasting Messages] [Multi-user Chat Server] [JavaScript Browser Client] diff --git a/include/boost/beast/version.hpp b/include/boost/beast/version.hpp index 29b9654b..131741a7 100644 --- a/include/boost/beast/version.hpp +++ b/include/boost/beast/version.hpp @@ -20,7 +20,7 @@ This is a simple integer that is incremented by one every time a set of code changes is merged to the develop branch. */ -#define BOOST_BEAST_VERSION 215 +#define BOOST_BEAST_VERSION 216 #define BOOST_BEAST_VERSION_STRING "Boost.Beast/" BOOST_STRINGIZE(BOOST_BEAST_VERSION)