Releases: GothenburgBitFactory/taskchampion
v1.0.2
This patch version makes the AwsCredentials
type public.
What's Changed
Full Changelog: v1.0.1...v1.0.2
v1.0.1
This is a patch release to make the AwsCredentials
type public (unsuccessfully, it turns out).
What's Changed
- Bump aws-sdk-s3 from 1.64.0 to 1.65.0 by @dependabot in #504
- Bump google-cloud-storage from 0.15.0 to 0.23.0 by @dependabot in #505
- Make AwsCredentials type public by @djmitche in #506
Full Changelog: v1.0.0...v1.0.1
v1.0.0
What's Changed
This version adds an AWS sync backend to complement the existing GCP backend. The new backend functions almost identically to the GCP backend.
The change from 0.9.x to 1.0.x merely signifies that the package is mature; semver specifies that 0.x is for initial development.
In terms of compatibility
- The new MSRV is 1.78.0.
- The
StorageConfig
enum has a new variant in this version and was notnon_exhaustive
, a semver-breaking change unlikely to affect any users of the crate.
Other changes:
- Record the DB version in the DB itself. by @djmitche in #485
- Give better context for error when storage dir can't be created by @djmitche in #486
- Use a common set of tests for cloud services by @djmitche in #496
- Use strings for cloud service object names by @djmitche in #497
- Move the main crate to the top level of the repo by @djmitche in #498
New Contributors
Full Changelog: v0.9.0...v1.0.0
v0.9.0
Breaking Changes
- The
StorageTxn
trait has added and changed some methods. Users implementing this trait should examine the changes and update their implementations. Users who do not implement this trait will experience no breakage. - The database schema is updated in 0.9.0, and 0.9.0 now keeps more rows in the
operations
table than in previous versions. Downgrading to 0.8.0 may result in surprising behavior fromsync
as those operations are treated as new and sent to the server.
What's Changed
Expose operations, including "historical" operations by @djmitche in #474. This add Replica::get_task_operations
to fetch the operations performed on a task, for purposes of display to users. For example, this will be used to provide the data for task info
in Taskwarrior.
Other changes:
- Bump uuid from 1.10.0 to 1.11.0 by @dependabot in #471
- Use lib docstring as crates.io README by @djmitche in #470
- Bump tokio from 1.40.0 to 1.41.0 by @dependabot in #473
- Test that pending tasks arriving via sync are in working set by @djmitche in #475
- Update sync protocol docs by @djmitche in #476
Full Changelog: v0.8.0...v0.9.0
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