- update to 1.28:
* Added missing handler tracking source location support to
awaitable<>-based coroutine's ability to co_await asynchronous
operations packaged as function objects.
* Add missing handler tracking source location support to
co_composed.
* Fixed suppression of spurious 'potential null dereference'
warnings, to work with older compilers.
* Fixed a bug where passing the deprecated const_buffers_1 and
mutable_buffers_1 types to asio::buffer() would result in the
contiguous iterator overloads being incorrectly chosen.
* Fixed compatibility between buffered stream wrappers and
move-constructible streams, such as ssl::stream<>.
* Marked ip::address_v4::to_ulong as deprecated in the documentation.
* Fixed shadowed variable warnings.
* Fixed basic_socket_acceptor::async_accept concept requirement
checking to be compatible with lambdas that have a deduced return
type.
* Fixed a feature detection macro used in use_future's compatibility
traits.
* Fixed as_tuple compatibility with legacy completion tokens.
* Fixed redirect_error compatibility with new completion tokens.
* Fixed a potential, Windows-specific program termination due to
exceptions that should have been allowed to escape from a destructor.
* Fixed this_coro to prevent inadvertent co_await of boolean
expressions.
* Fixed result handling in experimental::use_coro implementation.
* Fixed variadic template emulation for is_async_operation and
completion_signature_of.
* Fixed incorrect reuse of a moved-from result in experimental::promise.
OBS-URL: https://build.opensuse.org/request/show/1098980
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/asio?expand=0&rev=30
- Version update to 1.12.1:
* Includes changes from 1.11.0
* Added missing const qualifier to basic_socket_acceptor::get_option.
* Worked around a parsing error that occurs with some versions of gcc.
* Fixed broken code samples in tutorial.
* Added new experimental features. (Note that "experimental" features may be changed without notice in subsequent releases.)
* Added experimental::detached completion token.
* Added experimental::redirect_error completion token.
* Added experimental::co_spawn facility for integration with the coroutines technical specification.
* Updated timeout examples to use latest features.
* Used asio::steady_timer rather than asio::deadline_timer.
* Used asio::dynamic_buffer rather than asio::streambuf.
* Used timed asio::io_context::run_for() function for blocking clients.
* Added example showing a custom completion token for blocking with timeouts.
* Fixed unit tests to compile when (BOOST_)ASIO_NO_DEPRECATED is defined.
* Changed socket iostreams to use chrono by default, to fix compatibility with the Networking TS. Define (BOOST_)ASIO_USE_BOOST_DATE_TIME_FOR_SOCKET_IOSTREAM to enable the old Boost.Date_Time interface in basic_socket_streambuf and basic_socket_iostream.
* Updated examples to use chrono rather than Boost.Date_Time.
* Fixed an incorrect member function detector in the is_dynamic_buffer trait.
* Fixed an async_result incompatibility with deprecated handler_type.
* Added a missing move optimisation in the SSL stream implementation.
* Fixed incorrect basic_resolver_results::value_type typedef.
* Fixed a compile error with some OpenSSL versions when SSL_OP_NO_COMPRESSION is defined.
* Changed add_certificate_authority to process multiple certificates in a bundle.
* Eliminated deprecation warning with MSVC by using std::invoke_result rather than std::result_of.
* Changed to use std::string_view for C++17 or later, and std::experimental::string_view for C++14. Define the preprocessor macro (BOOST_)ASIO_DISABLE_STD_STRING_VIEW to force the use of std::experimental::string_view (assuming it is available) when compiling in C++17 mode.
* Ensured DynamicBuffer template arguments are decayed before using in enable_if tests.
* Changed documentation to distinguish legacy completion handlers (which are still required to be CopyConstructible) from new MoveConstructible handlers.
* Suppressed a discarded return value warning in the buffer debugging support.
* Fixed basic_yield_context to work with completion signatures containing reference parameters.
* Ensured that stackful coroutines launched using spawn() correctly store decayed copies of their function and handler arguments.
OBS-URL: https://build.opensuse.org/request/show/597797
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/asio?expand=0&rev=20