Oat++ v0.19.12 Release Notes
Release Date: 2020-01-12 // over 4 years ago-
๐ Refactoring and Stabilization Release.
๐ Features and Bug-Fixes
- Introduce
oatpp::data::buffer::Processor
andoatpp::data::buffer::ProcessingPipeline
for stream chunk-by-chunk processing. - ๐ Fix server
stop()
when usingoatpp::network::server:: SimpleTCPConnectionProvider
. Now server can be properly stopped without additional workarounds. - ๐ Fix tests inconsistency.
- ๐ Fix a bunch of IO bugs (mostly for Windows).
Architecture Changes
- Move
IODefinitions.hpp
to the root. Movev_io_size
,v_io_handle
andIOError
to theoatpp
namespace. - โฌ๏ธ Upgrade streams interfaces (to provide nesting and pipelining of any complexity):
InputStream
now extendsReadCallback
OutputStream
now extendsWriteCallback
read
/write
methods now extended with additional parameterasync::Action&
.suggestInputStreamAsyncAction
/suggestOutputStreamAsyncAction
removed.
๐ Changes Exposed to End-User
- Rename
oatpp::data::v_io_size
tooatpp::v_io_size
. - Rename
oatpp::data::v_io_handle
tooatpp::v_io_handle
. - ๐ Rename
oatpp::data::IOError
tooatpp::IOError
. - ๐ Use
writeSimple
instead ofwrite
forConsistentOutputStream
s -ChunkedBuffer
andBufferOutputStream
. - Server
stop()
. Now additional call toclient::ConnectionProvider::getConnection()
method is not needed in order to unblock accept and stop the server.
- Introduce