Skip to content

v0.7.0

Latest
Compare
Choose a tag to compare
@djmitche djmitche released this 07 Aug 00:55
· 10 commits to main since this release
59d76c4

Breaking Changes

  • TaskData - this new type supports a lower-level API for tasks, as a key-value map.

  • Task:

    • All TaskMut setters are now methods on Task, and take &mut ops as their last argument.
    • Task::into_mut is removed.
    • Task::delete is deprecated. Use Task::set_status with Status::Deleted instead.
  • Replica:

    • Replica::add_to_working_set is removed - working set maintenance is now entirely automatic.
    • Replica::new_task is deprecated - prefer Replica::create_task and setting the entry, description, and status properties directly.
    • Replica::import_task_with_uuid is deprecated - prefer Replica::create_task.
    • Replica::update_task is deprecated - prefer TaskData::update.
    • Replica::delete_task is deprecated - prefer TaskData::delete.
    • Management of undo points in the replica, including Replica::add_undo_point and automatically adding undo points for various operations, is no longer supported; use Operations::new_with_undo_point to add one when necessary.
    • Replica::get_undo_ops is now Replica::get_undo_operations and returns an Operations value. It now returns the operations in the order they were applied, and includes the undo point operation, if one exists.
    • Replica::commit_undo_ops is now Replica::commit_reversed_operations and takes an Operations value as provided by get_undo_operations.

What's Changed

New Contributors

Full Changelog: v0.6.0...v0.7.0