v9.0
Pre-release
Pre-release
New in version 9.0
C++ API changes:
- C++ API changed:
CursorMessage::get_message
has been unified with
CursorMessage::detach_message
and now returns astd::shared_ptr<Message>
.
CursorMessage::detach_message
has been removed. (#171) - C++ API changed: it now uses
std::shared_ptr
instead ofstd::unique_ptr
to return and refer to cursors. (#171) - C++ API changed: dballe::Message now inherits
std::shared_from_this
and
should always be used asstd::shared_ptr
(#171) - C++ API changed: dballe::Cursor now inherits
std::shared_from_this
and
should always be used asstd::shared_ptr
(#171) - Now a cursor for a dballe transaction is invalidated when the transaction
commits/rolls back. This avoids the need for a context manager to handle the
cursor lifetime in the Python API (#171)