2
0
mirror of https://github.com/boostorg/beast.git synced 2026-01-19 04:02:10 +00:00

Version 359

This commit is contained in:
Mohammad Nejati
2025-10-29 12:01:56 +00:00
committed by Mohammad Nejati
parent 69939829fa
commit 5d6edfabfa
4 changed files with 48 additions and 2 deletions

View File

@@ -1,3 +1,17 @@
Version 359:
* Removed dependency on Boost.Preprocessor
* Removed dependency on Boost.StaticString
* `http::parser` rejects non-standard trailer fields by default
* `http::basic_parser` uses a dedicated callback for trailer fields
* `http::field` constants are updated
* Added `http::basic_fields::contains` member function
* `http::buffer_body` ignores empty chunks
* Fixed allocator move/copy assignment in `flat_buffer` and `multi_buffer`
* Fixed websocket permessage-deflate error on partial message consumption
--------------------------------------------------------------------------------
Version 358:
* Added missing `cstdint` header to `detail/cpu_info.hpp`

View File

@@ -16,7 +16,7 @@
#
#-------------------------------------------------
cmake_minimum_required(VERSION 3.8...3.20)
set(BOOST_BEAST_VERSION 358)
set(BOOST_BEAST_VERSION 359)
if (BOOST_SUPERPROJECT_VERSION)
set(BOOST_BEAST_VERSION ${BOOST_SUPERPROJECT_VERSION})
endif ()

View File

@@ -11,6 +11,38 @@
[/-----------------------------------------------------------------------------]
[heading Boost 1.90]
[*API Changes]
* [issue 3042] `http::parser` rejects non-standard trailer fields by default.
['Actions Required]:
* If your code relies on a non-standard trailer field, consider setting
[link beast.ref.boost__beast__http__parser.merge_all_trailers.overload2 `http::parser::merge_all_trailers`]
after you have validated the `Trailer` header field in the header section of the message.
* [issue 3042] `http::basic_parser` uses a dedicated callback for trailer fields.
['Actions Required]:
* Custom parsers derived from `http::basic_parser` must override the new virtual function
[link beast.ref.boost__beast__http__basic_parser.on_trailer_field_impl `http::basic_parser::on_trailer_field_impl`]
which is invoked for each field received while parsing the trailer section
of a chunked HTTP message.
* [issue 3042] `http::field` constants are updated.
['Actions Required]:
* Most removed constants were unrelated to the HTTP protocol. If your code
used one of them, please use the corresponding string literal value.
[*Fixes]
* [issue 3034] Fixed allocator move/copy assignment in `flat_buffer` and `multi_buffer`
* [issue 3028] Fixed websocket permessage-deflate error on partial message consumption
* [issue 3032] `http::buffer_body` ignores empty chunks
[*Improvements]
* [issue 3039] Added `http::basic_fields::contains` member function
* [issue 3050] Removed dependency on Boost.Preprocessor
* [issue 3048] Removed dependency on Boost.StaticAssert
[heading Boost 1.89]
[*Fixes]

View File

@@ -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 358
#define BOOST_BEAST_VERSION 359
// 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)