mirror of
https://github.com/boostorg/beast.git
synced 2025-07-30 12:57:31 +02:00
Set version to 349.
This commit is contained in:
51
CHANGELOG.md
51
CHANGELOG.md
@ -1,3 +1,18 @@
|
|||||||
|
Version 349:
|
||||||
|
|
||||||
|
* Added support for `immediate_executor`. (#2672)
|
||||||
|
* Replaced `BOOST_ASIO_INITFN_RESULT_TYPE` with `BOOST_ASIO_INITFN_AUTO_RES`. (#2669)
|
||||||
|
* Updated license info for `work_guard`. (#2664)
|
||||||
|
* Corrected handler requirements of ping/pong. (#2663)
|
||||||
|
* Improved Drone caching. (#2655)
|
||||||
|
* `server-flex-awaitable` example now resets parser. (#2660)
|
||||||
|
* Updated openssl version to 1.1.1.2100 for x86. (#2659)
|
||||||
|
* Set minimum gcc version to 5.0. (#2658)
|
||||||
|
* Introduced self-hosted GitHub actions runners. (#2656)
|
||||||
|
* Minor documentation fixes and updates.
|
||||||
|
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
Version 348:
|
Version 348:
|
||||||
|
|
||||||
* multiple CI fixes
|
* multiple CI fixes
|
||||||
@ -180,9 +195,9 @@ Version 324:
|
|||||||
Version 323:
|
Version 323:
|
||||||
|
|
||||||
* Fix clang-cl UTF8 path handling for `file_win32`.
|
* Fix clang-cl UTF8 path handling for `file_win32`.
|
||||||
* Fix clang-cl UTF8 path handling for `file_stdio`.
|
* Fix clang-cl UTF8 path handling for `file_stdio`.
|
||||||
* Add individual tests to CMake workflow.
|
* Add individual tests to CMake workflow.
|
||||||
* Update CI to include gcc 11, clang 12, msvc 14.3.
|
* Update CI to include gcc 11, clang 12, msvc 14.3.
|
||||||
* Update code coverage settings.
|
* Update code coverage settings.
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
@ -361,10 +376,10 @@ Version 301:
|
|||||||
API Changes:
|
API Changes:
|
||||||
|
|
||||||
* Previously, `teardown` and `async_teardown` of a websocket connection over SSL
|
* Previously, `teardown` and `async_teardown` of a websocket connection over SSL
|
||||||
would only shut down the SSL layer, leaving the TCP layer connected. Now the
|
would only shut down the SSL layer, leaving the TCP layer connected. Now the
|
||||||
SSL teardown will tear down both the SSL and TCP layers, cleanly shutting down
|
SSL teardown will tear down both the SSL and TCP layers, cleanly shutting down
|
||||||
the TCP connection and closing the socket.
|
the TCP connection and closing the socket.
|
||||||
Should the client expect the TCP socket to remain connected, users will need to
|
Should the client expect the TCP socket to remain connected, users will need to
|
||||||
re-engineer their code.
|
re-engineer their code.
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
@ -400,15 +415,15 @@ Version 297:
|
|||||||
|
|
||||||
API Changes:
|
API Changes:
|
||||||
|
|
||||||
* `string_param`, which was previously the argument type when setting field values
|
* `string_param`, which was previously the argument type when setting field values
|
||||||
has been replaced by `string_view`. Because of this, it is no longer possible to
|
has been replaced by `string_view`. Because of this, it is no longer possible to
|
||||||
set message field values directly as integrals.
|
set message field values directly as integrals.
|
||||||
|
|
||||||
Users are required to convert numeric arguments to a string type prior to calling
|
Users are required to convert numeric arguments to a string type prior to calling
|
||||||
`fields::set` et. al.
|
`fields::set` et. al.
|
||||||
|
|
||||||
Beast provides the non-allocating `to_static_string()` function for this purpose.
|
Beast provides the non-allocating `to_static_string()` function for this purpose.
|
||||||
|
|
||||||
To set Content-Length field manually, call `message::content_length`.
|
To set Content-Length field manually, call `message::content_length`.
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
@ -429,7 +444,7 @@ Version 296:
|
|||||||
API Changes:
|
API Changes:
|
||||||
|
|
||||||
* The file `core/buffers_adapter.hpp` has been removed along with the deprecated
|
* The file `core/buffers_adapter.hpp` has been removed along with the deprecated
|
||||||
alias typename `buffers_adapter`. Affected programs should use
|
alias typename `buffers_adapter`. Affected programs should use
|
||||||
`core/buffers_adapator.hpp` and the type `buffers_adaptor`.
|
`core/buffers_adapator.hpp` and the type `buffers_adaptor`.
|
||||||
|
|
||||||
* The error code enum `invalid_code_lenths` was a synonym of `invalid_code_lengths`.
|
* The error code enum `invalid_code_lenths` was a synonym of `invalid_code_lengths`.
|
||||||
@ -439,7 +454,7 @@ API Changes:
|
|||||||
the type trait `is_completion_handler`. Beast uses the CompletionHandler correctness
|
the type trait `is_completion_handler`. Beast uses the CompletionHandler correctness
|
||||||
checks provided by Asio. In a c++20 environment, these convert to concept checks.
|
checks provided by Asio. In a c++20 environment, these convert to concept checks.
|
||||||
|
|
||||||
* The `reset` function has been removed from `flat_static_buffer`. Use the
|
* The `reset` function has been removed from `flat_static_buffer`. Use the
|
||||||
`clear` function instead.
|
`clear` function instead.
|
||||||
|
|
||||||
* Code that depends on `mutable_data_type` should be refactored to use
|
* Code that depends on `mutable_data_type` should be refactored to use
|
||||||
@ -450,7 +465,7 @@ API Changes:
|
|||||||
- `multi_buffer`
|
- `multi_buffer`
|
||||||
- `static_buffer`
|
- `static_buffer`
|
||||||
|
|
||||||
* handler_ptr has been removed. Users should use net::bind_handler and/or
|
* handler_ptr has been removed. Users should use net::bind_handler and/or
|
||||||
bind_front_handler instead.
|
bind_front_handler instead.
|
||||||
|
|
||||||
* websocket::role_type has been removed. Users should use beast::role_type instead.
|
* websocket::role_type has been removed. Users should use beast::role_type instead.
|
||||||
@ -465,7 +480,7 @@ Programs still using these names should be refactored to use the `decorator` fea
|
|||||||
the remaining handshake and accept functions.
|
the remaining handshake and accept functions.
|
||||||
|
|
||||||
* The macro BOOST_BEAST_NO_DEPRECATED will no longer be noticed by Beast. The only way to
|
* The macro BOOST_BEAST_NO_DEPRECATED will no longer be noticed by Beast. The only way to
|
||||||
enable deprecated functionality is now the macro BOOST_BEAST_ALLOW_DEPRECATED which is
|
enable deprecated functionality is now the macro BOOST_BEAST_ALLOW_DEPRECATED which is
|
||||||
undefined by default. That is, all deprecated behaviour is disabled by default.
|
undefined by default. That is, all deprecated behaviour is disabled by default.
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
@ -507,7 +522,7 @@ by the HTTP parser:
|
|||||||
- http::async_read_header
|
- http::async_read_header
|
||||||
- http::async_read_some
|
- http::async_read_some
|
||||||
|
|
||||||
As of now, the `bytes_transferred` return value will indicate the number of bytes
|
As of now, the `bytes_transferred` return value will indicate the number of bytes
|
||||||
consumed by the parser when parsing an http message.
|
consumed by the parser when parsing an http message.
|
||||||
|
|
||||||
Actions Required:
|
Actions Required:
|
||||||
@ -535,7 +550,7 @@ Behaviour Changes:
|
|||||||
Version 292:
|
Version 292:
|
||||||
|
|
||||||
* Fix compile errors on Visual Studio with /std:c++latest
|
* Fix compile errors on Visual Studio with /std:c++latest
|
||||||
* Fix standalone compilation error with std::string_view
|
* Fix standalone compilation error with std::string_view
|
||||||
* OpenSSL 1.0.2 or later is required
|
* OpenSSL 1.0.2 or later is required
|
||||||
* Fix c++20 deprecation warning in span_body
|
* Fix c++20 deprecation warning in span_body
|
||||||
|
|
||||||
@ -604,7 +619,7 @@ API Changes:
|
|||||||
- flat_static_buffer
|
- flat_static_buffer
|
||||||
- multi_buffer
|
- multi_buffer
|
||||||
- static_buffer
|
- static_buffer
|
||||||
|
|
||||||
* Nested mutable_data_type in Beast dynamic buffers is deprecated:
|
* Nested mutable_data_type in Beast dynamic buffers is deprecated:
|
||||||
|
|
||||||
Changes Required:
|
Changes Required:
|
||||||
|
@ -83,7 +83,7 @@ endfunction()
|
|||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
|
|
||||||
project (Beast VERSION 348)
|
project (Beast VERSION 349)
|
||||||
|
|
||||||
set_property (GLOBAL PROPERTY USE_FOLDERS ON)
|
set_property (GLOBAL PROPERTY USE_FOLDERS ON)
|
||||||
option (Beast_BUILD_EXAMPLES "Build examples" ON)
|
option (Beast_BUILD_EXAMPLES "Build examples" ON)
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
This is a simple integer that is incremented by one every
|
This is a simple integer that is incremented by one every
|
||||||
time a set of code changes is merged to the develop branch.
|
time a set of code changes is merged to the develop branch.
|
||||||
*/
|
*/
|
||||||
#define BOOST_BEAST_VERSION 348
|
#define BOOST_BEAST_VERSION 349
|
||||||
|
|
||||||
// A string describing BOOST_BEAST_VERSION, that can be used in http headers.
|
// A string describing BOOST_BEAST_VERSION, that can be used in http headers.
|
||||||
#define BOOST_BEAST_VERSION_STRING "Boost.Beast/" BOOST_STRINGIZE(BOOST_BEAST_VERSION)
|
#define BOOST_BEAST_VERSION_STRING "Boost.Beast/" BOOST_STRINGIZE(BOOST_BEAST_VERSION)
|
||||||
|
Reference in New Issue
Block a user