Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,39 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

### Security

## [0.4.0](https://github.com/virtualstaticvoid/tasktronaut/compare/v0.3.0...v0.4.0) - 2026-11-16

### Added

* `rq` optional dependency extra (`pip install tasktronaut[rq]`), as already described in the documentation

### Changed

* require `rq>=3.0.0` (and `django-rq>=4.2.0` for development)

### Fixed

* jobs which completed successfully could be left in RQ's started job registry, and later marked as failed
with `AbandonedJobError`, when RQ < 3.0 retried the success handling transaction after a `WatchError`

## [0.3.0](https://github.com/virtualstaticvoid/tasktronaut/compare/v0.2.0...v0.3.0) - 2025-11-12

### Added

* `context` argument to the `around_task` hook method
* `tasktronaut.__version__` attribute
* library documentation, including getting started guide, user guide and API reference
* greeting example process

### Removed

* **breaking**: `ProcessDefinition.create_process` is no longer a public method;
use `ProcessDefinition.build()` to create a process instead

### Fixed

* task functions without a `context` parameter failed when executed

## [0.2.0](https://github.com/virtualstaticvoid/tasktronaut/compare/v0.1.0...v0.2.0) - 2025-11-07

### Changed
Expand Down
2 changes: 1 addition & 1 deletion docs/source/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ For a specific version:

.. code-block:: bash

pip install tasktronaut[rq]==0.3.0
pip install tasktronaut[rq]==0.4.0

Installing with Optional Dependencies
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down
15 changes: 12 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "tasktronaut"
version = "0.3.0"
version = "0.4.0"
description = "A simple task orchestration library for running complex processes or workflows in Python."
readme = "README.md"
requires-python = ">=3.10"
Expand All @@ -19,6 +19,15 @@ dependencies = [
"pydantic>=2.12.4",
]

[project.optional-dependencies]
rq = [
"redis>=7.0.1",
# rq < 3.0 can leave finished jobs in the started job registry when the
# success-handling transaction is retried (WatchError), so they are later
# marked failed with AbandonedJobError; rq 3.0 fixes this.
"rq>=3.0.0",
]

[dependency-groups]
dev = [
{ include-group = "build" },
Expand All @@ -33,10 +42,10 @@ dev = [
]
rq = [
"redis>=7.0.1",
"rq>=2.6.0",
"rq>=3.0.0",
]
django-rq = [
"django-rq>=3.1",
"django-rq>=4.2.0",
]
dagster = [
"dagster>=1.12.0",
Expand Down
Loading
Loading