Skip to content

Commit 463a762

Browse files
committed
Release: v1.9.0
1 parent 8a3ef5b commit 463a762

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

.github/CHANGELOG.md

+14-5
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,36 @@
22

33
**[Get it on PyPi](https://pypi.org/project/Flask-Shell2HTTP/)**
44

5+
## [v1.9.0](https://github.com/eshaan7/Flask-Shell2HTTP/releases/tag/v1.9.0)
6+
7+
- It's now possible to request deletion/cancellation of jobs. [[Issue 38](https://github.com/eshaan7/Flask-Shell2HTTP/issues/38)].
8+
9+
Say for example, you register a command with the endpoint `/myendpoint` then the different HTTP operations supported are:
10+
11+
- `POST /myendpoint` to create a job and get unique key (same as earlier)
12+
- `GET /myendpoint?key={key}` to request result of a job (same as earlier)
13+
- `DELETE /myendpoint?key={key}` to request cancellation/deletion of a job. (new)
14+
515
## [v1.8.0](https://github.com/eshaan7/Flask-Shell2HTTP/releases/tag/v1.8.0)
616

717
- Allow `&wait=[false|true]` query parameter in `GET` request. Use `wait=true` when you don't wish to HTTP poll and want the result in a single request only.
818

9-
1019
## [v1.7.0](https://github.com/eshaan7/Flask-Shell2HTTP/releases/tag/v1.7.0)
1120

1221
**For you:**
22+
1323
- Deps: Support for both Flask version 1.x and 2.x.
1424
- Feature: The `key` and `result_url` attributes are returned in response even if error is raised (if and when applicable) (See [#25](https://github.com/eshaan7/Flask-Shell2HTTP/issues/25)).
1525
- Docs: Add info about `force_unique_key` option to quickstart guide.
1626

1727
**Internal:**
28+
1829
- Much better and improved test cases via tox matrix for both major flask versions, 1.x and 2.x.
1930
- Much better overall type hinting.
2031

21-
2232
## [v1.6.0](https://github.com/eshaan7/Flask-Shell2HTTP/releases/tag/v1.6.0)
2333

24-
Added support for a new parameter `force_unique_key` in the POST request.
34+
Added support for a new parameter `force_unique_key` in the POST request.
2535

2636
```json
2737
"force_unique_key": {
@@ -34,5 +44,4 @@ Added support for a new parameter `force_unique_key` in the POST request.
3444

3545
See [post-request-options configuration](https://flask-shell2http.readthedocs.io/en/latest/Configuration.html#post-request-options) in docs for more info.
3646

37-
38-
_For prior versions, see directly [here](https://github.com/eshaan7/Flask-Shell2HTTP/releases/tag/)._
47+
_For prior versions, see directly [here](https://github.com/eshaan7/Flask-Shell2HTTP/releases)._

version.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.8.0
1+
1.9.0

0 commit comments

Comments
 (0)