v0.7.0
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 onTask
, and take&mut ops
as their last argument. Task::into_mut
is removed.Task::delete
is deprecated. UseTask::set_status
withStatus::Deleted
instead.
- All
-
Replica
:Replica::add_to_working_set
is removed - working set maintenance is now entirely automatic.Replica::new_task
is deprecated - preferReplica::create_task
and setting theentry
,description
, andstatus
properties directly.Replica::import_task_with_uuid
is deprecated - preferReplica::create_task
.Replica::update_task
is deprecated - preferTaskData::update
.Replica::delete_task
is deprecated - preferTaskData::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; useOperations::new_with_undo_point
to add one when necessary. Replica::get_undo_ops
is nowReplica::get_undo_operations
and returns anOperations
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 nowReplica::commit_reversed_operations
and takes anOperations
value as provided byget_undo_operations
.
What's Changed
- Remove taskchampion-lib by @djmitche in #409
- Replace "garbage-collection" with more precise words by @djmitche in #411
- Remove mention of integration-tests and taskchampion-lib from README.md by @djmitche in #417
- Run clippy with --no-deps by @djmitche in #418
- replace set! with hashset::from by @koleesch in #419
- Use SQLite in WAL mode, with IMMEDIATE transactions by @djmitche in #412
- Refactor replica operations to a top-level type in the API by @djmitche in #413
- Remove changelog and instructions by @djmitche in #416
- Reduce visibility of taskdb, as it is not a public API by @djmitche in #422
- Define Operations as a sequence of Operation-s by @djmitche in #423
- Add
BasicTask
and link it to Replica. by @djmitche in #424 - Support committing
Operations
by @djmitche in #425 - Reset dependency map when committing operations by @djmitche in #426
- Make clippy fail on warnings by @djmitche in #429
- Refactor to use BasicTask and Operations by @djmitche in #428
- add empty pre-commit.ci config by @djmitche in #434
- Prefer
Operation
instead ofSyncOp
in tests by @djmitche in #431 - [BREAKING] Unify Task and TaskMut by @djmitche in #435
- [BREAKING] Update undo support to use Operations by @djmitche in #437
- Documentation clean-up by @djmitche in #438
- Check docs in CI by @djmitche in #439
- Bump tempfile from 3.10.1 to 3.11.0 by @dependabot in #440
- Use
Vec<Operation>
instead of newtypeOperations
by @djmitche in #443
New Contributors
Full Changelog: v0.6.0...v0.7.0