Skip to content

v9.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@brancomat brancomat released this 17 May 11:45
· 102 commits to master since this 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 a std::shared_ptr<Message>.
    CursorMessage::detach_message has been removed. (#171)
  • C++ API changed: it now uses std::shared_ptr instead of std::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 as std::shared_ptr (#171)
  • C++ API changed: dballe::Cursor now inherits std::shared_from_this and
    should always be used as std::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)