Skip to content

Commit

Permalink
Release 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
isra17 committed Dec 7, 2021
1 parent a33d744 commit b327443
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOGS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelogs

## 0.4.0

* Support two abort mode. `cancel` to cancel the pending task, and the default
`abort` to abort either pending or running task. (#7)

## 0.3.1

* Add `gevent` support (@FinnLidbetter, #12)
Expand Down
16 changes: 16 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,19 @@ tox
```

Successful `tox` run is a prerequisite for a Pull Request to be merged.

# Release Guide

Build source and wheel package.

```
python -m build --sdist
python -m build --wheel
```

Publish package:

```
twine check dist/*
twine upload dist/*
```
4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ def rel(*xs: str) -> str:
# Docs
"sphinx",
"sphinx-autodoc-typehints",
# Build
"build",
"wheel",
"twine",
]

setup(
Expand Down
2 changes: 1 addition & 1 deletion src/dramatiq_abort/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.3.1"
__version__ = "0.4.0"

from .backend import EventBackend
from .middleware import Abort, Abortable, abort
Expand Down

0 comments on commit b327443

Please sign in to comment.