All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Added index for tasks.type and GIN index for tasks.context
- Added type casting for context text[] queries
- Added test with larger data set (previously dnf)
- Switch database pool from reserved connections
- Performance improvements for task queries
- Removed join when not required
- Added restart schedule
- Fixed ascii characters in tokens
- Fixed Postgres connection timeout
- Added 2
group_by
option to task stats endpointgroup_by=creator
- returns statistics for each creatorgroup_by=assignee
- returns statistics for each assignee
- Added
assignee_id
toorder_by
sorting options.
- Added missing index on
delegated_task
which greatly improves performance of large tasks. - New sorting options
-
order_by=
now takes in a comma separated list of columns from the following list:subject
subject_parent
created_at
modified_at
status
title
- Can optionally specify an order: (e.g.
subject:desc
) - Multiple sorts will be processed in order: (e.g.
subject:desc,status:asc
)
- Details root-task statistics
- adding
root_statistics=true
to/tasks/:id
will enable - Returns new field:
- adding
{
"root_statistics": {
"accepted": 2,
"done": 4,
"error": 0,
"not_started": 0,
"progress": 3
}
}
- Fixed permission issue with progressing tasks
1.0.6 - 2022-08-30
- Missing handling of
all
parameter in task list - Fixed casting of boolean query strings (e.g. handling
?all_tasks=false
)
1.0.5 - 2022-04-25
- Fixed orphaned tasks (via parent_task)
1.0.4 - 2022-01-24
- Fixed integrity constraint when deleting tasks
1.0.3 - 2021-12-03
- Added queue retrying (3, 1000ms exponential backoff)
- Added new environment variable
QUEUE_RETRY_ATTEMPTS
(default: 5)
1.0.2 - 2021-10-28
- Missing subtasks when not querying for a subject
1.0.1 - 2021-10-13
- Added semver tags
- Remove unused dev dependencies
- Update ansi-regex (dev dependency)
1.0.0 - 2021-10-13
First stable release of the Tasks API.
- Create custom task definitions
- Update / Delete tasks and subtasks
- React to task changes in events using BullMQ
- Protected by JWT (no validation)
- Sandboxed using JWT issuer (
iss
) - Tasks can be assigned to JWT subject (
sub
) - JWT scopes:
tasks.admin
,tasks.create
- Users have access to tasks assigned to them
- Sandboxed using JWT issuer (
- Return statistics for your tasks
- Search / filter tasks