Upgrading from v0.x
Version 2 is a deliberate break, so the storage and the task model could be
redone properly. There is no migration of a v0.x database. Bring your tasks over
from TaskWarrior instead, see Coming from TaskWarrior. If you
used taskpoet import tw.json before, that still works, and now brings in
everything.
What changed
- New database. The file is at
$XDG_DATA_HOME/taskpoet/taskpoet.dbnow, not~/.taskpoet.db, and has a new layout. If v2 is pointed at a v0.x file it stops and tells you, it never changes it. Keep the old file if you might want the old version back. - Go module. It is
github.com/drewstinnett/taskpoet/v2. - Task model. Tasks now have Taskwarrior's fields: a status, project,
priority, dependencies, annotations, recurrence and UDAs. Some names changed:
hide_untiliswait,cancel_afterisuntil, comments are annotations. - Ids are the start of the task UUID, 8 characters instead of 5.
- Recurrence is real recurrence now (
--recur), theRecurringTaskssetting is gone. - Commands.
active/getislist(the old names still work),commentisannotate(still works),--parentonaddis--depends. New:import,export,recur,delete. Thecalias now only meansdone. - Removed. The HTTP server, the TUI and the task source plugins, along with
the hidden
server,ui,pluginsanddebugcommands. - Environment. Settings from the environment need a
TASKPOET_prefix, soDBPATHis nowTASKPOET_DBPATH.