Skip to content

Release 0.6.0 - #57

Merged
tokibito merged 1 commit into
mainfrom
release-0.6.0
Sep 30, 2026
Merged

tokibito merged 1 commit into
mainfrom
release-0.6.0

Conversation

@tokibito

Copy link
Copy Markdown
Owner

Moves the changelog's Unreleased section to 0.6.0 and sets the version in pyproject.toml and __version__.

Publishing is triggered by a GitHub release, not by this merge, so cutting the release stays a separate deliberate step.

What 0.6.0 contains

Added Windows Server support: SIGBREAK handling and NSSM, WinSW and Task Scheduler examples (#31); get_queue_stats() and get_task_counts() for monitoring (#34); --task-path for the purge command and endpoint (#30); purge_completed_tasks() (#46); Simplified Chinese, Brazilian Portuguese and Spanish translations (#33); task path and priority filters in the admin (#29)
Changed GET /tasks/status/ returns the queue stats alongside pending_count (#34); the signal-driven tests are skipped on Windows, and CI runs on Windows (#27)
Removed TaskBroker.enqueue(), as 0.5 announced for this version (#56)
Fixed A task could run twice when several workers polled the same queue (#35); a task whose function could not be imported was left RUNNING (#37); an invalid exit code option exited 1 with a traceback (#22); broker-path log records missing documented fields (#32); untranslated admin headers and command help (#28); Windows-only test failures (#27, #52)

Existing projects need no changes, with one exception worth naming in the release notes: a broker written by hand against 0.4 that overrides enqueue() instead of notify() is no longer called, and every task logs Broker X failed to notify about task Y at ERROR, while the task itself stays in the database for the worker and the HTTP endpoints. Such a broker has warned since 0.5. A project calling backend.run_task() directly should also expect None for a task another worker claimed first. Settings, URLs, commands and their defaults are otherwise unchanged from 0.5.

Checks

  • 619 passed, 2 skipped on Python 3.13 / Django 6.0 and on Python 3.14 / Django 6.1 with -W error::DeprecationWarning (the skips need a PostgreSQL database)
  • ruff check and format clean
  • sdist and wheel build, twine check passes on both
  • the wheel carries the es, ja, pt_BR and zh_Hans catalogues and declares the cloudtasks, sqs and postgres extras, and the sdist carries CHANGELOG.md

Closes the Unreleased section: task claiming so a task runs once across
workers, failing a task whose function cannot be imported, the monitoring
API, purge by task path and purge_completed_tasks(), Windows Server
support, three more translations, and the removal of
TaskBroker.enqueue() that 0.5 announced for this version.
@tokibito
tokibito merged commit de641e5 into main Sep 30, 2026
10 checks passed
@tokibito
tokibito deleted the release-0.6.0 branch September 30, 2026 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant