Releases: GothenburgBitFactory/taskchampion
v0.8.0
With this version, the new Replica::pending_tasks
method returns all pending tasks efficiently, avoiding the need to individually fetch each task in the working set.
This version introduces a few new Cargo features:
sync
- enables all of the sync features abovebundled
- activates bundling system libraries like sqlitetls-native-roots
- use native (system) TLS roots, instead of those bundled with rustls, by
(indirectly) enabling therustls
featurerustls-tls-native-roots
.
The MSRV is now rust-1.73.0.
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
v0.6.0
tl;dr
The ServerConfig::Remote::origin
property has been replaced with ServerConfig::Remote::url
, and now accepts a path in that URL; this constitutes a breaking change, but should require minimal changes from downstream users. Otherwise, this release contains a few small bug fixes and performance improvements, as well as work to better distinguish Taskwarrior and TaskChampion.
What's Changed
- [API CHANGE] Allow to access sync server with full URL instead of origin only by @davidhelbig in #382
- Make
Replica::delete_task
public by @djmitche in #405 - Batch SyncOp's to limit Version size. by @ryneeverett in #381
- Fix
get_child_version
returning versions not reachable from latest by @djmitche in #397 - Reflect error-handling improvement into lib/ by @djmitche in #391
- Fix credential path by @QuantumBJump in #394
- Overhaul documentation after TW merge by @djmitche in #396
- Include docs for GCP access by @djmitche in #398
- Include generate_headers in release builds, too by @djmitche in #401
- Include HTTP status text in error messages from ureq by @djmitche in #402
- Fix cargo config file by @QuantumBJump in #393
- Run cargo update by @chromy in #404
- Upgrade to newer Chrono by @djmitche in #399
- Bump lazy_static from 1.4.0 to 1.5.0 by @dependabot in #406
- Bump uuid from 1.8.0 to 1.9.1 by @dependabot in #407
- Bump proptest from 1.4.0 to 1.5.0 by @dependabot in #408
- Bump tokio from 1.37.0 to 1.38.0 by @dependabot in #390
New Contributors
- @davidhelbig made their first contribution in #382
- @ryneeverett made their first contribution in #381
- @QuantumBJump made their first contribution in #393
- @chromy made their first contribution in #404
Full Changelog: v0.5.0...v0.6.0
v0.5.0
v0.4.1
v0.4.0
v0.3.0
v0.2.0
This release is the first "MVP" version of this tool. It can do basic task operations, and supports a synchronization. Major missing features are captured in issues, but briefly:
- better command-line API, similar to TaskWarrior
- authentication of the replica / server protocol
- encryption of replica data before transmission to the server
- lots of task features (tags, annotations, dependencies, ..)
- lots of CLI features (filtering, modifying, ..)